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 --warn-suspicious-recursion -E '; 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 - suspicious_recursion.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 --warn-suspicious-recursion -E '; 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 - suspicious_recursion.err Making Mercury/int3s/suspicious_recursion.int3 Making Mercury/ints/suspicious_recursion.int ** Nothing to be done for `suspicious_recursion.err'. Comparing suspicious_recursion.err with suspicious_recursion.err_exp*, results in suspicious_recursion.err_res ** suspicious_recursion.err did not match the expected error output ** (closest match was suspicious_recursion.err_res1) --- suspicious_recursion.err_exp 2024-05-20 21:50:23.000000000 +1000 +++ suspicious_recursion.err 2025-03-29 08:45:04.912613802 +1100 @@ -1,13 +0,0 @@ -suspicious_recursion.m:031: Warning: recursive call to predicate -suspicious_recursion.m:031: `funny_append'/3 is suspicious, because variables -suspicious_recursion.m:031: whose names start with As and Bs occupy different -suspicious_recursion.m:031: argument positions in the call than in the clause -suspicious_recursion.m:031: head. -suspicious_recursion.m:031: This warning can be disabled by wrapping the -suspicious_recursion.m:031: recursive call inside a -suspicious_recursion.m:031: `disable_warning [suspicious_recursion] (...)' -suspicious_recursion.m:031: scope. -suspicious_recursion.m:042: Warning: recursive call to predicate `sum'/3 is -suspicious_recursion.m:042: suspicious, because all input argument positions -suspicious_recursion.m:042: that differ between the clause head and the call -suspicious_recursion.m:042: use state variable notation. gmake[3]: *** [../Mmake.common:166: suspicious_recursion.err_res] Error 1 gmake[3]: Target 'suspicious_recursion.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/warnings'