[ICE]: compiler unexpectedly panicked when building librsvg-2.62.2-r1
Open
Nobody has claimed this yet.
C-bug
I-ICE
requires-custom-config
requires-debug-assertions
S-needs-info
S-needs-repro
T-compiler
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.2k
- PR merge metrics
- PR metrics pending
Description
Getting the compiler unexpectedly panicked. This is a bug when compiling librsvg-2.62.2-r1
query stack during panic:
#0 [def_span] looking up span for `action_map::ActionMapExtManual::add_action_entries::{closure#0}`
#1 [typeck] type-checking `action_map::ActionMapExtManual::add_action_entries`
#2 [analysis] running analysis passes on crate `gio`
end of query stack
thread 'rustc' (3043) panicked at /rustc-dev/59807616e1fa2540724bfbac14d7976d7e4a3860/compiler/rustc_middle/src/hir/map.rs:988:9:
assertion `left == right` failed
left: #0
right: #54
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Meta
rustc --version --verbose:
rustc 1.95.0 (59807616e 2026-04-14) (gentoo)
binary: rustc
commit-hash: 59807616e1fa2540724bfbac14d7976d7e4a3860
commit-date: 2026-04-14
host: x86_64-unknown-linux-gnu
release: 1.95.0
LLVM version: 22.1.3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the librsvg-2.62.2-r1 build with rustc 1.95.0 (commit 59807616e) and inspect the query stack for action_map::ActionMapExtManual::add_action_entries. Start at compiler/rustc_middle/src/hir/map.rs:988 and the def_span and typeck entries; done means the build no longer triggers this compiler panic.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100