-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 #120554
Comments
Update: I ran |
@fmease we use
S-needs-repro
to the author: Thank you for opening the issue! But sadly we can't do anything without a reproduction. We'll keep it open for now in case someone figures out a reproduction, but as long as we don't have one, there is not much we can do. |
I think the root cause of this issue was rustc incorrectly handling/reporting I/O errors. I've landed a number of PRs to address the problem; the most recent of those is #119510 which is now part of the latest stable toolchain, 1.77. Therefore, even though I have not reproduced exactly what you've reported here, I'm going to close this because I am reasonably confident that this bug is now fixed on stable. Of course it is possible that I am wrong and the bug you've reported here is not fixed. If you happen to run into problems like this in 1.77 or later please do not hesitate to open a new issue. |
Code
I'm following along with the code from this webinar:
I cloned the repo,
cargo build
works fine.When I run
cargo test
to run the project unit tests, the error/compiler panic occurs.The unit tests are here: https://github.com/thebracket/webinar_axumcrud/blob/master/src/db.rs#L151
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: