MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/tests/invalid_nodepend' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/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-19/stage2/scripts/mmc --make --options-file - where_direct_arg_2.err ** Error making `Mercury/int3s/where_direct_arg_2.int3'. where_direct_arg_2.m:038: In `:- pragma foreign_type' declaration: error: where_direct_arg_2.m:038: unrecognized `where' attribute where_direct_arg_2.m:038: `(direct_arg is [])'. Making Mercury/ints/where_direct_arg_2.int where_direct_arg_2.m:038: In `:- pragma foreign_type' declaration: error: where_direct_arg_2.m:038: unrecognized `where' attribute where_direct_arg_2.m:038: `(direct_arg is [])'. For more information, recompile with `-E'. ** Error making `Mercury/ints/where_direct_arg_2.int'. make[3]: [/tmp/mmake.VTYjS3:917: where_direct_arg_2.err] Error 1 (ignored) if { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/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-19/stage2/scripts/mmc --make --options-file - -r where_direct_arg_2.err > /dev/null 2>&1 ; \ then false; \ else true; \ fi Comparing where_direct_arg_2.err with where_direct_arg_2.err_exp*, results in where_direct_arg_2.err_res ** where_direct_arg_2.err did not match the expected error output ** (closest match was where_direct_arg_2.err_res1) --- where_direct_arg_2.err_exp 2024-05-12 21:02:04.000000000 +1000 +++ where_direct_arg_2.err 2024-07-20 15:49:55.484943217 +1000 @@ -1,9 +1,3 @@ -where_direct_arg_2.m:011: Error: `string'/1 cannot be represented as a direct -where_direct_arg_2.m:011: pointer to its sole argument. -where_direct_arg_2.m:012: Error: `int'/1 cannot be represented as a direct -where_direct_arg_2.m:012: pointer to its sole argument. -where_direct_arg_2.m:016: Error: `enum'/1 cannot be represented as a direct -where_direct_arg_2.m:016: pointer to its sole argument. where_direct_arg_2.m:038: In `:- pragma foreign_type' declaration: error: where_direct_arg_2.m:038: unrecognized `where' attribute where_direct_arg_2.m:038: `(direct_arg is [])'. make[3]: *** [../Mmake.common:172: where_direct_arg_2.err_res] Error 1 make[3]: Target 'where_direct_arg_2.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-19/tests/invalid_nodepend'