Skip to content

regression: ty/closure index out of bounds ICE #115779

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

Open
Mark-Simulacrum opened this issue Sep 12, 2023 · 1 comment
Open

regression: ty/closure index out of bounds ICE #115779

Mark-Simulacrum opened this issue Sep 12, 2023 · 1 comment
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ P-medium Medium priority regression-from-stable-to-stable Performance or correctness regression from one stable version to another. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Milestone

Comments

@Mark-Simulacrum
Copy link
Member

[INFO] [stderr] thread 'rustc' panicked at compiler/rustc_middle/src/ty/closure.rs:180:56:
[INFO] [stderr] index out of bounds: the len is 1 but the index is 1

https://crater-reports.s3.amazonaws.com/beta-1.73-1.2/beta-2023-09-10/reg/mononym-0.1.0/log.txt

@Mark-Simulacrum Mark-Simulacrum added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. regression-from-stable-to-beta Performance or correctness regression from stable to beta. labels Sep 12, 2023
@Mark-Simulacrum Mark-Simulacrum added this to the 1.73.0 milestone Sep 12, 2023
@rustbot rustbot added needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. I-prioritize Issue: Indicates that prioritization has been requested for this issue. labels Sep 12, 2023
@Mark-Simulacrum Mark-Simulacrum removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Sep 12, 2023
@matthiaskrgr matthiaskrgr added the I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ label Sep 12, 2023
@apiraino
Copy link
Contributor

I can't reproduce with:

git clone --depth=1 https://github.com/maybevoid/mononym && cd mononym
RUSTFLAGS="--cap-lints=warn" cargo +beta-2023-09-10 test --frozen --no-run

but it does reproduces on 1.74.0-nightly (2fc85d15a 2023-09-09).

Assigning priority (Zulip discussion).

@rustbot label -I-prioritize +P-medium

@rustbot rustbot added P-medium Medium priority and removed I-prioritize Issue: Indicates that prioritization has been requested for this issue. labels Sep 13, 2023
@Mark-Simulacrum Mark-Simulacrum added regression-from-stable-to-stable Performance or correctness regression from one stable version to another. and removed regression-from-stable-to-beta Performance or correctness regression from stable to beta. labels Feb 2, 2024
@workingjubilee workingjubilee added the C-bug Category: This is a bug. label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ P-medium Medium priority regression-from-stable-to-stable Performance or correctness regression from one stable version to another. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants