[INFO] fetching crate rama-core 0.3.0-alpha.3... [INFO] checking rama-core-0.3.0-alpha.3 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate rama-core 0.3.0-alpha.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate rama-core 0.3.0-alpha.3 [INFO] finished tweaking crates.io crate rama-core 0.3.0-alpha.3 [INFO] tweaked toml for crates.io crate rama-core 0.3.0-alpha.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rama-core 0.3.0-alpha.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 rama-core 0.3.0-alpha.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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bedf41fd39281a6754068dba3802dabfb58301fcf720e30151087d12e9eded65 [INFO] running `Command { std: "docker" "start" "-a" "bedf41fd39281a6754068dba3802dabfb58301fcf720e30151087d12e9eded65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bedf41fd39281a6754068dba3802dabfb58301fcf720e30151087d12e9eded65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bedf41fd39281a6754068dba3802dabfb58301fcf720e30151087d12e9eded65", kill_on_drop: false }` [INFO] [stdout] bedf41fd39281a6754068dba3802dabfb58301fcf720e30151087d12e9eded65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c699e2851f2a96cb4dad95bb0bfd63ac5efccc01edb56ea8dcde48dbb3c704d [INFO] running `Command { std: "docker" "start" "-a" "0c699e2851f2a96cb4dad95bb0bfd63ac5efccc01edb56ea8dcde48dbb3c704d", kill_on_drop: false }` [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking smol_str v0.3.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking rama-error v0.3.0-alpha.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling rama-macros v0.3.0-alpha.3 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-graceful v0.2.2 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking rama-utils v0.3.0-alpha.3 [INFO] [stderr] Checking rama-core v0.3.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:100:46 [INFO] [stdout] | [INFO] [stdout] 100 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 101 | | match self.inner.serve(ctx, req).await { [INFO] [stdout] 102 | | Ok(resp) => Ok(resp), [INFO] [stdout] 103 | | Err(err) => { [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:100:46 [INFO] [stdout] | [INFO] [stdout] 100 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 101 | | match self.inner.serve(ctx, req).await { [INFO] [stdout] 102 | | Ok(resp) => Ok(resp), [INFO] [stdout] 103 | | Err(err) => { [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | / match self.inner.serve(ctx, req).await { [INFO] [stdout] 102 | | Ok(resp) => Ok(resp), [INFO] [stdout] 103 | | Err(err) => { [INFO] [stdout] 104 | | (self.f)(err); [INFO] [stdout] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | Ok(resp) => Ok(resp), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | Err(err) => { [INFO] [stdout] | _________________________^ [INFO] [stdout] 104 | | (self.f)(err); [INFO] [stdout] 105 | | Ok(S::Response::default()) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | Ok(S::Response::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:126:46 [INFO] [stdout] | [INFO] [stdout] 126 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 127 | | match self.inner.serve(ctx, req).await { [INFO] [stdout] 128 | | Ok(resp) => Ok(resp), [INFO] [stdout] 129 | | Err(err) => { [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:126:46 [INFO] [stdout] | [INFO] [stdout] 126 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 127 | | match self.inner.serve(ctx, req).await { [INFO] [stdout] 128 | | Ok(resp) => Ok(resp), [INFO] [stdout] 129 | | Err(err) => { [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | / match self.inner.serve(ctx, req).await { [INFO] [stdout] 128 | | Ok(resp) => Ok(resp), [INFO] [stdout] 129 | | Err(err) => { [INFO] [stdout] 130 | | (self.f)(err); [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | Ok(resp) => Ok(resp), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | Err(err) => { [INFO] [stdout] | _________________________^ [INFO] [stdout] 130 | | (self.f)(err); [INFO] [stdout] 131 | | Ok(self.response.0.clone().into()) [INFO] [stdout] 132 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | Ok(self.response.0.clone().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:150:46 [INFO] [stdout] | [INFO] [stdout] 150 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 151 | | match self.inner.serve(ctx, req).await { [INFO] [stdout] 152 | | Ok(resp) => Ok(resp), [INFO] [stdout] 153 | | Err(err) => { [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:150:46 [INFO] [stdout] | [INFO] [stdout] 150 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 151 | | match self.inner.serve(ctx, req).await { [INFO] [stdout] 152 | | Ok(resp) => Ok(resp), [INFO] [stdout] 153 | | Err(err) => { [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / match self.inner.serve(ctx, req).await { [INFO] [stdout] 152 | | Ok(resp) => Ok(resp), [INFO] [stdout] 153 | | Err(err) => { [INFO] [stdout] 154 | | const MESSAGE: &str = "unhandled service error consumed"; [INFO] [stdout] ... | [INFO] [stdout] 174 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:152:25 [INFO] [stdout] | [INFO] [stdout] 152 | Ok(resp) => Ok(resp), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | Err(err) => { [INFO] [stdout] | _________________________^ [INFO] [stdout] 154 | | const MESSAGE: &str = "unhandled service error consumed"; [INFO] [stdout] 155 | | match self.f.0 { [INFO] [stdout] 156 | | tracing::Level::TRACE => { [INFO] [stdout] ... | [INFO] [stdout] 172 | | Ok(S::Response::default()) [INFO] [stdout] 173 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | Ok(S::Response::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:192:46 [INFO] [stdout] | [INFO] [stdout] 192 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 193 | | match self.inner.serve(ctx, req).await { [INFO] [stdout] 194 | | Ok(resp) => Ok(resp), [INFO] [stdout] 195 | | Err(err) => { [INFO] [stdout] ... | [INFO] [stdout] 217 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:192:46 [INFO] [stdout] | [INFO] [stdout] 192 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 193 | | match self.inner.serve(ctx, req).await { [INFO] [stdout] 194 | | Ok(resp) => Ok(resp), [INFO] [stdout] 195 | | Err(err) => { [INFO] [stdout] ... | [INFO] [stdout] 217 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | / match self.inner.serve(ctx, req).await { [INFO] [stdout] 194 | | Ok(resp) => Ok(resp), [INFO] [stdout] 195 | | Err(err) => { [INFO] [stdout] 196 | | const MESSAGE: &str = "unhandled service error consumed"; [INFO] [stdout] ... | [INFO] [stdout] 216 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | Ok(resp) => Ok(resp), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:195:25 [INFO] [stdout] | [INFO] [stdout] 195 | Err(err) => { [INFO] [stdout] | _________________________^ [INFO] [stdout] 196 | | const MESSAGE: &str = "unhandled service error consumed"; [INFO] [stdout] 197 | | match self.f.0 { [INFO] [stdout] 198 | | tracing::Level::TRACE => { [INFO] [stdout] ... | [INFO] [stdout] 214 | | Ok(self.response.0.clone().into()) [INFO] [stdout] 215 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | Ok(self.response.0.clone().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(context::Context, Request), Infallible> [INFO] [stdout] --> src/inspect/identity.rs:17:57 [INFO] [stdout] | [INFO] [stdout] 17 | ) -> Result<(Context, Request), Self::Error> { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 18 | | Ok((ctx, req)) [INFO] [stdout] 19 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(context::Context, Request), Infallible> [INFO] [stdout] --> src/inspect/identity.rs:17:57 [INFO] [stdout] | [INFO] [stdout] 17 | ) -> Result<(Context, Request), Self::Error> { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 18 | | Ok((ctx, req)) [INFO] [stdout] 19 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(context::Context, Request), Infallible> [INFO] [stdout] --> src/inspect/identity.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Ok((ctx, req)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rama-core` (lib) due to 27 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:290:50 [INFO] [stdout] | [INFO] [stdout] 290 | ) -> Result { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 291 | | Ok(self.0 + req) [INFO] [stdout] 292 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:290:50 [INFO] [stdout] | [INFO] [stdout] 290 | ) -> Result { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 291 | | Ok(self.0 + req) [INFO] [stdout] 292 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | Ok(self.0 + req) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:306:50 [INFO] [stdout] | [INFO] [stdout] 306 | ) -> Result { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 307 | | Ok(self.0 * req) [INFO] [stdout] 308 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:306:50 [INFO] [stdout] | [INFO] [stdout] 306 | ) -> Result { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 307 | | Ok(self.0 * req) [INFO] [stdout] 308 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | Ok(self.0 * req) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:337:24 [INFO] [stdout] | [INFO] [stdout] 337 | let response = svc.serve(ctx, 1).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:337:42 [INFO] [stdout] | [INFO] [stdout] 337 | let response = svc.serve(ctx, 1).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:337:24 [INFO] [stdout] | [INFO] [stdout] 337 | let response = svc.serve(ctx, 1).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:348:28 [INFO] [stdout] | [INFO] [stdout] 348 | let response = svc.serve(ctx.clone(), i).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:348:54 [INFO] [stdout] | [INFO] [stdout] 348 | let response = svc.serve(ctx.clone(), i).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:348:28 [INFO] [stdout] | [INFO] [stdout] 348 | let response = svc.serve(ctx.clone(), i).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:366:28 [INFO] [stdout] | [INFO] [stdout] 366 | let response = svc.serve(ctx.clone(), i).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:366:54 [INFO] [stdout] | [INFO] [stdout] 366 | let response = svc.serve(ctx.clone(), i).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:366:28 [INFO] [stdout] | [INFO] [stdout] 366 | let response = svc.serve(ctx.clone(), i).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:381:24 [INFO] [stdout] | [INFO] [stdout] 381 | let response = svc.serve(ctx, 1).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:381:42 [INFO] [stdout] | [INFO] [stdout] 381 | let response = svc.serve(ctx, 1).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:381:24 [INFO] [stdout] | [INFO] [stdout] 381 | let response = svc.serve(ctx, 1).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:391:24 [INFO] [stdout] | [INFO] [stdout] 391 | let response = svc.serve(ctx, 1).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:391:42 [INFO] [stdout] | [INFO] [stdout] 391 | let response = svc.serve(ctx, 1).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/service/svc.rs:391:24 [INFO] [stdout] | [INFO] [stdout] 391 | let response = svc.serve(ctx, 1).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, std::convert::Infallible> [INFO] [stdout] --> src/layer/layer_fn.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | let f = async |_, req| Ok::<_, Infallible>(req); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, std::convert::Infallible> [INFO] [stdout] --> src/layer/layer_fn.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | let f = async |_, req| Ok::<_, Infallible>(req); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/layer_fn.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | let res = layer [INFO] [stdout] | ___________________^ [INFO] [stdout] 116 | | .layer(service_fn(f)) [INFO] [stdout] 117 | | .serve(Context::default(), "hello") [INFO] [stdout] 118 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/layer_fn.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | .await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/layer_fn.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | let res = layer [INFO] [stdout] | ___________________^ [INFO] [stdout] 116 | | .layer(service_fn(f)) [INFO] [stdout] 117 | | .serve(Context::default(), "hello") [INFO] [stdout] 118 | | .await; [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/layer_fn.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(res, Ok("HELLO".to_owned())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/layer_fn.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(res, Ok("HELLO".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/layer_fn.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(res, Ok("HELLO".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (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: Result [INFO] [stdout] --> src/layer/layer_fn.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(res, Ok("HELLO".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (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: Result [INFO] [stdout] --> src/layer/layer_fn.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(res, Ok("HELLO".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (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: Result [INFO] [stdout] --> src/layer/layer_fn.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(res, Ok("HELLO".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (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: Result [INFO] [stdout] --> src/layer/layer_fn.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | let res = svc.serve(Context::default(), "hello").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/layer_fn.rs:123:58 [INFO] [stdout] | [INFO] [stdout] 123 | let res = svc.serve(Context::default(), "hello").await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/layer_fn.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | let res = svc.serve(Context::default(), "hello").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/layer_fn.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | assert_eq!(res, Ok("HELLO".to_owned())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/layer_fn.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | assert_eq!(res, Ok("HELLO".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/layer_fn.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | assert_eq!(res, Ok("HELLO".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (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: Result [INFO] [stdout] --> src/layer/layer_fn.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | assert_eq!(res, Ok("HELLO".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (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: Result [INFO] [stdout] --> src/layer/layer_fn.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | assert_eq!(res, Ok("HELLO".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (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: Result [INFO] [stdout] --> src/layer/layer_fn.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | assert_eq!(res, Ok("HELLO".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (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: Result [INFO] [stdout] --> src/layer/layer_fn.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | let res = svc.clone().serve(Context::default(), "hello").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/layer_fn.rs:125:66 [INFO] [stdout] | [INFO] [stdout] 125 | let res = svc.clone().serve(Context::default(), "hello").await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/layer_fn.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | let res = svc.clone().serve(Context::default(), "hello").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/layer_fn.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | assert_eq!(res, Ok("HELLO".to_owned())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/layer_fn.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | assert_eq!(res, Ok("HELLO".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/layer_fn.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | assert_eq!(res, Ok("HELLO".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (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: Result [INFO] [stdout] --> src/layer/layer_fn.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | assert_eq!(res, Ok("HELLO".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (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: Result [INFO] [stdout] --> src/layer/layer_fn.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | assert_eq!(res, Ok("HELLO".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (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: Result [INFO] [stdout] --> src/layer/layer_fn.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | assert_eq!(res, Ok("HELLO".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (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: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:100:46 [INFO] [stdout] | [INFO] [stdout] 100 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 101 | | match self.inner.serve(ctx, req).await { [INFO] [stdout] 102 | | Ok(resp) => Ok(resp), [INFO] [stdout] 103 | | Err(err) => { [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:100:46 [INFO] [stdout] | [INFO] [stdout] 100 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 101 | | match self.inner.serve(ctx, req).await { [INFO] [stdout] 102 | | Ok(resp) => Ok(resp), [INFO] [stdout] 103 | | Err(err) => { [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | / match self.inner.serve(ctx, req).await { [INFO] [stdout] 102 | | Ok(resp) => Ok(resp), [INFO] [stdout] 103 | | Err(err) => { [INFO] [stdout] 104 | | (self.f)(err); [INFO] [stdout] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | Ok(resp) => Ok(resp), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | Err(err) => { [INFO] [stdout] | _________________________^ [INFO] [stdout] 104 | | (self.f)(err); [INFO] [stdout] 105 | | Ok(S::Response::default()) [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | Ok(S::Response::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:126:46 [INFO] [stdout] | [INFO] [stdout] 126 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 127 | | match self.inner.serve(ctx, req).await { [INFO] [stdout] 128 | | Ok(resp) => Ok(resp), [INFO] [stdout] 129 | | Err(err) => { [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:126:46 [INFO] [stdout] | [INFO] [stdout] 126 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 127 | | match self.inner.serve(ctx, req).await { [INFO] [stdout] 128 | | Ok(resp) => Ok(resp), [INFO] [stdout] 129 | | Err(err) => { [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | / match self.inner.serve(ctx, req).await { [INFO] [stdout] 128 | | Ok(resp) => Ok(resp), [INFO] [stdout] 129 | | Err(err) => { [INFO] [stdout] 130 | | (self.f)(err); [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | Ok(resp) => Ok(resp), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | Err(err) => { [INFO] [stdout] | _________________________^ [INFO] [stdout] 130 | | (self.f)(err); [INFO] [stdout] 131 | | Ok(self.response.0.clone().into()) [INFO] [stdout] 132 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | Ok(self.response.0.clone().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:150:46 [INFO] [stdout] | [INFO] [stdout] 150 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 151 | | match self.inner.serve(ctx, req).await { [INFO] [stdout] 152 | | Ok(resp) => Ok(resp), [INFO] [stdout] 153 | | Err(err) => { [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:150:46 [INFO] [stdout] | [INFO] [stdout] 150 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 151 | | match self.inner.serve(ctx, req).await { [INFO] [stdout] 152 | | Ok(resp) => Ok(resp), [INFO] [stdout] 153 | | Err(err) => { [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / match self.inner.serve(ctx, req).await { [INFO] [stdout] 152 | | Ok(resp) => Ok(resp), [INFO] [stdout] 153 | | Err(err) => { [INFO] [stdout] 154 | | const MESSAGE: &str = "unhandled service error consumed"; [INFO] [stdout] ... | [INFO] [stdout] 174 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:152:25 [INFO] [stdout] | [INFO] [stdout] 152 | Ok(resp) => Ok(resp), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | Err(err) => { [INFO] [stdout] | _________________________^ [INFO] [stdout] 154 | | const MESSAGE: &str = "unhandled service error consumed"; [INFO] [stdout] 155 | | match self.f.0 { [INFO] [stdout] 156 | | tracing::Level::TRACE => { [INFO] [stdout] ... | [INFO] [stdout] 172 | | Ok(S::Response::default()) [INFO] [stdout] 173 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | Ok(S::Response::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:192:46 [INFO] [stdout] | [INFO] [stdout] 192 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 193 | | match self.inner.serve(ctx, req).await { [INFO] [stdout] 194 | | Ok(resp) => Ok(resp), [INFO] [stdout] 195 | | Err(err) => { [INFO] [stdout] ... | [INFO] [stdout] 217 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:192:46 [INFO] [stdout] | [INFO] [stdout] 192 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 193 | | match self.inner.serve(ctx, req).await { [INFO] [stdout] 194 | | Ok(resp) => Ok(resp), [INFO] [stdout] 195 | | Err(err) => { [INFO] [stdout] ... | [INFO] [stdout] 217 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | / match self.inner.serve(ctx, req).await { [INFO] [stdout] 194 | | Ok(resp) => Ok(resp), [INFO] [stdout] 195 | | Err(err) => { [INFO] [stdout] 196 | | const MESSAGE: &str = "unhandled service error consumed"; [INFO] [stdout] ... | [INFO] [stdout] 216 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | Ok(resp) => Ok(resp), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:195:25 [INFO] [stdout] | [INFO] [stdout] 195 | Err(err) => { [INFO] [stdout] | _________________________^ [INFO] [stdout] 196 | | const MESSAGE: &str = "unhandled service error consumed"; [INFO] [stdout] 197 | | match self.f.0 { [INFO] [stdout] 198 | | tracing::Level::TRACE => { [INFO] [stdout] ... | [INFO] [stdout] 214 | | Ok(self.response.0.clone().into()) [INFO] [stdout] 215 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<>::Response, std::convert::Infallible> [INFO] [stdout] --> src/layer/consume_err.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | Ok(self.response.0.clone().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, std::convert::Infallible> [INFO] [stdout] --> src/layer/limit/mod.rs:209:47 [INFO] [stdout] | [INFO] [stdout] 209 | ) -> Result<&'static str, Infallible> { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 210 | | Ok("good") [INFO] [stdout] 211 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, std::convert::Infallible> [INFO] [stdout] --> src/layer/limit/mod.rs:209:47 [INFO] [stdout] | [INFO] [stdout] 209 | ) -> Result<&'static str, Infallible> { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 210 | | Ok("good") [INFO] [stdout] 211 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, std::convert::Infallible> [INFO] [stdout] --> src/layer/limit/mod.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | Ok("good") [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, std::convert::Infallible> [INFO] [stdout] --> src/layer/limit/mod.rs:215:50 [INFO] [stdout] | [INFO] [stdout] 215 | .with_error_into_response_fn(|_| Ok::<_, Infallible>("bad")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, std::convert::Infallible> [INFO] [stdout] --> src/layer/limit/mod.rs:219:20 [INFO] [stdout] | [INFO] [stdout] 219 | let resp = service.serve(Context::default(), "Hello").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, std::convert::Infallible> [INFO] [stdout] --> src/layer/limit/mod.rs:219:63 [INFO] [stdout] | [INFO] [stdout] 219 | let resp = service.serve(Context::default(), "Hello").await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<&str, std::convert::Infallible> [INFO] [stdout] --> src/layer/limit/mod.rs:219:20 [INFO] [stdout] | [INFO] [stdout] 219 | let resp = service.serve(Context::default(), "Hello").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/add_extension.rs:184:48 [INFO] [stdout] | [INFO] [stdout] 184 | async |ctx: Context<()>, _req: ()| { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 185 | | let state = ctx.get::>().unwrap(); [INFO] [stdout] 186 | | Ok::<_, Infallible>(state.0) [INFO] [stdout] 187 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/add_extension.rs:184:48 [INFO] [stdout] | [INFO] [stdout] 184 | async |ctx: Context<()>, _req: ()| { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 185 | | let state = ctx.get::>().unwrap(); [INFO] [stdout] 186 | | Ok::<_, Infallible>(state.0) [INFO] [stdout] 187 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/add_extension.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | Ok::<_, Infallible>(state.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/add_extension.rs:190:19 [INFO] [stdout] | [INFO] [stdout] 190 | let res = svc.serve(Context::default(), ()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/add_extension.rs:190:53 [INFO] [stdout] | [INFO] [stdout] 190 | let res = svc.serve(Context::default(), ()).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/add_extension.rs:190:19 [INFO] [stdout] | [INFO] [stdout] 190 | let res = svc.serve(Context::default(), ()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/get_extension.rs:176:67 [INFO] [stdout] | [INFO] [stdout] 176 | .into_layer(service_fn(async |ctx: Context<()>, _req: ()| { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 177 | | let state = ctx.get::().unwrap(); [INFO] [stdout] 178 | | Ok::<_, Infallible>(state.0) [INFO] [stdout] 179 | | })); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/get_extension.rs:176:67 [INFO] [stdout] | [INFO] [stdout] 176 | .into_layer(service_fn(async |ctx: Context<()>, _req: ()| { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 177 | | let state = ctx.get::().unwrap(); [INFO] [stdout] 178 | | Ok::<_, Infallible>(state.0) [INFO] [stdout] 179 | | })); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/get_extension.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | Ok::<_, Infallible>(state.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/get_extension.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | let res = svc.serve(ctx, ()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/get_extension.rs:184:38 [INFO] [stdout] | [INFO] [stdout] 184 | let res = svc.serve(ctx, ()).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/layer/get_extension.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | let res = svc.serve(ctx, ()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(context::Context, Request), std::convert::Infallible> [INFO] [stdout] --> src/inspect/identity.rs:17:57 [INFO] [stdout] | [INFO] [stdout] 17 | ) -> Result<(Context, Request), Self::Error> { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 18 | | Ok((ctx, req)) [INFO] [stdout] 19 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(context::Context, Request), std::convert::Infallible> [INFO] [stdout] --> src/inspect/identity.rs:17:57 [INFO] [stdout] | [INFO] [stdout] 17 | ) -> Result<(Context, Request), Self::Error> { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 18 | | Ok((ctx, req)) [INFO] [stdout] 19 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(context::Context, Request), std::convert::Infallible> [INFO] [stdout] --> src/inspect/identity.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Ok((ctx, req)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rama-core` (lib test) due to 96 previous errors [INFO] running `Command { std: "docker" "inspect" "0c699e2851f2a96cb4dad95bb0bfd63ac5efccc01edb56ea8dcde48dbb3c704d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c699e2851f2a96cb4dad95bb0bfd63ac5efccc01edb56ea8dcde48dbb3c704d", kill_on_drop: false }` [INFO] [stdout] 0c699e2851f2a96cb4dad95bb0bfd63ac5efccc01edb56ea8dcde48dbb3c704d