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 '; 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 - bug311.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 '; 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 - bug311.err Making Mercury/int3s/bug311.int3 Making Mercury/ints/bug311.int ** Nothing to be done for `bug311.err'. Comparing bug311.err with bug311.err_exp*, results in bug311.err_res ** bug311.err did not match the expected error output ** (closest match was bug311.err_res1) --- bug311.err_exp 2024-12-15 21:28:56.000000000 +1100 +++ bug311.err 2025-03-29 08:45:03.376630620 +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. gmake[3]: *** [../Mmake.common:166: bug311.err_res] Error 1 gmake[3]: Target 'bug311.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/warnings'