Skip to content

ICE assertion failed: prev.is_none() with nightly 13a52890d 2024-08-14 #129112

Closed
@Wyvern

Description

@Wyvern

Compile with latest Nightly got ICE like below:

thread 'rustc' panicked at /rustc/13a52890dde8cfeb95069d77c223ac37c0cf3a46/compiler/rustc_type_ir/src/search_graph/global_cache.rs:62:13:
assertion failed: prev.is_none()

query stack during panic:
#0 [check_well_formed] checking that `pat_arg::Arg` is well-formed
#1 [check_mod_type_wf] checking that types are well-formed in module `pat_arg`
end of query stack

when compiling in #[test]code

thread 'rustc' panicked at /rustc/13a52890dde8cfeb95069d77c223ac37c0cf3a46/compiler/rustc_codegen_ssa/src/back/write.rs:2055:17:
/rustc/13a52890dde8cfeb95069d77c223ac37c0cf3a46/compiler/rustc_codegen_ssa/src/back/write.rs:2055:17: panic during codegen/LLVM phase

thread 'coordinator' panicked at /rustc/13a52890dde8cfeb95069d77c223ac37c0cf3a46/compiler/rustc_codegen_ssa/src/back/write.rs:1643:37:
assertion failed: needs_link.is_empty()

OS: x86_64-apple-darwin

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-parallel-compilerArea: parallel compilerA-trait-systemArea: Trait systemC-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️S-needs-reproStatus: This issue has no reproduction and needs a reproduction to make progress.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions