MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/scripts/mmc --make --options-file - unneeded_mode_specific_clause.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/scripts/mmc --make --options-file - unneeded_mode_specific_clause.err Making Mercury/int3s/unneeded_mode_specific_clause.int3 Making Mercury/ints/unneeded_mode_specific_clause.int ** Nothing to be done for `unneeded_mode_specific_clause.err'. rm -f unneeded_mode_specific_clause.res_error diff -u unneeded_mode_specific_clause.err_exp unneeded_mode_specific_clause.err > unneeded_mode_specific_clause.res_error || \ { test -f unneeded_mode_specific_clause.err_exp2 && \ diff -u unneeded_mode_specific_clause.err_exp2 unneeded_mode_specific_clause.err > unneeded_mode_specific_clause.res_error; } || \ { test -f unneeded_mode_specific_clause.err_exp3 && \ diff -u unneeded_mode_specific_clause.err_exp3 unneeded_mode_specific_clause.err > unneeded_mode_specific_clause.res_error; } || \ { test -f unneeded_mode_specific_clause.err_exp4 && \ diff -u unneeded_mode_specific_clause.err_exp4 unneeded_mode_specific_clause.err > unneeded_mode_specific_clause.res_error; } || \ { cat unneeded_mode_specific_clause.err; cat unneeded_mode_specific_clause.res_error; exit 1; } --- unneeded_mode_specific_clause.err_exp 2024-05-20 21:50:23.000000000 +1000 +++ unneeded_mode_specific_clause.err 2024-08-19 15:44:12.569025797 +1000 @@ -1,3 +0,0 @@ -unneeded_mode_specific_clause.m:014: Warning: the predicate `test_x'/2 has only -unneeded_mode_specific_clause.m:014: one mode, so there is no need to -unneeded_mode_specific_clause.m:014: restrict a clause for it to that mode. make[3]: *** [/tmp/mmake.N1XdP6:922: unneeded_mode_specific_clause.res_error] Error 1 make[3]: Target 'unneeded_mode_specific_clause.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/warnings'