MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/warnings' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/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 += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/scripts/mmc --make --options-file - purity_warnings.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/warnings' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/warnings' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/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 += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/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'. Comparing purity_warnings.err with purity_warnings.err_exp*, results in purity_warnings.err_res ** purity_warnings.err did not match the expected error output ** (closest match was purity_warnings.err_res1) --- purity_warnings.err_exp 2024-12-15 21:28:56.000000000 +1100 +++ purity_warnings.err 2025-03-31 06:13:07.161910658 +1100 @@ -1,20 +0,0 @@ -purity_warnings.m:030: In call to predicate `io.write_string'/3: -purity_warnings.m:030: warning: the `semipure' indicator is unnecessary. -purity_warnings.m:031: In call to predicate `io.print'/3: -purity_warnings.m:031: warning: the `impure' indicator is unnecessary. -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: the `semipure' indicator is unnecessary. -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: the `impure' indicator is unnecessary. -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: the `semipure' indicator is unnecessary. gmake[3]: *** [../Mmake.common:166: purity_warnings.err_res] Error 1 gmake[3]: Target 'purity_warnings.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/warnings'