[INFO] fetching crate volo-http 0.4.3... [INFO] checking volo-http-0.4.3 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate volo-http 0.4.3 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate volo-http 0.4.3 [INFO] finished tweaking crates.io crate volo-http 0.4.3 [INFO] tweaked toml for crates.io crate volo-http 0.4.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate volo-http 0.4.3 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 crates.io crate volo-http 0.4.3 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] aca3c20b5ce16beac4a4ee8ac6282c7c99d3f49554eee7e6be3cdbcdc88cab9a [INFO] running `Command { std: "docker" "start" "-a" "aca3c20b5ce16beac4a4ee8ac6282c7c99d3f49554eee7e6be3cdbcdc88cab9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aca3c20b5ce16beac4a4ee8ac6282c7c99d3f49554eee7e6be3cdbcdc88cab9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aca3c20b5ce16beac4a4ee8ac6282c7c99d3f49554eee7e6be3cdbcdc88cab9a", kill_on_drop: false }` [INFO] [stdout] aca3c20b5ce16beac4a4ee8ac6282c7c99d3f49554eee7e6be3cdbcdc88cab9a [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] 9da316820d4104d85035d1ab848084385e50c54858a852f061db7e63d38a7d7c [INFO] running `Command { std: "docker" "start" "-a" "9da316820d4104d85035d1ab848084385e50c54858a852f061db7e63d38a7d7c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling moka v0.12.10 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling motore-macros v0.4.3 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Checking sonic-simd v0.1.1 [INFO] [stderr] Checking sonic-number v0.1.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking resolv-conf v0.7.4 [INFO] [stderr] Checking mur3 v0.1.0 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking once_cell v1.21.3 [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 getrandom v0.3.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tokio v1.46.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking faststr v0.2.31 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking sonic-rs v0.5.2 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking motore v0.4.1 [INFO] [stderr] Checking hickory-proto v0.25.2 [INFO] [stderr] Checking metainfo v0.7.14 [INFO] [stderr] Checking linkedbytes v0.1.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking volo v0.11.0 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking hickory-resolver v0.25.2 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking volo-http v0.4.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/body.rs:362:26 [INFO] [stdout] | [INFO] [stdout] 362 | Poll::Ready(Some(Ok(Frame::data(bytes)))) [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/mod.rs:532:74 [INFO] [stdout] | [INFO] [stdout] 532 | METAINFO.scope(RefCell::new(MetaInfo::default()), async move { [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 533 | | let mut cx = ServerContext::new(service.peer); [INFO] [stdout] 534 | | cx.rpc_info_mut().set_config(service.config); [INFO] [stdout] 535 | | let span = service.span_provider.on_serve(&cx); [INFO] [stdout] ... | [INFO] [stdout] 543 | | Ok(resp) [INFO] [stdout] 544 | | }), [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/mod.rs:543:17 [INFO] [stdout] | [INFO] [stdout] 543 | Ok(resp) [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/extract.rs:193:40 [INFO] [stdout] | [INFO] [stdout] 193 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 194 | | Ok(T::from_context(cx, parts).await.ok()) [INFO] [stdout] 195 | | } [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/extract.rs:193:40 [INFO] [stdout] | [INFO] [stdout] 193 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 194 | | Ok(T::from_context(cx, parts).await.ok()) [INFO] [stdout] 195 | | } [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/extract.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | Ok(T::from_context(cx, parts).await.ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: std::result::Result::Rejection>, Infallible> [INFO] [stdout] --> src/server/extract.rs:207:40 [INFO] [stdout] | [INFO] [stdout] 207 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 208 | | Ok(T::from_context(cx, parts).await) [INFO] [stdout] 209 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mustuse_in_always_ok)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: std::result::Result::Rejection>, Infallible> [INFO] [stdout] --> src/server/extract.rs:207:40 [INFO] [stdout] | [INFO] [stdout] 207 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 208 | | Ok(T::from_context(cx, parts).await) [INFO] [stdout] 209 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: std::result::Result::Rejection>, Infallible> [INFO] [stdout] --> src/server/extract.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | Ok(T::from_context(cx, parts).await) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:218:43 [INFO] [stdout] | [INFO] [stdout] 218 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 219 | | Ok(cx [INFO] [stdout] 220 | | .rpc_info() [INFO] [stdout] 221 | | .caller() [INFO] [stdout] 222 | | .address() [INFO] [stdout] 223 | | .expect("server context does not have caller address")) [INFO] [stdout] 224 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:218:43 [INFO] [stdout] | [INFO] [stdout] 218 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 219 | | Ok(cx [INFO] [stdout] 220 | | .rpc_info() [INFO] [stdout] 221 | | .caller() [INFO] [stdout] 222 | | .address() [INFO] [stdout] 223 | | .expect("server context does not have caller address")) [INFO] [stdout] 224 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | / Ok(cx [INFO] [stdout] 220 | | .rpc_info() [INFO] [stdout] 221 | | .caller() [INFO] [stdout] 222 | | .address() [INFO] [stdout] 223 | | .expect("server context does not have caller address")) [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:233:39 [INFO] [stdout] | [INFO] [stdout] 233 | ) -> Result { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 234 | | Ok(parts.uri.to_owned()) [INFO] [stdout] 235 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:233:39 [INFO] [stdout] | [INFO] [stdout] 233 | ) -> Result { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 234 | | Ok(parts.uri.to_owned()) [INFO] [stdout] 235 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | Ok(parts.uri.to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:289:42 [INFO] [stdout] | [INFO] [stdout] 289 | ) -> Result { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 290 | | Ok(parts.method.to_owned()) [INFO] [stdout] 291 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:289:42 [INFO] [stdout] | [INFO] [stdout] 289 | ) -> Result { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 290 | | Ok(parts.method.to_owned()) [INFO] [stdout] 291 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | Ok(parts.method.to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:297:99 [INFO] [stdout] | [INFO] [stdout] 297 | async fn from_context(cx: &mut ServerContext, _: &mut Parts) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 298 | | if let Some(client_ip) = cx.extensions().get::() { [INFO] [stdout] 299 | | Ok(client_ip.to_owned()) [INFO] [stdout] 300 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 303 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:297:99 [INFO] [stdout] | [INFO] [stdout] 297 | async fn from_context(cx: &mut ServerContext, _: &mut Parts) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 298 | | if let Some(client_ip) = cx.extensions().get::() { [INFO] [stdout] 299 | | Ok(client_ip.to_owned()) [INFO] [stdout] 300 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 303 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | / if let Some(client_ip) = cx.extensions().get::() { [INFO] [stdout] 299 | | Ok(client_ip.to_owned()) [INFO] [stdout] 300 | | } else { [INFO] [stdout] 301 | | Ok(ClientIp(None)) [INFO] [stdout] 302 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:298:68 [INFO] [stdout] | [INFO] [stdout] 298 | if let Some(client_ip) = cx.extensions().get::() { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 299 | | Ok(client_ip.to_owned()) [INFO] [stdout] 300 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | Ok(client_ip.to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:300:16 [INFO] [stdout] | [INFO] [stdout] 300 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 301 | | Ok(ClientIp(None)) [INFO] [stdout] 302 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | Ok(ClientIp(None)) [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/extract.rs:357:40 [INFO] [stdout] | [INFO] [stdout] 357 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 358 | | Ok(T::from_request(cx, parts, body).await.ok()) [INFO] [stdout] 359 | | } [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/extract.rs:357:40 [INFO] [stdout] | [INFO] [stdout] 357 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 358 | | Ok(T::from_request(cx, parts, body).await.ok()) [INFO] [stdout] 359 | | } [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/extract.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | Ok(T::from_request(cx, parts, body).await.ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: std::result::Result>::Rejection>, Infallible> [INFO] [stdout] --> src/server/extract.rs:373:40 [INFO] [stdout] | [INFO] [stdout] 373 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 374 | | Ok(T::from_request(cx, parts, body).await) [INFO] [stdout] 375 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: std::result::Result>::Rejection>, Infallible> [INFO] [stdout] --> src/server/extract.rs:373:40 [INFO] [stdout] | [INFO] [stdout] 373 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 374 | | Ok(T::from_request(cx, parts, body).await) [INFO] [stdout] 375 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: std::result::Result>::Rejection>, Infallible> [INFO] [stdout] --> src/server/extract.rs:374:9 [INFO] [stdout] | [INFO] [stdout] 374 | Ok(T::from_request(cx, parts, body).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/extract.rs:388:40 [INFO] [stdout] | [INFO] [stdout] 388 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 389 | | Ok(Request::from_parts(parts, body)) [INFO] [stdout] 390 | | } [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/extract.rs:388:40 [INFO] [stdout] | [INFO] [stdout] 388 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 389 | | Ok(Request::from_parts(parts, body)) [INFO] [stdout] 390 | | } [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/extract.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | Ok(Request::from_parts(parts, body)) [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/middleware.rs:217:46 [INFO] [stdout] | [INFO] [stdout] 217 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 218 | | let next = Next { [INFO] [stdout] 219 | | service: Route::new(self.service.clone()), [INFO] [stdout] 220 | | }; [INFO] [stdout] 221 | | Ok(self.f.handle(cx, req, next).await.into_response()) [INFO] [stdout] 222 | | } [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/middleware.rs:217:46 [INFO] [stdout] | [INFO] [stdout] 217 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 218 | | let next = Next { [INFO] [stdout] 219 | | service: Route::new(self.service.clone()), [INFO] [stdout] 220 | | }; [INFO] [stdout] 221 | | Ok(self.f.handle(cx, req, next).await.into_response()) [INFO] [stdout] 222 | | } [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/middleware.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | Ok(self.f.handle(cx, req, next).await.into_response()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/param.rs:91:99 [INFO] [stdout] | [INFO] [stdout] 91 | async fn from_context(cx: &mut ServerContext, _: &mut Parts) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 92 | | Ok(cx.params().clone()) [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/param.rs:91:99 [INFO] [stdout] | [INFO] [stdout] 91 | async fn from_context(cx: &mut ServerContext, _: &mut Parts) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 92 | | Ok(cx.params().clone()) [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/param.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(cx.params().clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/param.rs:151:99 [INFO] [stdout] | [INFO] [stdout] 151 | async fn from_context(cx: &mut ServerContext, _: &mut Parts) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 152 | | let params = cx.params(); [INFO] [stdout] 153 | | let mut inner = AHashMap::with_capacity(params.len()); [INFO] [stdout] ... | [INFO] [stdout] 159 | | Ok(Self { inner }) [INFO] [stdout] 160 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/param.rs:151:99 [INFO] [stdout] | [INFO] [stdout] 151 | async fn from_context(cx: &mut ServerContext, _: &mut Parts) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 152 | | let params = cx.params(); [INFO] [stdout] 153 | | let mut inner = AHashMap::with_capacity(params.len()); [INFO] [stdout] ... | [INFO] [stdout] 159 | | Ok(Self { inner }) [INFO] [stdout] 160 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/param.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | Ok(Self { inner }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/param.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | FromStr::from_str(param) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | impl_from_path_param!(String); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_from_path_param` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/param.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | FromStr::from_str(param) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | impl_from_path_param!(FastStr); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_from_path_param` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `volo-http` (lib) due to 39 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: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/body.rs:362:26 [INFO] [stdout] | [INFO] [stdout] 362 | Poll::Ready(Some(Ok(Frame::data(bytes)))) [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, std::convert::Infallible> [INFO] [stdout] --> src/server/mod.rs:532:74 [INFO] [stdout] | [INFO] [stdout] 532 | METAINFO.scope(RefCell::new(MetaInfo::default()), async move { [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 533 | | let mut cx = ServerContext::new(service.peer); [INFO] [stdout] 534 | | cx.rpc_info_mut().set_config(service.config); [INFO] [stdout] 535 | | let span = service.span_provider.on_serve(&cx); [INFO] [stdout] ... | [INFO] [stdout] 543 | | Ok(resp) [INFO] [stdout] 544 | | }), [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/mod.rs:543:17 [INFO] [stdout] | [INFO] [stdout] 543 | Ok(resp) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/extract.rs:193:40 [INFO] [stdout] | [INFO] [stdout] 193 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 194 | | Ok(T::from_context(cx, parts).await.ok()) [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/extract.rs:193:40 [INFO] [stdout] | [INFO] [stdout] 193 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 194 | | Ok(T::from_context(cx, parts).await.ok()) [INFO] [stdout] 195 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/extract.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | Ok(T::from_context(cx, parts).await.ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: std::result::Result::Rejection>, std::convert::Infallible> [INFO] [stdout] --> src/server/extract.rs:207:40 [INFO] [stdout] | [INFO] [stdout] 207 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 208 | | Ok(T::from_context(cx, parts).await) [INFO] [stdout] 209 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mustuse_in_always_ok)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: std::result::Result::Rejection>, std::convert::Infallible> [INFO] [stdout] --> src/server/extract.rs:207:40 [INFO] [stdout] | [INFO] [stdout] 207 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 208 | | Ok(T::from_context(cx, parts).await) [INFO] [stdout] 209 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: std::result::Result::Rejection>, std::convert::Infallible> [INFO] [stdout] --> src/server/extract.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | Ok(T::from_context(cx, parts).await) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:218:43 [INFO] [stdout] | [INFO] [stdout] 218 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 219 | | Ok(cx [INFO] [stdout] 220 | | .rpc_info() [INFO] [stdout] 221 | | .caller() [INFO] [stdout] 222 | | .address() [INFO] [stdout] 223 | | .expect("server context does not have caller address")) [INFO] [stdout] 224 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:218:43 [INFO] [stdout] | [INFO] [stdout] 218 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 219 | | Ok(cx [INFO] [stdout] 220 | | .rpc_info() [INFO] [stdout] 221 | | .caller() [INFO] [stdout] 222 | | .address() [INFO] [stdout] 223 | | .expect("server context does not have caller address")) [INFO] [stdout] 224 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | / Ok(cx [INFO] [stdout] 220 | | .rpc_info() [INFO] [stdout] 221 | | .caller() [INFO] [stdout] 222 | | .address() [INFO] [stdout] 223 | | .expect("server context does not have caller address")) [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:233:39 [INFO] [stdout] | [INFO] [stdout] 233 | ) -> Result { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 234 | | Ok(parts.uri.to_owned()) [INFO] [stdout] 235 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:233:39 [INFO] [stdout] | [INFO] [stdout] 233 | ) -> Result { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 234 | | Ok(parts.uri.to_owned()) [INFO] [stdout] 235 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | Ok(parts.uri.to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:289:42 [INFO] [stdout] | [INFO] [stdout] 289 | ) -> Result { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 290 | | Ok(parts.method.to_owned()) [INFO] [stdout] 291 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:289:42 [INFO] [stdout] | [INFO] [stdout] 289 | ) -> Result { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 290 | | Ok(parts.method.to_owned()) [INFO] [stdout] 291 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | Ok(parts.method.to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:297:99 [INFO] [stdout] | [INFO] [stdout] 297 | async fn from_context(cx: &mut ServerContext, _: &mut Parts) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 298 | | if let Some(client_ip) = cx.extensions().get::() { [INFO] [stdout] 299 | | Ok(client_ip.to_owned()) [INFO] [stdout] 300 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 303 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:297:99 [INFO] [stdout] | [INFO] [stdout] 297 | async fn from_context(cx: &mut ServerContext, _: &mut Parts) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 298 | | if let Some(client_ip) = cx.extensions().get::() { [INFO] [stdout] 299 | | Ok(client_ip.to_owned()) [INFO] [stdout] 300 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 303 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | / if let Some(client_ip) = cx.extensions().get::() { [INFO] [stdout] 299 | | Ok(client_ip.to_owned()) [INFO] [stdout] 300 | | } else { [INFO] [stdout] 301 | | Ok(ClientIp(None)) [INFO] [stdout] 302 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:298:68 [INFO] [stdout] | [INFO] [stdout] 298 | if let Some(client_ip) = cx.extensions().get::() { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 299 | | Ok(client_ip.to_owned()) [INFO] [stdout] 300 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | Ok(client_ip.to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:300:16 [INFO] [stdout] | [INFO] [stdout] 300 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 301 | | Ok(ClientIp(None)) [INFO] [stdout] 302 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | Ok(ClientIp(None)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/extract.rs:357:40 [INFO] [stdout] | [INFO] [stdout] 357 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 358 | | Ok(T::from_request(cx, parts, body).await.ok()) [INFO] [stdout] 359 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/extract.rs:357:40 [INFO] [stdout] | [INFO] [stdout] 357 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 358 | | Ok(T::from_request(cx, parts, body).await.ok()) [INFO] [stdout] 359 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/extract.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | Ok(T::from_request(cx, parts, body).await.ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: std::result::Result>::Rejection>, std::convert::Infallible> [INFO] [stdout] --> src/server/extract.rs:373:40 [INFO] [stdout] | [INFO] [stdout] 373 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 374 | | Ok(T::from_request(cx, parts, body).await) [INFO] [stdout] 375 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: std::result::Result>::Rejection>, std::convert::Infallible> [INFO] [stdout] --> src/server/extract.rs:373:40 [INFO] [stdout] | [INFO] [stdout] 373 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 374 | | Ok(T::from_request(cx, parts, body).await) [INFO] [stdout] 375 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: std::result::Result>::Rejection>, std::convert::Infallible> [INFO] [stdout] --> src/server/extract.rs:374:9 [INFO] [stdout] | [INFO] [stdout] 374 | Ok(T::from_request(cx, parts, body).await) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/extract.rs:388:40 [INFO] [stdout] | [INFO] [stdout] 388 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 389 | | Ok(Request::from_parts(parts, body)) [INFO] [stdout] 390 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/extract.rs:388:40 [INFO] [stdout] | [INFO] [stdout] 388 | ) -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 389 | | Ok(Request::from_parts(parts, body)) [INFO] [stdout] 390 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/extract.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | Ok(Request::from_parts(parts, body)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:618:44 [INFO] [stdout] | [INFO] [stdout] 618 | ) -> Result { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 619 | | unimplemented!() [INFO] [stdout] 620 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:618:44 [INFO] [stdout] | [INFO] [stdout] 618 | ) -> Result { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 619 | | unimplemented!() [INFO] [stdout] 620 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:631:44 [INFO] [stdout] | [INFO] [stdout] 631 | ) -> Result { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 632 | | unimplemented!() [INFO] [stdout] 633 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:631:44 [INFO] [stdout] | [INFO] [stdout] 631 | ) -> Result { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 632 | | unimplemented!() [INFO] [stdout] 633 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:656:33 [INFO] [stdout] | [INFO] [stdout] 656 | async fn only_result_cx(_: Result) {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:657:34 [INFO] [stdout] | [INFO] [stdout] 657 | async fn only_result_req(_: Result) {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:660:13 [INFO] [stdout] | [INFO] [stdout] 660 | _: Result, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/extract.rs:661:13 [INFO] [stdout] | [INFO] [stdout] 661 | _: Result, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/layer/body_limit.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | let res = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/layer/body_limit.rs:107:46 [INFO] [stdout] | [INFO] [stdout] 107 | let res = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/layer/body_limit.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | let res = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/layer/body_limit.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | let res = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/layer/body_limit.rs:112:46 [INFO] [stdout] | [INFO] [stdout] 112 | let res = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/layer/body_limit.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | let res = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/layer/filter.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/layer/filter.rs:169:47 [INFO] [stdout] | [INFO] [stdout] 169 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/layer/filter.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/layer/filter.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/layer/filter.rs:177:47 [INFO] [stdout] | [INFO] [stdout] 177 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/layer/filter.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/layer/timeout.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/layer/timeout.rs:162:47 [INFO] [stdout] | [INFO] [stdout] 162 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/layer/timeout.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/layer/timeout.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/layer/timeout.rs:169:47 [INFO] [stdout] | [INFO] [stdout] 169 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/layer/timeout.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:217:46 [INFO] [stdout] | [INFO] [stdout] 217 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 218 | | let next = Next { [INFO] [stdout] 219 | | service: Route::new(self.service.clone()), [INFO] [stdout] 220 | | }; [INFO] [stdout] 221 | | Ok(self.f.handle(cx, req, next).await.into_response()) [INFO] [stdout] 222 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:217:46 [INFO] [stdout] | [INFO] [stdout] 217 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 218 | | let next = Next { [INFO] [stdout] 219 | | service: Route::new(self.service.clone()), [INFO] [stdout] 220 | | }; [INFO] [stdout] 221 | | Ok(self.f.handle(cx, req, next).await.into_response()) [INFO] [stdout] 222 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | Ok(self.f.handle(cx, req, next).await.into_response()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:373:45 [INFO] [stdout] | [INFO] [stdout] 373 | ) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 374 | | Ok(Response::new(req.into_body().into())) [INFO] [stdout] 375 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:373:45 [INFO] [stdout] | [INFO] [stdout] 373 | ) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 374 | | Ok(Response::new(req.into_body().into())) [INFO] [stdout] 375 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:374:9 [INFO] [stdout] | [INFO] [stdout] 374 | Ok(Response::new(req.into_body().into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | next.run(cx, req).await.into_response() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:385:27 [INFO] [stdout] | [INFO] [stdout] 385 | next.run(cx, req).await.into_response() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | next.run(cx, req).await.into_response() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:395:24 [INFO] [stdout] | [INFO] [stdout] 395 | let mut resp = next.run(cx, req).await.into_response(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:395:42 [INFO] [stdout] | [INFO] [stdout] 395 | let mut resp = next.run(cx, req).await.into_response(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:395:24 [INFO] [stdout] | [INFO] [stdout] 395 | let mut resp = next.run(cx, req).await.into_response(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:418:20 [INFO] [stdout] | [INFO] [stdout] 418 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:418:47 [INFO] [stdout] | [INFO] [stdout] 418 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:418:20 [INFO] [stdout] | [INFO] [stdout] 418 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:431:20 [INFO] [stdout] | [INFO] [stdout] 431 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:431:47 [INFO] [stdout] | [INFO] [stdout] 431 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:431:20 [INFO] [stdout] | [INFO] [stdout] 431 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:445:20 [INFO] [stdout] | [INFO] [stdout] 445 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:445:47 [INFO] [stdout] | [INFO] [stdout] 445 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:445:20 [INFO] [stdout] | [INFO] [stdout] 445 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:468:20 [INFO] [stdout] | [INFO] [stdout] 468 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:468:47 [INFO] [stdout] | [INFO] [stdout] 468 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:468:20 [INFO] [stdout] | [INFO] [stdout] 468 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:496:13 [INFO] [stdout] | [INFO] [stdout] 496 | next.run(cx, req).await.into_response() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:496:31 [INFO] [stdout] | [INFO] [stdout] 496 | next.run(cx, req).await.into_response() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:496:13 [INFO] [stdout] | [INFO] [stdout] 496 | next.run(cx, req).await.into_response() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:502:43 [INFO] [stdout] | [INFO] [stdout] 502 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 503 | | Ok(Response::new(String::from("Hello, World").into())) [INFO] [stdout] 504 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:502:43 [INFO] [stdout] | [INFO] [stdout] 502 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 503 | | Ok(Response::new(String::from("Hello, World").into())) [INFO] [stdout] 504 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | Ok(Response::new(String::from("Hello, World").into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:509:47 [INFO] [stdout] | [INFO] [stdout] 509 | let _: Result = service [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 510 | | .call( [INFO] [stdout] 511 | | &mut empty_cx(), [INFO] [stdout] 512 | | simple_req(Method::GET, "/", String::from("")), [INFO] [stdout] 513 | | ) [INFO] [stdout] 514 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:514:14 [INFO] [stdout] | [INFO] [stdout] 514 | .await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:509:47 [INFO] [stdout] | [INFO] [stdout] 509 | let _: Result = service [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 510 | | .call( [INFO] [stdout] 511 | | &mut empty_cx(), [INFO] [stdout] 512 | | simple_req(Method::GET, "/", String::from("")), [INFO] [stdout] 513 | | ) [INFO] [stdout] 514 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<((&str, &str), http::Response), std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:532:20 [INFO] [stdout] | [INFO] [stdout] 532 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<((&str, &str), http::Response), std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:532:47 [INFO] [stdout] | [INFO] [stdout] 532 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<((&str, &str), http::Response), std::convert::Infallible> [INFO] [stdout] --> src/server/middleware.rs:532:20 [INFO] [stdout] | [INFO] [stdout] 532 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/param.rs:91:99 [INFO] [stdout] | [INFO] [stdout] 91 | async fn from_context(cx: &mut ServerContext, _: &mut Parts) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 92 | | Ok(cx.params().clone()) [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/param.rs:91:99 [INFO] [stdout] | [INFO] [stdout] 91 | async fn from_context(cx: &mut ServerContext, _: &mut Parts) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 92 | | Ok(cx.params().clone()) [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/param.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(cx.params().clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/param.rs:151:99 [INFO] [stdout] | [INFO] [stdout] 151 | async fn from_context(cx: &mut ServerContext, _: &mut Parts) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 152 | | let params = cx.params(); [INFO] [stdout] 153 | | let mut inner = AHashMap::with_capacity(params.len()); [INFO] [stdout] ... | [INFO] [stdout] 159 | | Ok(Self { inner }) [INFO] [stdout] 160 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/param.rs:151:99 [INFO] [stdout] | [INFO] [stdout] 151 | async fn from_context(cx: &mut ServerContext, _: &mut Parts) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 152 | | let params = cx.params(); [INFO] [stdout] 153 | | let mut inner = AHashMap::with_capacity(params.len()); [INFO] [stdout] ... | [INFO] [stdout] 159 | | Ok(Self { inner }) [INFO] [stdout] 160 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/param.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | Ok(Self { inner }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/param.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | FromStr::from_str(param) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | impl_from_path_param!(String); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_from_path_param` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/server/param.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | FromStr::from_str(param) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | impl_from_path_param!(FastStr); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_from_path_param` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: std::result::Result [INFO] [stdout] --> src/server/response/sse.rs:676:27 [INFO] [stdout] | [INFO] [stdout] 676 | yield Ok(Event::new().event("ping")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: std::result::Result [INFO] [stdout] --> src/server/response/sse.rs:713:23 [INFO] [stdout] | [INFO] [stdout] 713 | yield Ok(Event::new().event("ping")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/utils/client_ip.rs:314:20 [INFO] [stdout] | [INFO] [stdout] 314 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/utils/client_ip.rs:314:47 [INFO] [stdout] | [INFO] [stdout] 314 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/utils/client_ip.rs:314:20 [INFO] [stdout] | [INFO] [stdout] 314 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/utils/client_ip.rs:321:20 [INFO] [stdout] | [INFO] [stdout] 321 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/utils/client_ip.rs:321:47 [INFO] [stdout] | [INFO] [stdout] 321 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/utils/client_ip.rs:321:20 [INFO] [stdout] | [INFO] [stdout] 321 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/utils/client_ip.rs:327:20 [INFO] [stdout] | [INFO] [stdout] 327 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/utils/client_ip.rs:327:47 [INFO] [stdout] | [INFO] [stdout] 327 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/utils/client_ip.rs:327:20 [INFO] [stdout] | [INFO] [stdout] 327 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/utils/client_ip.rs:334:20 [INFO] [stdout] | [INFO] [stdout] 334 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/utils/client_ip.rs:334:47 [INFO] [stdout] | [INFO] [stdout] 334 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, std::convert::Infallible> [INFO] [stdout] --> src/server/utils/client_ip.rs:334:20 [INFO] [stdout] | [INFO] [stdout] 334 | let resp = service.call(&mut cx, req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `volo-http` (lib test) due to 110 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9da316820d4104d85035d1ab848084385e50c54858a852f061db7e63d38a7d7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9da316820d4104d85035d1ab848084385e50c54858a852f061db7e63d38a7d7c", kill_on_drop: false }` [INFO] [stdout] 9da316820d4104d85035d1ab848084385e50c54858a852f061db7e63d38a7d7c