-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
ICE assertion failed: prev.is_none()
with nightly 13a52890d 2024-08-14
#129112
Comments
cc @lcnr |
Wyvern, could you provide some sort of reproducer? A link to some commit in some repository or better yet a smaller stripped down version of it? |
This comment was marked as duplicate.
This comment was marked as duplicate.
@fmease I'm not sure which commit/PR of Add this info to original post, hope to help investigation.
|
are you running with |
Sorry, I wasn't clear. I meant a link to your project (the project you are trying to compile) if publicly accessible / not proprietary. |
|
@lcnr @matthiaskrgr Yeah, I think |
the easiest fix to rustc is to just disable this assert when we're using more than 1 thread. I've only added it for debugging purposes to detect cases where we unnecessarily recompute cache entries |
just hit this while trying to bootstrap with Zthreads 😅
|
cc @SparrowLii as this also showed up in your ci test run ^^ #129799 |
When I just disable this assert, all relevant UI tests passed with no other bugs or ICE |
samle code that triggers this in around 5 of 6 cases with -Zthreads=16 #[derive(Clone, Eq)] //~ ERROR [E0277]
pub struct Struct<T>(T);
impl<T: Clone, U> PartialEq<U> for Struct<T>
where
U: Into<Struct<T>> + Clone
{
fn eq(&self, _other: &U) -> bool {
todo!()
}
}
fn main() {} |
Compile with latest Nightly got ICE like below:
when compiling in
#[test]
codeOS: x86_64-apple-darwin
The text was updated successfully, but these errors were encountered: