MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --output-compile-error-lines 0 --color-diagnostics --infer-all --use-subdirs --inform-generated-type-spec-pragmas --no-intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - test_tscp.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --output-compile-error-lines 0 --color-diagnostics --infer-all --use-subdirs --inform-generated-type-spec-pragmas --no-intermodule-optimization '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - test_tscp.err Making Mercury/int3s/test_tscp.int3 Making Mercury/ints/test_tscp.int Making test_tscp.err % For the type_spec_constrained_preds pragma at test_tscp.m:54, % the compiler generated these type_spec pragmas: % :- pragma type_spec(pred(test_tscp.p1/5), (C = int, D = term.var(V_3))). % :- pragma type_spec(pred(test_tscp.p1/5), (B = character, C = bool.bool)). % For the type_spec_constrained_preds pragma at test_tscp.m:66, % the compiler generated these type_spec pragmas: % :- pragma type_spec(pred(test_tscp.p2/3), (Stream = io.text_input_stream, State = io.state, Error = io.error)). % For the type_spec_constrained_preds pragma at test_tscp.m:74, % the compiler generated these type_spec pragmas: % :- pragma type_spec(pred(test_tscp.p2/3), (Stream = io.text_input_stream, State = io.state, Error = io.error)). % For the type_spec_constrained_preds pragma at test_tscp.m:100, % the compiler generated these type_spec pragmas: % :- pragma type_spec(pred(test_tscp.p3/2), A = int). % :- pragma type_spec(pred(test_tscp.p3/2), B = int). % :- pragma type_spec(pred(test_tscp.p3/2), A = float). % :- pragma type_spec(pred(test_tscp.p3/2), B = float). rm -f test_tscp.res_error diff -u test_tscp.err_exp test_tscp.err > test_tscp.res_error || \ { test -f test_tscp.err_exp2 && \ diff -u test_tscp.err_exp2 test_tscp.err > test_tscp.res_error; } || \ { test -f test_tscp.err_exp3 && \ diff -u test_tscp.err_exp3 test_tscp.err > test_tscp.res_error; } || \ { test -f test_tscp.err_exp4 && \ diff -u test_tscp.err_exp4 test_tscp.err > test_tscp.res_error; } || \ { cat test_tscp.err; cat test_tscp.res_error; exit 1; } --- test_tscp.err_exp 2024-05-01 21:28:03.000000000 +1000 +++ test_tscp.err 2024-07-25 17:12:49.098842727 +1000 @@ -1,16 +0,0 @@ -% For the type_spec_constrained_preds pragma at test_tscp.m:54, -% the compiler generated these type_spec pragmas: -% :- pragma type_spec(pred(test_tscp.p1/5), (C = int, D = term.var(V_3))). -% :- pragma type_spec(pred(test_tscp.p1/5), (B = character, C = bool.bool)). -% For the type_spec_constrained_preds pragma at test_tscp.m:66, -% the compiler generated these type_spec pragmas: -% :- pragma type_spec(pred(test_tscp.p2/3), (Stream = io.text_input_stream, State = io.state, Error = io.error)). -% For the type_spec_constrained_preds pragma at test_tscp.m:74, -% the compiler generated these type_spec pragmas: -% :- pragma type_spec(pred(test_tscp.p2/3), (Stream = io.text_input_stream, State = io.state, Error = io.error)). -% For the type_spec_constrained_preds pragma at test_tscp.m:100, -% the compiler generated these type_spec pragmas: -% :- pragma type_spec(pred(test_tscp.p3/2), A = int). -% :- pragma type_spec(pred(test_tscp.p3/2), B = int). -% :- pragma type_spec(pred(test_tscp.p3/2), A = float). -% :- pragma type_spec(pred(test_tscp.p3/2), B = float). make[3]: *** [/tmp/mmake.FeYBN6:922: test_tscp.res_error] Error 1 make[3]: Target 'test_tscp.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/warnings'