MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/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-inconsistent-pred-order '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/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-10-13/stage2/scripts/mmc --make --options-file - inconsistent_pred_order.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/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-inconsistent-pred-order '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/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-10-13/stage2/scripts/mmc --make --options-file - inconsistent_pred_order.err Making Mercury/int3s/inconsistent_pred_order.int3 Making Mercury/ints/inconsistent_pred_order.int ** Nothing to be done for `inconsistent_pred_order.err'. rm -f inconsistent_pred_order.res_error diff -u inconsistent_pred_order.err_exp inconsistent_pred_order.err > inconsistent_pred_order.res_error || \ { test -f inconsistent_pred_order.err_exp2 && \ diff -u inconsistent_pred_order.err_exp2 inconsistent_pred_order.err > inconsistent_pred_order.res_error; } || \ { test -f inconsistent_pred_order.err_exp3 && \ diff -u inconsistent_pred_order.err_exp3 inconsistent_pred_order.err > inconsistent_pred_order.res_error; } || \ { test -f inconsistent_pred_order.err_exp4 && \ diff -u inconsistent_pred_order.err_exp4 inconsistent_pred_order.err > inconsistent_pred_order.res_error; } || \ { cat inconsistent_pred_order.err; cat inconsistent_pred_order.res_error; exit 1; } --- inconsistent_pred_order.err_exp 2024-05-13 21:32:51.000000000 +1000 +++ inconsistent_pred_order.err 2024-10-14 15:44:16.010456001 +1100 @@ -1,17 +0,0 @@ -inconsistent_pred_order.m:010: Warning: the order of the declarations and -inconsistent_pred_order.m:010: definitions of the nonexported predicates is -inconsistent_pred_order.m:010: inconsistent, as shown by this diff: -inconsistent_pred_order.m:010: -inconsistent_pred_order.m:010: --- declaration order -inconsistent_pred_order.m:010: +++ definition order -inconsistent_pred_order.m:010: @@ -1,8 +1,8 @@ -inconsistent_pred_order.m:010: predicate `data'/1 -inconsistent_pred_order.m:010: predicate `queen'/2 -inconsistent_pred_order.m:010: predicate `qperm'/2 -inconsistent_pred_order.m:010: -predicate `safe'/1 -inconsistent_pred_order.m:010: predicate `qdelete'/3 -inconsistent_pred_order.m:010: -predicate `print_list'/3 -inconsistent_pred_order.m:010: +predicate `safe'/1 -inconsistent_pred_order.m:010: predicate `nodiag'/3 -inconsistent_pred_order.m:010: +predicate `print_list'/3 -inconsistent_pred_order.m:010: predicate `print_list_elements'/4 make[3]: *** [/tmp/mmake.pJMJhs:923: inconsistent_pred_order.res_error] Error 1 make[3]: Target 'inconsistent_pred_order.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-13/tests/warnings'