MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-02-20/tests/invalid' /mnt/testing/run/build/mercury-srcdist-rotd-2024-02-20/stage2/scripts/mmc --make-interface --grade hlc.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS \ bug197.m > bug197.int_err 2>&1; if /mnt/testing/run/build/mercury-srcdist-rotd-2024-02-20/stage2/scripts/mmc --errorcheck-only --grade hlc.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS \ bug197.m > bug197.err 2>&1; \ then false; \ else true; \ fi Comparing bug197.err with bug197.err_exp*, results in bug197.err_res ** bug197.err did not match the expected error output ** (closest match was bug197.err_res1) --- bug197.err_exp 2023-09-17 21:02:33.000000000 +1000 +++ bug197.err 2024-02-21 13:40:23.634709203 +1100 @@ -1,20 +1 @@ -bug197.m:023: Error: no clauses for predicate `foo'/4. -bug197.m:025: Error: clause for predicate `foo'/3 -bug197.m:025: without corresponding `:- pred' declaration. -bug197.m:025: However, a predicate of that name does exist with arity 4. -bug197.m:026: In clause for predicate `foo'/3: -bug197.m:026: in argument 1 of call to predicate `list.foldl'/4: -bug197.m:026: type error: argument has type -bug197.m:026: pred(string, T, V_6, V_6); -bug197.m:026: expected type was -bug197.m:026: pred(L, A, A). -bug197.m:026: Arity mismatch for the predicate: expected three arguments, got -bug197.m:026: four. -bug197.m:032: Error: cannot use !:SS here due to the surrounding lambda -bug197.m:032: expression; you may only refer to !.SS. -bug197.m:026: Here is the surrounding context that makes state variable SS -bug197.m:026: readonly. -bug197.m:032: In clause for predicate `foo'/3: -bug197.m:032: warning: variable `STATE_VARIABLE_SS_20' occurs only once in -bug197.m:032: this scope. -For more information, recompile with `-E'. +Segmentation fault make[3]: *** [../Mmake.common:172: bug197.err_res] Error 1 make[3]: Target 'bug197.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-02-20/tests/invalid'