MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-17/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.bh7f2h:1310: warning: undefined variable 'TRAILED_PROGS' /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-17/stage2/scripts/mmc --make-interface --grade hlc.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics \ coerce_mode_error2.m > coerce_mode_error2.int_err 2>&1; if /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-17/stage2/scripts/mmc --errorcheck-only --grade hlc.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics \ coerce_mode_error2.m > coerce_mode_error2.err 2>&1; \ then false; \ else true; \ fi Comparing coerce_mode_error2.err with coerce_mode_error2.err_exp*, results in coerce_mode_error2.err_res ** coerce_mode_error2.err did not match the expected error output ** (closest match was coerce_mode_error2.err_res1) --- coerce_mode_error2.err_exp 2024-07-01 21:20:47.000000000 +1000 +++ coerce_mode_error2.err 2024-07-18 21:00:22.143296350 +1000 @@ -1,20 +1 @@ -coerce_mode_error2.m:039: In clause for `test1(out)': -coerce_mode_error2.m:039: in coerce expression: -coerce_mode_error2.m:039: mode error: in the coerced term: -coerce_mode_error2.m:039: in the second argument of function symbol `foo'/2: -coerce_mode_error2.m:039: cannot convert the coerced subterm from type -coerce_mode_error2.m:039: `coerce_mode_error2.fruit' to -coerce_mode_error2.m:039: `coerce_mode_error2.citrus' because the following -coerce_mode_error2.m:039: function symbols in the input term's -coerce_mode_error2.m:039: instantiatedness are not part of the result type: -coerce_mode_error2.m:039: `coerce_mode_error2.apple'/0, -coerce_mode_error2.m:039: `coerce_mode_error2.banana'/0. -coerce_mode_error2.m:050: In clause for `test2(out)': -coerce_mode_error2.m:050: in coerce expression: -coerce_mode_error2.m:050: mode error: cannot convert the coerced term from -coerce_mode_error2.m:050: type -coerce_mode_error2.m:050: `coerce_mode_error2.foo(coerce_mode_error2.fruit)' -coerce_mode_error2.m:050: to `coerce_mode_error2.foo_citrus' because the -coerce_mode_error2.m:050: following function symbol in the input term's -coerce_mode_error2.m:050: instantiatedness is not part of the result type: -coerce_mode_error2.m:050: `coerce_mode_error2.nil'/0. +Segmentation fault make[3]: *** [../Mmake.common:172: coerce_mode_error2.err_res] Error 1 make[3]: Target 'coerce_mode_error2.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-17/tests/invalid'