-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Open
Labels
C-bugCategory: This is a bug.Category: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️S-has-bisectionStatus: A bisection has been found for this issueStatus: A bisection has been found for this issueT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
rustc-ice-2025-09-26T10_02_09-116300.txt
Code
It happens in cargo make docs
in /parser
in https://github.com/FlexiFormal/ftml, but apparently not the other packages in that workspace (which makes creating a minimal example difficult)
Meta
rustc --version --verbose
:
rustc 1.92.0-nightly (7ac0330c6 2025-09-25)
Error output
<output>
Backtrace
error: internal compiler error: compiler/rustc_middle/src/ty/typeck_results.rs:593:9: node HirId(DefId(0:707 ~ ftml_parser[d401]::extraction::{impl#1}::apply::AttrI).18) (type `E::Attributes<'e>`) cannot be placed in TypeckResults with hir_owner DefId(0:703 ~ ftml_parser[d401]::extraction::{impl#1}::apply)
thread 'rustc' (116301) panicked at compiler/rustc_middle/src/ty/typeck_results.rs:593:9:
Box<dyn Any>
stack backtrace:
0: 0x7aa157bd3383 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h327ca3607f41d458
1: 0x7aa158202084 - core::fmt::write::h3b5a0bde07aa4e69
2: 0x7aa157b87d31 - std::io::Write::write_fmt::hc3952e084b34ae53
3: 0x7aa157b990f2 - std::sys::backtrace::BacktraceLock::print::ha86ad38a3a98d11e
4: 0x7aa157b9f059 - std::panicking::default_hook::{{closure}}::hd18f83f61d05c316
5: 0x7aa157b9eb83 - std::panicking::default_hook::hcfa6e9db702138c4
6: 0x7aa156bc3ff7 - std[189cd860a8b1bd]::panicking::update_hook::<alloc[9e4688e5ec8cd4e0]::boxed::Box<rustc_driver_impl[e93e648f0c9d8e0]::install_ice_hook::{closure#1}>>::{closure#0}
7: 0x7aa157b9f47f - std::panicking::panic_with_hook::h586659cd0711af7c
8: 0x7aa156c00291 - std[189cd860a8b1bd]::panicking::begin_panic::<rustc_errors[98a118715f021967]::ExplicitBug>::{closure#0}
9: 0x7aa156bf4666 - std[189cd860a8b1bd]::sys::backtrace::__rust_end_short_backtrace::<std[189cd860a8b1bd]::panicking::begin_panic<rustc_errors[98a118715f021967]::ExplicitBug>::{closure#0}, !>
10: 0x7aa156bf3a95 - std[189cd860a8b1bd]::panicking::begin_panic::<rustc_errors[98a118715f021967]::ExplicitBug>
11: 0x7aa156c0b951 - <rustc_errors[98a118715f021967]::diagnostic::BugAbort as rustc_errors[98a118715f021967]::diagnostic::EmissionGuarantee>::emit_producing_guarantee
12: 0x7aa15719dcba - rustc_middle[b011758feba8d7f8]::util::bug::opt_span_bug_fmt::<rustc_span[5b3ce14b38816803]::span_encoding::Span>::{closure#0}
13: 0x7aa15719dd1a - rustc_middle[b011758feba8d7f8]::ty::context::tls::with_opt::<rustc_middle[b011758feba8d7f8]::util::bug::opt_span_bug_fmt<rustc_span[5b3ce14b38816803]::span_encoding::Span>::{closure#0}, !>::{closure#0}
14: 0x7aa15718c4fb - rustc_middle[b011758feba8d7f8]::ty::context::tls::with_context_opt::<rustc_middle[b011758feba8d7f8]::ty::context::tls::with_opt<rustc_middle[b011758feba8d7f8]::util::bug::opt_span_bug_fmt<rustc_span[5b3ce14b38816803]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !>
15: 0x7aa155a696f0 - rustc_middle[b011758feba8d7f8]::util::bug::bug_fmt
16: 0x7aa15719ee54 - rustc_middle[b011758feba8d7f8]::ty::typeck_results::invalid_hir_id_for_typeck_results::{closure#0}
17: 0x7aa15719dce6 - rustc_middle[b011758feba8d7f8]::ty::context::tls::with::<rustc_middle[b011758feba8d7f8]::ty::typeck_results::invalid_hir_id_for_typeck_results::{closure#0}, !>::{closure#0}
18: 0x7aa15719dcd6 - rustc_middle[b011758feba8d7f8]::ty::context::tls::with_context::<rustc_middle[b011758feba8d7f8]::ty::context::tls::with<rustc_middle[b011758feba8d7f8]::ty::typeck_results::invalid_hir_id_for_typeck_results::{closure#0}, !>::{closure#0}, !>::{closure#0}
19: 0x7aa15718b3f3 - rustc_middle[b011758feba8d7f8]::ty::context::tls::with_context_opt::<rustc_middle[b011758feba8d7f8]::ty::context::tls::with_context<rustc_middle[b011758feba8d7f8]::ty::context::tls::with<rustc_middle[b011758feba8d7f8]::ty::typeck_results::invalid_hir_id_for_typeck_results::{closure#0}, !>::{closure#0}, !>::{closure#0}, !>
20: 0x7aa1571c6ee4 - rustc_middle[b011758feba8d7f8]::ty::typeck_results::invalid_hir_id_for_typeck_results
21: 0x7aa159e767cf - <rustc_middle[b011758feba8d7f8]::ty::typeck_results::TypeckResults>::qpath_res.cold
22: 0x64db9b4b0288 - <rustdoc[63deac975c74d857]::html::render::span_map::SpanMapVisitor as rustc_hir[6bb775211f0d70d2]::intravisit::Visitor>::visit_qpath
23: 0x64db9b10a7fd - rustc_hir[6bb775211f0d70d2]::intravisit::walk_item::<rustdoc[63deac975c74d857]::html::render::span_map::SpanMapVisitor>
24: 0x64db9b4df22f - <rustdoc[63deac975c74d857]::html::render::span_map::SpanMapVisitor as rustc_hir[6bb775211f0d70d2]::intravisit::Visitor>::visit_block
25: 0x64db9b10af3d - rustc_hir[6bb775211f0d70d2]::intravisit::walk_item::<rustdoc[63deac975c74d857]::html::render::span_map::SpanMapVisitor>
26: 0x64db9b4b039b - <rustdoc[63deac975c74d857]::html::render::span_map::SpanMapVisitor as rustc_hir[6bb775211f0d70d2]::intravisit::Visitor>::visit_mod
27: 0x64db9b4b039b - <rustdoc[63deac975c74d857]::html::render::span_map::SpanMapVisitor as rustc_hir[6bb775211f0d70d2]::intravisit::Visitor>::visit_mod
28: 0x64db9b2cd335 - <rustdoc[63deac975c74d857]::html::render::context::Context>::init
29: 0x64db9b24dea1 - rustdoc[63deac975c74d857]::main_args::{closure#2}::{closure#0}
30: 0x64db9b23e010 - rustc_interface[a373707b2e6fbc05]::interface::run_compiler::<(), rustdoc[63deac975c74d857]::main_args::{closure#2}>::{closure#1}
31: 0x64db9b193258 - std[189cd860a8b1bd]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[a373707b2e6fbc05]::util::run_in_thread_with_globals<rustc_interface[a373707b2e6fbc05]::util::run_in_thread_pool_with_globals<rustc_interface[a373707b2e6fbc05]::interface::run_compiler<(), rustdoc[63deac975c74d857]::main_args::{closure#2}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
32: 0x64db9b27491d - <<std[189cd860a8b1bd]::thread::Builder>::spawn_unchecked_<rustc_interface[a373707b2e6fbc05]::util::run_in_thread_with_globals<rustc_interface[a373707b2e6fbc05]::util::run_in_thread_pool_with_globals<rustc_interface[a373707b2e6fbc05]::interface::run_compiler<(), rustdoc[63deac975c74d857]::main_args::{closure#2}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[fe142499b5733e27]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
33: 0x7aa15931e20d - std::sys::thread::unix::Thread::new::thread_start::h93ad0e81e3311ec0
34: 0x7aa152c9caa4 - start_thread
at ./nptl/pthread_create.c:447:8
35: 0x7aa152d29c6c - clone3
at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78:0
36: 0x0 - <unknown>
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️S-has-bisectionStatus: A bisection has been found for this issueStatus: A bisection has been found for this issueT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.