[INFO] cloning repository https://github.com/yinyancute2022/dshp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yinyancute2022/dshp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyinyancute2022%2Fdshp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyinyancute2022%2Fdshp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa79970452261bcce66c8c70df14aec85df270d5 [INFO] checking yinyancute2022/dshp 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%2Fyinyancute2022%2Fdshp" "/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/yinyancute2022/dshp [INFO] finished tweaking git repo https://github.com/yinyancute2022/dshp [INFO] tweaked toml for git repo https://github.com/yinyancute2022/dshp written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yinyancute2022/dshp 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/yinyancute2022/dshp 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] 579cdcaec70494dcca0eed3c73f44af38928fe12721f7ac69aa7a1a0c60b6ad2 [INFO] running `Command { std: "docker" "start" "-a" "579cdcaec70494dcca0eed3c73f44af38928fe12721f7ac69aa7a1a0c60b6ad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "579cdcaec70494dcca0eed3c73f44af38928fe12721f7ac69aa7a1a0c60b6ad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "579cdcaec70494dcca0eed3c73f44af38928fe12721f7ac69aa7a1a0c60b6ad2", kill_on_drop: false }` [INFO] [stdout] 579cdcaec70494dcca0eed3c73f44af38928fe12721f7ac69aa7a1a0c60b6ad2 [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] 8a55efdc47e93308c89018b65e84a6b5f106d3e2238eb341705763008932fb9b [INFO] running `Command { std: "docker" "start" "-a" "8a55efdc47e93308c89018b65e84a6b5f106d3e2238eb341705763008932fb9b", kill_on_drop: false }` [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking clap v4.5.45 [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 dshp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 55 | | Ok::<_, Infallible>(hyper::service::service_fn(move |req| { [INFO] [stdout] 56 | | proxy_handler(req, auth.clone(), debug, remote_addr) [INFO] [stdout] 57 | | })) [INFO] [stdout] 58 | | } [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:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | / Ok::<_, Infallible>(hyper::service::service_fn(move |req| { [INFO] [stdout] 56 | | proxy_handler(req, auth.clone(), debug, remote_addr) [INFO] [stdout] 57 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:107:41 [INFO] [stdout] | [INFO] [stdout] 107 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 108 | | let req_id = REQ_COUNTER.fetch_add(1, Ordering::Relaxed); [INFO] [stdout] 109 | | if debug { [INFO] [stdout] 110 | | eprintln!("[req {}] {} {} from {}", req_id, req.method(), req.uri(), remote_addr); [INFO] [stdout] ... | [INFO] [stdout] 195 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:107:41 [INFO] [stdout] | [INFO] [stdout] 107 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 108 | | let req_id = REQ_COUNTER.fetch_add(1, Ordering::Relaxed); [INFO] [stdout] 109 | | if debug { [INFO] [stdout] 110 | | eprintln!("[req {}] {} {} from {}", req_id, req.method(), req.uri(), remote_addr); [INFO] [stdout] ... | [INFO] [stdout] 195 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | return 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:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | return 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:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | / match client.request(req).await { [INFO] [stdout] 179 | | Ok(resp) => { [INFO] [stdout] 180 | | if debug { [INFO] [stdout] 181 | | eprintln!("[req {}] upstream response {}", req_id, resp.status()); [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | Ok(resp) => { [INFO] [stdout] | _____________________^ [INFO] [stdout] 180 | | if debug { [INFO] [stdout] 181 | | eprintln!("[req {}] upstream response {}", req_id, resp.status()); [INFO] [stdout] ... | [INFO] [stdout] 184 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | 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:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | Err(e) => { [INFO] [stdout] | ___________________^ [INFO] [stdout] 186 | | if debug { [INFO] [stdout] 187 | | eprintln!("[req {}] upstream error: {}", req_id, e); [INFO] [stdout] ... | [INFO] [stdout] 192 | | .unwrap()) [INFO] [stdout] 193 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | / Ok(Response::builder() [INFO] [stdout] 190 | | .status(StatusCode::BAD_GATEWAY) [INFO] [stdout] 191 | | .body(Body::from(format!("Upstream error: {}", e))) [INFO] [stdout] 192 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dshp` (bin "dshp" test) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dshp` (bin "dshp") due to 11 previous errors [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 55 | | Ok::<_, Infallible>(hyper::service::service_fn(move |req| { [INFO] [stdout] 56 | | proxy_handler(req, auth.clone(), debug, remote_addr) [INFO] [stdout] 57 | | })) [INFO] [stdout] 58 | | } [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:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | / Ok::<_, Infallible>(hyper::service::service_fn(move |req| { [INFO] [stdout] 56 | | proxy_handler(req, auth.clone(), debug, remote_addr) [INFO] [stdout] 57 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:107:41 [INFO] [stdout] | [INFO] [stdout] 107 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 108 | | let req_id = REQ_COUNTER.fetch_add(1, Ordering::Relaxed); [INFO] [stdout] 109 | | if debug { [INFO] [stdout] 110 | | eprintln!("[req {}] {} {} from {}", req_id, req.method(), req.uri(), remote_addr); [INFO] [stdout] ... | [INFO] [stdout] 195 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:107:41 [INFO] [stdout] | [INFO] [stdout] 107 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 108 | | let req_id = REQ_COUNTER.fetch_add(1, Ordering::Relaxed); [INFO] [stdout] 109 | | if debug { [INFO] [stdout] 110 | | eprintln!("[req {}] {} {} from {}", req_id, req.method(), req.uri(), remote_addr); [INFO] [stdout] ... | [INFO] [stdout] 195 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | return 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:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | return 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:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | / match client.request(req).await { [INFO] [stdout] 179 | | Ok(resp) => { [INFO] [stdout] 180 | | if debug { [INFO] [stdout] 181 | | eprintln!("[req {}] upstream response {}", req_id, resp.status()); [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | Ok(resp) => { [INFO] [stdout] | _____________________^ [INFO] [stdout] 180 | | if debug { [INFO] [stdout] 181 | | eprintln!("[req {}] upstream response {}", req_id, resp.status()); [INFO] [stdout] ... | [INFO] [stdout] 184 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | 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:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | Err(e) => { [INFO] [stdout] | ___________________^ [INFO] [stdout] 186 | | if debug { [INFO] [stdout] 187 | | eprintln!("[req {}] upstream error: {}", req_id, e); [INFO] [stdout] ... | [INFO] [stdout] 192 | | .unwrap()) [INFO] [stdout] 193 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | / Ok(Response::builder() [INFO] [stdout] 190 | | .status(StatusCode::BAD_GATEWAY) [INFO] [stdout] 191 | | .body(Body::from(format!("Upstream error: {}", e))) [INFO] [stdout] 192 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8a55efdc47e93308c89018b65e84a6b5f106d3e2238eb341705763008932fb9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a55efdc47e93308c89018b65e84a6b5f106d3e2238eb341705763008932fb9b", kill_on_drop: false }` [INFO] [stdout] 8a55efdc47e93308c89018b65e84a6b5f106d3e2238eb341705763008932fb9b