Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 opened this issue May 8, 2023 · 1 comment · Fixed by #111371
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@sowbug
Copy link

sowbug commented May 8, 2023

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.

@sowbug sowbug added C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels May 8, 2023
@sowbug
Copy link
Author

sowbug commented May 8, 2023

See also these similar recent issues:

#111334
#111320

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant