MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --output-compile-error-lines 0 --color-diagnostics --infer-all --use-subdirs --warn-dead-procs --infer-all '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/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-10-31/stage2/scripts/mmc --make --options-file - warn_dead_procs.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --output-compile-error-lines 0 --color-diagnostics --infer-all --use-subdirs --warn-dead-procs --infer-all '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/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-10-31/stage2/scripts/mmc --make --options-file - warn_dead_procs.c 2>&1 | grep -v "^Making" > warn_dead_procs.err rm -f warn_dead_procs.res_compile diff -u warn_dead_procs.err_exp warn_dead_procs.err > warn_dead_procs.res_compile || \ { test -f warn_dead_procs.err_exp2 && \ diff -u warn_dead_procs.err_exp2 warn_dead_procs.err > warn_dead_procs.res_compile; } || \ { test -f warn_dead_procs.err_exp3 && \ diff -u warn_dead_procs.err_exp3 warn_dead_procs.err > warn_dead_procs.res_compile; } || \ { test -f warn_dead_procs.err_exp4 && \ diff -u warn_dead_procs.err_exp4 warn_dead_procs.err > warn_dead_procs.res_compile; } || \ { cat warn_dead_procs.err; cat warn_dead_procs.res_compile; exit 1; } ... output log truncated, see `warn_dead_procs.err' for the complete log. is never called. warn_dead_procs.m:018: Warning: predicate `bar'/1 mode 0 is never called. warn_dead_procs.m:019: Warning: predicate `bar'/1 mode 1 is never called. warn_dead_procs.m:022: Inferred :- pred baz. --- warn_dead_procs.err_exp 2024-05-20 21:50:23.000000000 +1000 +++ warn_dead_procs.err 2024-11-01 20:50:12.028558328 +1100 @@ -1,4 +1,5 @@ -warn_dead_procs.m:014: Warning: predicate `foo'/0 mode 0 is never called. +... output log truncated, see `warn_dead_procs.err' for the complete log. + is never called. warn_dead_procs.m:018: Warning: predicate `bar'/1 mode 0 is never called. warn_dead_procs.m:019: Warning: predicate `bar'/1 mode 1 is never called. warn_dead_procs.m:022: Inferred :- pred baz. make[3]: *** [/tmp/mmake.gW3QAj:934: warn_dead_procs.res_compile] Error 1 make[3]: Target 'warn_dead_procs.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-31/tests/warnings' ERROR OUTPUT ... output log truncated, see `warn_dead_procs.err' for the complete log. is never called. warn_dead_procs.m:018: Warning: predicate `bar'/1 mode 0 is never called. warn_dead_procs.m:019: Warning: predicate `bar'/1 mode 1 is never called. warn_dead_procs.m:022: Inferred :- pred baz. END OF THE ERROR OUTPUT