-
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
File System Loop Found - Rust >= 1.6 #11506
Comments
The filesystem loop warning was introduced in 1.59 by #10188 and #10214. As it is only a warning, it shouldn't harm your build. Have you detected anything stopping the code from compiling? From my understanding, there might be at least two possible causes.
I believe the first one can solve it immediately. |
Thanks for the reply! While the warning itself didn't stop the build, it did just keep spamming the warning and lagging my machine until it eventually crashed (I don't remember what the final error was since I just cancelled it myself every subsequent time I saw the warnings appear). Your first suggestion did indeed fix the problem, thank you so much :) |
Problem
I've just been updating all of the dependencies in one of our apps at work and I've run into a strange problem. In order to get access to some more recent packages I've had to upgrade our Rust version to above
1.6
otherwise cargo complains about not being able to find the latest version of a package I'm trying to use. All of this compiled absolutely fine on my work machine (Mac). Unfortunately when run in a Docker image using various versions ofrust-alpine
I get the following error during dependency installation.I'm not sure whether this is a problem with cargo or not but, as you will see in the "Steps" section, I'm out of ideas at this point so I thought I'd come here seeking some help.
Steps
I've failed miserably at getting this to reproduce. I created a new Rust project with the exact same dependencies and it builds inside Docker absolutely fine. We also rely on an internal library which I also copied in as a dependency. I copied the lock files too and tried generating brand new lock files, deleting
target
etc. I've stripped down our multi-stage Docker file into just the build stage so it perfectly matches my new working project yet it still loops.Here is a minimal Dockerfile which produces the issue:
This causes the issue with our app but not with my new
hello-world
app despite including all the same dependencies in thehello-world
app.I understand that without steps to reproduce this will probably be quite hard to solve but I would appreciate it if someone could at least offer some suggestions about what to do next.
Possible Solution(s)
No response
Notes
No response
Version
The text was updated successfully, but these errors were encountered: