MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/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-11-12/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/stage2/runtime/mer_rt.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-11-12/stage2/scripts/mmc --make --options-file - foreign_singleton.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/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-11-12/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/stage2/runtime/mer_rt.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-11-12/stage2/scripts/mmc --make --options-file - foreign_singleton.err Making Mercury/int3s/foreign_singleton.int3 Making Mercury/ints/foreign_singleton.int ** Nothing to be done for `foreign_singleton.err'. rm -f foreign_singleton.res_error diff -u foreign_singleton.err_exp foreign_singleton.err > foreign_singleton.res_error || \ { test -f foreign_singleton.err_exp2 && \ diff -u foreign_singleton.err_exp2 foreign_singleton.err > foreign_singleton.res_error; } || \ { test -f foreign_singleton.err_exp3 && \ diff -u foreign_singleton.err_exp3 foreign_singleton.err > foreign_singleton.res_error; } || \ { test -f foreign_singleton.err_exp4 && \ diff -u foreign_singleton.err_exp4 foreign_singleton.err > foreign_singleton.res_error; } || \ { cat foreign_singleton.err; cat foreign_singleton.res_error; exit 1; } --- foreign_singleton.err_exp3 2024-05-20 21:50:23.000000000 +1000 +++ foreign_singleton.err 2024-11-13 21:36:54.324105254 +1100 @@ -1,12 +0,0 @@ -foreign_singleton.m:039: In the C# code for predicate `f'/3: -foreign_singleton.m:039: warning: variable `IO0' does not occur in the C# -foreign_singleton.m:039: code. -foreign_singleton.m:046: In clause for predicate `f'/3: -foreign_singleton.m:046: warning: variable `X' occurs only once in this -foreign_singleton.m:046: scope. -foreign_singleton.m:050: In clause for predicate `g'/3: -foreign_singleton.m:050: warning: variable `X' occurs only once in this -foreign_singleton.m:050: scope. -foreign_singleton.m:064: In the C# code for predicate `g'/3: -foreign_singleton.m:064: warning: variable `IO0' does not occur in the C# -foreign_singleton.m:064: code. make[3]: *** [/tmp/mmake.0xlRW8:923: foreign_singleton.res_error] Error 1 make[3]: Target 'foreign_singleton.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/tests/warnings'