[INFO] fetching crate axum_guard_logic 0.3.3... [INFO] checking axum_guard_logic-0.3.3 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate axum_guard_logic 0.3.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate axum_guard_logic 0.3.3 [INFO] finished tweaking crates.io crate axum_guard_logic 0.3.3 [INFO] tweaked toml for crates.io crate axum_guard_logic 0.3.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate axum_guard_logic 0.3.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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 89 packages to latest compatible versions [INFO] [stderr] Adding axum v0.6.20 (available: v0.8.6) [INFO] [stderr] Adding axum-core v0.3.4 (available: v0.5.5) [INFO] [stderr] Adding axum-macros v0.3.8 (available: v0.5.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.2) [INFO] [stderr] Adding tower-http v0.3.5 (available: v0.6.6) [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] 960f61c54f2f9d1ed525bcfc876a064e7e1fff8a202813e7f73d33bce30537c7 [INFO] running `Command { std: "docker" "start" "-a" "960f61c54f2f9d1ed525bcfc876a064e7e1fff8a202813e7f73d33bce30537c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "960f61c54f2f9d1ed525bcfc876a064e7e1fff8a202813e7f73d33bce30537c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "960f61c54f2f9d1ed525bcfc876a064e7e1fff8a202813e7f73d33bce30537c7", kill_on_drop: false }` [INFO] [stdout] 960f61c54f2f9d1ed525bcfc876a064e7e1fff8a202813e7f73d33bce30537c7 [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] e64af801c25f86c51841599198b414310f528026cb462b33d565cd98666e5732 [INFO] running `Command { std: "docker" "start" "-a" "e64af801c25f86c51841599198b414310f528026cb462b33d565cd98666e5732", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling axum-macros v0.3.8 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking tower-http v0.3.5 [INFO] [stderr] Checking axum_guard_logic v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhantomPinned` [INFO] [stdout] --> src/lib.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use std::marker::{PhantomData, PhantomPinned}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pin` [INFO] [stdout] --> src/lib.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::pin::{Pin}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/lib.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum_core::body::BoxBody` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use axum_core::body::BoxBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum_core::BoxError` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use axum_core::BoxError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_core::ready` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use futures_core::ready; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PhantomPinned` [INFO] [stdout] --> src/lib.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use std::marker::{PhantomData, PhantomPinned}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pin` [INFO] [stdout] --> src/lib.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::pin::{Pin}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/lib.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum_core::BoxError` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use axum_core::BoxError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_core::ready` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use futures_core::ready; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HandleErrorLayer` and `HandleError` [INFO] [stdout] --> src/lib.rs:359:32 [INFO] [stdout] | [INFO] [stdout] 359 | use axum::error_handling::{HandleError, HandleErrorLayer}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::BoxError` [INFO] [stdout] --> src/lib.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | use axum::BoxError; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::extract::State` [INFO] [stdout] --> src/lib.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | use axum::extract::State; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ServiceBuilder` and `service_fn` [INFO] [stdout] --> src/lib.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | use tower::{service_fn, ServiceBuilder}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/lib.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/lib.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/lib.rs:281:30 [INFO] [stdout] | [INFO] [stdout] 281 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/lib.rs:330:30 [INFO] [stdout] | [INFO] [stdout] 330 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:138:29 [INFO] [stdout] | [INFO] [stdout] 138 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 139 | | match f.await { [INFO] [stdout] 140 | | Ok(GuardServiceResponse(result,parts)) => { [INFO] [stdout] 141 | | if result.0 { [INFO] [stdout] ... | [INFO] [stdout] 152 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | / match f.await { [INFO] [stdout] 140 | | Ok(GuardServiceResponse(result,parts)) => { [INFO] [stdout] 141 | | if result.0 { [INFO] [stdout] 142 | | inner.call(Request::from_parts(parts,body)) [INFO] [stdout] ... | [INFO] [stdout] 151 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:140:59 [INFO] [stdout] | [INFO] [stdout] 140 | Ok(GuardServiceResponse(result,parts)) => { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 141 | | if result.0 { [INFO] [stdout] 142 | | inner.call(Request::from_parts(parts,body)) [INFO] [stdout] 143 | | .await [INFO] [stdout] ... | [INFO] [stdout] 147 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | / if result.0 { [INFO] [stdout] 142 | | inner.call(Request::from_parts(parts,body)) [INFO] [stdout] 143 | | .await [INFO] [stdout] 144 | | } else { [INFO] [stdout] 145 | | Ok((StatusCode::UNAUTHORIZED,result.1.unwrap_or_default()).into_response()) [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 141 | if result.0 { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 142 | | inner.call(Request::from_parts(parts,body)) [INFO] [stdout] 143 | | .await [INFO] [stdout] 144 | | } else { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | / inner.call(Request::from_parts(parts,body)) [INFO] [stdout] 143 | | .await [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:143:30 [INFO] [stdout] | [INFO] [stdout] 143 | ... .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | / inner.call(Request::from_parts(parts,body)) [INFO] [stdout] 143 | | .await [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | } else { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 145 | | Ok((StatusCode::UNAUTHORIZED,result.1.unwrap_or_default()).into_response()) [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | Ok((StatusCode::UNAUTHORIZED,result.1.unwrap_or_default()).into_response()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | Err(status) => { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 149 | | Ok(status.into_response()) [INFO] [stdout] 150 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | Ok(status.into_response()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `axum_guard_logic` (lib) due to 12 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `axum::handler::Handler` [INFO] [stdout] --> src/lib.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | use axum::handler::Handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/lib.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/lib.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/lib.rs:281:30 [INFO] [stdout] | [INFO] [stdout] 281 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/lib.rs:330:30 [INFO] [stdout] | [INFO] [stdout] 330 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lib.rs:391:31 [INFO] [stdout] | [INFO] [stdout] 391 | .map_err(|err| (StatusCode::INTERNAL_SERVER_ERROR,"error".into()))? [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:138:29 [INFO] [stdout] | [INFO] [stdout] 138 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 139 | | match f.await { [INFO] [stdout] 140 | | Ok(GuardServiceResponse(result,parts)) => { [INFO] [stdout] 141 | | if result.0 { [INFO] [stdout] ... | [INFO] [stdout] 152 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | / match f.await { [INFO] [stdout] 140 | | Ok(GuardServiceResponse(result,parts)) => { [INFO] [stdout] 141 | | if result.0 { [INFO] [stdout] 142 | | inner.call(Request::from_parts(parts,body)) [INFO] [stdout] ... | [INFO] [stdout] 151 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:140:59 [INFO] [stdout] | [INFO] [stdout] 140 | Ok(GuardServiceResponse(result,parts)) => { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 141 | | if result.0 { [INFO] [stdout] 142 | | inner.call(Request::from_parts(parts,body)) [INFO] [stdout] 143 | | .await [INFO] [stdout] ... | [INFO] [stdout] 147 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | / if result.0 { [INFO] [stdout] 142 | | inner.call(Request::from_parts(parts,body)) [INFO] [stdout] 143 | | .await [INFO] [stdout] 144 | | } else { [INFO] [stdout] 145 | | Ok((StatusCode::UNAUTHORIZED,result.1.unwrap_or_default()).into_response()) [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 141 | if result.0 { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 142 | | inner.call(Request::from_parts(parts,body)) [INFO] [stdout] 143 | | .await [INFO] [stdout] 144 | | } else { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | / inner.call(Request::from_parts(parts,body)) [INFO] [stdout] 143 | | .await [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:143:30 [INFO] [stdout] | [INFO] [stdout] 143 | ... .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | / inner.call(Request::from_parts(parts,body)) [INFO] [stdout] 143 | | .await [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | } else { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 145 | | Ok((StatusCode::UNAUTHORIZED,result.1.unwrap_or_default()).into_response()) [INFO] [stdout] 146 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | Ok((StatusCode::UNAUTHORIZED,result.1.unwrap_or_default()).into_response()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | Err(status) => { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 149 | | Ok(status.into_response()) [INFO] [stdout] 150 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | Ok(status.into_response()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:548:20 [INFO] [stdout] | [INFO] [stdout] 548 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:548:37 [INFO] [stdout] | [INFO] [stdout] 548 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:548:20 [INFO] [stdout] | [INFO] [stdout] 548 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:573:20 [INFO] [stdout] | [INFO] [stdout] 573 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:573:37 [INFO] [stdout] | [INFO] [stdout] 573 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:573:20 [INFO] [stdout] | [INFO] [stdout] 573 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:598:20 [INFO] [stdout] | [INFO] [stdout] 598 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:598:37 [INFO] [stdout] | [INFO] [stdout] 598 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:598:20 [INFO] [stdout] | [INFO] [stdout] 598 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:624:20 [INFO] [stdout] | [INFO] [stdout] 624 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:624:37 [INFO] [stdout] | [INFO] [stdout] 624 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:624:20 [INFO] [stdout] | [INFO] [stdout] 624 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:650:20 [INFO] [stdout] | [INFO] [stdout] 650 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:650:37 [INFO] [stdout] | [INFO] [stdout] 650 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:650:20 [INFO] [stdout] | [INFO] [stdout] 650 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:706:20 [INFO] [stdout] | [INFO] [stdout] 706 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:706:37 [INFO] [stdout] | [INFO] [stdout] 706 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:706:20 [INFO] [stdout] | [INFO] [stdout] 706 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:727:20 [INFO] [stdout] | [INFO] [stdout] 727 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:727:37 [INFO] [stdout] | [INFO] [stdout] 727 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:727:20 [INFO] [stdout] | [INFO] [stdout] 727 | let resp = app.oneshot(req).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:741:24 [INFO] [stdout] | [INFO] [stdout] 741 | let response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 742 | | .oneshot( [INFO] [stdout] 743 | | Request::builder() [INFO] [stdout] 744 | | .header("x","x") [INFO] [stdout] ... | [INFO] [stdout] 749 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:749:14 [INFO] [stdout] | [INFO] [stdout] 749 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/lib.rs:741:24 [INFO] [stdout] | [INFO] [stdout] 741 | let response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 742 | | .oneshot( [INFO] [stdout] 743 | | Request::builder() [INFO] [stdout] 744 | | .header("x","x") [INFO] [stdout] ... | [INFO] [stdout] 749 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `axum_guard_logic` (lib test) due to 36 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e64af801c25f86c51841599198b414310f528026cb462b33d565cd98666e5732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e64af801c25f86c51841599198b414310f528026cb462b33d565cd98666e5732", kill_on_drop: false }` [INFO] [stdout] e64af801c25f86c51841599198b414310f528026cb462b33d565cd98666e5732