MERCURY_OPTIONS= --deep-random-write=25 --deep-std-name --mdb-disable-progress gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-08-19/tests/invalid_submodules' /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-08-19/stage2/scripts/mmc --make-short-interface --grade asm_fast.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics -O5 --intermod-opt \ bug584_helper_1 /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-08-19/stage2/scripts/mmc --make-private-interface --grade asm_fast.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics -O5 --intermod-opt \ bug584_helper_1 /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-08-19/stage2/scripts/mmc --make-interface --grade asm_fast.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics -O5 --intermod-opt \ bug584_helper_1 > bug584.err 2>&1 /home/mercury/testing/run/build/mercury-srcdist-rotd-2026-08-19/stage2/scripts/mmc -C --grade asm_fast.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics -O5 --intermod-opt \ bug584_helper_1 >> bug584.err 2>&1 Comparing bug584.err with bug584.err_exp*, results in bug584.err_res ** bug584.err did not match the expected error output ** (closest match was bug584.err_res1) --- bug584.err_exp 2026-08-19 21:35:18.000000000 +1000 +++ bug584.err 2026-08-20 02:48:48.405760620 +1000 @@ -1,3 +1,4 @@ +Warning: cannot open `bug584_helper_1.sub2.opt'. bug584_helper_1.m:018: In the second argument of function symbol `struct' bug584_helper_1.m:018: (field name `f2') of the type `struct'/0: bug584_helper_1.m:018: the type `foo'/0 is only visible here due to an import @@ -9,3 +10,5 @@ bug584_helper_1.m:019: here due to an import of `bug584_helper_1.sub2' in an bug584_helper_1.m:019: ancestor module's implementation section. This bug584_helper_1.m:019: behaviour is deprecated. +Warning: cannot open `bug584_helper_1.opt'. +Warning: cannot open `bug584_helper_1.opt'. gmake[3]: *** [../Mmake.common:170: bug584.err_res] Error 1 gmake[3]: Target 'bug584.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2026-08-19/tests/invalid_submodules'