MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/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-suspicious-foreign-procs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/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-21/stage2/scripts/mmc --make --options-file - warn_return.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/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-suspicious-foreign-procs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/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-21/stage2/scripts/mmc --make --options-file - warn_return.err Making Mercury/int3s/warn_return.int3 Making Mercury/ints/warn_return.int ** Nothing to be done for `warn_return.err'. rm -f warn_return.res_error diff -u warn_return.err_exp warn_return.err > warn_return.res_error || \ { test -f warn_return.err_exp2 && \ diff -u warn_return.err_exp2 warn_return.err > warn_return.res_error; } || \ { test -f warn_return.err_exp3 && \ diff -u warn_return.err_exp3 warn_return.err > warn_return.res_error; } || \ { test -f warn_return.err_exp4 && \ diff -u warn_return.err_exp4 warn_return.err > warn_return.res_error; } || \ { cat warn_return.err; cat warn_return.res_error; exit 1; } --- warn_return.err_exp3 2024-05-20 21:50:23.000000000 +1000 +++ warn_return.err 2024-09-22 15:43:20.312356551 +1000 @@ -1,2 +0,0 @@ -warn_return.m:024: Warning: the C# code for predicate `foo'/2 may contain a -warn_return.m:024: `return' statement. make[3]: *** [/tmp/mmake.a0XVHa:922: warn_return.res_error] Error 1 make[3]: Target 'warn_return.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-21/tests/warnings'