-
-
Notifications
You must be signed in to change notification settings - Fork 27
Troubleshooting
Martin Pool edited this page Jul 22, 2024
·
2 revisions
-
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
- Are you running it in a crate (or with
--package
selections) pointing to a crate containing non-test code? cargo-mutants only mutates non-test code. (See https://github.com/sourcefrog/cargo-mutants/discussions/385).