Skip to content

ICE(s?) with debug assertions enabled in rustc_trait_selection #102074

Closed
@saethlin

Description

@saethlin

Meta

These are from the crater runs on #101929

Error output

There are quite a few crates in the crater run which hit this assertion, I'm just picking out 3 examples that look kind of representative to me. If you want more examples, search through the build-fail crates. The majority of failures are in there, for whatever reason.

https://crater-reports.s3.amazonaws.com/pr-101929/try%233bbb5242a8064de4ca3af4036745ddf603ddaa85/reg/EasyCrypto-0.8.1/log.txt

[INFO] [stderr] thread 'rustc' panicked at 'assertion failed: `(left == right)`
[INFO] [stderr]   left: `Binder(<[u8; _] as std::clone::Clone>, [])`,
[INFO] [stderr]  right: `Binder(<[u8; 16] as std::clone::Clone>, [])`', compiler/rustc_trait_selection/src/traits/codegen.rs:26:5

https://crater-reports.s3.amazonaws.com/pr-101929/try%233bbb5242a8064de4ca3af4036745ddf603ddaa85/reg/holochain_deterministic_integrity-0.0.13/log.txt

[INFO] [stderr] thread 'rustc' panicked at 'assertion failed: `(left == right)`
[INFO] [stderr]   left: `Binder(<to_local_types_test_nested::Nesting as holochain_deterministic_integrity::prelude::EnumVariantLen<#[hdk_to_coordinates(nested)]>>, [])`,
[INFO] [stderr]  right: `Binder(<to_local_types_test_nested::Nesting as holochain_deterministic_integrity::prelude::EnumVariantLen<0>>, [])`', compiler/rustc_trait_selection/src/traits/codegen.rs:26:5

https://crater-reports.s3.amazonaws.com/pr-101929/try%233bbb5242a8064de4ca3af4036745ddf603ddaa85/reg/pluser-3.0.0/log.txt

[INFO] [stderr] thread 'rustc' panicked at 'assertion failed: `(left == right)`
[INFO] [stderr]   left: `Binder(<accumulator::Accumulator as ink_lang::reflect::DispatchableConstructorInfo</// Holds a simple `i32` value that can be incremented and decremented.
[INFO] [stderr]     #[ink(storage)]
[INFO] [stderr]     pub struct Accumulator {
[INFO] [stderr]         value: i32,
[INFO] [stderr]     }>>, [])`,
[INFO] [stderr]  right: `Binder(<accumulator::Accumulator as ink_lang::reflect::DispatchableConstructorInfo<2611912030>>, [])`', compiler/rustc_trait_selection/src/traits/codegen.rs:26:5

Metadata

Metadata

Labels

C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.requires-debug-assertionsThis issue requires a build of rustc or tooling with debug-assertions in some way

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions