Comments (3)
Ah I see, it only ICEs on older editions. If you're using a new cargo project to bisect, it will be set to edition=2021 by cargo new
.
With that, an ICE bisects to nightly-2022-08-10
: broken MIR in DefId(0:9 ~ issue_124189[40d2]::main) (NoSolution): could not prove Binder(WellFormed(<&dyn std::marker::Copy as Trait>::Type), [])
.
Yeah it looks related to #103899, and both are in very close pieces of code -- although the repro there seems older, so maybe not an exact duplicate per se, but seemingly share some common WF-related cause. That one ICEs in liveness (one of the steps in MIR typeck, <rustc_borrowck::type_check::liveness::trace::LivenessContext>::compute_drop_data
) while this one in MIR typeck directly (<rustc_borrowck::type_check::TypeChecker>::fully_perform_op::<(), rustc_middle::ty::ParamEnvAnd<rustc_middle::traits::query::type_op::ProvePredicate>>
).
from rust.
The ICE indeed appeared at rustc
command (at nightly-2024-04-20 as reported),
but I cannot reproduce it with cargo-bisect-rustc.
❯ cargo bisect-rustc --version
cargo-bisect-rustc-bisect-rustc 0.6.8
2024-01-01 ~ 2024-04-20 Log
❯ cargo bisect-rustc --start=2024-01-01 --end=2024-04-20 --preserve --regress=ice
checking the start range to find a passing nightly
installing nightly-2024-01-01
testing...
RESULT: nightly-2024-01-01, ===> No
checking the end range to verify it does not pass
installing nightly-2024-04-20
testing...
RESULT: nightly-2024-04-20, ===> No
uninstalling nightly-2024-04-20
ERROR: the end of the range (nightly-2024-04-20) does not reproduce the regression
Stack backtrace:
0: __mh_execute_header
1: __mh_execute_header
2: __mh_execute_header
3: __mh_execute_header
4: __mh_execute_header
5: __mh_execute_header
2024-01-01 ~ 2024-04-19 Log
❯ cargo bisect-rustc --start=2024-01-01 --end=2024-04-19 --preserve --regress=ice
checking the start range to find a passing nightly
installing nightly-2024-01-01
testing...
RESULT: nightly-2024-01-01, ===> No
checking the end range to verify it does not pass
installing nightly-2024-04-19
testing...
RESULT: nightly-2024-04-19, ===> No
ERROR: the end of the range (nightly-2024-04-19) does not reproduce the regression
Stack backtrace:
0: __mh_execute_header
1: __mh_execute_header
2: __mh_execute_header
3: __mh_execute_header
4: __mh_execute_header
5: __mh_execute_header
from rust.
This is probably a duplicate of #103899
from rust.
Related Issues (20)
- run-make-support: add helpers for fs operations HOT 1
- Tracking Issue for RFC 3467: UnsafePinned
- Unhelpful error on mismatched types for anonymous futures HOT 3
- More instructions generated for `Ord::clamp` than manual `max(X).min(Y)` for saturating truncating cast from `i32` to `u8` HOT 1
- run-make-support: use a `CommandWrapper` trait instead of `impl_helper_methods` macro HOT 2
- Tracking Issue for `duration_new_checked`
- ICE: `called Option::unwrap() on a None value` in `compiler/rustc_infer/src/infer/error_reporting/note_and_explain.rs` HOT 2
- ICE: `SizeSkeleton::compute` layout errored in `layout.rs`
- ICE: `assertion failed: !value.has_infer()` in `rustc_hir_typeck/src/writeback.rs`
- Illegal instruction when cross compile HOT 16
- conflicting impl since nightly-2024-05-01 HOT 13
- flaky aborts with `lto=thin` on Windows in `--release` HOT 11
- ICE: `!self.intercrate` HOT 4
- ICE: `invalid asymmetric binary op`
- ICE: `FloatToFloat/FloatToInt cast: source type usize is not a float type` HOT 2
- ICE; `tried to combine ConstKind::Infer/ConstKind::Infer(InferConst::Var): ?0e: bool and ?0c: Dimension` HOT 1
- ICE: `layout mismatch for result of MulWithOverflow`
- Unexpected float value when casted from `f32` to `f64` HOT 4
- inline-asm x86 CR0 register not recognized depending on the instruction used HOT 1
- rustc panic with -C prefer-dynamic=yes and -C rpath=yes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust.