-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
assertion failed: eps.windows(2).all(|w| w[0].cmp(self, &w[1]) != Ordering::Greater) #38177
Comments
It would be nice to build on stable Rust. In particular, I'm hitting compiler bugs in Rust nightly, such at this one: rust-lang/rust#38177 I imagine beta/stable compilers would be less problematic. These two features were easy to get rid of: * alloc was used to get a Box<[u8]> to uninitialized memory. Looks like that's possible with Vec. * box_syntax wasn't actually used at all. (Maybe a leftover from something.) The remaining features are: * plugin, for clippy. rust-lang/rust#29597 I could easily gate it with a "nightly" cargo feature. * proc_macro, for serde_derive. rust-lang/rust#35900 serde does support stable rust, although it's annoying. https://serde.rs/codegen-stable.html I might just wait a bit; this feature looks like it's getting close to stabilization.
triage: P-high |
/me is super-weirded out by the fact that the panic message is claiming that the assertion is arising from within |
I have this issue when compiling anything, even an empty project. As far as I can tell, it wasn't present in nightlies 2217bd7 2016-11-25 and 1c44857 2016-11-28
I tried to run with RUST_BACKTRACE=1 and it took 10 minutes (it takes maybe 1 second without). Backtrace: https://gist.github.com/Badel2/9d0f9245fadca1505042dd4af4ef553a
Update: I tried more nightly versions and the first one to crash is rustc 1.15.0-nightly (908dba0 2016-12-01). The line number is slightly different this time.
|
Reproduced using an armel rustc and compiling a trivial file. |
The standard implementations of Hasher have architecture-dependent results when hashing integers. This causes problems when the hashes are stored within metadata - metadata written by one host architecture can't be read by another. To fix that, implement an architecture-independent StableHasher and use it in all places an architecture-independent hasher is needed. Fixes rust-lang#38177.
make deterministic_hash host-architecture-independent `DefPath::deterministic_hash` used to call `std::hash::Hash`, which depends on the current architecture in several ways, which would prevent metadata written on one host architecture from being successfully read on another one. Use a hasher we control instead. Fixes #38177. r? @michaelwoerister
Got an ICE while compiling the
protobuf
crate with that recent snapshot:rustc 1.15.0-nightly (28d6623bc 2016-12-03)
on arm.Meta
rustc --version --verbose
:Backtrace: https://gist.github.com/f7ea7c27e5acb684140d2a5227621617
The text was updated successfully, but these errors were encountered: