MERCURY_OPTIONS= --deep-random-write=25 --deep-std-name --mdb-disable-progress gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-05/tests/invalid_nodepend' { echo MCFLAGS += '--grade csharp --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-05/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-2025-09-05/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-05/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-2025-09-05/stage2/scripts/mmc --make --options-file - unbalanced.err ** Error making `Mercury/int3s/unbalanced.int3'. unbalanced.m:029: Syntax error at token `. ': expected `)', or an operator. unbalanced.m:029: There is an open `(' on line 21. unbalanced.m:038: Syntax error at token `)': expected comma, `|', `]', or an unbalanced.m:038: operator. unbalanced.m:038: There is an unclosed `[' on line 37 between the `(' on line unbalanced.m:038: 36 and the `)' here. unbalanced.m:051: Syntax error at token `}': expected comma, `|', `]', or an unbalanced.m:051: operator. unbalanced.m:051: There is an unclosed `[' on line 51 between the `{' on line unbalanced.m:051: 51 and the `}' here. unbalanced.m:056: Syntax error at token `]': expected a token that can start a unbalanced.m:056: (sub)term. unbalanced.m:056: There is no open `[' to close here. unbalanced.m:061: Syntax error at token `. ': expected comma, `|', `]', or an unbalanced.m:061: operator. unbalanced.m:061: There is an open `(' on line 61. unbalanced.m:061: There is an open `[' on line 61. unbalanced.m:064: Syntax error at end-of-file: expected `,', `|', or `]'. unbalanced.m:064: There is an open `(' on line 63. unbalanced.m:064: There is an open `[' on line 64. Making Mercury/ints/unbalanced.int unbalanced.m:029: Syntax error at token `. ': expected `)', or an operator. unbalanced.m:029: There is an open `(' on line 21. unbalanced.m:038: Syntax error at token `)': expected comma, `|', `]', or an unbalanced.m:038: operator. unbalanced.m:038: There is an unclosed `[' on line 37 between the `(' on line unbalanced.m:038: 36 and the `)' here. unbalanced.m:051: Syntax error at token `}': expected comma, `|', `]', or an unbalanced.m:051: operator. unbalanced.m:051: There is an unclosed `[' on line 51 between the `{' on line unbalanced.m:051: 51 and the `}' here. unbalanced.m:056: Syntax error at token `]': expected a token that can start a unbalanced.m:056: (sub)term. unbalanced.m:056: There is no open `[' to close here. unbalanced.m:061: Syntax error at token `. ': expected comma, `|', `]', or an unbalanced.m:061: operator. unbalanced.m:061: There is an open `(' on line 61. unbalanced.m:061: There is an open `[' on line 61. unbalanced.m:064: Syntax error at end-of-file: expected `,', `|', or `]'. unbalanced.m:064: There is an open `(' on line 63. unbalanced.m:064: There is an open `[' on line 64. ** Error making `Mercury/ints/unbalanced.int'. gmake[3]: [/tmp/mmake.rPHTpb:931: unbalanced.err] Error 1 (ignored) if { echo MCFLAGS += '--grade csharp --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-05/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-2025-09-05/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-05/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-2025-09-05/stage2/scripts/mmc --make --options-file - -r unbalanced.err > /dev/null 2>&1 ; \ then false; \ else true; \ fi Comparing unbalanced.err with unbalanced.err_exp*, results in unbalanced.err_res ** unbalanced.err did not match the expected error output ** (closest match was unbalanced.err_res1) --- unbalanced.err_exp 2025-07-30 21:46:43.000000000 +1000 +++ unbalanced.err 2025-09-06 06:01:38.963914618 +1000 @@ -1,21 +1,16 @@ -unbalanced.m:013: Error: predicate `p'/2 has no clauses. unbalanced.m:029: Syntax error at token `. ': expected `)', or an operator. unbalanced.m:029: There is an open `(' on line 21. -unbalanced.m:031: Error: predicate `q'/2 has no clauses. unbalanced.m:038: Syntax error at token `)': expected comma, `|', `]', or an unbalanced.m:038: operator. unbalanced.m:038: There is an unclosed `[' on line 37 between the `(' on line unbalanced.m:038: 36 and the `)' here. -unbalanced.m:048: Error: predicate `r'/2 has no clauses. unbalanced.m:051: Syntax error at token `}': expected comma, `|', `]', or an unbalanced.m:051: operator. unbalanced.m:051: There is an unclosed `[' on line 51 between the `{' on line unbalanced.m:051: 51 and the `}' here. -unbalanced.m:053: Error: predicate `s'/2 has no clauses. unbalanced.m:056: Syntax error at token `]': expected a token that can start a unbalanced.m:056: (sub)term. unbalanced.m:056: There is no open `[' to close here. -unbalanced.m:058: Error: predicate `t'/2 has no clauses. unbalanced.m:061: Syntax error at token `. ': expected comma, `|', `]', or an unbalanced.m:061: operator. unbalanced.m:061: There is an open `(' on line 61. gmake[3]: *** [../Mmake.common:166: unbalanced.err_res] Error 1 gmake[3]: Target 'unbalanced.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-09-05/tests/invalid_nodepend'