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

'index out of bounds' panic on beta on Travis macOS #7453

Closed
oconnor663 opened this issue Sep 27, 2019 · 2 comments
Closed

'index out of bounds' panic on beta on Travis macOS #7453

oconnor663 opened this issue Sep 27, 2019 · 2 comments
Labels
C-bug Category: bug

Comments

@oconnor663
Copy link

As of yesterday's release, I've started seeing a Cargo panic in my CI, only on macOS hosts with the beta compiler (no repro on nightly):

thread 'main' panicked at 'index out of bounds: the len is 2 but the index is 2', src/tools/cargo/src/cargo/util/cpu.rs:152:29

Here are builds from two different projects demonstrating the panic:

https://travis-ci.org/oconnor663/duct.rs/jobs/590451953
https://travis-ci.org/oconnor663/os_pipe.rs/builds/590452207

@oconnor663 oconnor663 added the C-bug Category: bug label Sep 27, 2019
@pnkfelix
Copy link
Member

I saw @RalfJung mention something similar over here: rust-lang/rust#64798 (comment)

@alexcrichton
Copy link
Member

Thanks for the report! This was fixed in #7429 and landed in the rust repo a few hours ago for the beta branch at rust-lang/rust#64814, and the fix should propagate to the beta channel tonight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

3 participants