MERCURY_OPTIONS= --deep-random-write=25 --deep-std-name --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-10/tests/warnings' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-10/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 += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-10/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-10/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-11-10/stage2/scripts/mmc --make --options-file - foreign_term_invalid.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-10/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-10/tests/warnings' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-10/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 += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-10/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-10/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-11-10/stage2/scripts/mmc --make --options-file - foreign_term_invalid.c 2>&1 | grep -v "^Making" > foreign_term_invalid.err rm -f foreign_term_invalid.res_compile diff -u foreign_term_invalid.err_exp foreign_term_invalid.err > foreign_term_invalid.res_compile || \ { test -f foreign_term_invalid.err_exp2 && \ diff -u foreign_term_invalid.err_exp2 foreign_term_invalid.err > foreign_term_invalid.res_compile; } || \ { test -f foreign_term_invalid.err_exp3 && \ diff -u foreign_term_invalid.err_exp3 foreign_term_invalid.err > foreign_term_invalid.res_compile; } || \ { test -f foreign_term_invalid.err_exp4 && \ diff -u foreign_term_invalid.err_exp4 foreign_term_invalid.err > foreign_term_invalid.res_compile; } || \ { cat foreign_term_invalid.err; cat foreign_term_invalid.res_compile; exit 1; } ... output log truncated, see `foreign_term_invalid.err' for the complete log. 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. --- foreign_term_invalid.err_exp 2024-06-07 21:46:11.000000000 +1000 +++ foreign_term_invalid.err 2024-11-11 19:01:47.578294793 +1100 @@ -1,4 +1,5 @@ -foreign_term_invalid.m:013: Warning: predicate `foreign_term_invalid.test1'/1 +... output log truncated, see `foreign_term_invalid.err' for the complete log. +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. make[3]: *** [/tmp/mmake.DlYEeL:934: foreign_term_invalid.res_compile] Error 1 make[3]: Target 'foreign_term_invalid.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-10/tests/warnings' ERROR OUTPUT ... output log truncated, see `foreign_term_invalid.err' for the complete log. 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. END OF THE ERROR OUTPUT