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-09-12/tests/warnings' { echo MCFLAGS += '--grade csharp --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-12/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-simple-code '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-12/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-12/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-09-12/stage2/scripts/mmc --make --options-file - warn_self_import.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-12/tests/warnings' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-12/tests/warnings' { echo MCFLAGS += '--grade csharp --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-12/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-simple-code '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-12/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-12/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-09-12/stage2/scripts/mmc --make --options-file - warn_self_import.err Making Mercury/int3s/warn_self_import.int3 ... output log truncated, see `warn_self_import.err' for the complete log. Making Mercury/ints/warn_self_import.int Making warn_self_import.err ... output log truncated, see `warn_self_import.err' for the complete log. Comparing warn_self_import.err with warn_self_import.err_exp*, results in warn_self_import.err_res ** warn_self_import.err did not match the expected error output ** (closest match was warn_self_import.err_res1) --- warn_self_import.err_exp 2025-05-12 23:02:36.000000000 +1000 +++ warn_self_import.err 2025-09-13 06:58:03.090684810 +1000 @@ -1,2 +1,4 @@ warn_self_import.m:017: Warning: module `warn_self_import' has a warn_self_import.m:017: `:- import_module' declaration for itself! +warn_self_import.m:017: Warning: module `warn_self_import' has a +warn_self_import.m:017: `:- import_module' declaration for itself! gmake[3]: *** [../Mmake.common:166: warn_self_import.err_res] Error 1 gmake[3]: Target 'warn_self_import.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-12/tests/warnings' ERROR OUTPUT warn_self_import.m:017: Warning: module `warn_self_import' has a warn_self_import.m:017: `:- import_module' declaration for itself! warn_self_import.m:017: Warning: module `warn_self_import' has a warn_self_import.m:017: `:- import_module' declaration for itself! END OF THE ERROR OUTPUT