-
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
rustc is still failing with "index out of bounds" when incremental is on #49586
Comments
cc @rust-lang/wg-compiler-performance as this is related to incremental compilation |
The stack trace appears garbled for some reason. Here's the relevant parts:
|
The crash isn't happening during incremental result deserialization so the fix in #49364 doesn't have any effect. |
This this still reproduce with a current nightly? |
I’ve seen this happen a couple times this week while working on std after rebasing a branch on top of master. |
@SimonSapin, was that with a version that already contains #49695? |
Probably not. Or at least the pre-rebase branches probably did not. Or possibly it only happened specifically when going from without to with this change? |
Is this still an issue on nightly? |
Not anymore on the code base that was the source of this ticket. |
It looks quite similar to #48847, which was fixed some time ago.
Nonetheless, I am still hitting this on daily basis (and I am on fresh nightly on daily basis too).
Re-running with
CARGO_INCREMENTAL=0
fixes the problem. It kinda feels like it has something to do with the fact that one of the dependencies I have uses#[proc_macro_attribute]
. However, I don't have strong evidence to support this.So, unless the fix in #49364 didn't make it into nightly the problem is still here or perhaps is triggered by something else.
The text was updated successfully, but these errors were encountered: