Skip to content
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

What if the cargo clean doesn't work? #80

Closed
Kimsungwook123 opened this issue Sep 29, 2022 · 2 comments
Closed

What if the cargo clean doesn't work? #80

Kimsungwook123 opened this issue Sep 29, 2022 · 2 comments

Comments

@Kimsungwook123
Copy link

I found out that it didn't work normally while testing. So I ran a cargo clean. However, it came out as below. So I looked up the related contents on git. But, I failed to remove nfs000000000602dadc00060c3c and other files. And yet the cargo clean still doesn't work. What should I do?

$ cargo clean
error: failed to remove build artifact

Caused by:
failed to remove file /home/sXXXXXXXX/cs220/target/debug/deps/.nfs000000000602dadc00060c3c

Caused by:
Device or resource busy (os error 16)

(I saw the this article.
rust-lang/vscode-rust#630
rust-lang/cargo#6943)

@minseongg
Copy link
Member

Does the same error occur when you do cargo clean again?

If so, please try to move your ~/cs220/target to another location (e.g., mkdir ~/Trash; mv ~/cs220/target ~/Trash) and then try again.

@Kimsungwook123
Copy link
Author

thank you for answer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants