MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-14/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-14/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 += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-14/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-14/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-11-14/stage2/scripts/mmc --make --options-file - abstract_type_decl.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-14/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-14/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-14/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 += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-14/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-14/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-11-14/stage2/scripts/mmc --make --options-file - abstract_type_decl.err Making Mercury/int3s/abstract_type_decl.int3 Making Mercury/int3s/time.subtime.int3 Making Mercury/ints/abstract_type_decl.int Making Mercury/int2s/time.int2 Making Mercury/int0s/time.int0 Making Mercury/int2s/time.subtime.int2 ** Nothing to be done for `abstract_type_decl.err'. rm -f abstract_type_decl.res_error diff -u abstract_type_decl.err_exp abstract_type_decl.err > abstract_type_decl.res_error || \ { test -f abstract_type_decl.err_exp2 && \ diff -u abstract_type_decl.err_exp2 abstract_type_decl.err > abstract_type_decl.res_error; } || \ { test -f abstract_type_decl.err_exp3 && \ diff -u abstract_type_decl.err_exp3 abstract_type_decl.err > abstract_type_decl.res_error; } || \ { test -f abstract_type_decl.err_exp4 && \ diff -u abstract_type_decl.err_exp4 abstract_type_decl.err > abstract_type_decl.res_error; } || \ { cat abstract_type_decl.err; cat abstract_type_decl.res_error; exit 1; } --- abstract_type_decl.err_exp 2024-05-11 21:07:43.000000000 +1000 +++ abstract_type_decl.err 2024-11-16 00:18:44.617113659 +1100 @@ -1,9 +0,0 @@ -abstract_type_decl.m:013: Warning: this declaration of `foo'/0 is redundant, -abstract_type_decl.m:013: since the type has a definition in the -abstract_type_decl.m:013: implementation section. -abstract_type_decl.m:014: Warning: this declaration of `bar'/0 is redundant, -abstract_type_decl.m:014: since the type has a definition in the -abstract_type_decl.m:014: implementation section. -abstract_type_decl.m:015: Warning: duplicate abstract type declaration for -abstract_type_decl.m:015: `bar'/0. -abstract_type_decl.m:014: The original declaration is here. make[3]: *** [/tmp/mmake.xtCxLg:923: abstract_type_decl.res_error] Error 1 make[3]: Target 'abstract_type_decl.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-14/tests/warnings'