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 #7438

Closed
scampi opened this issue Sep 26, 2019 · 1 comment
Closed

index out of bounds #7438

scampi opened this issue Sep 26, 2019 · 1 comment
Labels
C-bug Category: bug

Comments

@scampi
Copy link

scampi commented Sep 26, 2019

A build of rustfmt failed when testing it with cargo but I was not able to reproduce the failure locally. It happened with the following state:

  • rustc 1.39.0-nightly (6ef275e6c 2019-09-24)
  • rustup 1.19.0 (2af131cf9 2019-09-08)
  • cargo 1.39.0-nightly (b6c6f68 2019-09-19)
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

However, with the versions below it builds fine:

  • rustc 1.40.0-nightly (37538aa13 2019-09-25)
  • rustup 1.19.0 (2af131cf9 2019-09-08)
  • cargo 1.39.0-nightly (ab6fa89 2019-09-25)

I couldn't get more information about this failure so I hope this helps.

@scampi scampi added the C-bug Category: bug label Sep 26, 2019
@scampi
Copy link
Author

scampi commented Sep 26, 2019

I see this is a duplicate of #7427

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

1 participant