[INFO] cloning repository https://github.com/nyxkrage/rprox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nyxkrage/rprox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnyxkrage%2Frprox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnyxkrage%2Frprox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdfcfe393746162d8c61ffdecd2c36573e66daf4 [INFO] checking nyxkrage/rprox 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%2Fnyxkrage%2Frprox" "/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/nyxkrage/rprox [INFO] finished tweaking git repo https://github.com/nyxkrage/rprox [INFO] tweaked toml for git repo https://github.com/nyxkrage/rprox written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nyxkrage/rprox 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/nyxkrage/rprox 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-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] 1891a0dfaab6e98977420de45b9f54cd756303fbfab759fbd113b4f3a508f960 [INFO] running `Command { std: "docker" "start" "-a" "1891a0dfaab6e98977420de45b9f54cd756303fbfab759fbd113b4f3a508f960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1891a0dfaab6e98977420de45b9f54cd756303fbfab759fbd113b4f3a508f960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1891a0dfaab6e98977420de45b9f54cd756303fbfab759fbd113b4f3a508f960", kill_on_drop: false }` [INFO] [stdout] 1891a0dfaab6e98977420de45b9f54cd756303fbfab759fbd113b4f3a508f960 [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] 8c3b72ed5208a8dc2e66a949e8eb3d99108b94902ac0586ba868d5658b37e56a [INFO] running `Command { std: "docker" "start" "-a" "8c3b72ed5208a8dc2e66a949e8eb3d99108b94902ac0586ba868d5658b37e56a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking tracing-core v0.1.23 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking notify v5.0.0-pre.14 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking caps v0.5.3 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking h2 v0.3.12 [INFO] [stderr] Checking serde_yaml v0.8.23 [INFO] [stderr] Checking hyper v0.14.17 [INFO] [stderr] Checking rprox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:52:74 [INFO] [stdout] | [INFO] [stdout] 52 | async fn proxy(req: Request) -> Result, Infallible> { [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 53 | | // Get destionation for the request based on the host header [INFO] [stdout] 54 | | let proxy_map = PROXY_MAP.read().await; [INFO] [stdout] ... | [INFO] [stdout] 92 | | } [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:52:74 [INFO] [stdout] | [INFO] [stdout] 52 | async fn proxy(req: Request) -> Result, Infallible> { [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 53 | | // Get destionation for the request based on the host header [INFO] [stdout] 54 | | let proxy_map = PROXY_MAP.read().await; [INFO] [stdout] ... | [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | None => return Ok("Route was not found".to_status_response(404)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | Err(e) => return Ok(e.to_status_response(500)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / match res { [INFO] [stdout] 89 | | Ok(r) => Ok(r), [INFO] [stdout] 90 | | Err(e) => Ok(e.to_status_response(500)), [INFO] [stdout] 91 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(r) => Ok(r), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | Err(e) => Ok(e.to_status_response(500)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:96:85 [INFO] [stdout] | [INFO] [stdout] 96 | fn set_proxy_headers(mut res: Response) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 97 | | res.headers_mut().insert("Server", SERVER_HEADER_VALUE); [INFO] [stdout] 98 | | Ok(res) [INFO] [stdout] 99 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | 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:114:59 [INFO] [stdout] | [INFO] [stdout] 114 | Ok::<_, hyper::Error>(service_fn(|req| async move { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 115 | | set_proxy_headers(proxy(req).await.unwrap()) [INFO] [stdout] 116 | | })) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | set_proxy_headers(proxy(req).await.unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:115:31 [INFO] [stdout] | [INFO] [stdout] 115 | set_proxy_headers(proxy(req).await.unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:115:42 [INFO] [stdout] | [INFO] [stdout] 115 | set_proxy_headers(proxy(req).await.unwrap()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:115:31 [INFO] [stdout] | [INFO] [stdout] 115 | set_proxy_headers(proxy(req).await.unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rprox` (bin "rprox") due to 14 previous errors [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:52:74 [INFO] [stdout] | [INFO] [stdout] 52 | async fn proxy(req: Request) -> Result, Infallible> { [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 53 | | // Get destionation for the request based on the host header [INFO] [stdout] 54 | | let proxy_map = PROXY_MAP.read().await; [INFO] [stdout] ... | [INFO] [stdout] 92 | | } [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:52:74 [INFO] [stdout] | [INFO] [stdout] 52 | async fn proxy(req: Request) -> Result, Infallible> { [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 53 | | // Get destionation for the request based on the host header [INFO] [stdout] 54 | | let proxy_map = PROXY_MAP.read().await; [INFO] [stdout] ... | [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | None => return Ok("Route was not found".to_status_response(404)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | Err(e) => return Ok(e.to_status_response(500)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / match res { [INFO] [stdout] 89 | | Ok(r) => Ok(r), [INFO] [stdout] 90 | | Err(e) => Ok(e.to_status_response(500)), [INFO] [stdout] 91 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(r) => Ok(r), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | Err(e) => Ok(e.to_status_response(500)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:96:85 [INFO] [stdout] | [INFO] [stdout] 96 | fn set_proxy_headers(mut res: Response) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 97 | | res.headers_mut().insert("Server", SERVER_HEADER_VALUE); [INFO] [stdout] 98 | | Ok(res) [INFO] [stdout] 99 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | 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:114:59 [INFO] [stdout] | [INFO] [stdout] 114 | Ok::<_, hyper::Error>(service_fn(|req| async move { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 115 | | set_proxy_headers(proxy(req).await.unwrap()) [INFO] [stdout] 116 | | })) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | set_proxy_headers(proxy(req).await.unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:115:31 [INFO] [stdout] | [INFO] [stdout] 115 | set_proxy_headers(proxy(req).await.unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:115:42 [INFO] [stdout] | [INFO] [stdout] 115 | set_proxy_headers(proxy(req).await.unwrap()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:115:31 [INFO] [stdout] | [INFO] [stdout] 115 | set_proxy_headers(proxy(req).await.unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rprox` (bin "rprox" test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "8c3b72ed5208a8dc2e66a949e8eb3d99108b94902ac0586ba868d5658b37e56a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c3b72ed5208a8dc2e66a949e8eb3d99108b94902ac0586ba868d5658b37e56a", kill_on_drop: false }` [INFO] [stdout] 8c3b72ed5208a8dc2e66a949e8eb3d99108b94902ac0586ba868d5658b37e56a