Skip to content

Compiler Requested Report #147203

@AllProAi

Description

@AllProAi

###Code

// Not available — this ICE occurred during compilation in an incremental + LTO build.
// The panic happened during the “optimize module” phase, before linking.
// If needed, code/test modules that triggered this might be added after minimization.

Meta
rustc --version --verbose:

rustc 1.88.0 (6b00bc388 2025-06-23)
binary: rustc
commit-hash: 6b00bc3880198600130e1cf62b8f8a93494488cc
commit-date: 2025-06-23
host: x86_64-pc-windows-msvc
release: 1.88.0
LLVM version: <auto-filled if present>

Error output

thread 'optimize module aqyix2govsci2tmppynqqxv27' panicked at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc\compiler\rustc_codegen_ssa\src\back\write.rs:925:21:
Error writing pre-lto-bitcode file `\\?\D:\Projects\ContentForgePro\target\release\incremental\test_lifecycle_management-3pjubmjqa5pb4\s-hblyc62sb1-1wiht1n-working\aqyix2govsci2tmppynqqxv27.pre-lto.bc`: A device which does not exist was specified. (os error 433)
...
thread 'optimize module ep4sc5m5nuhgyiclijtw10p40' panicked at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc\compiler\rustc_codegen_ssa\src\back\write.rs:925:21:
Error writing pre-lto-bitcode file `\\?\D:\Projects\ContentForgePro\target\release\incremental\test_direct_lifecycle_wasm-0misob3d4yfqn\s-hblyc6gwsu-083tkjw-working\ep4sc5m5nuhgyiclijtw10p40.pre-lto.bc`: A device which does not exist was specified. (os error 433)
...
error: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: [https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md](https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md)

note: rustc 1.88.0 (6b00bc388 2025-06-23) running on x86_64-pc-windows-msvc

note: compiler flags: --crate-type bin -C opt-level=3 -C panic=abort -C lto -C codegen-units=1 -C linker=rust-lld.exe -C incremental=[REDACTED] -C strip=debuginfo -C link-arg=-fuse-ld=lld
note: some of the compiler flags provided by cargo are hidden
...
rustc-LLVM ERROR: IO failure on output stream: invalid argument
    Building [=====================> ] 1713/1726: ...
Backtrace

stack backtrace:
   0:     0x7ffaf0b0a9c2 - std::backtrace_rs::backtrace::win64::trace
   1:     0x7ffaf0b0a9c2 - std::backtrace_rs::backtrace::trace_unsynchronized
   2:     0x7ffaf0b0a9c2 - std::sys::backtrace::_print_fmt
   3:     0x7ffaf0b0a9c2 - std::sys::backtrace::impl$0::print::impl$0::fmt
   4:     0x7ffaf0b3d18b - core::fmt::rt::Argument::fmt
   5:     0x7ffaf0b3d18b - core::fmt::write
   6:     0x7ffaf0b00b17 - std::io::default_write_fmt
   7:     0x7ffaf0b00b17 - std::io::Write::write_fmt<std::sys::stdio::windows::Stderr>
   8:     0x7ffaf0b0a805 - std::sys::backtrace::BacktraceLock::print
   9:     0x7ffaf0b1045a - std::panicking::default_hook::closure$0
  10:     0x7ffaf0b101f0 - std::panicking::default_hook
  ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LTOArea: Link-time optimization (LTO)C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️O-windowsOperating system: WindowsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions