-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
"File system loop found" upon cargo build
#10213
Labels
C-bug
Category: bug
Comments
This was introduced by the patch #10188 Here is a reproducible script:
Then run
Why cargo before #10188 can succeed to build is that cargo ignores bad symlinks when checking it's mtime. Unfortunately #10188 proactively detects symlink loop and aborts when got one. I guess a revert might be fine. |
weihanglo
pushed a commit
to weihanglo/cargo
that referenced
this issue
Jan 12, 2022
…alexcrichton Be resilient to most IO error and filesystem loop while walking dirs Let `PathSource::walk` be resilient to most IO errors and filesystem loop. This PR also - Add a test validating the resilience against filesystem loop to prevent regression. - Emit warning when filesystem loop found while walking the filesystem. This is the only way I can think of now to solve rust-lang#9528 Fixes rust-lang#10213.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
When running
cargo build
, an error is thrown:Steps
nodejs/node
to a package directorycargo build
Possible Solution(s)
No response
Notes
This does not occur on Cargo v1.56.0 (I'm experiencing this on 3787309).
Version
The text was updated successfully, but these errors were encountered: