MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-16/tests/warnings' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-16/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 += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-16/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-16/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-09-16/stage2/scripts/mmc --make --options-file - warn_self_import.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-16/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-16/tests/warnings' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-16/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 += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-16/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-16/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-09-16/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 ... output log truncated, see `warn_self_import.err' for the complete log. ** Nothing to be done for `warn_self_import.err'. rm -f warn_self_import.res_error diff -u warn_self_import.err_exp warn_self_import.err > warn_self_import.res_error || \ { test -f warn_self_import.err_exp2 && \ diff -u warn_self_import.err_exp2 warn_self_import.err > warn_self_import.res_error; } || \ { test -f warn_self_import.err_exp3 && \ diff -u warn_self_import.err_exp3 warn_self_import.err > warn_self_import.res_error; } || \ { test -f warn_self_import.err_exp4 && \ diff -u warn_self_import.err_exp4 warn_self_import.err > warn_self_import.res_error; } || \ { cat warn_self_import.err; cat warn_self_import.res_error; exit 1; } 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! --- warn_self_import.err_exp 2024-06-03 21:47:31.000000000 +1000 +++ warn_self_import.err 2024-09-17 16:17:19.949181291 +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! make[3]: *** [/tmp/mmake.kgMBLq:922: warn_self_import.res_error] Error 1 make[3]: Target 'warn_self_import.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-16/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