MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-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 --enable-termination '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-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-09-15/stage2/scripts/mmc --make --options-file - pragma_term_conflict.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-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 --enable-termination '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-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-09-15/stage2/scripts/mmc --make --options-file - pragma_term_conflict.c 2>&1 | grep -v "^Making" > pragma_term_conflict.err rm -f pragma_term_conflict.res_compile diff -u pragma_term_conflict.err_exp pragma_term_conflict.err > pragma_term_conflict.res_compile || \ { test -f pragma_term_conflict.err_exp2 && \ diff -u pragma_term_conflict.err_exp2 pragma_term_conflict.err > pragma_term_conflict.res_compile; } || \ { test -f pragma_term_conflict.err_exp3 && \ diff -u pragma_term_conflict.err_exp3 pragma_term_conflict.err > pragma_term_conflict.res_compile; } || \ { test -f pragma_term_conflict.err_exp4 && \ diff -u pragma_term_conflict.err_exp4 pragma_term_conflict.err > pragma_term_conflict.res_compile; } || \ { cat pragma_term_conflict.err; cat pragma_term_conflict.res_compile; exit 1; } ... output log truncated, see `pragma_term_conflict.err' for the complete log. a'/0 and pragma_term_conflict.m:014: predicate `pragma_term_conflict.b'/0 are mutually pragma_term_conflict.m:014: recursive, but some of their termination pragmas pragma_term_conflict.m:014: are inconsistent. pragma_term_conflict.m:021: Warning: since the predicate `a'/0 is exported, the pragma_term_conflict.m:021: `:- pragma terminates' declaration for it should pragma_term_conflict.m:021: also be exported. --- pragma_term_conflict.err_exp 2024-05-20 21:50:23.000000000 +1000 +++ pragma_term_conflict.err 2024-09-16 15:28:45.890003850 +1000 @@ -1,4 +1,5 @@ -pragma_term_conflict.m:014: Warning: predicate `pragma_term_conflict.a'/0 and +... output log truncated, see `pragma_term_conflict.err' for the complete log. +a'/0 and pragma_term_conflict.m:014: predicate `pragma_term_conflict.b'/0 are mutually pragma_term_conflict.m:014: recursive, but some of their termination pragmas pragma_term_conflict.m:014: are inconsistent. make[3]: *** [/tmp/mmake.uDYFJq:933: pragma_term_conflict.res_compile] Error 1 make[3]: Target 'pragma_term_conflict.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/tests/warnings' ERROR OUTPUT ... output log truncated, see `pragma_term_conflict.err' for the complete log. a'/0 and pragma_term_conflict.m:014: predicate `pragma_term_conflict.b'/0 are mutually pragma_term_conflict.m:014: recursive, but some of their termination pragmas pragma_term_conflict.m:014: are inconsistent. pragma_term_conflict.m:021: Warning: since the predicate `a'/0 is exported, the pragma_term_conflict.m:021: `:- pragma terminates' declaration for it should pragma_term_conflict.m:021: also be exported. END OF THE ERROR OUTPUT