rust-lang / rust-lang/rust

[rustdoc] scrape example ICE

Open
#147,399 8 comments 0 reactions 1 assignee View on GitHub

@suprohub is already working on this.

Since Nov 5, 2025.

A-rustdoc-scrape-examples C-bug E-needs-mcve I-ICE T-rustdoc
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

Crate name

teleop

Build failure link

https://docs.rs/crate/teleop/0.1.1/builds

Additional details

The docs build of 0.1.1 failed in the same way 3 times in a row.

The docs build of 0.1.2 didn't, although almost nothing fundamentally changed.

It's likely a compiler bug, but I was not able to reproduce it on my machine with the same toolchain.

[INFO] [stderr] thread 'rustc' (43) panicked at compiler/rustc_span/src/lib.rs:2258:17:
[INFO] [stderr] assertion failed: bpos.to_u32() >= mbc.pos.to_u32() + mbc.bytes as u32
[INFO] [stderr] stack backtrace:
[INFO] [stderr]    0:     0x7f9c8b5c64f3 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h99fd4ee990ea92eb
[INFO] [stderr]    1:     0x7f9c8bc0203c - core::fmt::write::hd54d8fac48e5e0c7
[INFO] [stderr]    2:     0x7f9c8b57aef3 - std::io::Write::write_fmt::h132f1ec6e4d6f07f
[INFO] [stderr]    3:     0x7f9c8b58c4b2 - std::sys::backtrace::BacktraceLock::print::h0e63be903a6e5637
[INFO] [stderr]    4:     0x7f9c8b592529 - std::panicking::default_hook::{{closure}}::h9369a99bf301bd3a
[INFO] [stderr]    5:     0x7f9c8b592053 - std::panicking::default_hook::h0aaa87a45572dea3
[INFO] [stderr]    6:     0x7f9c8a5aa037 - std[5c68ab07f69f8a7d]::panicking::update_hook::<alloc[55012e4bf404161]::boxed::Box<rustc_driver_impl[6ea9bcf097ce93c7]::install_ice_hook::{closure#1}>>::{closure#0}
[INFO] [stderr]    7:     0x7f9c8b59294f - std::panicking::panic_with_hook::h14e8fb556baa8187
[INFO] [stderr]    8:     0x7f9c8b5926d6 - std::panicking::panic_handler::{{closure}}::h7d6ed8b40f109538
[INFO] [stderr]    9:     0x7f9c8b58c5f9 - std::sys::backtrace::__rust_end_short_backtrace::h45d723046ddf8c66
[INFO] [stderr]   10:     0x7f9c8b56d12d - __rustc[211aff6feab39c7b]::rust_begin_unwind
[INFO] [stderr]   11:     0x7f9c88608840 - core::panicking::panic_fmt::ha924964e43d05b79
[INFO] [stderr]   12:     0x7f9c880a0a1c - core::panicking::panic::h283e0b473064e9c6
[INFO] [stderr]   13:     0x7f9c8be887d4 - <rustc_span[6efd151d4abae7e5]::source_map::SourceMap>::lookup_char_pos
[INFO] [stderr]   14:     0x558f68625437 - <rustdoc[b18494121a05a9a8]::clean::types::Span>::cnum
[INFO] [stderr]   15:     0x558f685a47e9 - <rustdoc[b18494121a05a9a8]::html::render::context::Context>::href_from_span
[INFO] [stderr]   16:     0x558f6872f0f7 - <&core[a7dd1520c7581f42]::fmt::builders::FromFn<rustdoc[b18494121a05a9a8]::html::sources::print_src<&mut core[a7dd1520c7581f42]::fmt::Formatter>::{closure#0}> as core[a7dd1520c7581f42]::fmt::Display>::fmt
[INFO] [stderr]   17:     0x7f9c8bc0203c - core::fmt::write::hd54d8fac48e5e0c7
[INFO] [stderr]   18:     0x558f6872f83b - <&askama[30b2a191ef6ba8ff]::filters::escape::Safe<&core[a7dd1520c7581f42]::fmt::builders::FromFn<rustdoc[b18494121a05a9a8]::html::sources::print_src<&mut core[a7dd1520c7581f42]::fmt::Formatter>::{closure#0}>> as core[a7dd1520c7581f42]::fmt::Display>::fmt
[INFO] [stderr]   19:     0x7f9c8bc0203c - core::fmt::write::hd54d8fac48e5e0c7
[INFO] [stderr]   20:     0x558f6852b733 - rustdoc[b18494121a05a9a8]::html::render::render_call_locations::<&mut core[a7dd1520c7581f42]::fmt::Formatter>::{closure#2}
[INFO] [stderr]   21:     0x558f68762e48 - <core[a7dd1520c7581f42]::fmt::builders::FromFn<rustdoc[b18494121a05a9a8]::html::render::document_full_inner::{closure#0}> as core[a7dd1520c7581f42]::fmt::Display>::fmt
[INFO] [stderr]   22:     0x7f9c8bc0203c - core::fmt::write::hd54d8fac48e5e0c7
[INFO] [stderr]   23:     0x558f68763d0a - <core[a7dd1520c7581f42]::fmt::builders::FromFn<rustdoc[b18494121a05a9a8]::html::render::document::{closure#0}> as core[a7dd1520c7581f42]::fmt::Display>::fmt
[INFO] [stderr]   24:     0x7f9c8bc0203c - core::fmt::write::hd54d8fac48e5e0c7
[INFO] [stderr]   25:     0x558f687687e8 - <core[a7dd1520c7581f42]::fmt::builders::FromFn<rustdoc[b18494121a05a9a8]::html::render::print_item::item_function::{closure#0}> as core[a7dd1520c7581f42]::fmt::Display>::fmt
[INFO] [stderr]   26:     0x7f9c8bc0203c - core::fmt::write::hd54d8fac48e5e0c7
[INFO] [stderr]   27:     0x558f68467a8d - rustdoc[b18494121a05a9a8]::html::layout::render::<core[a7dd1520c7581f42]::fmt::builders::FromFn<rustdoc[b18494121a05a9a8]::html::render::print_item::print_item::{closure#0}>, core[a7dd1520c7581f42]::fmt::builders::FromFn<<rustdoc[b18494121a05a9a8]::html::render::context::Context>::render_item::{closure#0}>>
[INFO] [stderr]   28:     0x558f685a3e82 - <rustdoc[b18494121a05a9a8]::html::render::context::Context>::render_item
[INFO] [stderr]   29:     0x558f68749f9e - <rustdoc[b18494121a05a9a8]::html::render::context::Context as rustdoc[b18494121a05a9a8]::formats::renderer::FormatRenderer>::item
[INFO] [stderr]   30:     0x558f684753b5 - rustdoc[b18494121a05a9a8]::formats::renderer::run_format_inner::<rustdoc[b18494121a05a9a8]::html::render::context::Context>
[INFO] [stderr]   31:     0x558f68475566 - rustdoc[b18494121a05a9a8]::formats::renderer::run_format_inner::<rustdoc[b18494121a05a9a8]::html::render::context::Context>
[INFO] [stderr]   32:     0x558f68475566 - rustdoc[b18494121a05a9a8]::formats::renderer::run_format_inner::<rustdoc[b18494121a05a9a8]::html::render::context::Context>
[INFO] [stderr]   33:     0x558f68475566 - rustdoc[b18494121a05a9a8]::formats::renderer::run_format_inner::<rustdoc[b18494121a05a9a8]::html::render::context::Context>
[INFO] [stderr]   34:     0x558f685331bf - rustdoc[b18494121a05a9a8]::main_args::{closure#2}::{closure#0}
[INFO] [stderr]   35:     0x558f68525da3 - rustc_interface[3738b0f3f300858a]::interface::run_compiler::<(), rustdoc[b18494121a05a9a8]::main_args::{closure#2}>::{closure#1}
[INFO] [stderr]   36:     0x558f6845feb8 - std[5c68ab07f69f8a7d]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[3738b0f3f300858a]::util::run_in_thread_with_globals<rustc_interface[3738b0f3f300858a]::util::run_in_thread_pool_with_globals<rustc_interface[3738b0f3f300858a]::interface::run_compiler<(), rustdoc[b18494121a05a9a8]::main_args::{closure#2}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
[INFO] [stderr]   37:     0x558f6855923d - <<std[5c68ab07f69f8a7d]::thread::Builder>::spawn_unchecked_<rustc_interface[3738b0f3f300858a]::util::run_in_thread_with_globals<rustc_interface[3738b0f3f300858a]::util::run_in_thread_pool_with_globals<rustc_interface[3738b0f3f300858a]::interface::run_compiler<(), rustdoc[b18494121a05a9a8]::main_args::{closure#2}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[a7dd1520c7581f42]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stderr]   38:     0x7f9c8cd063cd - std::sys::thread::unix::Thread::new::thread_start::he0f9630b71090652
[INFO] [stderr]   39:     0x7f9c8688aaa4 - <unknown>
[INFO] [stderr]   40:     0x7f9c86917a34 - clone
[INFO] [stderr]   41:                0x0 - <unknown>
[INFO] [stderr] 
[INFO] [stderr] error: the compiler unexpectedly panicked. this is a bug.
[INFO] [stderr] 
[INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-rustdoc&template=ice.md
[INFO] [stderr] 
[INFO] [stderr] note: please make sure that you have updated to the latest nightly
[INFO] [stderr] 
[INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2025-10-04T18_01_32-42.txt`: Read-only file system (os error 30)
[INFO] [stderr] 
[INFO] [stderr] note: rustc 1.92.0-nightly (595b9a498 2025-10-03) running on x86_64-unknown-linux-gnu
[INFO] [stderr] 
[INFO] [stderr] note: compiler flags: --crate-type lib -Z unstable-options -Z unstable-options -Z unstable-options
[INFO] [stderr] 
[INFO] [stderr] note: some of the compiler flags provided by cargo are hidden

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.