We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
error: could not remove build directory
I use devcontainer.
devcontainer
And /path/to/repo/target is a mountpoint.
/path/to/repo/target
When I run cargo clean, cargo try to delete mount point, which leads to error: could not remove build directory.
cargo clean
$ mountpoint /path/to/repo/target && cargo clean /path/to/repo/target is a mountpoint error: could not remove build directory Caused by: failed to remove directory `/path/to/repo/target` Caused by: Device or resource busy (os error 16) Error: failed to remove directory `/path/to/repo/target` Caused by: Device or resource busy (os error 16)
Don't try to delete mountpoint.
No response
I run cargo clean because rust-lang/rust-analyzer#15057 (comment)
The text was updated successfully, but these errors were encountered:
This looks to be a duplicate of #11887, closing in favor of that. If there is a distinction between these that I missed, let us know!
Sorry, something went wrong.
No branches or pull requests
Problem
I use
devcontainer
.And
/path/to/repo/target
is a mountpoint.When I run
cargo clean
, cargo try to delete mount point, which leads toerror: could not remove build directory
.Steps
Possible Solution(s)
Don't try to delete mountpoint.
Notes
No response
Version
No response
Related
I run
cargo clean
because rust-lang/rust-analyzer#15057 (comment)The text was updated successfully, but these errors were encountered: