[INFO] cloning repository https://github.com/thereisnospoon/tokio-rest-api-example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thereisnospoon/tokio-rest-api-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthereisnospoon%2Ftokio-rest-api-example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthereisnospoon%2Ftokio-rest-api-example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7fa5df73aae8e3d17fa45b2107ed972fe59a214d
[INFO] checking thereisnospoon/tokio-rest-api-example against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthereisnospoon%2Ftokio-rest-api-example" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/thereisnospoon/tokio-rest-api-example
[INFO] finished tweaking git repo https://github.com/thereisnospoon/tokio-rest-api-example
[INFO] tweaked toml for git repo https://github.com/thereisnospoon/tokio-rest-api-example written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/thereisnospoon/tokio-rest-api-example on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/thereisnospoon/tokio-rest-api-example 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b4aed2f382ad803de58350ff7973e1c8d472b3adaa3a2b02c9ec09865fe16316
[INFO] running `Command { std: "docker" "start" "-a" "b4aed2f382ad803de58350ff7973e1c8d472b3adaa3a2b02c9ec09865fe16316", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b4aed2f382ad803de58350ff7973e1c8d472b3adaa3a2b02c9ec09865fe16316", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4aed2f382ad803de58350ff7973e1c8d472b3adaa3a2b02c9ec09865fe16316", kill_on_drop: false }`
[INFO] [stdout] b4aed2f382ad803de58350ff7973e1c8d472b3adaa3a2b02c9ec09865fe16316
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3547a26e31174cda4b508509f7ffdf299ba2978f8bfa295b819df18f6d1b12db
[INFO] running `Command { std: "docker" "start" "-a" "3547a26e31174cda4b508509f7ffdf299ba2978f8bfa295b819df18f6d1b12db", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]     Checking futures-core v0.3.14
[INFO] [stderr]     Checking futures-sink v0.3.14
[INFO] [stderr]     Checking once_cell v1.7.2
[INFO] [stderr]     Checking futures-io v0.3.14
[INFO] [stderr]     Checking futures-task v0.3.14
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]     Checking subtle v2.4.0
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]     Checking futures-channel v0.3.14
[INFO] [stderr]     Checking crypto-mac v0.10.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.4
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking cpufeatures v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.50
[INFO] [stderr]     Checking hmac v0.10.1
[INFO] [stderr]     Checking sha2 v0.9.4
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking stringprep v0.1.2
[INFO] [stderr]     Checking md-5 v0.9.1
[INFO] [stderr]     Checking siphasher v0.3.5
[INFO] [stderr]     Checking tracing-core v0.1.18
[INFO] [stderr]    Compiling httparse v1.4.0
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking phf_shared v0.8.0
[INFO] [stderr]     Checking tracing v0.1.26
[INFO] [stderr]     Checking httpdate v1.0.0
[INFO] [stderr]     Checking phf v0.8.0
[INFO] [stderr]     Checking parking_lot_core v0.8.3
[INFO] [stderr]     Checking mio v0.7.11
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking signal-hook-registry v1.3.0
[INFO] [stderr]     Checking getrandom v0.2.2
[INFO] [stderr]     Checking socket2 v0.4.0
[INFO] [stderr]     Checking crossbeam-queue v0.3.1
[INFO] [stderr]     Checking parking_lot v0.11.1
[INFO] [stderr]     Checking rand_core v0.6.2
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking rand v0.8.3
[INFO] [stderr]     Checking postgres-protocol v0.6.1
[INFO] [stderr]     Checking postgres-types v0.2.1
[INFO] [stderr]    Compiling tokio-macros v1.1.0
[INFO] [stderr]    Compiling futures-macro v0.3.14
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling pin-project-internal v1.0.7
[INFO] [stderr]     Checking tokio v1.5.0
[INFO] [stderr]     Checking futures-util v0.3.14
[INFO] [stderr]     Checking pin-project v1.0.7
[INFO] [stderr]     Checking serde v1.0.125
[INFO] [stderr]     Checking futures-executor v0.3.14
[INFO] [stderr]     Checking futures v0.3.14
[INFO] [stderr]     Checking tokio-util v0.6.6
[INFO] [stderr]     Checking tokio-postgres v0.7.2
[INFO] [stderr]     Checking h2 v0.3.3
[INFO] [stderr]     Checking config v0.10.1
[INFO] [stderr]     Checking serde_json v1.0.64
[INFO] [stderr]     Checking deadpool v0.7.0
[INFO] [stderr]     Checking deadpool-postgres v0.7.0
[INFO] [stderr]     Checking hyper v0.14.7
[INFO] [stderr]     Checking tokio-rest-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `pool_error`
[INFO] [stdout]   --> src/db.rs:81:19
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn map_pool_error(pool_error: PoolError) -> AppError {
[INFO] [stdout]    |                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool_error`
[INFO] [stdout]   --> src/db.rs:81:19
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn map_pool_error(pool_error: PoolError) -> AppError {
[INFO] [stdout]    |                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::service::util::ServiceFn<{closure@src/main.rs:33:44: 33:54}, Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |           async move {
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 32 | |             let endpoints = endpoints.clone();
[INFO] [stdout] 33 | |             Ok::<_, Infallible>(service_fn(move |req| {
[INFO] [stdout] 34 | |                 endpoints.clone().routes_with_error_handling(req)
[INFO] [stdout] 35 | |             }))
[INFO] [stdout] 36 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::service::util::ServiceFn<{closure@src/main.rs:33:44: 33:54}, Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 | /             Ok::<_, Infallible>(service_fn(move |req| {
[INFO] [stdout] 34 | |                 endpoints.clone().routes_with_error_handling(req)
[INFO] [stdout] 35 | |             }))
[INFO] [stdout]    | |_______________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/routes.rs:48:41
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn parse_query_params(query: Option<&str>) -> AppResult<Vec<Param>> {
[INFO] [stdout]    |                                         ^^^^                    ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn parse_query_params(query: Option<&str>) -> AppResult<Vec<Param<'_>>> {
[INFO] [stdout]    |                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tokio-rest-api` (bin "tokio-rest-api") due to 2 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::service::util::ServiceFn<{closure@src/main.rs:33:44: 33:54}, Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |           async move {
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 32 | |             let endpoints = endpoints.clone();
[INFO] [stdout] 33 | |             Ok::<_, Infallible>(service_fn(move |req| {
[INFO] [stdout] 34 | |                 endpoints.clone().routes_with_error_handling(req)
[INFO] [stdout] 35 | |             }))
[INFO] [stdout] 36 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::service::util::ServiceFn<{closure@src/main.rs:33:44: 33:54}, Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 | /             Ok::<_, Infallible>(service_fn(move |req| {
[INFO] [stdout] 34 | |                 endpoints.clone().routes_with_error_handling(req)
[INFO] [stdout] 35 | |             }))
[INFO] [stdout]    | |_______________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/routes.rs:48:41
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn parse_query_params(query: Option<&str>) -> AppResult<Vec<Param>> {
[INFO] [stdout]    |                                         ^^^^                    ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                         |
[INFO] [stdout]    |                                         the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn parse_query_params(query: Option<&str>) -> AppResult<Vec<Param<'_>>> {
[INFO] [stdout]    |                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tokio-rest-api` (bin "tokio-rest-api" test) due to 2 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3547a26e31174cda4b508509f7ffdf299ba2978f8bfa295b819df18f6d1b12db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3547a26e31174cda4b508509f7ffdf299ba2978f8bfa295b819df18f6d1b12db", kill_on_drop: false }`
[INFO] [stdout] 3547a26e31174cda4b508509f7ffdf299ba2978f8bfa295b819df18f6d1b12db
