MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-interface-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-08-15/stage2/scripts/mmc --make --options-file - unused_import.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-interface-imports '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-08-15/stage2/scripts/mmc --make --options-file - unused_import.err Making Mercury/int3s/unused_import.int3 Making Mercury/ints/unused_import.int ** Nothing to be done for `unused_import.err'. rm -f unused_import.res_error diff -u unused_import.err_exp unused_import.err > unused_import.res_error || \ { test -f unused_import.err_exp2 && \ diff -u unused_import.err_exp2 unused_import.err > unused_import.res_error; } || \ { test -f unused_import.err_exp3 && \ diff -u unused_import.err_exp3 unused_import.err > unused_import.res_error; } || \ { test -f unused_import.err_exp4 && \ diff -u unused_import.err_exp4 unused_import.err > unused_import.res_error; } || \ { cat unused_import.err; cat unused_import.res_error; exit 1; } --- unused_import.err_exp 2024-05-16 21:41:02.000000000 +1000 +++ unused_import.err 2024-08-16 15:47:57.030916686 +1000 @@ -1,6 +0,0 @@ -unused_import.m:014: In module `unused_import': -unused_import.m:014: warning: module `float' is imported in the interface, -unused_import.m:014: but it is not used in the interface. -unused_import.m:015: In module `unused_import': -unused_import.m:015: warning: module `list' is imported in the interface, but -unused_import.m:015: it is not used in the interface. make[3]: *** [/tmp/mmake.F4Yz8h:922: unused_import.res_error] Error 1 make[3]: Target 'unused_import.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/warnings'