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-01/tests/warnings' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-01/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --output-compile-error-lines 0 --color-diagnostics --infer-all --use-subdirs --common-struct '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-01/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-01/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-01/stage2/scripts/mmc --make --options-file - simple_code.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-01/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-01/tests/warnings' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-01/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --output-compile-error-lines 0 --color-diagnostics --infer-all --use-subdirs --common-struct '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-01/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-01/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-01/stage2/scripts/mmc --make --options-file - simple_code.err Making Mercury/int3s/simple_code.int3 Making Mercury/ints/simple_code.int ** Nothing to be done for `simple_code.err'. rm -f simple_code.res_error diff -u simple_code.err_exp simple_code.err > simple_code.res_error || \ { test -f simple_code.err_exp2 && \ diff -u simple_code.err_exp2 simple_code.err > simple_code.res_error; } || \ { test -f simple_code.err_exp3 && \ diff -u simple_code.err_exp3 simple_code.err > simple_code.res_error; } || \ { test -f simple_code.err_exp4 && \ diff -u simple_code.err_exp4 simple_code.err > simple_code.res_error; } || \ { cat simple_code.err; cat simple_code.res_error; exit 1; } --- simple_code.err_exp 2024-05-20 21:50:23.000000000 +1000 +++ simple_code.err 2024-11-02 22:37:54.603782759 +1100 @@ -1,29 +0,0 @@ -simple_code.m:014: Warning: this disjunct will never have any solutions. -simple_code.m:019: Warning: the condition of this if-then-else cannot fail. -simple_code.m:022: In clause for `p(in, out)': -simple_code.m:022: warning: unification of `X' and 2 cannot succeed. -simple_code.m:022: `X' has instantiatedness `unique(3)'. -simple_code.m:024: Warning: the condition of this if-then-else cannot succeed. -simple_code.m:029: Warning: the condition of this if-then-else cannot succeed. -simple_code.m:032: Warning: the negated goal cannot fail. -simple_code.m:032: Warning: the negated goal cannot succeed. -simple_code.m:034: Warning: the condition of this if-then-else cannot succeed. -simple_code.m:037: Warning: the negated goal cannot succeed. -simple_code.m:039: Warning: the condition of this if-then-else cannot fail. -simple_code.m:043: Warning: call to obsolete predicate -simple_code.m:043: `simple_code.obsolete1'/0. -simple_code.m:044: Warning: call to obsolete predicate -simple_code.m:044: `simple_code.obsolete2'/0. -simple_code.m:044: The suggested replacement is `pred42'/0. -simple_code.m:045: Warning: call to obsolete predicate -simple_code.m:045: `simple_code.obsolete3'/0. -simple_code.m:045: The possible suggested replacements are `pred42'/0 and -simple_code.m:045: `wonderful.pred43'/0. -simple_code.m:048: Warning: the condition of this if-then-else cannot fail. -simple_code.m:080: In clause for `r(in(bound(1)), out(bound(42)))': -simple_code.m:080: in argument 1 of clause head: -simple_code.m:080: warning: unification of `HeadVar__1' and 2 cannot succeed. -simple_code.m:080: `HeadVar__1' has instantiatedness `bound(1)'. -simple_code.m:114: Warning: recursive call to predicate `anc'/2 will lead to -simple_code.m:114: infinite recursion. -For more information, recompile with `-E'. make[3]: *** [/tmp/mmake.XGVX0G:923: simple_code.res_error] Error 1 make[3]: Target 'simple_code.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-01/tests/warnings'