Closed
Description
nightly-2019-12-14 times out building a crate here after 60m.
nightly-2019-12-13 builds it in 2m.
cargo-bisect-rustc
gives:
bisecting ci builds
starting at 3eeb8d4f2, ending at ff15e9670
fetching commits from 3eeb8d4f2 to ff15e9670
opening existing repository at "rust.git"
refreshing repository
looking up first commit
looking up second commit
checking that commits are by bors and thus have ci artifacts...
finding bors merge commits
found 6 bors merge commits in the specified range
opening existing repository at "rust.git"
refreshing repository
validated commits found, specifying toolchains
testing commits
verifying the start of the range does not reproduce the regression
installing 3eeb8d4f2fbae0bb1c587d00b5abeaf938da47f4
testing 3eeb8d4f2fbae0bb1c587d00b5abeaf938da47f4
tested 3eeb8d4f2fbae0bb1c587d00b5abeaf938da47f4, got No
uninstalling 3eeb8d4f2fbae0bb1c587d00b5abeaf938da47f4
confirmed the start of the range does not reproduce the regression
verifying the end of the range reproduces the regression
installing ff15e9670843f8bd6b54ab1b042d2095b4c0aa6d
testing ff15e9670843f8bd6b54ab1b042d2095b4c0aa6d
tested ff15e9670843f8bd6b54ab1b042d2095b4c0aa6d, got Yes
uninstalling ff15e9670843f8bd6b54ab1b042d2095b4c0aa6d
confirmed the end of the range reproduces the regression
installing 9409c208a9a70eb6194c7502979843f42d6fed1a
testing 9409c208a9a70eb6194c7502979843f42d6fed1a
tested 9409c208a9a70eb6194c7502979843f42d6fed1a, got Yes
uninstalling 9409c208a9a70eb6194c7502979843f42d6fed1a
installing cf7e019b42cd523d91cb350ab49acbda1b11e571
testing cf7e019b42cd523d91cb350ab49acbda1b11e571
tested cf7e019b42cd523d91cb350ab49acbda1b11e571, got No
uninstalling cf7e019b42cd523d91cb350ab49acbda1b11e571
searched toolchains 3eeb8d4f2fbae0bb1c587d00b5abeaf938da47f4 through ff15e9670843f8bd6b54ab1b042d2095b4c0aa6d
regression in 9409c208a9a70eb6194c7502979843f42d6fed1a
Which relates to PR #66405
I'm working on a minimal repro but it may be difficult - the crate is a complex web API backend using a lot of async/await. Commenting out the entire route dispatcher brings us back to 2m compile time, bringing back routes one at a time indicates that routes which use database transactions (passing a &mut Transaction<'_>
from deadpool-postgres
to various async fns) trigger the regression, but they could also have something else in common.
Metadata
Metadata
Assignees
Labels
Category: This is a bug.Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleIssue: Problems and improvements with respect to compile times.Relevant to the compiler team, which will review and decide on the PR/issue.Performance or correctness regression from stable to beta.