-
Notifications
You must be signed in to change notification settings - Fork 13.3k
nightly-2021-09-03: Compiler hang in project with a lot of axum
crate routes
#89601
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
Comments
Looks like another case of #89195, with method chains creating big nested types like the reduction in that issue. |
Assigning priority as discussed in the Zulip thread of the Prioritization Working Group. @rustbot label -I-prioritize +P-high |
FWIW axum 0.3.0 (released yesterday) is almost definitely not affected by this. |
@jplatte It's because they used a box to fix this issue. So I don't think the underlying problem is solved? |
@shirshak55 Thats correct. |
I didn't want to imply that the underlying problem is solved. Just thought this info would be interesting for people who are subscribed to this issue because they want to use axum + a recent Rust version. |
https://github.com/paolobarbolini/rustc-pr85868-regression
This small reproduction takes 20 seconds to
cargo check
on 50171c3, 45 seconds on 371f3cd.On the real project, which is the one I run the bisection on, 50171c3 takes 1 minute, 371f3cd hangs for 12+ hours.
Bisection
searched nightlies: from nightly-2021-08-25 to nightly-2021-09-10
regressed nightly: nightly-2021-09-03
searched commit range: 50171c3...371f3cd
regressed commit: 371f3cd
bisected with cargo-bisect-rustc v0.6.0
Host triple: x86_64-unknown-linux-gnu
Reproduce with:
Bisected with rust-lang/cargo-bisect-rustc#135 😃
The text was updated successfully, but these errors were encountered: