MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-19/tests/invalid' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-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 += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-19/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-19/stage2/scripts/mmc --make --options-file - field_syntax_error.err ** Error making `Mercury/int3s/field_syntax_error.int3'. field_syntax_error.m:037: Error: expected a simple identifier as the field field_syntax_error.m:037: name, got f(N). Making Mercury/ints/field_syntax_error.int field_syntax_error.m:037: Error: expected a simple identifier as the field field_syntax_error.m:037: name, got f(N). ** Error making `Mercury/ints/field_syntax_error.int'. gmake[3]: [/tmp/mmake.HcZ99u:1296: field_syntax_error.err] Error 1 (ignored) if { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-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 += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-19/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-19/stage2/scripts/mmc --make --options-file - -r field_syntax_error.err > /dev/null 2>&1 ; \ then false; \ else true; \ fi Comparing field_syntax_error.err with field_syntax_error.err_exp*, results in field_syntax_error.err_res ** field_syntax_error.err did not match the expected error output ** (closest match was field_syntax_error.err_res1) --- field_syntax_error.err_exp 2026-02-16 21:26:57.000000000 +1100 +++ field_syntax_error.err 2026-02-20 07:56:50.596624867 +1100 @@ -1,50 +1,2 @@ -field_syntax_error.m:020: In clause for function `baz1'/1: -field_syntax_error.m:020: warning: variable `Bar' occurs only once in this -field_syntax_error.m:020: scope. -field_syntax_error.m:020: In clause for function `baz1'/1: -field_syntax_error.m:020: in function result term of clause head: -field_syntax_error.m:020: error: invalid use of the field selection operator -field_syntax_error.m:020: (`^'). -field_syntax_error.m:023: In clause for function `baz2'/1: -field_syntax_error.m:023: in function result term of clause head: -field_syntax_error.m:023: error: invalid use of the field selection operator -field_syntax_error.m:023: (`^'). -field_syntax_error.m:026: In clause for function `baz3'/1: -field_syntax_error.m:026: warning: variable `Bar' occurs only once in this -field_syntax_error.m:026: scope. -field_syntax_error.m:026: In clause for function `baz3'/1: -field_syntax_error.m:026: in function result term of clause head: -field_syntax_error.m:026: error: invalid use of the field update operator -field_syntax_error.m:026: (`:='). -field_syntax_error.m:026: In clause for function `baz3'/1: -field_syntax_error.m:026: in function result term of clause head: -field_syntax_error.m:026: in argument 1 of functor `:=/2': -field_syntax_error.m:026: error: invalid use of the field selection operator -field_syntax_error.m:026: (`^'). -field_syntax_error.m:029: In clause for function `baz4'/1: -field_syntax_error.m:029: in function result term of clause head: -field_syntax_error.m:029: error: invalid use of the field update operator -field_syntax_error.m:029: (`:='). -field_syntax_error.m:029: In clause for function `baz4'/1: -field_syntax_error.m:029: in function result term of clause head: -field_syntax_error.m:029: in argument 1 of functor `:=/2': -field_syntax_error.m:029: error: invalid use of the field selection operator -field_syntax_error.m:029: (`^'). -field_syntax_error.m:034: In clause for function `baz5'/1: -field_syntax_error.m:034: warning: variable `Foo' occurs only once in this -field_syntax_error.m:034: scope. -field_syntax_error.m:034: (Did you mean `!.Foo' or `!:Foo'?) -field_syntax_error.m:034: In clause for function `baz5'/1: -field_syntax_error.m:034: in argument 1 of functor `f2/1': -field_syntax_error.m:034: error: invalid use of the `!' state variable -field_syntax_error.m:034: operator. -field_syntax_error.m:034: You probably meant to type `!.' or `!:' instead of -field_syntax_error.m:034: just `!'. -field_syntax_error.m:034: If you are trying to do a field update, then you -field_syntax_error.m:034: probably typed `=' where you meant to type `:='. -field_syntax_error.m:034: Warning: if the expression `!Foo ^ f2' is intended to -field_syntax_error.m:034: be part of a field update, then it should be -field_syntax_error.m:034: followed by `:=', not `='. field_syntax_error.m:037: Error: expected a simple identifier as the field field_syntax_error.m:037: name, got f(N). -For more information, recompile with `-E'. gmake[3]: *** [../Mmake.common:170: field_syntax_error.err_res] Error 1 gmake[3]: Target 'field_syntax_error.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-02-19/tests/invalid'