[INFO] cloning repository https://github.com/redirectdog/greyhound [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/redirectdog/greyhound" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredirectdog%2Fgreyhound", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredirectdog%2Fgreyhound'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4776817aaf8b24153df912725095553de032246d [INFO] checking redirectdog/greyhound 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%2Fredirectdog%2Fgreyhound" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/redirectdog/greyhound [INFO] finished tweaking git repo https://github.com/redirectdog/greyhound [INFO] tweaked toml for git repo https://github.com/redirectdog/greyhound written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/redirectdog/greyhound 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/redirectdog/greyhound 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a291ec73d1487c9c258cfaccf422db37a32c2c7a92dd70e3997eec336c28f484 [INFO] running `Command { std: "docker" "start" "-a" "a291ec73d1487c9c258cfaccf422db37a32c2c7a92dd70e3997eec336c28f484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a291ec73d1487c9c258cfaccf422db37a32c2c7a92dd70e3997eec336c28f484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a291ec73d1487c9c258cfaccf422db37a32c2c7a92dd70e3997eec336c28f484", kill_on_drop: false }` [INFO] [stdout] a291ec73d1487c9c258cfaccf422db37a32c2c7a92dd70e3997eec336c28f484 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 48cbe7be263e4d2fa2021cfd33913471fe5ae083f7014544b02c7afc1c23f699 [INFO] running `Command { std: "docker" "start" "-a" "48cbe7be263e4d2fa2021cfd33913471fe5ae083f7014544b02c7afc1c23f699", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking rustls-pki-types v1.3.1 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling rustls v0.22.2 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking whoami v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking pem v3.0.3 [INFO] [stderr] Checking rustls-pemfile v2.1.1 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking rustls-webpki v0.102.2 [INFO] [stderr] Checking rcgen v0.12.1 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Checking plof v0.1.0 [INFO] [stderr] Checking deadpool-runtime v0.1.3 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking deadpool v0.10.0 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking deadpool-postgres v0.12.1 [INFO] [stderr] Checking greyhound v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | fn to_redirect_info(&self) -> RedirectInfo { [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] 29 | fn to_redirect_info(&self) -> RedirectInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:163:62 [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, std::convert::Infallible> { [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 164 | | match handle_http_request_inner(db_pool, settings, addr, req, redirect_info).await { [INFO] [stdout] 165 | | Ok(res) => Ok(res), [INFO] [stdout] 166 | | Err(err) => match err.downcast::() { [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [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>, Infallible> [INFO] [stdout] --> src/main.rs:163:62 [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, std::convert::Infallible> { [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 164 | | match handle_http_request_inner(db_pool, settings, addr, req, redirect_info).await { [INFO] [stdout] 165 | | Ok(res) => Ok(res), [INFO] [stdout] 166 | | Err(err) => match err.downcast::() { [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | / match handle_http_request_inner(db_pool, settings, addr, req, redirect_info).await { [INFO] [stdout] 165 | | Ok(res) => Ok(res), [INFO] [stdout] 166 | | Err(err) => match err.downcast::() { [INFO] [stdout] 167 | | Ok(res) => Ok(res.0), [INFO] [stdout] ... | [INFO] [stdout] 176 | | }, [INFO] [stdout] 177 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | Ok(res) => Ok(res), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | Err(err) => match err.downcast::() { [INFO] [stdout] | _____________________^ [INFO] [stdout] 167 | | Ok(res) => Ok(res.0), [INFO] [stdout] 168 | | Err(err) => { [INFO] [stdout] 169 | | eprintln!("Error while handling request: {:?}", err); [INFO] [stdout] ... | [INFO] [stdout] 176 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | Ok(res) => Ok(res.0), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | Err(err) => { [INFO] [stdout] | _________________________^ [INFO] [stdout] 169 | | eprintln!("Error while handling request: {:?}", err); [INFO] [stdout] 170 | | [INFO] [stdout] 171 | | Ok(hyper::Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 174 | | .unwrap()) [INFO] [stdout] 175 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | / Ok(hyper::Response::builder() [INFO] [stdout] 172 | | .status(hyper::StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 173 | | .body(Body::new("Internal Server Error".into())) [INFO] [stdout] 174 | | .unwrap()) [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | fn to_redirect_info(&self) -> RedirectInfo { [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] 29 | fn to_redirect_info(&self) -> RedirectInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:163:62 [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, std::convert::Infallible> { [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 164 | | match handle_http_request_inner(db_pool, settings, addr, req, redirect_info).await { [INFO] [stdout] 165 | | Ok(res) => Ok(res), [INFO] [stdout] 166 | | Err(err) => match err.downcast::() { [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [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>, Infallible> [INFO] [stdout] --> src/main.rs:163:62 [INFO] [stdout] | [INFO] [stdout] 163 | ) -> Result, std::convert::Infallible> { [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 164 | | match handle_http_request_inner(db_pool, settings, addr, req, redirect_info).await { [INFO] [stdout] 165 | | Ok(res) => Ok(res), [INFO] [stdout] 166 | | Err(err) => match err.downcast::() { [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | / match handle_http_request_inner(db_pool, settings, addr, req, redirect_info).await { [INFO] [stdout] 165 | | Ok(res) => Ok(res), [INFO] [stdout] 166 | | Err(err) => match err.downcast::() { [INFO] [stdout] 167 | | Ok(res) => Ok(res.0), [INFO] [stdout] ... | [INFO] [stdout] 176 | | }, [INFO] [stdout] 177 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | Ok(res) => Ok(res), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | Err(err) => match err.downcast::() { [INFO] [stdout] | _____________________^ [INFO] [stdout] 167 | | Ok(res) => Ok(res.0), [INFO] [stdout] 168 | | Err(err) => { [INFO] [stdout] 169 | | eprintln!("Error while handling request: {:?}", err); [INFO] [stdout] ... | [INFO] [stdout] 176 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `greyhound` (bin "greyhound" test) due to 8 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | Ok(res) => Ok(res.0), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | Err(err) => { [INFO] [stdout] | _________________________^ [INFO] [stdout] 169 | | eprintln!("Error while handling request: {:?}", err); [INFO] [stdout] 170 | | [INFO] [stdout] 171 | | Ok(hyper::Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 174 | | .unwrap()) [INFO] [stdout] 175 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | / Ok(hyper::Response::builder() [INFO] [stdout] 172 | | .status(hyper::StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 173 | | .body(Body::new("Internal Server Error".into())) [INFO] [stdout] 174 | | .unwrap()) [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `greyhound` (bin "greyhound") due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "48cbe7be263e4d2fa2021cfd33913471fe5ae083f7014544b02c7afc1c23f699", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48cbe7be263e4d2fa2021cfd33913471fe5ae083f7014544b02c7afc1c23f699", kill_on_drop: false }` [INFO] [stdout] 48cbe7be263e4d2fa2021cfd33913471fe5ae083f7014544b02c7afc1c23f699