MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-suspicious-foreign-code '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-06/stage2/scripts/mmc --make --options-file - suspicious_foreign_code.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/warnings' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/warnings' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-suspicious-foreign-code '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-06/stage2/scripts/mmc --make --options-file - suspicious_foreign_code.err Making Mercury/int3s/suspicious_foreign_code.int3 Making Mercury/ints/suspicious_foreign_code.int ** Nothing to be done for `suspicious_foreign_code.err'. rm -f suspicious_foreign_code.res_error diff -u suspicious_foreign_code.err_exp suspicious_foreign_code.err > suspicious_foreign_code.res_error || \ { test -f suspicious_foreign_code.err_exp2 && \ diff -u suspicious_foreign_code.err_exp2 suspicious_foreign_code.err > suspicious_foreign_code.res_error; } || \ { test -f suspicious_foreign_code.err_exp3 && \ diff -u suspicious_foreign_code.err_exp3 suspicious_foreign_code.err > suspicious_foreign_code.res_error; } || \ { test -f suspicious_foreign_code.err_exp4 && \ diff -u suspicious_foreign_code.err_exp4 suspicious_foreign_code.err > suspicious_foreign_code.res_error; } || \ { cat suspicious_foreign_code.err; cat suspicious_foreign_code.res_error; exit 1; } --- suspicious_foreign_code.err_exp 2024-05-01 21:28:03.000000000 +1000 +++ suspicious_foreign_code.err 2024-08-07 16:01:56.829223935 +1000 @@ -1,5 +0,0 @@ -suspicious_foreign_code.m:015: Warning: the body of this -suspicious_foreign_code.m:015: `:- pragma foreign_code' declaration may refer -suspicious_foreign_code.m:015: to the `MR_ALLOC_ID' macro. That macro is only -suspicious_foreign_code.m:015: defined within the body of -suspicious_foreign_code.m:015: `:- pragma foreign_proc' declarations. make[3]: *** [/tmp/mmake.ZKrOeJ:922: suspicious_foreign_code.res_error] Error 1 make[3]: Target 'suspicious_foreign_code.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/warnings'