Skip to content

error: internal compiler error: compiler/rustc_monomorphize/src/collector.rs:1038:9: no MIR available for DefId(30:2748 ~ wgpu_core[d90d]::track::buffer::{impl#0}::all_ordered) #111357

Closed
@sowbug

Description

@sowbug

This happened during a GitHub action that builds with nightly on x86_64 and two ARM architectures. The output is here

I am in a hurry and resolved it by switching to the stable toolchain, so I'm not providing a minimal repro case. If the issue pops up again, I'll try to reduce it. It happened with the most recent commit, which is unfortunately not small, but at least that should narrow the search space.

Toolchain bisect: I do not see the problem on either stable or nightly-x86_64-unknown-linux-gnu unchanged - rustc 1.71.0-nightly (1a6ae3d69 2023-04-27) on my local machine when I build in the debug configuration. I do see it locally once I rustup update to nightly-x86_64-unknown-linux-gnu unchanged - rustc 1.71.0-nightly (c4190f2d3 2023-05-07).

My code bisect: I first saw the problem with this commit's GitHub action build, but now that I try to go back as far as aaa41db78aa1633f415c4f8c09d33edb7cb02ed7, I still see it when I build locally on the latest nightly toolchain, although that build succeeded on its original GitHub action. This suggests that it's a new issue in a very recent release of the Rust toolchain, rather than my latest couple code commits unearthing a latent toolchain issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions