MERCURY_OPTIONS=
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/warnings'
{ echo MCFLAGS += '--grade java    --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/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-unused-imports --no-warn-unsorted-import-block  '; echo MCFLAGS += ' '; echo CFLAGS += '    '; echo JAVACFLAGS += '-J"-Xmx1024m"   '; echo CSCFLAGS += '   '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/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-30/stage2/scripts/mmc --make --options-file - bug412.depend
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/warnings'
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/warnings'
{ echo MCFLAGS += '--grade java    --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/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-unused-imports --no-warn-unsorted-import-block  '; echo MCFLAGS += ' '; echo CFLAGS += '    '; echo JAVACFLAGS += '-J"-Xmx1024m"   '; echo CSCFLAGS += '   '; echo C2INITARGS += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/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-30/stage2/scripts/mmc --make --options-file - bug412.err
Making Mercury/int3s/bug412.int3
Making Mercury/ints/bug412.int
** Nothing to be done for `bug412.err'.
Comparing bug412.err with bug412.err_exp*,
	results in bug412.err_res
** bug412.err did not match the expected error output
** (closest match was bug412.err_res1)
--- bug412.err_exp	2024-05-13 21:32:51.000000000 +1000
+++ bug412.err	2025-03-31 06:13:05.874922601 +1100
@@ -1,51 +0,0 @@
-bug412.m:014: In module `bug412':
-bug412.m:014:   warning: module `bitmap' has a `:- import_module' declaration,
-bug412.m:014:   but is not used anywhere in the module.
-bug412.m:015: In module `bug412':
-bug412.m:015:   warning: module `bit_buffer' has a `:- import_module'
-bug412.m:015:   declaration, but is not used anywhere in the module.
-bug412.m:016: In module `bug412':
-bug412.m:016:   warning: module `bool' has a `:- import_module' declaration,
-bug412.m:016:   but is not used anywhere in the module.
-bug412.m:018: In module `bug412':
-bug412.m:018:   warning: module `char' has a `:- import_module' declaration,
-bug412.m:018:   but is not used anywhere in the module.
-bug412.m:019: In module `bug412':
-bug412.m:019:   warning: module `diet' has a `:- import_module' declaration,
-bug412.m:019:   but is not used anywhere in the module.
-bug412.m:020: In module `bug412':
-bug412.m:020:   warning: module `digraph' has a `:- import_module' declaration,
-bug412.m:020:   but is not used anywhere in the module.
-bug412.m:021: In module `bug412':
-bug412.m:021:   warning: module `enum' has a `:- import_module' declaration,
-bug412.m:021:   but is not used anywhere in the module.
-bug412.m:022: In module `bug412':
-bug412.m:022:   warning: module `io' has a `:- import_module' declaration, but
-bug412.m:022:   is not used anywhere in the module.
-bug412.m:023: In module `bug412':
-bug412.m:023:   warning: module `ops' has a `:- import_module' declaration, but
-bug412.m:023:   is not used anywhere in the module.
-bug412.m:024: In module `bug412':
-bug412.m:024:   warning: module `pprint' has a `:- import_module' declaration,
-bug412.m:024:   but is not used anywhere in the module.
-bug412.m:025: In module `bug412':
-bug412.m:025:   warning: module `rtree' has a `:- import_module' declaration,
-bug412.m:025:   but is not used anywhere in the module.
-bug412.m:026: In module `bug412':
-bug412.m:026:   warning: module `store' has a `:- import_module' declaration,
-bug412.m:026:   but is not used anywhere in the module.
-bug412.m:027: In module `bug412':
-bug412.m:027:   warning: module `stream' has a `:- import_module' declaration,
-bug412.m:027:   but is not used anywhere in the module.
-bug412.m:028: In module `bug412':
-bug412.m:028:   warning: module `string' has a `:- import_module' declaration,
-bug412.m:028:   but is not used anywhere in the module.
-bug412.m:029: In module `bug412':
-bug412.m:029:   warning: module `string.builder' has a `:- import_module'
-bug412.m:029:   declaration, but is not used anywhere in the module.
-bug412.m:031: In module `bug412':
-bug412.m:031:   warning: module `term' has a `:- import_module' declaration,
-bug412.m:031:   but is not used anywhere in the module.
-bug412.m:032: In module `bug412':
-bug412.m:032:   warning: module `univ' has a `:- import_module' declaration,
-bug412.m:032:   but is not used anywhere in the module.
gmake[3]: *** [../Mmake.common:166: bug412.err_res] Error 1
gmake[3]: Target 'bug412.runtest' not remade because of errors.
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/warnings'