-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
invalid attempt to unwrap a None some_prev with -Cinstrument-coverage #118662
Comments
@rustbot label +A-code-coverage |
According to that regression range, this predates #118525 and doesn't coincide with any coverage-specific change that I know of. So presumably a change elsewhere in the compiler confused the coverage instrumentor into encountering a latent bug. |
I reproduced this with:
The report seems to be suggesting a different regression range as #118662 (comment) searched nightlies: from nightly-2023-12-03 to nightly-2023-12-07 bisected with cargo-bisect-rustc v0.6.7Host triple: x86_64-unknown-linux-gnu cargo bisect-rustc |
I just found out that the cargo and rustc version can be different. The rustc version of the first bad image is the same as the comment above
Sorry for the confusion |
Confirmed this is fixed with #118666.
Regression in rust-lang-ci@a10d556 searched nightlies: from nightly-2023-12-06 to nightly-2023-12-10 bisected with cargo-bisect-rustc v0.6.7Host triple: x86_64-unknown-linux-gnu cargo bisect-rustc --preserve --start 2023-12-06 --end 2023-12-10 --regress=non-ice |
Code
<code>
This is noticed on this oss-fuzz build for cras. I haven't tried to create a verifiable example, but from the log it is failing on a public crate
dbus
. It is also failing only when compiling with-Cinstrument-coverage
Meta
rustc --version --verbose
:Error output
Backtrace
I think this is the same error as #118643. Also tried to bisect the oss-fuzz builder version and the regression is between (26333c732 2023-11-28) and (623b78849 2023-12-02):
The text was updated successfully, but these errors were encountered: