MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/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-duplicate-calls '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/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-13/stage2/scripts/mmc --make --options-file - duplicate_const.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/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-duplicate-calls '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/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-13/stage2/scripts/mmc --make --options-file - duplicate_const.err Making Mercury/int3s/duplicate_const.int3 Making Mercury/ints/duplicate_const.int ** Nothing to be done for `duplicate_const.err'. rm -f duplicate_const.res_error diff -u duplicate_const.err_exp duplicate_const.err > duplicate_const.res_error || \ { test -f duplicate_const.err_exp2 && \ diff -u duplicate_const.err_exp2 duplicate_const.err > duplicate_const.res_error; } || \ { test -f duplicate_const.err_exp3 && \ diff -u duplicate_const.err_exp3 duplicate_const.err > duplicate_const.res_error; } || \ { test -f duplicate_const.err_exp4 && \ diff -u duplicate_const.err_exp4 duplicate_const.err > duplicate_const.res_error; } || \ { cat duplicate_const.err; cat duplicate_const.res_error; exit 1; } --- duplicate_const.err_exp 2024-05-01 21:28:03.000000000 +1000 +++ duplicate_const.err 2024-10-14 15:44:15.398487040 +1100 @@ -1,4 +0,0 @@ -duplicate_const.m:023: Warning: redundant call to predicate -duplicate_const.m:023: `duplicate_const.called'/4. -duplicate_const.m:022: Here is the previous call to predicate -duplicate_const.m:022: `duplicate_const.called'/4. make[3]: *** [/tmp/mmake.fheMCI:923: duplicate_const.res_error] Error 1 make[3]: Target 'duplicate_const.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/tests/warnings'