MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/stage2/runtime/mer_rt.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-09-02/stage2/scripts/mmc --make --options-file - pragma_source_file.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/stage2/runtime/mer_rt.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-09-02/stage2/scripts/mmc --make --options-file - pragma_source_file.err Making Mercury/int3s/pragma_source_file.int3 Making Mercury/ints/pragma_source_file.int ** Nothing to be done for `pragma_source_file.err'. rm -f pragma_source_file.res_error diff -u pragma_source_file.err_exp pragma_source_file.err > pragma_source_file.res_error || \ { test -f pragma_source_file.err_exp2 && \ diff -u pragma_source_file.err_exp2 pragma_source_file.err > pragma_source_file.res_error; } || \ { test -f pragma_source_file.err_exp3 && \ diff -u pragma_source_file.err_exp3 pragma_source_file.err > pragma_source_file.res_error; } || \ { test -f pragma_source_file.err_exp4 && \ diff -u pragma_source_file.err_exp4 pragma_source_file.err > pragma_source_file.res_error; } || \ { cat pragma_source_file.err; cat pragma_source_file.res_error; exit 1; } --- pragma_source_file.err_exp 2024-05-21 21:15:32.000000000 +1000 +++ pragma_source_file.err 2024-09-03 14:58:46.247447604 +1000 @@ -1,4 +0,0 @@ -foo.m:002: In clause for predicate `my_append'/3: -foo.m:002: warning: variable `L2' occurs only once in this scope. -foo.m:011: In clause for predicate `my_append'/3: -foo.m:011: warning: variable `X' occurs only once in this scope. make[3]: *** [/tmp/mmake.bIUR6s:922: pragma_source_file.res_error] Error 1 make[3]: Target 'pragma_source_file.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/warnings'