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

Recent rustc nightlies panic when building gfx-backend-metal #26648

Closed
jdm opened this issue May 26, 2020 · 3 comments
Closed

Recent rustc nightlies panic when building gfx-backend-metal #26648

jdm opened this issue May 26, 2020 · 3 comments
Labels
I-bustage The effect of the issue remaining unresolved. P-mac Any version of MacOS

Comments

@jdm
Copy link
Member

jdm commented May 26, 2020

thread 'rustc' panicked at 'index out of bounds: the len is 0 but the index is 0', src/librustc_mir_build/hair/pattern/_match.rs:1184:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.45.0-nightly (46e85b432 2020-05-24) running on x86_64-apple-darwin

note: compiler flags: -C embed-bitcode=no -C debuginfo=2 --crate-type lib

note: some of the compiler flags provided by cargo are hidden

error: could not compile `gfx-backend-metal`.

This might need to be reported upstream like #26645.

@jdm jdm added I-bustage The effect of the issue remaining unresolved. P-mac Any version of MacOS labels May 26, 2020
@jdm
Copy link
Member Author

jdm commented May 26, 2020

Reported in rust-lang/rust#72593

@CYBAI
Copy link
Member

CYBAI commented May 26, 2020

I also got this error while compiling script crate 👀

@jdm
Copy link
Member Author

jdm commented May 27, 2020

No need to track this issue given #26661.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-bustage The effect of the issue remaining unresolved. P-mac Any version of MacOS
Projects
None yet
Development

No branches or pull requests

2 participants