-
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
Cargo hangs with no output, consuming 100% CPU #4833
Comments
Thanks for the report! Could you try out with nightly Cargo and see if it helps with logging? (some progress bars were added) |
Cargo from nightly works fine. It seems this is a consequence from rust-lang/rust#34674. That ticket has been closed for a while, and with nightly working fine I assume this is fixed, just unreleased to stable? |
Ok! In that case I'm going to close. Are you installing an older version of Rust? That bugfix should long be in stable at this point |
I did |
@uranusjr in theory rustup should print out the version it's installing, did you see that on the console as rustup was downloading rustc? |
I have the exact same problem, it's impossible to get any output.. It just sits there forever.
Doesn't show anything too weird. And the HTTP connection works fine. This is from inside docker |
@andrecp |
It's happening inside a docker container. I'm installing like below..
It feels like it gets stuck after github saying it's all good, but before doing anything else. The trace looks something like
no errors and thanks @weihanglo , perhaps it would be helpful if I can also see that when I don't run from a docker container I get an interactive bar |
Fresh installation with rustup-init (rustup 1.7.0) on macOS High Sierra.
Any invocation of
cargo
results in a hang with 100% CPU, and I can’t get any output either withRUST_LOG=debug
or--verbose
. It doesn’t fail, even if I give it gibberish arguments, but hangs until you ctrl-c. I have no idea what else I can provide; there is just… nothing. I suspect this is something wrong with my environment, but have no idea what on earth can be happening here.The text was updated successfully, but these errors were encountered: