-
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 install never ends on nightly and linux #6384
Comments
This version is quite old. Can you try with a newer version (current nightly is 1.32 2018-12-05)? You may want to check your PATH is set up correctly and you are using the correct cargo/rustc as installed by rustup. |
It seems to be an issue with rustc in nightly.
Never ends, with nightly on my machine. On stable it works as expected. |
I upgraded everything, I should have posted the result of
|
@ghusse out of curiosity, can you attach a debugger and try to get a stack trace of the stuck process? |
If you can indicate me how to do that, I'll be pleased to execute :) |
Oh sure, you should be able to:
And hopefully that's enough output to gist! |
@ghusse Do you have ESET antivirus installed (or any security software)? |
@ehuss Yes, I have ESET antivirus. I tried to deactivate its protection to see if it works but that did not do anything. @alexcrichton I followed the steps, but I don't see any output for the command |
Ah, in that case, I'm going to close in favor of the upstream issue rust-lang/rust#56736 as it is a problem with how rust is built. You can follow that for more updates. I think we understand what's wrong. It's an unfortunate interaction between ESET, jemalloc 5, and how rust is built. At this time I don't know of a good fix, though there are some ideas listed on that issue. |
Thanks for the explanations. |
Problem
I'm trying to use some packages that need nightly.
Running
cargo install xxxx
works correctlyRunning
cargo +nightly install racer
(for instance, but I have the same issue for other packages) never ends. The installation is stuck in "installing".Steps
rustup toolchain add nightly
cargo +nightly install racer
Notes
I installed rust/nightly on windows a few days ago, and did not have this issue
Output of
cargo version
:cargo 1.30.0 (a1a4ad372 2018-11-02)
The text was updated successfully, but these errors were encountered: