MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --output-compile-error-lines 0 --color-diagnostics --infer-all --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/stage2/runtime/mer_rt.init '; echo MLLIBS += ' '; echo MLOBJS += ' '; echo LDFLAGS += ' '; echo LD_LIBFLAGS += ' '; echo EXTRA_LIBRARIES += ''; echo EXTRA_LIB_DIRS += ''; echo LIBGRADES = 'hlc.gc '; echo INSTALL_PREFIX = '/mnt/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/stage2/scripts/mmc --make --options-file - singleton_test_state_var.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --output-compile-error-lines 0 --color-diagnostics --infer-all --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/stage2/runtime/mer_rt.init '; echo MLLIBS += ' '; echo MLOBJS += ' '; echo LDFLAGS += ' '; echo LD_LIBFLAGS += ' '; echo EXTRA_LIBRARIES += ''; echo EXTRA_LIB_DIRS += ''; echo LIBGRADES = 'hlc.gc '; echo INSTALL_PREFIX = '/mnt/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/stage2/scripts/mmc --make --options-file - singleton_test_state_var.err Making Mercury/int3s/singleton_test_state_var.int3 Making Mercury/ints/singleton_test_state_var.int ** Nothing to be done for `singleton_test_state_var.err'. rm -f singleton_test_state_var.res_error diff -u singleton_test_state_var.err_exp singleton_test_state_var.err > singleton_test_state_var.res_error || \ { test -f singleton_test_state_var.err_exp2 && \ diff -u singleton_test_state_var.err_exp2 singleton_test_state_var.err > singleton_test_state_var.res_error; } || \ { test -f singleton_test_state_var.err_exp3 && \ diff -u singleton_test_state_var.err_exp3 singleton_test_state_var.err > singleton_test_state_var.res_error; } || \ { test -f singleton_test_state_var.err_exp4 && \ diff -u singleton_test_state_var.err_exp4 singleton_test_state_var.err > singleton_test_state_var.res_error; } || \ { cat singleton_test_state_var.err; cat singleton_test_state_var.res_error; exit 1; } --- singleton_test_state_var.err_exp 2024-05-21 21:15:32.000000000 +1000 +++ singleton_test_state_var.err 2024-08-16 15:47:55.810954518 +1000 @@ -1,3 +0,0 @@ -singleton_test_state_var.m:015: In clause for predicate `foo'/4: -singleton_test_state_var.m:015: warning: variable `STATE_VARIABLE_State_10' -singleton_test_state_var.m:015: occurs only once in this scope. make[3]: *** [/tmp/mmake.b6nfUn:922: singleton_test_state_var.res_error] Error 1 make[3]: Target 'singleton_test_state_var.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/warnings'