Uh oh!
There was an error while loading. Please reload this page.
Prepare revert of 144013 - #144172
Conversation
…ocal" This reverts commit 998df3a.
petrochenkov
commented
Jul 19, 2025
@bors r+ |
bors
commented
Jul 19, 2025
petrochenkov
commented
Jul 19, 2025
LorrensP-2158466
commented
Jul 19, 2025
I can't seem to reduce #144168, the big and weird macros make it hard. It looks like this will do it, but it does not.: const _:() = {let x= 10;};const _:() = {let x= 10;};I suspect this has something to do with this, but I'm not sure. let key = BindingKey::new_disambiguated(ident, ns, || {(module.0.0.lazy_resolutions.borrow().len() + 1).try_into().unwrap()}); |
The exact repro is subtle (you can have many different kinds of errors with slightly different code) and seems to involve const eval failing in a certain manner, and interacting with macros, failing imports, and glob imports. It's not that hard though. macro_rules! impl_for_transmute_from {() => {const _:() = {};};}mod impls {usesuper::*;impl_for_transmute_from!();impl_for_transmute_from!();const _:() = todo!();const _:() = todo!();const _:() = todo!();const _:() = todo!();const _:() = todo!();}useXasY;useZasW;const _:() = todo!();I'll add it as a test later today (in this PR if it hasn't landed, in another if it has), and don't want to delay this one too much to ensure it hits nightly today. Bumping prio to avoid rollups, @bors p=6 |
LorrensP-2158466
commented
Jul 19, 2025
Oh wow, I would never have come up with that. What are some general tips for minimizing examples? Besides having a good understanding of the compiler :). |
lqd
commented
Jul 19, 2025
I'd never come up with that either, it's just reduced from the crate instead of trying to recreate it 😅. For tips, maybe https://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/ (and some understanding the compiler is better for recreating MCVEs from scratch, rather than minimizing examples, that's just |
petrochenkov
commented
Jul 19, 2025
This is likely caused by every resolution in |
LorrensP-2158466
commented
Jul 19, 2025
So |
bors
commented
Jul 19, 2025
bors
commented
Jul 19, 2025
☀️ Test successful - checks-actions |
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing f63685d (parent) -> 0d95920 (this PR) Test differencesShow 4 test diffs4 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 0d9592026226f5a667a0da60c13b955e0b486a07 --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
rust-timer
commented
Jul 19, 2025
Finished benchmarking commit (0d95920): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 2.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 465.551s -> 465.968s (0.09%) |
Add non-regression test for rust-lang#144168 This is a non-regression test for issue rust-lang#144168, reduced from `zerocopy`, to go with rust-lang#144172 since it had no test yet, and we didn't want to delay it from landing. Closesrust-lang#144168 I've checked that the test does fail without rust-lang#144172.
Add non-regression test for rust-lang#144168 This is a non-regression test for issue rust-lang#144168, reduced from `zerocopy`, to go with rust-lang#144172 since it had no test yet, and we didn't want to delay it from landing. Closesrust-lang#144168 I've checked that the test does fail without rust-lang#144172.
Add non-regression test for rust-lang#144168 This is a non-regression test for issue rust-lang#144168, reduced from `zerocopy`, to go with rust-lang#144172 since it had no test yet, and we didn't want to delay it from landing. Closesrust-lang#144168 I've checked that the test does fail without rust-lang#144172.
Rollup merge of #144189 - lqd:test-144168, r=petrochenkov Add non-regression test for #144168 This is a non-regression test for issue #144168, reduced from `zerocopy`, to go with #144172 since it had no test yet, and we didn't want to delay it from landing. Closes#144168 I've checked that the test does fail without #144172.
Add non-regression test for rust-lang#144168 This is a non-regression test for issue rust-lang#144168, reduced from `zerocopy`, to go with rust-lang#144172 since it had no test yet, and we didn't want to delay it from landing. Closesrust-lang#144168 I've checked that the test does fail without rust-lang#144172.
Prepare revert of 144013 This is a possible revert for rust-lang#144013 causing issue rust-lang#144168 (imo p-crit) to give us time to figure out a correct fix for rust-lang#144013 without pressure. Feel free to close if it's an easy fix instead: r? `@petrochenkov`
Add non-regression test for #144168 This is a non-regression test for issue rust-lang/rust#144168, reduced from `zerocopy`, to go with rust-lang/rust#144172 since it had no test yet, and we didn't want to delay it from landing. Closesrust-lang/rust#144168 I've checked that the test does fail without rust-lang/rust#144172.
This is a possible revert for #144013 causing issue #144168 (imo p-crit) to give us time to figure out a correct fix for #144013 without pressure. Feel free to close if it's an easy fix instead: r? @petrochenkov