MERCURY_OPTIONS= --deep-random-write=25 --deep-std-name --mdb-disable-progress gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-12/tests/warnings' { echo MCFLAGS += '--grade csharp --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-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 += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-12/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-12/stage2/scripts/mmc --make --options-file - foreign_singleton.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-12/tests/warnings' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-12/tests/warnings' { echo MCFLAGS += '--grade csharp --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-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 += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-12/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-12/stage2/scripts/mmc --make --options-file - foreign_singleton.err Making Mercury/int3s/foreign_singleton.int3 Making Mercury/ints/foreign_singleton.int Making foreign_singleton.err ... output log truncated, see `foreign_singleton.err' for the complete log. Comparing foreign_singleton.err with foreign_singleton.err_exp*, results in foreign_singleton.err_res ** foreign_singleton.err did not match the expected error output ** (closest match was foreign_singleton.err_res3) --- foreign_singleton.err_exp3 2025-05-12 23:02:36.000000000 +1000 +++ foreign_singleton.err 2025-09-13 06:57:57.779729167 +1000 @@ -1,12 +1,12 @@ 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: 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: 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: 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: warning: variable `IO0' does not occur in the C# foreign_singleton.m:064: code. gmake[3]: *** [../Mmake.common:166: foreign_singleton.err_res] Error 1 gmake[3]: Target 'foreign_singleton.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-12/tests/warnings' ERROR OUTPUT 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. END OF THE ERROR OUTPUT