Skip to content

nightly-2021-09-03: Compiler hang in project with a lot of axum crate routes #89601

Closed
@paolobarbolini

Description

@paolobarbolini

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:

cargo bisect-rustc 2021-08-25 --end 2021-09-10 --timeout 90 

Bisected with rust-lang/cargo-bisect-rustc#135 😃

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleI-hangIssue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.P-highHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions