[INFO] cloning repository https://github.com/cdhowie/warp-lifetime-issue-repro
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cdhowie/warp-lifetime-issue-repro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcdhowie%2Fwarp-lifetime-issue-repro", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcdhowie%2Fwarp-lifetime-issue-repro'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 874498e7324f6d0b48c782302310017f238add79
[INFO] checking cdhowie/warp-lifetime-issue-repro/874498e7324f6d0b48c782302310017f238add79 against master#40557f6225e337d68c8d4f086557ce54135f5dd9 for pr-158447
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcdhowie%2Fwarp-lifetime-issue-repro" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cdhowie/warp-lifetime-issue-repro
[INFO] finished tweaking git repo https://github.com/cdhowie/warp-lifetime-issue-repro
[INFO] tweaked toml for git repo https://github.com/cdhowie/warp-lifetime-issue-repro written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cdhowie/warp-lifetime-issue-repro on toolchain 40557f6225e337d68c8d4f086557ce54135f5dd9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40557f6225e337d68c8d4f086557ce54135f5dd9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cdhowie/warp-lifetime-issue-repro already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40557f6225e337d68c8d4f086557ce54135f5dd9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tracing v0.1.33
[INFO] [stderr]   Downloaded tracing-attributes v0.1.20
[INFO] [stderr]   Downloaded scoped-tls v1.0.0
[INFO] [stderr]   Downloaded http-body v0.4.4
[INFO] [stderr]   Downloaded quick-error v1.2.3
[INFO] [stderr]   Downloaded headers-core v0.2.0
[INFO] [stderr]   Downloaded thiserror-impl v1.0.30
[INFO] [stderr]   Downloaded safemem v0.3.3
[INFO] [stderr]   Downloaded tracing-core v0.1.24
[INFO] [stderr]   Downloaded thiserror v1.0.30
[INFO] [stderr]   Downloaded tokio-stream v0.1.8
[INFO] [stderr]   Downloaded unicase v2.6.0
[INFO] [stderr]   Downloaded httparse v1.7.0
[INFO] [stderr]   Downloaded twoway v0.1.8
[INFO] [stderr]   Downloaded getrandom v0.2.6
[INFO] [stderr]   Downloaded buf_redux v0.8.4
[INFO] [stderr]   Downloaded log v0.4.16
[INFO] [stderr]   Downloaded proc-macro2 v1.0.37
[INFO] [stderr]   Downloaded multipart v0.18.0
[INFO] [stderr]   Downloaded headers v0.3.7
[INFO] [stderr]   Downloaded warp v0.3.2
[INFO] [stderr]   Downloaded tokio-util v0.7.1
[INFO] [stderr]   Downloaded mio v0.8.2
[INFO] [stderr]   Downloaded syn v1.0.91
[INFO] [stderr]   Downloaded hyper v0.14.18
[INFO] [stderr]   Downloaded libc v0.2.123
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] fb7cbf28c3a5a3b9f4cf01b03acbe207a024f98c5c2cc45f22023104d0b305f4
[INFO] running `Command { std: "docker" "start" "fb7cbf28c3a5a3b9f4cf01b03acbe207a024f98c5c2cc45f22023104d0b305f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fb7cbf28c3a5a3b9f4cf01b03acbe207a024f98c5c2cc45f22023104d0b305f4" "/opt/rustwide/cargo-home/bin/cargo" "+40557f6225e337d68c8d4f086557ce54135f5dd9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fb7cbf28c3a5a3b9f4cf01b03acbe207a024f98c5c2cc45f22023104d0b305f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fb7cbf28c3a5a3b9f4cf01b03acbe207a024f98c5c2cc45f22023104d0b305f4" "/opt/rustwide/cargo-home/bin/cargo" "+40557f6225e337d68c8d4f086557ce54135f5dd9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.123
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]     Checking pin-project-lite v0.2.8
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling httparse v1.7.0
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking tinyvec v1.5.1
[INFO] [stderr]     Checking tracing-core v0.1.24
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]     Checking unicode-bidi v0.3.7
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]     Checking http v0.2.6
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking fastrand v1.7.0
[INFO] [stderr]     Checking safemem v0.3.3
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]     Checking buf_redux v0.8.4
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking twoway v0.1.8
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking mio v0.8.2
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking tokio v1.17.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking multipart v0.18.0
[INFO] [stderr]     Checking crypto-common v0.1.3
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking sha-1 v0.9.8
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking sha-1 v0.10.0
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]     Checking headers v0.3.7
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.20
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]     Checking tokio-stream v0.1.8
[INFO] [stderr]     Checking tokio-util v0.6.9
[INFO] [stderr]     Checking thiserror v1.0.30
[INFO] [stderr]     Checking tracing v0.1.33
[INFO] [stderr]     Checking tungstenite v0.14.0
[INFO] [stderr]     Checking pin-project v1.0.10
[INFO] [stderr]     Checking tokio-util v0.7.1
[INFO] [stderr]     Checking tokio-tungstenite v0.15.0
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking hyper v0.14.18
[INFO] [stderr]     Checking warp v0.3.2
[INFO] [stderr]     Checking warp-lifetime-issue-repro v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: implementation of `FnOnce` is not general enough
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | /     warp::get()
[INFO] [stdout] 37 | |     .and(warp::path::param::<String>())
[INFO] [stdout] 38 | |     .and(warp::any().map(move || provider.clone()))
[INFO] [stdout] 39 | |     .and_then(|_id, provider: Arc<T>| async move {
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | |         Ok::<StatusCode, warp::Rejection>(StatusCode::OK)
[INFO] [stdout] 50 | |     })
[INFO] [stdout]    | |______^ implementation of `FnOnce` is not general enough
[INFO] [stdout]    |
[INFO] [stdout]    = note: closure with signature `for<'a> fn(&'a &'0 Item) -> bool` must implement `FnOnce<(&&'1 Item,)>`, for any two lifetimes `'0` and `'1`...
[INFO] [stdout]    = note: ...but it actually implements `FnOnce<(&&Item,)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation of `Iterator` is not general enough
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | /     warp::get()
[INFO] [stdout] 37 | |     .and(warp::path::param::<String>())
[INFO] [stdout] 38 | |     .and(warp::any().map(move || provider.clone()))
[INFO] [stdout] 39 | |     .and_then(|_id, provider: Arc<T>| async move {
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | |         Ok::<StatusCode, warp::Rejection>(StatusCode::OK)
[INFO] [stdout] 50 | |     })
[INFO] [stdout]    | |______^ implementation of `Iterator` is not general enough
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Iterator` would have to be implemented for the type `std::slice::Iter<'_, Item>`
[INFO] [stdout]    = note: ...but `Iterator` is actually implemented for the type `std::slice::Iter<'0, Item>`, for some specific lifetime `'0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation of `FnOnce` is not general enough
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | /     warp::get()
[INFO] [stdout] 37 | |     .and(warp::path::param::<String>())
[INFO] [stdout] 38 | |     .and(warp::any().map(move || provider.clone()))
[INFO] [stdout] 39 | |     .and_then(|_id, provider: Arc<T>| async move {
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | |         Ok::<StatusCode, warp::Rejection>(StatusCode::OK)
[INFO] [stdout] 50 | |     })
[INFO] [stdout]    | |______^ implementation of `FnOnce` is not general enough
[INFO] [stdout]    |
[INFO] [stdout]    = note: closure with signature `for<'a> fn(&'a &Item) -> bool` must implement `FnOnce<(&&Item,)>`
[INFO] [stdout]    = note: ...but it actually implements `FnOnce<(&&Item,)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `warp-lifetime-issue-repro` (bin "warp-lifetime-issue-repro" test) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: implementation of `FnOnce` is not general enough
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | /     warp::get()
[INFO] [stdout] 37 | |     .and(warp::path::param::<String>())
[INFO] [stdout] 38 | |     .and(warp::any().map(move || provider.clone()))
[INFO] [stdout] 39 | |     .and_then(|_id, provider: Arc<T>| async move {
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | |         Ok::<StatusCode, warp::Rejection>(StatusCode::OK)
[INFO] [stdout] 50 | |     })
[INFO] [stdout]    | |______^ implementation of `FnOnce` is not general enough
[INFO] [stdout]    |
[INFO] [stdout]    = note: closure with signature `for<'a> fn(&'a &'0 Item) -> bool` must implement `FnOnce<(&&'1 Item,)>`, for any two lifetimes `'0` and `'1`...
[INFO] [stdout]    = note: ...but it actually implements `FnOnce<(&&Item,)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation of `Iterator` is not general enough
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | /     warp::get()
[INFO] [stdout] 37 | |     .and(warp::path::param::<String>())
[INFO] [stdout] 38 | |     .and(warp::any().map(move || provider.clone()))
[INFO] [stdout] 39 | |     .and_then(|_id, provider: Arc<T>| async move {
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | |         Ok::<StatusCode, warp::Rejection>(StatusCode::OK)
[INFO] [stdout] 50 | |     })
[INFO] [stdout]    | |______^ implementation of `Iterator` is not general enough
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Iterator` would have to be implemented for the type `std::slice::Iter<'_, Item>`
[INFO] [stdout]    = note: ...but `Iterator` is actually implemented for the type `std::slice::Iter<'0, Item>`, for some specific lifetime `'0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implementation of `FnOnce` is not general enough
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | /     warp::get()
[INFO] [stdout] 37 | |     .and(warp::path::param::<String>())
[INFO] [stdout] 38 | |     .and(warp::any().map(move || provider.clone()))
[INFO] [stdout] 39 | |     .and_then(|_id, provider: Arc<T>| async move {
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | |         Ok::<StatusCode, warp::Rejection>(StatusCode::OK)
[INFO] [stdout] 50 | |     })
[INFO] [stdout]    | |______^ implementation of `FnOnce` is not general enough
[INFO] [stdout]    |
[INFO] [stdout]    = note: closure with signature `for<'a> fn(&'a &Item) -> bool` must implement `FnOnce<(&&Item,)>`
[INFO] [stdout]    = note: ...but it actually implements `FnOnce<(&&Item,)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `warp-lifetime-issue-repro` (bin "warp-lifetime-issue-repro") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "fb7cbf28c3a5a3b9f4cf01b03acbe207a024f98c5c2cc45f22023104d0b305f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb7cbf28c3a5a3b9f4cf01b03acbe207a024f98c5c2cc45f22023104d0b305f4", kill_on_drop: false }`
[INFO] [stdout] fb7cbf28c3a5a3b9f4cf01b03acbe207a024f98c5c2cc45f22023104d0b305f4
