[INFO] cloning repository https://github.com/prabhat-g97/StackPop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prabhat-g97/StackPop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprabhat-g97%2FStackPop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprabhat-g97%2FStackPop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99b7efb56f676927ee70ba5eeaab9841f7ce448e [INFO] checking prabhat-g97/StackPop against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprabhat-g97%2FStackPop" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/prabhat-g97/StackPop [INFO] finished tweaking git repo https://github.com/prabhat-g97/StackPop [INFO] tweaked toml for git repo https://github.com/prabhat-g97/StackPop written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/prabhat-g97/StackPop on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/prabhat-g97/StackPop 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] ff0da3fd641b25247687b43d0dc36e0c30f5f79d0987ea98a26596579c6ebc84 [INFO] running `Command { std: "docker" "start" "-a" "ff0da3fd641b25247687b43d0dc36e0c30f5f79d0987ea98a26596579c6ebc84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff0da3fd641b25247687b43d0dc36e0c30f5f79d0987ea98a26596579c6ebc84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff0da3fd641b25247687b43d0dc36e0c30f5f79d0987ea98a26596579c6ebc84", kill_on_drop: false }` [INFO] [stdout] ff0da3fd641b25247687b43d0dc36e0c30f5f79d0987ea98a26596579c6ebc84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 87ef6856edafa970898a805afa70a2d47dceeb35d449b217555523a6aec9cf10 [INFO] running `Command { std: "docker" "start" "-a" "87ef6856edafa970898a805afa70a2d47dceeb35d449b217555523a6aec9cf10", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling rust_decimal v1.39.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking stackpop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `OrderStatus` [INFO] [stdout] --> src/cache/hot_cache.rs:376:43 [INFO] [stdout] | [INFO] [stdout] 376 | use crate::models::order::{OrderItem, OrderStatus}; [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: `std::time::Duration` [INFO] [stdout] --> src/cache/cached_repository.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cache/cache_entry.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut entry2 = CacheEntry::new("data2".to_string(), ttl); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `invalidation_cache` [INFO] [stdout] --> src/cache/hot_cache.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let invalidation_cache = cache.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invalidation_cache` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `invalidation_lru` [INFO] [stdout] --> src/cache/hot_cache.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let invalidation_lru = lru_tracker.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invalidation_lru` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `invalidation_cache` [INFO] [stdout] --> src/cache/hot_cache.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let invalidation_cache = cache.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invalidation_cache` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `invalidation_lru` [INFO] [stdout] --> src/cache/hot_cache.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let invalidation_lru = lru_tracker.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invalidation_lru` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> src/cache/invalidation.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let manager = InvalidationManager::new_local(100); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `handle_invalidation_events` and `remove_from_lru_static` are never used [INFO] [stdout] --> src/cache/hot_cache.rs:198:14 [INFO] [stdout] | [INFO] [stdout] 49 | impl HotOrderCache { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | async fn handle_invalidation_events( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | async fn remove_from_lru_static(lru_tracker: &Arc>>, order_id: &Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `handle_invalidation_events` and `remove_from_lru_static` are never used [INFO] [stdout] --> src/cache/hot_cache.rs:198:14 [INFO] [stdout] | [INFO] [stdout] 49 | impl HotOrderCache { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | async fn handle_invalidation_events( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | async fn remove_from_lru_static(lru_tracker: &Arc>>, order_id: &Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let response = app [INFO] [stdout] | ____________________^ [INFO] [stdout] 44 | | .oneshot( [INFO] [stdout] 45 | | Request::builder() [INFO] [stdout] 46 | | .method(http::Method::POST) [INFO] [stdout] ... | [INFO] [stdout] 52 | | .await [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] --> tests/integration_tests.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let response = app [INFO] [stdout] | ____________________^ [INFO] [stdout] 44 | | .oneshot( [INFO] [stdout] 45 | | Request::builder() [INFO] [stdout] 46 | | .method(http::Method::POST) [INFO] [stdout] ... | [INFO] [stdout] 52 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | let response = app [INFO] [stdout] | ____________________^ [INFO] [stdout] 74 | | .oneshot( [INFO] [stdout] 75 | | Request::builder() [INFO] [stdout] 76 | | .method(http::Method::POST) [INFO] [stdout] ... | [INFO] [stdout] 82 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | let response = app [INFO] [stdout] | ____________________^ [INFO] [stdout] 74 | | .oneshot( [INFO] [stdout] 75 | | Request::builder() [INFO] [stdout] 76 | | .method(http::Method::POST) [INFO] [stdout] ... | [INFO] [stdout] 82 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | let response = app [INFO] [stdout] | ____________________^ [INFO] [stdout] 99 | | .oneshot( [INFO] [stdout] 100 | | Request::builder() [INFO] [stdout] 101 | | .method(http::Method::GET) [INFO] [stdout] ... | [INFO] [stdout] 106 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | let response = app [INFO] [stdout] | ____________________^ [INFO] [stdout] 99 | | .oneshot( [INFO] [stdout] 100 | | Request::builder() [INFO] [stdout] 101 | | .method(http::Method::GET) [INFO] [stdout] ... | [INFO] [stdout] 106 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OrderStatus` [INFO] [stdout] --> src/cache/hot_cache.rs:376:43 [INFO] [stdout] | [INFO] [stdout] 376 | use crate::models::order::{OrderItem, OrderStatus}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | let response = app [INFO] [stdout] | ____________________^ [INFO] [stdout] 122 | | .oneshot( [INFO] [stdout] 123 | | Request::builder() [INFO] [stdout] 124 | | .method(http::Method::GET) [INFO] [stdout] ... | [INFO] [stdout] 129 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | let response = app [INFO] [stdout] | ____________________^ [INFO] [stdout] 122 | | .oneshot( [INFO] [stdout] 123 | | Request::builder() [INFO] [stdout] 124 | | .method(http::Method::GET) [INFO] [stdout] ... | [INFO] [stdout] 129 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 156 | let create_response = app [INFO] [stdout] | ___________________________^ [INFO] [stdout] 157 | | .clone() [INFO] [stdout] 158 | | .oneshot( [INFO] [stdout] 159 | | Request::builder() [INFO] [stdout] ... | [INFO] [stdout] 166 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/cache/cached_repository.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 156 | let create_response = app [INFO] [stdout] | ___________________________^ [INFO] [stdout] 157 | | .clone() [INFO] [stdout] 158 | | .oneshot( [INFO] [stdout] 159 | | Request::builder() [INFO] [stdout] ... | [INFO] [stdout] 166 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | let get_response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 177 | | .clone() [INFO] [stdout] 178 | | .oneshot( [INFO] [stdout] 179 | | Request::builder() [INFO] [stdout] ... | [INFO] [stdout] 185 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:185:10 [INFO] [stdout] | [INFO] [stdout] 185 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | let get_response = app [INFO] [stdout] | ________________________^ [INFO] [stdout] 177 | | .clone() [INFO] [stdout] 178 | | .oneshot( [INFO] [stdout] 179 | | Request::builder() [INFO] [stdout] ... | [INFO] [stdout] 185 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | let update_response = app [INFO] [stdout] | ___________________________^ [INFO] [stdout] 203 | | .clone() [INFO] [stdout] 204 | | .oneshot( [INFO] [stdout] 205 | | Request::builder() [INFO] [stdout] ... | [INFO] [stdout] 212 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | let update_response = app [INFO] [stdout] | ___________________________^ [INFO] [stdout] 203 | | .clone() [INFO] [stdout] 204 | | .oneshot( [INFO] [stdout] 205 | | Request::builder() [INFO] [stdout] ... | [INFO] [stdout] 212 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | let list_response = app [INFO] [stdout] | _________________________^ [INFO] [stdout] 224 | | .clone() [INFO] [stdout] 225 | | .oneshot( [INFO] [stdout] 226 | | Request::builder() [INFO] [stdout] ... | [INFO] [stdout] 232 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:232:10 [INFO] [stdout] | [INFO] [stdout] 232 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | let list_response = app [INFO] [stdout] | _________________________^ [INFO] [stdout] 224 | | .clone() [INFO] [stdout] 225 | | .oneshot( [INFO] [stdout] 226 | | Request::builder() [INFO] [stdout] ... | [INFO] [stdout] 232 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:243:27 [INFO] [stdout] | [INFO] [stdout] 243 | let delete_response = app [INFO] [stdout] | ___________________________^ [INFO] [stdout] 244 | | .oneshot( [INFO] [stdout] 245 | | Request::builder() [INFO] [stdout] 246 | | .method(http::Method::DELETE) [INFO] [stdout] ... | [INFO] [stdout] 251 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:243:27 [INFO] [stdout] | [INFO] [stdout] 243 | let delete_response = app [INFO] [stdout] | ___________________________^ [INFO] [stdout] 244 | | .oneshot( [INFO] [stdout] 245 | | Request::builder() [INFO] [stdout] 246 | | .method(http::Method::DELETE) [INFO] [stdout] ... | [INFO] [stdout] 251 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | let response = app [INFO] [stdout] | ____________________^ [INFO] [stdout] 272 | | .oneshot( [INFO] [stdout] 273 | | Request::builder() [INFO] [stdout] 274 | | .method(http::Method::PUT) [INFO] [stdout] ... | [INFO] [stdout] 280 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:280:10 [INFO] [stdout] | [INFO] [stdout] 280 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | let response = app [INFO] [stdout] | ____________________^ [INFO] [stdout] 272 | | .oneshot( [INFO] [stdout] 273 | | Request::builder() [INFO] [stdout] 274 | | .method(http::Method::PUT) [INFO] [stdout] ... | [INFO] [stdout] 280 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:291:20 [INFO] [stdout] | [INFO] [stdout] 291 | let response = app [INFO] [stdout] | ____________________^ [INFO] [stdout] 292 | | .oneshot( [INFO] [stdout] 293 | | Request::builder() [INFO] [stdout] 294 | | .method(http::Method::DELETE) [INFO] [stdout] ... | [INFO] [stdout] 299 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:299:10 [INFO] [stdout] | [INFO] [stdout] 299 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stackpop` (test "integration_tests") due to 33 previous errors [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> tests/integration_tests.rs:291:20 [INFO] [stdout] | [INFO] [stdout] 291 | let response = app [INFO] [stdout] | ____________________^ [INFO] [stdout] 292 | | .oneshot( [INFO] [stdout] 293 | | Request::builder() [INFO] [stdout] 294 | | .method(http::Method::DELETE) [INFO] [stdout] ... | [INFO] [stdout] 299 | | .await [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cache/cache_entry.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut entry2 = CacheEntry::new("data2".to_string(), ttl); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `invalidation_cache` [INFO] [stdout] --> src/cache/hot_cache.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let invalidation_cache = cache.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invalidation_cache` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `invalidation_lru` [INFO] [stdout] --> src/cache/hot_cache.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let invalidation_lru = lru_tracker.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invalidation_lru` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> src/cache/invalidation.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let manager = InvalidationManager::new_local(100); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `invalidation_cache` [INFO] [stdout] --> src/cache/hot_cache.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let invalidation_cache = cache.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invalidation_cache` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `invalidation_lru` [INFO] [stdout] --> src/cache/hot_cache.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let invalidation_lru = lru_tracker.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invalidation_lru` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `age`, `time_since_last_access`, and `priority_score` are never used [INFO] [stdout] --> src/cache/cache_entry.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl CacheEntry { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn age(&self) -> Duration { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn time_since_last_access(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn priority_score(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `clear`, `stats`, `handle_invalidation_events`, and `remove_from_lru_static` are never used [INFO] [stdout] --> src/cache/hot_cache.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 49 | impl HotOrderCache { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | pub async fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub async fn stats(&self) -> CacheStats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | async fn handle_invalidation_events( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | async fn remove_from_lru_static(lru_tracker: &Arc>>, order_id: &Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheStats` is never constructed [INFO] [stdout] --> src/cache/hot_cache.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 367 | pub struct CacheStats { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `order_id` is never read [INFO] [stdout] --> src/cache/invalidation.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | InvalidateOrder { order_id: Uuid }, [INFO] [stdout] | --------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InvalidationEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `customer_name` is never read [INFO] [stdout] --> src/cache/invalidation.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | InvalidateCustomer { customer_name: String }, [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InvalidationEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/cache/invalidation.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | InvalidateStatus { status: OrderStatus }, [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InvalidationEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidateAll` is never constructed [INFO] [stdout] --> src/cache/invalidation.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum InvalidationEvent { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | InvalidateAll, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvalidationEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `subscribe` is never used [INFO] [stdout] --> src/cache/invalidation.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait InvalidationTransport: Send + Sync { [INFO] [stdout] | --------------------- method in this trait [INFO] [stdout] 28 | async fn send(&self, event: InvalidationEvent) -> Result<(), InvalidationError>; [INFO] [stdout] 29 | async fn subscribe(&self) -> Result, InvalidationError>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `InvalidationReceiver` is never used [INFO] [stdout] --> src/cache/invalidation.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait InvalidationReceiver: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `receiver_count` is never used [INFO] [stdout] --> src/cache/invalidation.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl LocalInvalidationTransport { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn receiver_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalInvalidationReceiver` is never constructed [INFO] [stdout] --> src/cache/invalidation.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct LocalInvalidationReceiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_with_transport` and `subscribe` are never used [INFO] [stdout] --> src/cache/invalidation.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl InvalidationManager { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn new_with_transport(transport: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub async fn subscribe(&self) -> Result, InvalidationError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ChannelClosed` is never constructed [INFO] [stdout] --> src/cache/invalidation.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub enum InvalidationError { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 129 | ChannelClosed, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvalidationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_default_cache`, `cache_stats`, and `clear_cache` are never used [INFO] [stdout] --> src/cache/cached_repository.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl CachedOrderRepository { [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn with_default_cache(inner: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn cache_stats(&self) -> crate::cache::hot_cache::CacheStats { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub async fn clear_cache(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BadRequest`, `Unauthorized`, and `ServiceUnavailable` are never constructed [INFO] [stdout] --> src/errors/api_error.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum ApiError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | BadRequest { message: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | Unauthorized { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | ServiceUnavailable { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `bad_request`, `unauthorized`, `internal_error`, `service_unavailable`, and `validation_error` are never used [INFO] [stdout] --> src/errors/api_error.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl ApiError { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 31 | pub fn bad_request(message: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn unauthorized(message: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn internal_error(message: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn service_unavailable(message: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn validation_error(message: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound`, `ConnectionError`, `SerializationError`, and `InternalError` are never constructed [INFO] [stdout] --> src/repository/errors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum DatabaseError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 5 | #[error("Order not found with ID: {id}")] [INFO] [stdout] 6 | NotFound { id: String }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | ConnectionError { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | SerializationError { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | InternalError { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `not_found`, `connection_error`, `serialization_error`, and `internal_error` are never used [INFO] [stdout] --> src/repository/errors.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl DatabaseError { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 22 | pub fn not_found(id: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn connection_error(message: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn serialization_error(message: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn internal_error(message: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `handle_invalidation_events` and `remove_from_lru_static` are never used [INFO] [stdout] --> src/cache/hot_cache.rs:198:14 [INFO] [stdout] | [INFO] [stdout] 49 | impl HotOrderCache { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | async fn handle_invalidation_events( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | async fn remove_from_lru_static(lru_tracker: &Arc>>, order_id: &Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expired_entries` and `max_entries` are never read [INFO] [stdout] --> src/cache/hot_cache.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 367 | pub struct CacheStats { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 368 | pub total_entries: usize, [INFO] [stdout] 369 | pub expired_entries: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 370 | pub max_entries: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CacheStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `order_id` is never read [INFO] [stdout] --> src/cache/invalidation.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | InvalidateOrder { order_id: Uuid }, [INFO] [stdout] | --------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InvalidationEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `customer_name` is never read [INFO] [stdout] --> src/cache/invalidation.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | InvalidateCustomer { customer_name: String }, [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InvalidationEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/cache/invalidation.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | InvalidateStatus { status: OrderStatus }, [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InvalidationEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `receiver_count` is never used [INFO] [stdout] --> src/cache/invalidation.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl LocalInvalidationTransport { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn receiver_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_transport` is never used [INFO] [stdout] --> src/cache/invalidation.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl InvalidationManager { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn new_with_transport(transport: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ChannelClosed` is never constructed [INFO] [stdout] --> src/cache/invalidation.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub enum InvalidationError { [INFO] [stdout] | ----------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 129 | ChannelClosed, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvalidationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BadRequest`, `Unauthorized`, and `ServiceUnavailable` are never constructed [INFO] [stdout] --> src/errors/api_error.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum ApiError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | BadRequest { message: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | Unauthorized { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | ServiceUnavailable { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `bad_request`, `unauthorized`, `internal_error`, `service_unavailable`, and `validation_error` are never used [INFO] [stdout] --> src/errors/api_error.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl ApiError { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 31 | pub fn bad_request(message: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn unauthorized(message: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn internal_error(message: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn service_unavailable(message: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn validation_error(message: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound`, `ConnectionError`, `SerializationError`, and `InternalError` are never constructed [INFO] [stdout] --> src/repository/errors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum DatabaseError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 5 | #[error("Order not found with ID: {id}")] [INFO] [stdout] 6 | NotFound { id: String }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | ConnectionError { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | SerializationError { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | InternalError { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `not_found`, `connection_error`, `serialization_error`, and `internal_error` are never used [INFO] [stdout] --> src/repository/errors.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl DatabaseError { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 22 | pub fn not_found(id: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn connection_error(message: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn serialization_error(message: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn internal_error(message: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "87ef6856edafa970898a805afa70a2d47dceeb35d449b217555523a6aec9cf10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87ef6856edafa970898a805afa70a2d47dceeb35d449b217555523a6aec9cf10", kill_on_drop: false }` [INFO] [stdout] 87ef6856edafa970898a805afa70a2d47dceeb35d449b217555523a6aec9cf10