MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/scripts/mmc --make --options-file - redundant_coerce.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/scripts/mmc --make --options-file - redundant_coerce.err Making Mercury/int3s/redundant_coerce.int3 Making Mercury/ints/redundant_coerce.int ** Nothing to be done for `redundant_coerce.err'. rm -f redundant_coerce.res_error diff -u redundant_coerce.err_exp redundant_coerce.err > redundant_coerce.res_error || \ { test -f redundant_coerce.err_exp2 && \ diff -u redundant_coerce.err_exp2 redundant_coerce.err > redundant_coerce.res_error; } || \ { test -f redundant_coerce.err_exp3 && \ diff -u redundant_coerce.err_exp3 redundant_coerce.err > redundant_coerce.res_error; } || \ { test -f redundant_coerce.err_exp4 && \ diff -u redundant_coerce.err_exp4 redundant_coerce.err > redundant_coerce.res_error; } || \ { cat redundant_coerce.err; cat redundant_coerce.res_error; exit 1; } --- redundant_coerce.err_exp 2024-07-03 21:05:16.000000000 +1000 +++ redundant_coerce.err 2024-08-16 15:47:55.518963573 +1000 @@ -1,11 +0,0 @@ -redundant_coerce.m:035: In clause for predicate `test1'/0: -redundant_coerce.m:035: warning: type conversion of `V_4' from -redundant_coerce.m:035: `maybe.maybe(int)' to the same type is redundant. -redundant_coerce.m:039: In clause for predicate `test2'/0: -redundant_coerce.m:039: warning: type conversion of `X' from -redundant_coerce.m:039: `redundant_coerce.box(redundant_coerce.fruit)' to the -redundant_coerce.m:039: same type is redundant. -redundant_coerce.m:049: In clause for predicate `test3'/0: -redundant_coerce.m:049: warning: type conversion of `X' from -redundant_coerce.m:049: `redundant_coerce.maybe_box(redundant_coerce.citrus)' -redundant_coerce.m:049: to the same type is redundant. make[3]: *** [/tmp/mmake.PG5DMX:922: redundant_coerce.res_error] Error 1 make[3]: Target 'redundant_coerce.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/warnings'