MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-02/stage2/scripts/mmc --make --options-file - purity_warnings.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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-02/stage2/scripts/mmc --make --options-file - purity_warnings.err Making Mercury/int3s/purity_warnings.int3 Making Mercury/ints/purity_warnings.int ** Nothing to be done for `purity_warnings.err'. rm -f purity_warnings.res_error diff -u purity_warnings.err_exp purity_warnings.err > purity_warnings.res_error || \ { test -f purity_warnings.err_exp2 && \ diff -u purity_warnings.err_exp2 purity_warnings.err > purity_warnings.res_error; } || \ { test -f purity_warnings.err_exp3 && \ diff -u purity_warnings.err_exp3 purity_warnings.err > purity_warnings.res_error; } || \ { test -f purity_warnings.err_exp4 && \ diff -u purity_warnings.err_exp4 purity_warnings.err > purity_warnings.res_error; } || \ { cat purity_warnings.err; cat purity_warnings.res_error; exit 1; } --- purity_warnings.err_exp 2024-05-20 21:50:23.000000000 +1000 +++ purity_warnings.err 2024-09-03 14:58:46.403440051 +1000 @@ -1,25 +0,0 @@ -purity_warnings.m:030: In call to predicate `io.write_string'/3: -purity_warnings.m:030: warning: unnecessary `semipure' indicator. -purity_warnings.m:030: No purity indicator is necessary. -purity_warnings.m:031: In call to predicate `io.print'/3: -purity_warnings.m:031: warning: unnecessary `impure' indicator. -purity_warnings.m:031: No purity indicator is necessary. -purity_warnings.m:033: Warning: predicate `impure_pred1'/2 is declared impure, -purity_warnings.m:033: but is actually pure. -purity_warnings.m:037: Warning: predicate `impure_pred2'/2 is declared impure, -purity_warnings.m:037: but is actually semipure. -purity_warnings.m:045: Warning: predicate `semipure_pred'/2 is declared -purity_warnings.m:045: semipure, but is actually pure. -purity_warnings.m:047: In call to predicate `io.write_string'/3: -purity_warnings.m:047: warning: unnecessary `semipure' indicator. -purity_warnings.m:047: No purity indicator is necessary. -purity_warnings.m:077: Warning: predicate `impure_method1a_impl'/2 is declared -purity_warnings.m:077: impure, but is actually pure. -purity_warnings.m:079: In call to predicate `io.print'/3: -purity_warnings.m:079: warning: unnecessary `impure' indicator. -purity_warnings.m:079: No purity indicator is necessary. -purity_warnings.m:089: Warning: predicate `semipure_method_a_impl'/2 is -purity_warnings.m:089: declared semipure, but is actually pure. -purity_warnings.m:091: In call to predicate `io.print'/3: -purity_warnings.m:091: warning: unnecessary `semipure' indicator. -purity_warnings.m:091: No purity indicator is necessary. make[3]: *** [/tmp/mmake.22vBj8:922: purity_warnings.res_error] Error 1 make[3]: Target 'purity_warnings.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/warnings'