-
Notifications
You must be signed in to change notification settings - Fork 255
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
rustc / cargo panics on NixOS when compiling backtrace #78
Comments
Could you confirm where you're acquiring Cargo from? This was fixed in the jobserver crate 0.1.8 and it may not be pulled into Cargo locally for you perhaps? |
It's the nixpkgs-overlay which - afaik - uses the same channels as |
@alexcrichton Which version of Cargo is supposed to have Trying to figure out what exactly has caused this to suddenly be an issue, because reverting to Rust 1.21.0 (release from 2017-10-12) doesn't fix this again 🤔 |
@tazjin a specification of |
It seems I'm running into this. Reported here. |
After building cargo 0.18 from source I was able to release my crates. |
Just another datapoint, unrelated to backtrace-rs: I'm seeing the same error also under NixOS building letsencrypt-rs using rustc 1.21.0, cargo 0.22.0. Repeated builds show the error happening while compiling different dependencies (the error is not deterministic). Running I'm not using the Mozilla overlay, just the stock rust packages in NixOS 18.03pre123130.1bc288591ea. |
I think this was a bug in rustc, so closing |
Hey!
System info:
I'm getting the following panic when building backtrace:
This is reproducible for me by just running
cargo init
and addingbacktrace = "0.3.4"
as the only dependency to the project.Interestingly running
cargo build
a second time will succeed! I've tried setting build parallelism flags, e.g.-j1
to disable parallel builds, but it doesn't seem to make a difference.Will try to add more information to the issue as debugging continues, but thought that you may have an idea what this is about :)
The text was updated successfully, but these errors were encountered: