Skip to content

Troubleshooting

Martin Pool edited this page Jul 22, 2024 · 2 revisions

Baseline tests fail

  • Try with --in-place (see #321 as an example)

    • If that succeeds maybe copying the directory fails
    • Try --gitignore false
    • Try with --leak-dirs and see what is different between the source and scratch directory
    • If you can work out why it's failing please file a bug
    • .git (and similar VCS directories) are never copied: if your tree relies on this you'll need --in-place: https://github.com/sourcefrog/cargo-mutants/issues/348
    • File path dependencies pointing out of the source tree are not copied so again, any tree like this will need --in-place (https://github.com/sourcefrog/cargo-mutants/issues/366)
  • Try with no concurrency

  • If the crates are in a workspace, try copying them out and testing just one

Zero mutants found

Clone this wiki locally