-
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
Bump rmeta version to fix rustc_serialize ICE #91715
Conversation
rust-lang#91407 changed the serialization format which leads to ICEs for nightly users such as rust-lang#91663 and linked issue. Bumping the metadata version should lead to the cached files being discarded instead.
(rust-highfive has picked a reviewer for you, use r? to override) |
It would be nice if rustc could still read the old version for better error messages. |
@bors p=1 because we've had a couple of tickets already about the assertion |
Do we know why the rustc version check isn't preventing this from happening? My understanding of the metadata decoding is that it just loads a [u8] and doesn't try to decode unless the header matches (though I may be mis-remembering that). |
The incremental format writes out its header as |
@bors r+ p=1 I think this can get merged in the meantime, but we should likely followup with a change to rmeta to match incremental's storage of the version. |
📌 Commit 0696e79 has been approved by |
⌛ Testing commit 0696e79 with merge d2798a1bd28d1ddcae011bb7b03c8f553df7c044... |
💔 Test failed - checks-actions |
⌛ Testing commit 0696e79 with merge 086ad3b5d4a5499271f84fcd5713fbd7324f029f... |
💔 Test failed - checks-actions |
The aarch64-gnu runner is not starting. @bors retry treeclosed=100 |
@bors treeclosed- |
💔 Test failed - checks-actions |
@bors retry x86_64-apple has no logs |
⌛ Testing commit 0696e79 with merge 4ce3ebb287dae13a8c66f57cde934e3e061ef36c... |
💔 Test failed - checks-actions |
The job Click to see the possible cause of the failure (guessed by this bot)
|
Linking failure
@bors retry spurious linking failure |
☀️ Test successful - checks-actions |
Finished benchmarking commit (82575a1): comparison url. Summary: This change led to very large relevant improvements 🎉 in compiler performance.
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
That result looks bogus, most likely incremental verification noise. |
#91407 changed the serialization format which leads to ICEs for nightly users such as #91663 and linked issues. The issue can be solved by running
cargo clean
. But bumping the metadata version should lead to the cached files being discarded, avoiding the issue entirely.