[INFO] cloning repository https://github.com/xeij/highperformance-webserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xeij/highperformance-webserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeij%2Fhighperformance-webserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxeij%2Fhighperformance-webserver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be71b8992a18ea6b6e737f1fdbfaaa5e7f99553a [INFO] checking xeij/highperformance-webserver 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%2Fxeij%2Fhighperformance-webserver" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xeij/highperformance-webserver [INFO] finished tweaking git repo https://github.com/xeij/highperformance-webserver [INFO] tweaked toml for git repo https://github.com/xeij/highperformance-webserver written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xeij/highperformance-webserver 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/xeij/highperformance-webserver 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 5ed585faa662f956b695d5157d07ca5486f3f4fb67566c3eaca85d4eed75b5e6 [INFO] running `Command { std: "docker" "start" "-a" "5ed585faa662f956b695d5157d07ca5486f3f4fb67566c3eaca85d4eed75b5e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ed585faa662f956b695d5157d07ca5486f3f4fb67566c3eaca85d4eed75b5e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ed585faa662f956b695d5157d07ca5486f3f4fb67566c3eaca85d4eed75b5e6", kill_on_drop: false }` [INFO] [stdout] 5ed585faa662f956b695d5157d07ca5486f3f4fb67566c3eaca85d4eed75b5e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 8ba2927a0d34fc706d16648fd76fb645bd56715c0abac29b47d5bdd95031949d [INFO] running `Command { std: "docker" "start" "-a" "8ba2927a0d34fc706d16648fd76fb645bd56715c0abac29b47d5bdd95031949d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking high-performance-webserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 39 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 40 | | let router = router.clone(); [INFO] [stdout] 41 | | async move { handle_request(router, req).await } [INFO] [stdout] 42 | | })) [INFO] [stdout] 43 | | } [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: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 40 | | let router = router.clone(); [INFO] [stdout] 41 | | async move { handle_request(router, req).await } [INFO] [stdout] 42 | | })) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | async move { handle_request(router, req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | async move { handle_request(router, req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:41:62 [INFO] [stdout] | [INFO] [stdout] 41 | async move { handle_request(router, req).await } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | async move { handle_request(router, req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 81 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 82 | | let router = router.clone(); [INFO] [stdout] 83 | | async move { handle_request(router, req).await } [INFO] [stdout] 84 | | })) [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 82 | | let router = router.clone(); [INFO] [stdout] 83 | | async move { handle_request(router, req).await } [INFO] [stdout] 84 | | })) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | async move { handle_request(router, req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | async move { handle_request(router, req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:83:62 [INFO] [stdout] | [INFO] [stdout] 83 | async move { handle_request(router, req).await } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | async move { handle_request(router, req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:115:61 [INFO] [stdout] | [INFO] [stdout] 115 | ) -> std::result::Result, Infallible> { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 116 | | let method = req.method().clone(); [INFO] [stdout] 117 | | let path = req.uri().path().to_string(); [INFO] [stdout] ... | [INFO] [stdout] 140 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:115:61 [INFO] [stdout] | [INFO] [stdout] 115 | ) -> std::result::Result, Infallible> { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 116 | | let method = req.method().clone(); [INFO] [stdout] 117 | | let path = req.uri().path().to_string(); [INFO] [stdout] ... | [INFO] [stdout] 140 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / match router.handle(req).await { [INFO] [stdout] 120 | | Ok(response) => match response.into_hyper_response() { [INFO] [stdout] 121 | | Ok(hyper_response) => { [INFO] [stdout] 122 | | info!("{} {} - 200", method, path); [INFO] [stdout] ... | [INFO] [stdout] 139 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | Ok(response) => match response.into_hyper_response() { [INFO] [stdout] | _________________________^ [INFO] [stdout] 121 | | Ok(hyper_response) => { [INFO] [stdout] 122 | | info!("{} {} - 200", method, path); [INFO] [stdout] 123 | | Ok(hyper_response) [INFO] [stdout] ... | [INFO] [stdout] 129 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:121:35 [INFO] [stdout] | [INFO] [stdout] 121 | Ok(hyper_response) => { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 122 | | info!("{} {} - 200", method, path); [INFO] [stdout] 123 | | Ok(hyper_response) [INFO] [stdout] 124 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | Ok(hyper_response) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:125:23 [INFO] [stdout] | [INFO] [stdout] 125 | Err(e) => { [INFO] [stdout] | _______________________^ [INFO] [stdout] 126 | | error!("Response conversion error: {}", e); [INFO] [stdout] 127 | | Ok(error_response(e)) [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | Ok(error_response(e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:130:19 [INFO] [stdout] | [INFO] [stdout] 130 | Err(e) => { [INFO] [stdout] | ___________________^ [INFO] [stdout] 131 | | let status_code = e.status_code(); [INFO] [stdout] 132 | | if status_code == hyper::StatusCode::NOT_FOUND { [INFO] [stdout] 133 | | warn!("{} {} - 404", method, path); [INFO] [stdout] ... | [INFO] [stdout] 137 | | Ok(error_response(e)) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | Ok(error_response(e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `high-performance-webserver` (lib) due to 22 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 39 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 40 | | let router = router.clone(); [INFO] [stdout] 41 | | async move { handle_request(router, req).await } [INFO] [stdout] 42 | | })) [INFO] [stdout] 43 | | } [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: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 40 | | let router = router.clone(); [INFO] [stdout] 41 | | async move { handle_request(router, req).await } [INFO] [stdout] 42 | | })) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | async move { handle_request(router, req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | async move { handle_request(router, req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:41:62 [INFO] [stdout] | [INFO] [stdout] 41 | async move { handle_request(router, req).await } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | async move { handle_request(router, req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | async move { [INFO] [stdout] | ________________________^ [INFO] [stdout] 81 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 82 | | let router = router.clone(); [INFO] [stdout] 83 | | async move { handle_request(router, req).await } [INFO] [stdout] 84 | | })) [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 82 | | let router = router.clone(); [INFO] [stdout] 83 | | async move { handle_request(router, req).await } [INFO] [stdout] 84 | | })) [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | async move { handle_request(router, req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | async move { handle_request(router, req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:83:62 [INFO] [stdout] | [INFO] [stdout] 83 | async move { handle_request(router, req).await } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | async move { handle_request(router, req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:115:61 [INFO] [stdout] | [INFO] [stdout] 115 | ) -> std::result::Result, Infallible> { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 116 | | let method = req.method().clone(); [INFO] [stdout] 117 | | let path = req.uri().path().to_string(); [INFO] [stdout] ... | [INFO] [stdout] 140 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:115:61 [INFO] [stdout] | [INFO] [stdout] 115 | ) -> std::result::Result, Infallible> { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 116 | | let method = req.method().clone(); [INFO] [stdout] 117 | | let path = req.uri().path().to_string(); [INFO] [stdout] ... | [INFO] [stdout] 140 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / match router.handle(req).await { [INFO] [stdout] 120 | | Ok(response) => match response.into_hyper_response() { [INFO] [stdout] 121 | | Ok(hyper_response) => { [INFO] [stdout] 122 | | info!("{} {} - 200", method, path); [INFO] [stdout] ... | [INFO] [stdout] 139 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | Ok(response) => match response.into_hyper_response() { [INFO] [stdout] | _________________________^ [INFO] [stdout] 121 | | Ok(hyper_response) => { [INFO] [stdout] 122 | | info!("{} {} - 200", method, path); [INFO] [stdout] 123 | | Ok(hyper_response) [INFO] [stdout] ... | [INFO] [stdout] 129 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:121:35 [INFO] [stdout] | [INFO] [stdout] 121 | Ok(hyper_response) => { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 122 | | info!("{} {} - 200", method, path); [INFO] [stdout] 123 | | Ok(hyper_response) [INFO] [stdout] 124 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | Ok(hyper_response) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:125:23 [INFO] [stdout] | [INFO] [stdout] 125 | Err(e) => { [INFO] [stdout] | _______________________^ [INFO] [stdout] 126 | | error!("Response conversion error: {}", e); [INFO] [stdout] 127 | | Ok(error_response(e)) [INFO] [stdout] 128 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | Ok(error_response(e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:130:19 [INFO] [stdout] | [INFO] [stdout] 130 | Err(e) => { [INFO] [stdout] | ___________________^ [INFO] [stdout] 131 | | let status_code = e.status_code(); [INFO] [stdout] 132 | | if status_code == hyper::StatusCode::NOT_FOUND { [INFO] [stdout] 133 | | warn!("{} {} - 404", method, path); [INFO] [stdout] ... | [INFO] [stdout] 137 | | Ok(error_response(e)) [INFO] [stdout] 138 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/server.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | Ok(error_response(e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `high-performance-webserver` (lib test) due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "8ba2927a0d34fc706d16648fd76fb645bd56715c0abac29b47d5bdd95031949d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ba2927a0d34fc706d16648fd76fb645bd56715c0abac29b47d5bdd95031949d", kill_on_drop: false }` [INFO] [stdout] 8ba2927a0d34fc706d16648fd76fb645bd56715c0abac29b47d5bdd95031949d