[INFO] cloning repository https://github.com/matsilva/ezproxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matsilva/ezproxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatsilva%2Fezproxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatsilva%2Fezproxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5438624ac2b48a298f4104de5077260bfecb51cd [INFO] checking matsilva/ezproxy 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%2Fmatsilva%2Fezproxy" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/matsilva/ezproxy [INFO] finished tweaking git repo https://github.com/matsilva/ezproxy [INFO] tweaked toml for git repo https://github.com/matsilva/ezproxy written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matsilva/ezproxy 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/matsilva/ezproxy 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a84a63a46bd0cc237f0bc99e2247916432299cdcd1f07aacbdc205554afbf4a9 [INFO] running `Command { std: "docker" "start" "-a" "a84a63a46bd0cc237f0bc99e2247916432299cdcd1f07aacbdc205554afbf4a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a84a63a46bd0cc237f0bc99e2247916432299cdcd1f07aacbdc205554afbf4a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a84a63a46bd0cc237f0bc99e2247916432299cdcd1f07aacbdc205554afbf4a9", kill_on_drop: false }` [INFO] [stdout] a84a63a46bd0cc237f0bc99e2247916432299cdcd1f07aacbdc205554afbf4a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] dc2cd6e0d5d0e71cc313f0a721ec4e1e99a9ac6668317c6174a3b75ab5a5c845 [INFO] running `Command { std: "docker" "start" "-a" "dc2cd6e0d5d0e71cc313f0a721ec4e1e99a9ac6668317c6174a3b75ab5a5c845", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking simple_proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:66:115 [INFO] [stdout] | [INFO] [stdout] 66 | async fn handle(req: Request, auth_token: String, upstream_base: Uri) -> Result, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________________________________________^ [INFO] [stdout] 67 | | // First, run the auth check. [INFO] [stdout] 68 | | match authorize(req, auth_token).await { [INFO] [stdout] 69 | | Ok(authenticated_req) => { [INFO] [stdout] ... | [INFO] [stdout] 81 | | } [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:66:115 [INFO] [stdout] | [INFO] [stdout] 66 | async fn handle(req: Request, auth_token: String, upstream_base: Uri) -> Result, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________________________________________^ [INFO] [stdout] 67 | | // First, run the auth check. [INFO] [stdout] 68 | | match authorize(req, auth_token).await { [INFO] [stdout] 69 | | Ok(authenticated_req) => { [INFO] [stdout] ... | [INFO] [stdout] 81 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / match authorize(req, auth_token).await { [INFO] [stdout] 69 | | Ok(authenticated_req) => { [INFO] [stdout] 70 | | // Forward the request; any client error becomes a 502 response. [INFO] [stdout] 71 | | match forward(authenticated_req, upstream_base).await { [INFO] [stdout] ... | [INFO] [stdout] 79 | | Err(auth_resp) => Ok(auth_resp), [INFO] [stdout] 80 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | Ok(authenticated_req) => { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 70 | | // Forward the request; any client error becomes a 502 response. [INFO] [stdout] 71 | | match forward(authenticated_req, upstream_base).await { [INFO] [stdout] 72 | | Ok(resp) => Ok(resp), [INFO] [stdout] ... | [INFO] [stdout] 78 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | / match forward(authenticated_req, upstream_base).await { [INFO] [stdout] 72 | | Ok(resp) => Ok(resp), [INFO] [stdout] 73 | | Err(_) => Ok(Response::builder() [INFO] [stdout] 74 | | .status(502) [INFO] [stdout] 75 | | .body(Body::from("Bad Gateway")) [INFO] [stdout] 76 | | .unwrap()), [INFO] [stdout] 77 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | Ok(resp) => Ok(resp), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | Err(_) => Ok(Response::builder() [INFO] [stdout] | ___________________________^ [INFO] [stdout] 74 | | .status(502) [INFO] [stdout] 75 | | .body(Body::from("Bad Gateway")) [INFO] [stdout] 76 | | .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:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | Err(auth_resp) => Ok(auth_resp), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 101 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 102 | | let auth_token = auth_token.clone(); [INFO] [stdout] 103 | | let upstream_base = upstream_base.clone(); [INFO] [stdout] 104 | | handle(req, auth_token, upstream_base) [INFO] [stdout] 105 | | })) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 102 | | let auth_token = auth_token.clone(); [INFO] [stdout] 103 | | let upstream_base = upstream_base.clone(); [INFO] [stdout] 104 | | handle(req, auth_token, upstream_base) [INFO] [stdout] 105 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple_proxy` (bin "simple_proxy") due to 10 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:66:115 [INFO] [stdout] | [INFO] [stdout] 66 | async fn handle(req: Request, auth_token: String, upstream_base: Uri) -> Result, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________________________________________^ [INFO] [stdout] 67 | | // First, run the auth check. [INFO] [stdout] 68 | | match authorize(req, auth_token).await { [INFO] [stdout] 69 | | Ok(authenticated_req) => { [INFO] [stdout] ... | [INFO] [stdout] 81 | | } [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:66:115 [INFO] [stdout] | [INFO] [stdout] 66 | async fn handle(req: Request, auth_token: String, upstream_base: Uri) -> Result, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________________________________________^ [INFO] [stdout] 67 | | // First, run the auth check. [INFO] [stdout] 68 | | match authorize(req, auth_token).await { [INFO] [stdout] 69 | | Ok(authenticated_req) => { [INFO] [stdout] ... | [INFO] [stdout] 81 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / match authorize(req, auth_token).await { [INFO] [stdout] 69 | | Ok(authenticated_req) => { [INFO] [stdout] 70 | | // Forward the request; any client error becomes a 502 response. [INFO] [stdout] 71 | | match forward(authenticated_req, upstream_base).await { [INFO] [stdout] ... | [INFO] [stdout] 79 | | Err(auth_resp) => Ok(auth_resp), [INFO] [stdout] 80 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | Ok(authenticated_req) => { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 70 | | // Forward the request; any client error becomes a 502 response. [INFO] [stdout] 71 | | match forward(authenticated_req, upstream_base).await { [INFO] [stdout] 72 | | Ok(resp) => Ok(resp), [INFO] [stdout] ... | [INFO] [stdout] 78 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | / match forward(authenticated_req, upstream_base).await { [INFO] [stdout] 72 | | Ok(resp) => Ok(resp), [INFO] [stdout] 73 | | Err(_) => Ok(Response::builder() [INFO] [stdout] 74 | | .status(502) [INFO] [stdout] 75 | | .body(Body::from("Bad Gateway")) [INFO] [stdout] 76 | | .unwrap()), [INFO] [stdout] 77 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | Ok(resp) => Ok(resp), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | Err(_) => Ok(Response::builder() [INFO] [stdout] | ___________________________^ [INFO] [stdout] 74 | | .status(502) [INFO] [stdout] 75 | | .body(Body::from("Bad Gateway")) [INFO] [stdout] 76 | | .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:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | Err(auth_resp) => Ok(auth_resp), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 101 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 102 | | let auth_token = auth_token.clone(); [INFO] [stdout] 103 | | let upstream_base = upstream_base.clone(); [INFO] [stdout] 104 | | handle(req, auth_token, upstream_base) [INFO] [stdout] 105 | | })) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 102 | | let auth_token = auth_token.clone(); [INFO] [stdout] 103 | | let upstream_base = upstream_base.clone(); [INFO] [stdout] 104 | | handle(req, auth_token, upstream_base) [INFO] [stdout] 105 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple_proxy` (bin "simple_proxy" test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "dc2cd6e0d5d0e71cc313f0a721ec4e1e99a9ac6668317c6174a3b75ab5a5c845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc2cd6e0d5d0e71cc313f0a721ec4e1e99a9ac6668317c6174a3b75ab5a5c845", kill_on_drop: false }` [INFO] [stdout] dc2cd6e0d5d0e71cc313f0a721ec4e1e99a9ac6668317c6174a3b75ab5a5c845