-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
ICE: index out of bounds: the len is 1 but the index is 2' in format macro #99261
Comments
Reproduces a bit easier by making a blank cargo project with all of the |
Thank you for looking into it this quickly. I really appreciate it! |
It fails because of rust-lang/rust#99261 at nightly-2022-07-14. Enforce nightly-2022-07-13.
Discovered this issue while installing |
Reproducible on my m1, just run cargo install trunk when on nightly, complies fine on stable. |
Code
I don't know how this ICE happened, nor can I reproduce it on another machine. It only occurs in CI.
CI Output:
https://github.com/jay3332/Turbine/runs/7350777961
Repo:
https://github.com/jay3332/Turbine/tree/d77c84af2eb0dbd06825045ae0deb3ae18d98672
Meta
rustc --version --verbose
:Seems to be originating from this line: https://github.com/rust-lang/rust/blob/1219f72f9049817cf5933112f75bbddf360a7a1f/compiler/rustc_builtin_macros/src/format.rs#L1001/src/format.rs#L1001
Error output
Backtrace
The text was updated successfully, but these errors were encountered: