-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't "cargo clean" after running "cargo test" (permission denied) #6943
Comments
I can't even
|
I'll see if I can iron out a fix. |
tests: registry: revert readonly permission after running tests. Fixes #6943
rust-lang/vscode-rust#630 |
@bors Please reopen this issue. I am on Cannot perform a simple cargo clean. `PS D:\my_app> cargo clean Caused by: Caused by: |
Is the test still running? |
@Eh2406 |
Sorry for the confusion I read the title too quickly. The common version of this problem that I run into is that I run If your issue is "can't clean a file while a running program is using it" then I don't think there is anything cargo can do to fix that. It is a limitation of the operating system. If your case is different, as the OPs was here, then please open a new issue with a clear reproducible example. If you are not sure, then there are places to get help diagnosing like users.rust-lang. |
repro:
cargo clean fails with:
The text was updated successfully, but these errors were encountered: