MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/warnings' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --output-compile-error-lines 0 --color-diagnostics --infer-all --use-subdirs --enable-termination '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/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-28/stage2/scripts/mmc --make --options-file - foreign_term_invalid.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/warnings' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/warnings' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --output-compile-error-lines 0 --color-diagnostics --infer-all --use-subdirs --enable-termination '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/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-28/stage2/scripts/mmc --make --options-file - foreign_term_invalid.err Making Mercury/int3s/foreign_term_invalid.int3 Making Mercury/ints/foreign_term_invalid.int ** Nothing to be done for `foreign_term_invalid.err'. Comparing foreign_term_invalid.err with foreign_term_invalid.err_exp*, results in foreign_term_invalid.err_res ** foreign_term_invalid.err did not match the expected error output ** (closest match was foreign_term_invalid.err_res1) --- foreign_term_invalid.err_exp 2024-06-07 21:46:11.000000000 +1000 +++ foreign_term_invalid.err 2025-03-29 08:45:03.746626569 +1100 @@ -1,8 +0,0 @@ -foreign_term_invalid.m:013: Warning: predicate `foreign_term_invalid.test1'/1 -foreign_term_invalid.m:013: mode 0 has a `:- pragma does_not_terminate' -foreign_term_invalid.m:013: declaration, but also has the `terminates' -foreign_term_invalid.m:013: foreign code attribute set. -foreign_term_invalid.m:014: Warning: predicate `foreign_term_invalid.test2'/1 -foreign_term_invalid.m:014: mode 0 has a `:- pragma terminates' declaration, -foreign_term_invalid.m:014: but also has the `does_not_terminate' foreign -foreign_term_invalid.m:014: code attribute set. gmake[3]: *** [../Mmake.common:166: foreign_term_invalid.err_res] Error 1 gmake[3]: Target 'foreign_term_invalid.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/warnings'