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-03-30/tests/invalid' /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/scripts/mmc --generate-dependencies --grade hlc.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics -O5 --intermod-opt duplicate_instance > duplicate_instance.dep_err 2>&1 gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/invalid' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/invalid' /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/scripts/mmc --make-interface --grade hlc.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics -O5 --intermod-opt duplicate_instance_helper_1 /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/scripts/mmc --make-short-interface --grade hlc.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics -O5 --intermod-opt duplicate_instance_helper_1 /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/scripts/mmc --make-interface --grade hlc.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics -O5 --intermod-opt duplicate_instance /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/scripts/mmc --make-optimization-interface --grade hlc.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics -O5 --intermod-opt duplicate_instance_helper_1 /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/scripts/mmc --make-optimization-interface --grade hlc.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --color-diagnostics -O5 --intermod-opt duplicate_instance duplicate_instance.m:014: Error: this instance declaration for `foo(int)' duplicate_instance.m:014: clashes with an instance declaration in another duplicate_instance.m:014: module. duplicate_instance_helper_1.int:004: The other instance declaration is here. gmake[3]: *** [/tmp/mmake.RVKlra:2381: duplicate_instance.optdate] Error 1 gmake[3]: Target 'duplicate_instance.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/invalid'