MERCURY_OPTIONS= --deep-random-write=25 --deep-std-name --mdb-disable-progress
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-31/tests/warnings'
{ echo MCFLAGS += '--grade csharp    --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-31/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-31/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-31/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-31/stage2/scripts/mmc --make --options-file - petdr1.depend
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-31/tests/warnings'
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-31/tests/warnings'
{ echo MCFLAGS += '--grade csharp    --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-31/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-31/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-31/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-31/stage2/scripts/mmc --make --options-file - petdr1.err
Making Mercury/int3s/petdr1.int3
Making Mercury/ints/petdr1.int
** Nothing to be done for `petdr1.err'.
Comparing petdr1.err with petdr1.err_exp*,
	results in petdr1.err_res
** petdr1.err did not match the expected error output
** (closest match was petdr1.err_res1)
--- petdr1.err_exp	2025-01-10 21:53:49.000000000 +1100
+++ petdr1.err	2025-04-01 05:46:50.850557718 +1100
@@ -1,8 +0,0 @@
-petdr1.m:014: Warning: the determinism declaration for predicate
-petdr1.m:014:   `interpreter'/1 could be tighter.
-petdr1.m:014:   Declared `nondet', inferred `det'.
-petdr1.m:015: Warning: the determinism declaration for predicate `which'/1
-petdr1.m:015:   could be tighter.
-petdr1.m:015:   Declared `nondet', inferred `multi'.
-petdr1.m:023: Warning: the condition of this if-then-else cannot succeed.
-petdr1.m:024: Warning: the negated goal cannot succeed.
gmake[3]: *** [../Mmake.common:166: petdr1.err_res] Error 1
gmake[3]: Target 'petdr1.runtest' not remade because of errors.
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-31/tests/warnings'