[INFO] cloning repository https://github.com/mzhou/http-sir [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mzhou/http-sir" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzhou%2Fhttp-sir", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzhou%2Fhttp-sir'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f08822d68ac1502b23d7194069e6e92c5e5e88c [INFO] checking mzhou/http-sir 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%2Fmzhou%2Fhttp-sir" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/mzhou/http-sir [INFO] finished tweaking git repo https://github.com/mzhou/http-sir [INFO] tweaked toml for git repo https://github.com/mzhou/http-sir written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mzhou/http-sir 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/mzhou/http-sir 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] aa1b99f4368de4c14f770a96f9a83ca9ae1f12c66f933c58e361e9bad6ae2839 [INFO] running `Command { std: "docker" "start" "-a" "aa1b99f4368de4c14f770a96f9a83ca9ae1f12c66f933c58e361e9bad6ae2839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa1b99f4368de4c14f770a96f9a83ca9ae1f12c66f933c58e361e9bad6ae2839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa1b99f4368de4c14f770a96f9a83ca9ae1f12c66f933c58e361e9bad6ae2839", kill_on_drop: false }` [INFO] [stdout] aa1b99f4368de4c14f770a96f9a83ca9ae1f12c66f933c58e361e9bad6ae2839 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ef6abaf5d153df579739986076a823e117f8515f6efa97e539c9f8f69ad8fcb4 [INFO] running `Command { std: "docker" "start" "-a" "ef6abaf5d153df579739986076a823e117f8515f6efa97e539c9f8f69ad8fcb4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.93 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking rustls-pemfile v1.0.0 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking rustls-native-certs v0.6.2 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking uuid v1.0.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking clap v3.1.17 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking http-sir v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `async_closure` has been stable since 1.85.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/bin/http-sir-client/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_closure)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_closure` has been stable since 1.85.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/bin/http-sir-server/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_closure)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_closure` has been stable since 1.85.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/bin/http-sir-client/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_closure)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `async_closure` has been stable since 1.85.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/bin/http-sir-server/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_closure)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/http-sir-server/main.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut fin; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/http-sir-server/main.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | let mut fin; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/http-sir-server/main.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut fin; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/bin/http-sir-server/main.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | cfg: Arc, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/bin/http-sir-server/main.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | addr: SocketAddr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/bin/http-sir-server/main.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | addr: SocketAddr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/http-sir-server/main.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | let mut fin; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/http-sir-server/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / #[clap(long)] [INFO] [stdout] 30 | | http_bind: String, [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 [INFO] [stdout] --> src/bin/http-sir-server/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / #[clap(long)] [INFO] [stdout] 32 | | stream_bind: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:155:41 [INFO] [stdout] | [INFO] [stdout] 155 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 156 | | match req.method() { [INFO] [stdout] 157 | | &Method::GET => handle_get(cfg, ctx, addr, req).await, [INFO] [stdout] 158 | | &Method::POST => handle_post(cfg, ctx, addr, req).await, [INFO] [stdout] ... | [INFO] [stdout] 161 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:155:41 [INFO] [stdout] | [INFO] [stdout] 155 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 156 | | match req.method() { [INFO] [stdout] 157 | | &Method::GET => handle_get(cfg, ctx, addr, req).await, [INFO] [stdout] 158 | | &Method::POST => handle_post(cfg, ctx, addr, req).await, [INFO] [stdout] ... | [INFO] [stdout] 161 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | / match req.method() { [INFO] [stdout] 157 | | &Method::GET => handle_get(cfg, ctx, addr, req).await, [INFO] [stdout] 158 | | &Method::POST => handle_post(cfg, ctx, addr, req).await, [INFO] [stdout] 159 | | _ => Ok(blank_status(StatusCode::METHOD_NOT_ALLOWED)), [INFO] [stdout] 160 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | &Method::GET => handle_get(cfg, ctx, addr, req).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:157:57 [INFO] [stdout] | [INFO] [stdout] 157 | &Method::GET => handle_get(cfg, ctx, addr, req).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | &Method::GET => handle_get(cfg, ctx, addr, req).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | &Method::POST => handle_post(cfg, ctx, addr, req).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:158:59 [INFO] [stdout] | [INFO] [stdout] 158 | &Method::POST => handle_post(cfg, ctx, addr, req).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | &Method::POST => handle_post(cfg, ctx, addr, req).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | _ => Ok(blank_status(StatusCode::METHOD_NOT_ALLOWED)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:168:41 [INFO] [stdout] | [INFO] [stdout] 168 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 169 | | let id = match get_header_str(req.headers(), "i") { [INFO] [stdout] 170 | | Some(h) => h, [INFO] [stdout] 171 | | None => return Ok(blank_status(StatusCode::BAD_REQUEST)), [INFO] [stdout] ... | [INFO] [stdout] 203 | | Ok(res.body(body).unwrap()) [INFO] [stdout] 204 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:168:41 [INFO] [stdout] | [INFO] [stdout] 168 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 169 | | let id = match get_header_str(req.headers(), "i") { [INFO] [stdout] 170 | | Some(h) => h, [INFO] [stdout] 171 | | None => return Ok(blank_status(StatusCode::BAD_REQUEST)), [INFO] [stdout] ... | [INFO] [stdout] 203 | | Ok(res.body(body).unwrap()) [INFO] [stdout] 204 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | None => return Ok(blank_status(StatusCode::BAD_REQUEST)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | _ => return Ok(blank_status(StatusCode::BAD_REQUEST)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | None => return Ok(blank_status(StatusCode::NOT_FOUND)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | return Ok(blank_status(StatusCode::RANGE_NOT_SATISFIABLE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | Ok(res.body(body).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:211:41 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 212 | | let dst = match get_header_str(req.headers(), "d").map(SocketAddr::from_str) { [INFO] [stdout] 213 | | Some(Ok(d)) => d, [INFO] [stdout] 214 | | _ => return Ok(blank_status(StatusCode::BAD_REQUEST)), [INFO] [stdout] ... | [INFO] [stdout] 345 | | .unwrap()) [INFO] [stdout] 346 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:211:41 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 212 | | let dst = match get_header_str(req.headers(), "d").map(SocketAddr::from_str) { [INFO] [stdout] 213 | | Some(Ok(d)) => d, [INFO] [stdout] 214 | | _ => return Ok(blank_status(StatusCode::BAD_REQUEST)), [INFO] [stdout] ... | [INFO] [stdout] 345 | | .unwrap()) [INFO] [stdout] 346 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | _ => return Ok(blank_status(StatusCode::BAD_REQUEST)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:219:24 [INFO] [stdout] | [INFO] [stdout] 219 | None => return Ok(blank_status(StatusCode::BAD_REQUEST)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 226 | return Ok(blank_status(StatusCode::CONFLICT)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:229:20 [INFO] [stdout] | [INFO] [stdout] 229 | return Ok(blank_status(StatusCode::CONFLICT)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | return Ok(blank_status(StatusCode::INTERNAL_SERVER_ERROR)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | return Ok(blank_status(StatusCode::INTERNAL_SERVER_ERROR)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | return Ok(blank_status(StatusCode::BAD_GATEWAY)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | / Ok(Response::builder() [INFO] [stdout] 342 | | .status(StatusCode::CREATED) [INFO] [stdout] 343 | | .header("w", written.to_string()) [INFO] [stdout] 344 | | .body(Body::empty()) [INFO] [stdout] 345 | | .unwrap()) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-sir` (bin "http-sir-server" test) due to 41 previous errors; 6 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, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:353:41 [INFO] [stdout] | [INFO] [stdout] 353 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 354 | | if req.headers().contains_key("d") { [INFO] [stdout] 355 | | return handle_new_conn(cfg, ctx, addr, req).await; [INFO] [stdout] 356 | | }; [INFO] [stdout] ... | [INFO] [stdout] 443 | | .unwrap()) [INFO] [stdout] 444 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:353:41 [INFO] [stdout] | [INFO] [stdout] 353 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 354 | | if req.headers().contains_key("d") { [INFO] [stdout] 355 | | return handle_new_conn(cfg, ctx, addr, req).await; [INFO] [stdout] 356 | | }; [INFO] [stdout] ... | [INFO] [stdout] 443 | | .unwrap()) [INFO] [stdout] 444 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:355:16 [INFO] [stdout] | [INFO] [stdout] 355 | return handle_new_conn(cfg, ctx, addr, req).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:355:53 [INFO] [stdout] | [INFO] [stdout] 355 | return handle_new_conn(cfg, ctx, addr, req).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:355:16 [INFO] [stdout] | [INFO] [stdout] 355 | return handle_new_conn(cfg, ctx, addr, req).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:360:24 [INFO] [stdout] | [INFO] [stdout] 360 | None => return Ok(blank_status(StatusCode::BAD_REQUEST)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:365:21 [INFO] [stdout] | [INFO] [stdout] 365 | _ => return Ok(blank_status(StatusCode::BAD_REQUEST)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:370:24 [INFO] [stdout] | [INFO] [stdout] 370 | None => return Ok(blank_status(StatusCode::NOT_FOUND)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:398:16 [INFO] [stdout] | [INFO] [stdout] 398 | return Ok(blank_status(StatusCode::RANGE_NOT_SATISFIABLE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:439:5 [INFO] [stdout] | [INFO] [stdout] 439 | / Ok(Response::builder() [INFO] [stdout] 440 | | .status(StatusCode::OK) [INFO] [stdout] 441 | | .header("w", consumed.to_string()) [INFO] [stdout] 442 | | .body(Body::empty()) [INFO] [stdout] 443 | | .unwrap()) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:462:20 [INFO] [stdout] | [INFO] [stdout] 462 | async move { Ok::<_, Infallible>(service) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:462:22 [INFO] [stdout] | [INFO] [stdout] 462 | async move { Ok::<_, Infallible>(service) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/bin/http-sir-client/main.rs:102:72 [INFO] [stdout] | [INFO] [stdout] 102 | async fn handle(cfg: CfgShared, ctx: CtxShared, mut stream: TcpStream, addr: SocketAddr) -> () { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/bin/http-sir-client/main.rs:102:72 [INFO] [stdout] | [INFO] [stdout] 102 | async fn handle(cfg: CfgShared, ctx: CtxShared, mut stream: TcpStream, addr: SocketAddr) -> () { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bin/http-sir-client/main.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bin/http-sir-client/main.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/bin/http-sir-server/main.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | cfg: Arc, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/bin/http-sir-server/main.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | addr: SocketAddr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-sir` (bin "http-sir-client" test) due to 4 previous errors; 3 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/http-sir-client/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / #[clap(long)] [INFO] [stdout] 27 | | listen: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-sir` (bin "http-sir-client") due to 4 previous errors; 3 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/http-sir-client/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / #[clap(default_value = "[::]:0", long)] [INFO] [stdout] 29 | | http_bind: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/http-sir-client/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / #[clap(long)] [INFO] [stdout] 31 | | url: String, [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/http-sir-client/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / #[clap(long)] [INFO] [stdout] 33 | | target: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/bin/http-sir-server/main.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | addr: SocketAddr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/http-sir-client/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / #[clap(long)] [INFO] [stdout] 27 | | listen: String, [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 [INFO] [stdout] --> src/bin/http-sir-client/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / #[clap(default_value = "[::]:0", long)] [INFO] [stdout] 29 | | http_bind: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/http-sir-client/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / #[clap(long)] [INFO] [stdout] 31 | | url: String, [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/http-sir-client/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / #[clap(long)] [INFO] [stdout] 33 | | target: String, [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/http-sir-server/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / #[clap(long)] [INFO] [stdout] 30 | | http_bind: String, [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 [INFO] [stdout] --> src/bin/http-sir-server/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / #[clap(long)] [INFO] [stdout] 32 | | stream_bind: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:155:41 [INFO] [stdout] | [INFO] [stdout] 155 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 156 | | match req.method() { [INFO] [stdout] 157 | | &Method::GET => handle_get(cfg, ctx, addr, req).await, [INFO] [stdout] 158 | | &Method::POST => handle_post(cfg, ctx, addr, req).await, [INFO] [stdout] ... | [INFO] [stdout] 161 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:155:41 [INFO] [stdout] | [INFO] [stdout] 155 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 156 | | match req.method() { [INFO] [stdout] 157 | | &Method::GET => handle_get(cfg, ctx, addr, req).await, [INFO] [stdout] 158 | | &Method::POST => handle_post(cfg, ctx, addr, req).await, [INFO] [stdout] ... | [INFO] [stdout] 161 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | / match req.method() { [INFO] [stdout] 157 | | &Method::GET => handle_get(cfg, ctx, addr, req).await, [INFO] [stdout] 158 | | &Method::POST => handle_post(cfg, ctx, addr, req).await, [INFO] [stdout] 159 | | _ => Ok(blank_status(StatusCode::METHOD_NOT_ALLOWED)), [INFO] [stdout] 160 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | &Method::GET => handle_get(cfg, ctx, addr, req).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:157:57 [INFO] [stdout] | [INFO] [stdout] 157 | &Method::GET => handle_get(cfg, ctx, addr, req).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | &Method::GET => handle_get(cfg, ctx, addr, req).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | &Method::POST => handle_post(cfg, ctx, addr, req).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:158:59 [INFO] [stdout] | [INFO] [stdout] 158 | &Method::POST => handle_post(cfg, ctx, addr, req).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | &Method::POST => handle_post(cfg, ctx, addr, req).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | _ => Ok(blank_status(StatusCode::METHOD_NOT_ALLOWED)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:168:41 [INFO] [stdout] | [INFO] [stdout] 168 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 169 | | let id = match get_header_str(req.headers(), "i") { [INFO] [stdout] 170 | | Some(h) => h, [INFO] [stdout] 171 | | None => return Ok(blank_status(StatusCode::BAD_REQUEST)), [INFO] [stdout] ... | [INFO] [stdout] 203 | | Ok(res.body(body).unwrap()) [INFO] [stdout] 204 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:168:41 [INFO] [stdout] | [INFO] [stdout] 168 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 169 | | let id = match get_header_str(req.headers(), "i") { [INFO] [stdout] 170 | | Some(h) => h, [INFO] [stdout] 171 | | None => return Ok(blank_status(StatusCode::BAD_REQUEST)), [INFO] [stdout] ... | [INFO] [stdout] 203 | | Ok(res.body(body).unwrap()) [INFO] [stdout] 204 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | None => return Ok(blank_status(StatusCode::BAD_REQUEST)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | _ => return Ok(blank_status(StatusCode::BAD_REQUEST)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | None => return Ok(blank_status(StatusCode::NOT_FOUND)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | return Ok(blank_status(StatusCode::RANGE_NOT_SATISFIABLE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | Ok(res.body(body).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:211:41 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 212 | | let dst = match get_header_str(req.headers(), "d").map(SocketAddr::from_str) { [INFO] [stdout] 213 | | Some(Ok(d)) => d, [INFO] [stdout] 214 | | _ => return Ok(blank_status(StatusCode::BAD_REQUEST)), [INFO] [stdout] ... | [INFO] [stdout] 345 | | .unwrap()) [INFO] [stdout] 346 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:211:41 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 212 | | let dst = match get_header_str(req.headers(), "d").map(SocketAddr::from_str) { [INFO] [stdout] 213 | | Some(Ok(d)) => d, [INFO] [stdout] 214 | | _ => return Ok(blank_status(StatusCode::BAD_REQUEST)), [INFO] [stdout] ... | [INFO] [stdout] 345 | | .unwrap()) [INFO] [stdout] 346 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | _ => return Ok(blank_status(StatusCode::BAD_REQUEST)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:219:24 [INFO] [stdout] | [INFO] [stdout] 219 | None => return Ok(blank_status(StatusCode::BAD_REQUEST)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 226 | return Ok(blank_status(StatusCode::CONFLICT)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:229:20 [INFO] [stdout] | [INFO] [stdout] 229 | return Ok(blank_status(StatusCode::CONFLICT)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | return Ok(blank_status(StatusCode::INTERNAL_SERVER_ERROR)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | return Ok(blank_status(StatusCode::INTERNAL_SERVER_ERROR)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | return Ok(blank_status(StatusCode::BAD_GATEWAY)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | / Ok(Response::builder() [INFO] [stdout] 342 | | .status(StatusCode::CREATED) [INFO] [stdout] 343 | | .header("w", written.to_string()) [INFO] [stdout] 344 | | .body(Body::empty()) [INFO] [stdout] 345 | | .unwrap()) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:353:41 [INFO] [stdout] | [INFO] [stdout] 353 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 354 | | if req.headers().contains_key("d") { [INFO] [stdout] 355 | | return handle_new_conn(cfg, ctx, addr, req).await; [INFO] [stdout] 356 | | }; [INFO] [stdout] ... | [INFO] [stdout] 443 | | .unwrap()) [INFO] [stdout] 444 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:353:41 [INFO] [stdout] | [INFO] [stdout] 353 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 354 | | if req.headers().contains_key("d") { [INFO] [stdout] 355 | | return handle_new_conn(cfg, ctx, addr, req).await; [INFO] [stdout] 356 | | }; [INFO] [stdout] ... | [INFO] [stdout] 443 | | .unwrap()) [INFO] [stdout] 444 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:355:16 [INFO] [stdout] | [INFO] [stdout] 355 | return handle_new_conn(cfg, ctx, addr, req).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:355:53 [INFO] [stdout] | [INFO] [stdout] 355 | return handle_new_conn(cfg, ctx, addr, req).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-sir` (bin "http-sir-server") due to 41 previous errors; 6 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:355:16 [INFO] [stdout] | [INFO] [stdout] 355 | return handle_new_conn(cfg, ctx, addr, req).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:360:24 [INFO] [stdout] | [INFO] [stdout] 360 | None => return Ok(blank_status(StatusCode::BAD_REQUEST)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:365:21 [INFO] [stdout] | [INFO] [stdout] 365 | _ => return Ok(blank_status(StatusCode::BAD_REQUEST)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:370:24 [INFO] [stdout] | [INFO] [stdout] 370 | None => return Ok(blank_status(StatusCode::NOT_FOUND)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:398:16 [INFO] [stdout] | [INFO] [stdout] 398 | return Ok(blank_status(StatusCode::RANGE_NOT_SATISFIABLE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:439:5 [INFO] [stdout] | [INFO] [stdout] 439 | / Ok(Response::builder() [INFO] [stdout] 440 | | .status(StatusCode::OK) [INFO] [stdout] 441 | | .header("w", consumed.to_string()) [INFO] [stdout] 442 | | .body(Body::empty()) [INFO] [stdout] 443 | | .unwrap()) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:462:20 [INFO] [stdout] | [INFO] [stdout] 462 | async move { Ok::<_, Infallible>(service) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/http-sir-server/main.rs:462:22 [INFO] [stdout] | [INFO] [stdout] 462 | async move { Ok::<_, Infallible>(service) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ef6abaf5d153df579739986076a823e117f8515f6efa97e539c9f8f69ad8fcb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef6abaf5d153df579739986076a823e117f8515f6efa97e539c9f8f69ad8fcb4", kill_on_drop: false }` [INFO] [stdout] ef6abaf5d153df579739986076a823e117f8515f6efa97e539c9f8f69ad8fcb4