MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-05-28/tests/valid' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-05-28/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-singleton-vars '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-05-28/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-05-28/stage2/runtime/mer_rt.init '; echo MLLIBS += ' '; echo MLOBJS += ' '; echo LDFLAGS += ' '; echo LD_LIBFLAGS += ' '; echo EXTRA_LIBRARIES += ''; echo EXTRA_LIB_DIRS += ''; echo LIBGRADES = 'hlc.gc '; echo INSTALL_PREFIX = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-05-28/stage2/scripts/mmc --make --options-file - state_var_mode_bug_1.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-05-28/tests/valid' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-05-28/tests/valid' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-05-28/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-singleton-vars '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-05-28/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-05-28/stage2/runtime/mer_rt.init '; echo MLLIBS += ' '; echo MLOBJS += ' '; echo LDFLAGS += ' '; echo LD_LIBFLAGS += ' '; echo EXTRA_LIBRARIES += ''; echo EXTRA_LIB_DIRS += ''; echo LIBGRADES = 'hlc.gc '; echo INSTALL_PREFIX = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-05-28/stage2/scripts/mmc --make --options-file - state_var_mode_bug_1.class Making Mercury/int3s/state_var_mode_bug_1.int3 Making Mercury/ints/state_var_mode_bug_1.int Making Mercury/javas/jmercury/state_var_mode_bug_1.java state_var_mode_bug_1.m:023: In predicate `p'/4: state_var_mode_bug_1.m:023: warning: the third argument and the fourth state_var_mode_bug_1.m:023: argument, represented by the state variable `!Y', state_var_mode_bug_1.m:023: could be deleted, because they are not used, and state_var_mode_bug_1.m:023: because the final value is always the same as the state_var_mode_bug_1.m:023: initial value. state_var_mode_bug_1.m:097: In predicate `p2'/2: state_var_mode_bug_1.m:097: warning: the second argument, represented by the state_var_mode_bug_1.m:097: state variable `!:X', could be deleted, because state_var_mode_bug_1.m:097: its value is always the same as its initial state_var_mode_bug_1.m:097: value. Making Mercury/classes/jmercury/state_var_mode_bug_1.class Mercury/javas/jmercury/state_var_mode_bug_1.java:18: error: package bool does not exist bool.Bool_0 A_5, ^ Mercury/javas/jmercury/state_var_mode_bug_1.java:19: error: package bool does not exist bool.Bool_0 B_6, ^ 2 errors ** Error making `Mercury/classes/jmercury/state_var_mode_bug_1.class'. gmake[3]: *** [/tmp/mmake.4UIhua:1497: state_var_mode_bug_1.class] Error 1 gmake[3]: Target 'state_var_mode_bug_1.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-05-28/tests/valid' ERROR OUTPUT state_var_mode_bug_1.m:023: In predicate `p'/4: state_var_mode_bug_1.m:023: warning: the third argument and the fourth state_var_mode_bug_1.m:023: argument, represented by the state variable `!Y', state_var_mode_bug_1.m:023: could be deleted, because they are not used, and state_var_mode_bug_1.m:023: because the final value is always the same as the state_var_mode_bug_1.m:023: initial value. state_var_mode_bug_1.m:097: In predicate `p2'/2: state_var_mode_bug_1.m:097: warning: the second argument, represented by the state_var_mode_bug_1.m:097: state variable `!:X', could be deleted, because state_var_mode_bug_1.m:097: its value is always the same as its initial state_var_mode_bug_1.m:097: value. END OF THE ERROR OUTPUT