MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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 += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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-10-22/stage2/scripts/mmc --make --options-file - bug311.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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 += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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-10-22/stage2/scripts/mmc --make --options-file - bug311.err Making Mercury/int3s/bug311.int3 Making Mercury/ints/bug311.int ** Nothing to be done for `bug311.err'. rm -f bug311.res_error diff -u bug311.err_exp bug311.err > bug311.res_error || \ { test -f bug311.err_exp2 && \ diff -u bug311.err_exp2 bug311.err > bug311.res_error; } || \ { test -f bug311.err_exp3 && \ diff -u bug311.err_exp3 bug311.err > bug311.res_error; } || \ { test -f bug311.err_exp4 && \ diff -u bug311.err_exp4 bug311.err > bug311.res_error; } || \ { cat bug311.err; cat bug311.res_error; exit 1; } --- bug311.err_exp 2024-05-01 21:28:03.000000000 +1000 +++ bug311.err 2024-10-23 17:58:48.961169704 +1100 @@ -1,27 +0,0 @@ -bug311.m:167: Warning: this disjunction further instantiates the already -bug311.m:167: partially instantiated variable G. -bug311.m:167: Since the memory cell of this variable is allocated *before* -bug311.m:167: the disjunction, the different disjuncts will return their -bug311.m:167: potentially different solutions for this variable in the same -bug311.m:167: memory cell, which will cause any all-solutions predicate to -bug311.m:167: think that the different solutions (since they are at the same -bug311.m:167: address) are in fact all the same when invoked on the -bug311.m:167: procedure. -bug311.m:185: Warning: this disjunction further instantiates the already -bug311.m:185: partially instantiated variables G1, G2 and G3. -bug311.m:185: Since the memory cells of these variables are allocated -bug311.m:185: *before* the disjunction, the different disjuncts will return -bug311.m:185: their potentially different solutions for each of these -bug311.m:185: variables in the same memory cell, which will cause any -bug311.m:185: all-solutions predicate to think that the different solutions -bug311.m:185: (since they are at the same address) are in fact all the same -bug311.m:185: when invoked on the procedure. -bug311.m:201: Warning: this disjunction further instantiates the already -bug311.m:201: partially instantiated variable GG. -bug311.m:201: Since the memory cell of this variable is allocated *before* -bug311.m:201: the disjunction, the different disjuncts will return their -bug311.m:201: potentially different solutions for this variable in the same -bug311.m:201: memory cell, which will cause any all-solutions predicate to -bug311.m:201: think that the different solutions (since they are at the same -bug311.m:201: address) are in fact all the same when invoked on the lambda -bug311.m:201: expression in bug311.m at line 195. make[3]: *** [/tmp/mmake.DPkUa2:923: bug311.res_error] Error 1 make[3]: Target 'bug311.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/warnings'