-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-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.needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.This issue may need triage. Remove it if it has been sufficiently triaged.
Description
rustc-ice-2025-07-31T21_03_32-3325.txt
Code
https://github.com/oold/daemonize/tree/ec717e7b6254d4acabecf8bb37e924b068e18d88
Meta
rustc --version --verbose
:
rustc 1.90.0-nightly (3048886e5 2025-07-30)
binary: rustc
commit-hash: 3048886e59c94470e726ecaaf2add7242510ac11
commit-date: 2025-07-30
host: x86_64-unknown-linux-gnu
release: 1.90.0-nightly
LLVM version: 20.1.8
Error output
thread 'rustc' panicked at src/librustdoc/html/sources.rs:346:14:
only local crates should have sources emitted
Backtrace
stack backtrace:
0: __rustc::rust_begin_unwind
1: core::panicking::panic_fmt
2: core::option::expect_failed
3: <&core::fmt::builders::FromFn<rustdoc::html::sources::print_src<&mut core::fmt::Formatter>::{closure#0}> as core::fmt::Display>::fmt
4: core::fmt::write
5: <&askama::filters::escape::Safe<&core::fmt::builders::FromFn<rustdoc::html::sources::print_src<&mut core::fmt::Formatter>::{closure#0}>> as core::fmt::Display>::fmt
6: core::fmt::write
7: rustdoc::html::render::render_call_locations::<&mut core::fmt::Formatter>::{closure#2}
8: <core::fmt::builders::FromFn<rustdoc::html::render::document_full_inner::{closure#0}> as core::fmt::Display>::fmt
9: core::fmt::write
10: rustdoc::html::render::render_impl::{closure#0}::doc_impl_item::<&mut alloc::string::String, &mut alloc::string::String>
11: <core::fmt::builders::FromFn<rustdoc::html::render::render_impl::{closure#0}> as core::fmt::Display>::fmt
12: core::fmt::write
13: rustdoc::html::render::render_assoc_items_inner
14: <core::fmt::builders::FromFn<rustdoc::html::render::render_assoc_items::{closure#0}> as core::fmt::Display>::fmt
15: core::fmt::write
16: <rustdoc::html::render::print_item::DisplayStruct>::render_into::<core::fmt::Formatter>
17: <core::fmt::builders::FromFn<rustdoc::html::render::print_item::item_struct::{closure#0}> as core::fmt::Display>::fmt
18: core::fmt::write
19: <rustdoc::html::render::context::Context>::render_item
20: <rustdoc::html::render::context::Context as rustdoc::formats::renderer::FormatRenderer>::item
21: rustdoc::formats::renderer::run_format_inner::<rustdoc::html::render::context::Context>
22: rustdoc::formats::renderer::run_format_inner::<rustdoc::html::render::context::Context>
23: rustc_interface::passes::create_and_enter_global_ctxt::<(), rustdoc::main_args::{closure#2}::{closure#0}>::{closure#2}::{closure#0}
24: rustc_interface::interface::run_compiler::<(), rustdoc::main_args::{closure#2}>::{closure#1}
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-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.needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.This issue may need triage. Remove it if it has been sufficiently triaged.