[INFO] cloning repository https://github.com/mibmo/fast-ip [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mibmo/fast-ip" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmibmo%2Ffast-ip", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmibmo%2Ffast-ip'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a2bbd4a6a4473c15e2e257fa7a4a03e3e9f67fc [INFO] checking mibmo/fast-ip 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%2Fmibmo%2Ffast-ip" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mibmo/fast-ip [INFO] finished tweaking git repo https://github.com/mibmo/fast-ip [INFO] tweaked toml for git repo https://github.com/mibmo/fast-ip written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mibmo/fast-ip 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/mibmo/fast-ip 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] f4a234f96daebb24838312e5d66d91b17fdcc73821a546fe388576fffc7102e5 [INFO] running `Command { std: "docker" "start" "-a" "f4a234f96daebb24838312e5d66d91b17fdcc73821a546fe388576fffc7102e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4a234f96daebb24838312e5d66d91b17fdcc73821a546fe388576fffc7102e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4a234f96daebb24838312e5d66d91b17fdcc73821a546fe388576fffc7102e5", kill_on_drop: false }` [INFO] [stdout] f4a234f96daebb24838312e5d66d91b17fdcc73821a546fe388576fffc7102e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 1d832c88c758d8cf5e656d211dbbe0df3a8dd70ddb3d3ed8edf308518f13b321 [INFO] running `Command { std: "docker" "start" "-a" "1d832c88c758d8cf5e656d211dbbe0df3a8dd70ddb3d3ed8edf308518f13b321", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking tokio-util v0.6.4 [INFO] [stderr] Checking h2 v0.3.1 [INFO] [stderr] Checking hyper v0.14.4 [INFO] [stderr] Checking fast-ip v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | async fn landing_page() -> Result, Infallible> { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 16 | | let body = include_str!("../res/landing.html"); [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | let resp = Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 24 | | Ok(resp) [INFO] [stdout] 25 | | } [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:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | async fn landing_page() -> Result, Infallible> { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 16 | | let body = include_str!("../res/landing.html"); [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | let resp = Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 24 | | Ok(resp) [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | 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:27:78 [INFO] [stdout] | [INFO] [stdout] 27 | async fn error_404(req: Request) -> Result, Infallible> { [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 28 | | let body = format!( [INFO] [stdout] 29 | | "You've hit a 404 error; the page at {path} doesn't exist", [INFO] [stdout] 30 | | path = req.uri().path() [INFO] [stdout] ... | [INFO] [stdout] 39 | | Ok(resp) [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:27:78 [INFO] [stdout] | [INFO] [stdout] 27 | async fn error_404(req: Request) -> Result, Infallible> { [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 28 | | let body = format!( [INFO] [stdout] 29 | | "You've hit a 404 error; the page at {path} doesn't exist", [INFO] [stdout] 30 | | path = req.uri().path() [INFO] [stdout] ... | [INFO] [stdout] 39 | | Ok(resp) [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | 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:42:71 [INFO] [stdout] | [INFO] [stdout] 42 | async fn ip_plain(addr: IpAddr) -> Result, Infallible> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 43 | | let body = addr.to_string(); [INFO] [stdout] 44 | | [INFO] [stdout] 45 | | let resp = Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 51 | | Ok(resp) [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:42:71 [INFO] [stdout] | [INFO] [stdout] 42 | async fn ip_plain(addr: IpAddr) -> Result, Infallible> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 43 | | let body = addr.to_string(); [INFO] [stdout] 44 | | [INFO] [stdout] 45 | | let resp = Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 51 | | Ok(resp) [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | 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:54:70 [INFO] [stdout] | [INFO] [stdout] 54 | async fn ip_json(addr: IpAddr) -> Result, Infallible> { [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 55 | | let body = format!("{{\"ip\":\"{ip}\"}}", ip = addr); [INFO] [stdout] 56 | | [INFO] [stdout] 57 | | let resp = Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 63 | | Ok(resp) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:54:70 [INFO] [stdout] | [INFO] [stdout] 54 | async fn ip_json(addr: IpAddr) -> Result, Infallible> { [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 55 | | let body = format!("{{\"ip\":\"{ip}\"}}", ip = addr); [INFO] [stdout] 56 | | [INFO] [stdout] 57 | | let resp = Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 63 | | Ok(resp) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | 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:66:86 [INFO] [stdout] | [INFO] [stdout] 66 | async fn mux(req: Request, addr: IpAddr) -> Result, Infallible> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 67 | | match req.uri().path() { [INFO] [stdout] 68 | | "/" => landing_page().await, [INFO] [stdout] 69 | | "/ip" | "/plain" => ip_plain(addr).await, [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:66:86 [INFO] [stdout] | [INFO] [stdout] 66 | async fn mux(req: Request, addr: IpAddr) -> Result, Infallible> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 67 | | match req.uri().path() { [INFO] [stdout] 68 | | "/" => landing_page().await, [INFO] [stdout] 69 | | "/ip" | "/plain" => ip_plain(addr).await, [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [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:5 [INFO] [stdout] | [INFO] [stdout] 67 | / match req.uri().path() { [INFO] [stdout] 68 | | "/" => landing_page().await, [INFO] [stdout] 69 | | "/ip" | "/plain" => ip_plain(addr).await, [INFO] [stdout] 70 | | "/json" => ip_json(addr).await, [INFO] [stdout] 71 | | _ => error_404(req).await, [INFO] [stdout] 72 | | } [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:16 [INFO] [stdout] | [INFO] [stdout] 68 | "/" => landing_page().await, [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:31 [INFO] [stdout] | [INFO] [stdout] 68 | "/" => landing_page().await, [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:16 [INFO] [stdout] | [INFO] [stdout] 68 | "/" => landing_page().await, [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:29 [INFO] [stdout] | [INFO] [stdout] 69 | "/ip" | "/plain" => ip_plain(addr).await, [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:44 [INFO] [stdout] | [INFO] [stdout] 69 | "/ip" | "/plain" => ip_plain(addr).await, [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:29 [INFO] [stdout] | [INFO] [stdout] 69 | "/ip" | "/plain" => ip_plain(addr).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | "/json" => ip_json(addr).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | "/json" => ip_json(addr).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | "/json" => ip_json(addr).await, [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:14 [INFO] [stdout] | [INFO] [stdout] 71 | _ => error_404(req).await, [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:29 [INFO] [stdout] | [INFO] [stdout] 71 | _ => error_404(req).await, [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:14 [INFO] [stdout] | [INFO] [stdout] 71 | _ => error_404(req).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | async move { Ok::<_, Infallible>(service_fn(move |req| mux(req, addr.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | async move { Ok::<_, Infallible>(service_fn(move |req| mux(req, addr.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | async fn landing_page() -> Result, Infallible> { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 16 | | let body = include_str!("../res/landing.html"); [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | let resp = Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 24 | | Ok(resp) [INFO] [stdout] 25 | | } [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:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | async fn landing_page() -> Result, Infallible> { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 16 | | let body = include_str!("../res/landing.html"); [INFO] [stdout] 17 | | [INFO] [stdout] 18 | | let resp = Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 24 | | Ok(resp) [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | 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:27:78 [INFO] [stdout] | [INFO] [stdout] 27 | async fn error_404(req: Request) -> Result, Infallible> { [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 28 | | let body = format!( [INFO] [stdout] 29 | | "You've hit a 404 error; the page at {path} doesn't exist", [INFO] [stdout] 30 | | path = req.uri().path() [INFO] [stdout] ... | [INFO] [stdout] 39 | | Ok(resp) [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:27:78 [INFO] [stdout] | [INFO] [stdout] 27 | async fn error_404(req: Request) -> Result, Infallible> { [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 28 | | let body = format!( [INFO] [stdout] 29 | | "You've hit a 404 error; the page at {path} doesn't exist", [INFO] [stdout] 30 | | path = req.uri().path() [INFO] [stdout] ... | [INFO] [stdout] 39 | | Ok(resp) [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fast-ip` (bin "server") due to 29 previous errors [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | Ok(resp) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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:42:71 [INFO] [stdout] | [INFO] [stdout] 42 | async fn ip_plain(addr: IpAddr) -> Result, Infallible> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 43 | | let body = addr.to_string(); [INFO] [stdout] 44 | | [INFO] [stdout] 45 | | let resp = Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 51 | | Ok(resp) [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fast-ip` (bin "server" test) due to 29 previous errors [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:42:71 [INFO] [stdout] | [INFO] [stdout] 42 | async fn ip_plain(addr: IpAddr) -> Result, Infallible> { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 43 | | let body = addr.to_string(); [INFO] [stdout] 44 | | [INFO] [stdout] 45 | | let resp = Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 51 | | Ok(resp) [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | 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:54:70 [INFO] [stdout] | [INFO] [stdout] 54 | async fn ip_json(addr: IpAddr) -> Result, Infallible> { [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 55 | | let body = format!("{{\"ip\":\"{ip}\"}}", ip = addr); [INFO] [stdout] 56 | | [INFO] [stdout] 57 | | let resp = Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 63 | | Ok(resp) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:54:70 [INFO] [stdout] | [INFO] [stdout] 54 | async fn ip_json(addr: IpAddr) -> Result, Infallible> { [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 55 | | let body = format!("{{\"ip\":\"{ip}\"}}", ip = addr); [INFO] [stdout] 56 | | [INFO] [stdout] 57 | | let resp = Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 63 | | Ok(resp) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | 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:66:86 [INFO] [stdout] | [INFO] [stdout] 66 | async fn mux(req: Request, addr: IpAddr) -> Result, Infallible> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 67 | | match req.uri().path() { [INFO] [stdout] 68 | | "/" => landing_page().await, [INFO] [stdout] 69 | | "/ip" | "/plain" => ip_plain(addr).await, [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:66:86 [INFO] [stdout] | [INFO] [stdout] 66 | async fn mux(req: Request, addr: IpAddr) -> Result, Infallible> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 67 | | match req.uri().path() { [INFO] [stdout] 68 | | "/" => landing_page().await, [INFO] [stdout] 69 | | "/ip" | "/plain" => ip_plain(addr).await, [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [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:5 [INFO] [stdout] | [INFO] [stdout] 67 | / match req.uri().path() { [INFO] [stdout] 68 | | "/" => landing_page().await, [INFO] [stdout] 69 | | "/ip" | "/plain" => ip_plain(addr).await, [INFO] [stdout] 70 | | "/json" => ip_json(addr).await, [INFO] [stdout] 71 | | _ => error_404(req).await, [INFO] [stdout] 72 | | } [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:16 [INFO] [stdout] | [INFO] [stdout] 68 | "/" => landing_page().await, [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:31 [INFO] [stdout] | [INFO] [stdout] 68 | "/" => landing_page().await, [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:16 [INFO] [stdout] | [INFO] [stdout] 68 | "/" => landing_page().await, [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:29 [INFO] [stdout] | [INFO] [stdout] 69 | "/ip" | "/plain" => ip_plain(addr).await, [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:44 [INFO] [stdout] | [INFO] [stdout] 69 | "/ip" | "/plain" => ip_plain(addr).await, [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:29 [INFO] [stdout] | [INFO] [stdout] 69 | "/ip" | "/plain" => ip_plain(addr).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | "/json" => ip_json(addr).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | "/json" => ip_json(addr).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | "/json" => ip_json(addr).await, [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:14 [INFO] [stdout] | [INFO] [stdout] 71 | _ => error_404(req).await, [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:29 [INFO] [stdout] | [INFO] [stdout] 71 | _ => error_404(req).await, [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:14 [INFO] [stdout] | [INFO] [stdout] 71 | _ => error_404(req).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | async move { Ok::<_, Infallible>(service_fn(move |req| mux(req, addr.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | async move { Ok::<_, Infallible>(service_fn(move |req| mux(req, addr.clone()))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1d832c88c758d8cf5e656d211dbbe0df3a8dd70ddb3d3ed8edf308518f13b321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d832c88c758d8cf5e656d211dbbe0df3a8dd70ddb3d3ed8edf308518f13b321", kill_on_drop: false }` [INFO] [stdout] 1d832c88c758d8cf5e656d211dbbe0df3a8dd70ddb3d3ed8edf308518f13b321