MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-06-12/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.vtZhqu:1307: warning: undefined variable 'TRAILED_PROGS' /mnt/testing/run/build/mercury-srcdist-rotd-2024-06-12/stage2/scripts/mmc --generate-dependencies --grade hlc.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --enable-color-diagnostics --verbose-error-messages --no-intermodule-optimization type_error_use_module > type_error_use_module.dep_err 2>&1 make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-06-12/tests/invalid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-06-12/tests/invalid' ../Mmake.common:335: warning: undefined variable 'TRAILED_PROGS' /tmp/mmake.Sdr8iU:1426: warning: undefined variable 'TRAILED_PROGS' /mnt/testing/run/build/mercury-srcdist-rotd-2024-06-12/stage2/scripts/mmc --make-interface --grade hlc.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --enable-color-diagnostics type_error_use_module_helper_1 /mnt/testing/run/build/mercury-srcdist-rotd-2024-06-12/stage2/scripts/mmc --make-short-interface --grade hlc.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --enable-color-diagnostics type_error_use_module_helper_1 /mnt/testing/run/build/mercury-srcdist-rotd-2024-06-12/stage2/scripts/mmc --make-interface --grade hlc.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --enable-color-diagnostics --verbose-error-messages --no-intermodule-optimization type_error_use_module if /mnt/testing/run/build/mercury-srcdist-rotd-2024-06-12/stage2/scripts/mmc --errorcheck-only --grade hlc.par.gc --mercury-linkage static --flags ../TESTS_FLAGS --flags ../WS_FLAGS --enable-color-diagnostics --verbose-error-messages --no-intermodule-optimization \ type_error_use_module.m > type_error_use_module.err 2>&1; \ then false; \ else true; \ fi Comparing type_error_use_module.err with type_error_use_module.err_exp*, results in type_error_use_module.err_res ** type_error_use_module.err did not match the expected error output ** (closest match was type_error_use_module.err_res1) --- type_error_use_module.err_exp 2024-05-23 21:50:03.000000000 +1000 +++ type_error_use_module.err 2024-06-13 13:45:57.572583994 +1000 @@ -1,15 +1 @@ -type_error_use_module.m:018: In clause for predicate `main'/2: -type_error_use_module.m:018: in argument 1 of call to predicate -type_error_use_module.m:018: `io.write_line'/3: -type_error_use_module.m:018: error: undefined symbol `init'/0. -type_error_use_module.m:018: That symbol is defined in modules `map' and -type_error_use_module.m:018: `type_error_use_module_helper_1', neither of -type_error_use_module.m:018: which has an `:- import_module' declaration. -type_error_use_module.m:018: Note that symbols defined in modules accessed -type_error_use_module.m:018: via `:- use_module' declarations must always be -type_error_use_module.m:018: fully module qualified. -type_error_use_module.m:019: In clause for predicate `main'/2: -type_error_use_module.m:019: error: call to undefined predicate `do_main'/2. -type_error_use_module.m:019: That predicate is defined in module -type_error_use_module.m:019: `type_error_use_module_helper_1', which does not -type_error_use_module.m:019: have an `:- import_module' declaration. +Segmentation fault (core dumped) make[3]: *** [../Mmake.common:172: type_error_use_module.err_res] Error 1 make[3]: Target 'type_error_use_module.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-06-12/tests/invalid' ERROR OUTPUT Segmentation fault (core dumped) END OF THE ERROR OUTPUT