[INFO] cloning repository https://github.com/linuxhunter/api_gateway_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/linuxhunter/api_gateway_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinuxhunter%2Fapi_gateway_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinuxhunter%2Fapi_gateway_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 257e5b26c24a29fc7a607042d3619de7176a080f
[INFO] checking linuxhunter/api_gateway_rs against try#5d96fa0e954d77528204a1ba3b8847ec083c779b for pr-153457
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinuxhunter%2Fapi_gateway_rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/linuxhunter/api_gateway_rs
[INFO] finished tweaking git repo https://github.com/linuxhunter/api_gateway_rs
[INFO] tweaked toml for git repo https://github.com/linuxhunter/api_gateway_rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/linuxhunter/api_gateway_rs on toolchain 5d96fa0e954d77528204a1ba3b8847ec083c779b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/linuxhunter/api_gateway_rs 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" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eca9b9b395e2dad898477f543e890aa4d5ad8b2d5e4a36b17eff4cdc18ffc033
[INFO] running `Command { std: "docker" "start" "-a" "eca9b9b395e2dad898477f543e890aa4d5ad8b2d5e4a36b17eff4cdc18ffc033", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eca9b9b395e2dad898477f543e890aa4d5ad8b2d5e4a36b17eff4cdc18ffc033", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eca9b9b395e2dad898477f543e890aa4d5ad8b2d5e4a36b17eff4cdc18ffc033", kill_on_drop: false }`
[INFO] [stdout] eca9b9b395e2dad898477f543e890aa4d5ad8b2d5e4a36b17eff4cdc18ffc033
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9049189ac28b706367daadedcfa0bb0cdd4b63ca573a084ee51896f1126b1afe
[INFO] running `Command { std: "docker" "start" "-a" "9049189ac28b706367daadedcfa0bb0cdd4b63ca573a084ee51896f1126b1afe", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]    Compiling cc v1.2.29
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking tokio v1.46.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking base64ct v1.8.0
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]     Checking ahash v0.7.8
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking openssl-probe v0.1.6
[INFO] [stderr]     Checking pem-rfc7468 v0.7.0
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking der v0.7.10
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking retain_mut v0.1.9
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking dlv-list v0.3.0
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]    Compiling pest v2.8.1
[INFO] [stderr]     Checking ordered-multimap v0.4.3
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking winnow v0.5.40
[INFO] [stderr]     Checking sha1_smol v1.0.1
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking arc-swap v1.7.1
[INFO] [stderr]     Checking rust-ini v0.18.0
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking inotify v0.9.6
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking pkcs1 v0.7.5
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking filetime v0.2.25
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml v0.5.11
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]    Compiling pest_meta v2.8.1
[INFO] [stderr]     Checking ron v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]     Checking http-range-header v0.3.1
[INFO] [stderr]     Checking pathdiff v0.2.3
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking jwt v0.16.0
[INFO] [stderr]     Checking notify v5.2.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking toml_edit v0.19.15
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]     Checking rsa v0.9.8
[INFO] [stderr]     Checking uuid v1.17.0
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]    Compiling serde_with_macros v3.14.0
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]    Compiling pest_generator v2.8.1
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking half v2.6.0
[INFO] [stderr]     Checking plotters-backend v0.3.7
[INFO] [stderr]    Compiling http-types v2.12.0
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]    Compiling serde_with_macros v1.5.2
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking deadpool-runtime v0.1.4
[INFO] [stderr]     Checking tokio-retry v0.3.0
[INFO] [stderr]     Checking deadpool v0.9.5
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tower-http v0.4.4
[INFO] [stderr]     Checking fastrand v1.9.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking predicates-core v1.0.9
[INFO] [stderr]     Checking waker-fn v1.2.0
[INFO] [stderr]     Checking parking v2.2.1
[INFO] [stderr]     Checking clap_builder v4.5.44
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking futures-lite v1.13.0
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]     Checking serde_with v1.14.0
[INFO] [stderr]     Checking plotters-svg v0.3.7
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking serde_qs v0.8.5
[INFO] [stderr]     Checking float-cmp v0.9.0
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking linux-raw-sys v0.9.4
[INFO] [stderr]     Checking serde_with v3.14.0
[INFO] [stderr]     Checking termtree v0.5.1
[INFO] [stderr]     Checking infer v0.2.3
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking predicates-tree v1.0.12
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]     Checking predicates v2.1.5
[INFO] [stderr]     Checking bollard-stubs v1.42.0-rc.3
[INFO] [stderr]    Compiling mockall_derive v0.11.4
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]    Compiling pest_derive v2.8.1
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking config v0.13.4
[INFO] [stderr]     Checking toml v0.7.8
[INFO] [stderr]     Checking assert-json-diff v2.0.2
[INFO] [stderr]     Checking is-terminal v0.4.16
[INFO] [stderr]     Checking downcast v0.11.0
[INFO] [stderr]     Checking futures-timer v3.0.3
[INFO] [stderr]     Checking clap v4.5.45
[INFO] [stderr]     Checking fragile v2.0.1
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]     Checking oorandom v11.1.5
[INFO] [stderr]     Checking tokio-test v0.4.4
[INFO] [stderr]     Checking tempfile v3.20.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking mockall v0.11.4
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking redis v0.23.3
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking wiremock v0.5.22
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking deadpool-redis v0.12.0
[INFO] [stderr]     Checking testcontainers v0.15.0
[INFO] [stderr]     Checking testcontainers-modules v0.3.7
[INFO] [stderr]     Checking api_gateway v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `models::TokenPair`
[INFO] [stdout]   --> src/middleware/auth/jwt_middleware.rs:14:44
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::middleware::auth::{AuthService, models::TokenPair};
[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: `tokio::sync::RwLock`
[INFO] [stdout]  --> src/middleware/load_balancer/health_checker_tests.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use tokio::sync::RwLock;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::core::request::GatewayRequest`
[INFO] [stdout]  --> src/middleware/load_balancer/examples.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::core::request::GatewayRequest;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/middleware/load_balancer/tests.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use std::sync::Arc;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::time::ChronoUtc`
[INFO] [stdout]  --> src/middleware/logging.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing_subscriber::fmt::time::ChronoUtc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `post`
[INFO] [stdout]  --> src/examples/backend_server/server.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 |     routing::{get, post},
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `echo`
[INFO] [stdout]   --> src/examples/backend_server/server.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     delayed_response, echo, error_response, health_check,
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `models::TokenPair`
[INFO] [stdout]   --> src/middleware/auth/jwt_middleware.rs:14:44
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::middleware::auth::{AuthService, models::TokenPair};
[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: `crate::core::request::GatewayRequest`
[INFO] [stdout]  --> src/middleware/load_balancer/examples.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::core::request::GatewayRequest;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::time::ChronoUtc`
[INFO] [stdout]  --> src/middleware/logging.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing_subscriber::fmt::time::ChronoUtc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `post`
[INFO] [stdout]  --> src/examples/backend_server/server.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 |     routing::{get, post},
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `echo`
[INFO] [stdout]   --> src/examples/backend_server/server.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     delayed_response, echo, error_response, health_check,
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `router`
[INFO] [stdout]    --> src/core/gateway.rs:251:13
[INFO] [stdout]     |
[INFO] [stdout] 251 |         let router = match &self.router {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_router`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `router`
[INFO] [stdout]    --> src/core/gateway.rs:251:13
[INFO] [stdout]     |
[INFO] [stdout] 251 |         let router = match &self.router {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_router`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `private_key`
[INFO] [stdout]    --> src/middleware/auth/jwt.rs:158:29
[INFO] [stdout]     |
[INFO] [stdout] 158 |                 if let Some(private_key) = private_key {
[INFO] [stdout]     |                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_private_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/middleware/auth/jwt.rs:166:25
[INFO] [stdout]     |
[INFO] [stdout] 166 |                     let token = Token::new(header, claims.clone());
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `public_key`
[INFO] [stdout]    --> src/middleware/auth/jwt.rs:195:29
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 if let Some(public_key) = public_key {
[INFO] [stdout]     |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `private_key`
[INFO] [stdout]    --> src/middleware/auth/jwt.rs:158:29
[INFO] [stdout]     |
[INFO] [stdout] 158 |                 if let Some(private_key) = private_key {
[INFO] [stdout]     |                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_private_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/middleware/auth/jwt.rs:166:25
[INFO] [stdout]     |
[INFO] [stdout] 166 |                     let token = Token::new(header, claims.clone());
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `public_key`
[INFO] [stdout]    --> src/middleware/auth/jwt.rs:195:29
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 if let Some(public_key) = public_key {
[INFO] [stdout]     |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `health_checker`
[INFO] [stdout]    --> src/middleware/load_balancer/health_checker_tests.rs:133:13
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let health_checker = Arc::new(AdvancedHealthChecker::new(config));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_health_checker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `backend2`
[INFO] [stdout]    --> src/middleware/load_balancer/tests.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let backend2 = strategy.select_backend(&backends, &request2).await.unwrap();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backend2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_level`
[INFO] [stdout]    --> src/middleware/logging.rs:232:21
[INFO] [stdout]     |
[INFO] [stdout] 232 |                 let log_level = if is_error { Level::WARN } else { Level::INFO };
[INFO] [stdout]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_level`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_level`
[INFO] [stdout]    --> src/middleware/logging.rs:232:21
[INFO] [stdout]     |
[INFO] [stdout] 232 |                 let log_level = if is_error { Level::WARN } else { Level::INFO };
[INFO] [stdout]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_level`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config_path` is never read
[INFO] [stdout]   --> src/middleware/load_balancer/examples.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct FileBasedServiceDiscovery {
[INFO] [stdout]    |            ------------------------- field in this struct
[INFO] [stdout] 86 |     config_path: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config_path` is never read
[INFO] [stdout]   --> src/middleware/load_balancer/examples.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct FileBasedServiceDiscovery {
[INFO] [stdout]    |            ------------------------- field in this struct
[INFO] [stdout] 86 |     config_path: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> examples/run_backend_server.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     print_service_registry(&registry).await;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let _ = print_service_registry(&registry).await;
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `min_response_time` and `max_response_time` are never read
[INFO] [stdout]   --> tests/load_tests.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct LoadTestResults {
[INFO] [stdout]    |        --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub min_response_time: Duration,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 51 |     pub max_response_time: Duration,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LoadTestResults` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `port` is never read
[INFO] [stdout]   --> tests/load_tests.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | struct LoadTestBackend {
[INFO] [stdout]    |        --------------- field in this struct
[INFO] [stdout] 58 |     port: u16,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `post`
[INFO] [stdout]  --> src/examples/backend_server/server.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 |     routing::{get, post},
[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: `echo`
[INFO] [stdout]   --> src/examples/backend_server/server.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     delayed_response, echo, error_response, health_check,
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `server::run_server`
[INFO] [stdout]  --> src/examples/backend_server/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use server::run_server;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `simple::run_simple_server`
[INFO] [stdout]  --> src/examples/backend_server/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use simple::run_simple_server;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ErrorType`, `ServiceInstanceConfig`, `ServiceInstanceType`, `ServiceRegistry`, and `run_service_instance`
[INFO] [stdout]   --> src/examples/backend_server/mod.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     ServiceInstanceConfig, ServiceInstanceType, ServiceRegistry, ErrorType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 11 |     run_service_instance,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `models::TokenPair`
[INFO] [stdout]   --> src/middleware/auth/jwt_middleware.rs:14:44
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::middleware::auth::{AuthService, models::TokenPair};
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::RwLock`
[INFO] [stdout]  --> src/middleware/load_balancer/health_checker_tests.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use tokio::sync::RwLock;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::core::request::GatewayRequest`
[INFO] [stdout]  --> src/middleware/load_balancer/examples.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::core::request::GatewayRequest;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/middleware/load_balancer/tests.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use std::sync::Arc;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::time::ChronoUtc`
[INFO] [stdout]  --> src/middleware/logging.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing_subscriber::fmt::time::ChronoUtc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `post`
[INFO] [stdout]  --> src/examples/backend_server/server.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 |     routing::{get, post},
[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: `echo`
[INFO] [stdout]   --> src/examples/backend_server/server.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     delayed_response, echo, error_response, health_check,
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `server::run_server`
[INFO] [stdout]  --> src/examples/backend_server/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use server::run_server;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `simple::run_simple_server`
[INFO] [stdout]  --> src/examples/backend_server/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use simple::run_simple_server;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ErrorType`, `ServiceInstanceConfig`, `ServiceInstanceType`, `ServiceRegistry`, and `run_service_instance`
[INFO] [stdout]   --> src/examples/backend_server/mod.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     ServiceInstanceConfig, ServiceInstanceType, ServiceRegistry, ErrorType,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 11 |     run_service_instance,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `models::TokenPair`
[INFO] [stdout]   --> src/middleware/auth/jwt_middleware.rs:14:44
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::middleware::auth::{AuthService, models::TokenPair};
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::core::request::GatewayRequest`
[INFO] [stdout]  --> src/middleware/load_balancer/examples.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::core::request::GatewayRequest;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::time::ChronoUtc`
[INFO] [stdout]  --> src/middleware/logging.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing_subscriber::fmt::time::ChronoUtc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `router`
[INFO] [stdout]    --> src/core/gateway.rs:251:13
[INFO] [stdout]     |
[INFO] [stdout] 251 |         let router = match &self.router {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_router`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `router`
[INFO] [stdout]    --> src/core/gateway.rs:251:13
[INFO] [stdout]     |
[INFO] [stdout] 251 |         let router = match &self.router {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_router`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `private_key`
[INFO] [stdout]    --> src/middleware/auth/jwt.rs:158:29
[INFO] [stdout]     |
[INFO] [stdout] 158 |                 if let Some(private_key) = private_key {
[INFO] [stdout]     |                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_private_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/middleware/auth/jwt.rs:166:25
[INFO] [stdout]     |
[INFO] [stdout] 166 |                     let token = Token::new(header, claims.clone());
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `private_key`
[INFO] [stdout]    --> src/middleware/auth/jwt.rs:158:29
[INFO] [stdout]     |
[INFO] [stdout] 158 |                 if let Some(private_key) = private_key {
[INFO] [stdout]     |                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_private_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/middleware/auth/jwt.rs:166:25
[INFO] [stdout]     |
[INFO] [stdout] 166 |                     let token = Token::new(header, claims.clone());
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `public_key`
[INFO] [stdout]    --> src/middleware/auth/jwt.rs:195:29
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 if let Some(public_key) = public_key {
[INFO] [stdout]     |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `public_key`
[INFO] [stdout]    --> src/middleware/auth/jwt.rs:195:29
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 if let Some(public_key) = public_key {
[INFO] [stdout]     |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `health_checker`
[INFO] [stdout]    --> src/middleware/load_balancer/health_checker_tests.rs:133:13
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let health_checker = Arc::new(AdvancedHealthChecker::new(config));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_health_checker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `backend2`
[INFO] [stdout]    --> src/middleware/load_balancer/tests.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let backend2 = strategy.select_backend(&backends, &request2).await.unwrap();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backend2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_level`
[INFO] [stdout]    --> src/middleware/logging.rs:232:21
[INFO] [stdout]     |
[INFO] [stdout] 232 |                 let log_level = if is_error { Level::WARN } else { Level::INFO };
[INFO] [stdout]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_level`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_level`
[INFO] [stdout]    --> src/middleware/logging.rs:232:21
[INFO] [stdout]     |
[INFO] [stdout] 232 |                 let log_level = if is_error { Level::WARN } else { Level::INFO };
[INFO] [stdout]     |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_level`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `with_server` are never used
[INFO] [stdout]    --> src/config/mod.rs:441:12
[INFO] [stdout]     |
[INFO] [stdout] 398 | impl GatewayConfig {
[INFO] [stdout]     | ------------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 441 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 446 |     pub fn with_server(server: ServerConfig) -> Self {
[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 `config` and `timestamp` are never read
[INFO] [stdout]    --> src/config/mod.rs:558:9
[INFO] [stdout]     |
[INFO] [stdout] 556 | pub struct ConfigChangeEvent {
[INFO] [stdout]     |            ----------------- fields in this struct
[INFO] [stdout] 557 |     /// The new configuration
[INFO] [stdout] 558 |     pub config: GatewayConfig,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 564 |     pub timestamp: SystemTime,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConfigChangeEvent` 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: methods `config`, `source`, and `timestamp` are never used
[INFO] [stdout]    --> src/config/mod.rs:569:12
[INFO] [stdout]     |
[INFO] [stdout] 567 | impl ConfigChangeEvent {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] 568 |     /// Get the configuration from this event
[INFO] [stdout] 569 |     pub fn config(&self) -> &GatewayConfig {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 574 |     pub fn source(&self) -> &ConfigChangeSource {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 579 |     pub fn timestamp(&self) -> SystemTime {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ProgrammaticUpdate` is never constructed
[INFO] [stdout]    --> src/config/mod.rs:591:5
[INFO] [stdout]     |
[INFO] [stdout] 586 | pub enum ConfigChangeSource {
[INFO] [stdout]     |          ------------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 591 |     ProgrammaticUpdate,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConfigChangeSource` 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 `update_config` is never used
[INFO] [stdout]    --> src/config/mod.rs:610:14
[INFO] [stdout]     |
[INFO] [stdout] 599 | pub trait ConfigManager: Send + Sync {
[INFO] [stdout]     |           ------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 610 |     async fn update_config(&self, config: GatewayConfig) -> Result<(), ConfigError>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_config` is never used
[INFO] [stdout]    --> src/config/mod.rs:648:12
[INFO] [stdout]     |
[INFO] [stdout] 633 | impl BasicConfigManager {
[INFO] [stdout]     | ----------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 648 |     pub fn with_config(config: GatewayConfig) -> Result<Self, ConfigError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `health_check` is never used
[INFO] [stdout]   --> src/core/gateway.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait Gateway: Send + Sync {
[INFO] [stdout]    |           ------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 26 |     async fn health_check(&self) -> bool;
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get_middlewares` are never used
[INFO] [stdout]    --> src/core/gateway.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 137 | impl ApiGateway {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 138 |     /// Create a new API Gateway instance
[INFO] [stdout] 139 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub async fn get_middlewares(&self) -> Vec<Arc<dyn crate::core::middleware::Middleware>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add` are never used
[INFO] [stdout]   --> src/core/middleware.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl MiddlewareChain {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 36 |     /// Create a new middleware chain
[INFO] [stdout] 37 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn add<M: Middleware + 'static>(&mut self, middleware: M) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_by_name` is never used
[INFO] [stdout]    --> src/core/middleware.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 124 | impl MiddlewareRegistry {
[INFO] [stdout]     | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn get_by_name(&self, name: &str) -> Option<Arc<dyn Middleware>> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timestamp` is never read
[INFO] [stdout]   --> src/core/request.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct GatewayRequest {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub timestamp: SystemTime,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GatewayRequest` 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: methods `remove_route` and `clear_routes` are never used
[INFO] [stdout]    --> src/core/router.rs:181:14
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub trait Router: Send + Sync {
[INFO] [stdout]     |           ------ methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 181 |     async fn remove_route(&self, path: &str, method: Option<Method>) -> Result<(), GatewayError>;
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 190 |     async fn clear_routes(&self) -> Result<(), GatewayError>;
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Expired` is never constructed
[INFO] [stdout]   --> src/error/mod.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub enum CacheError {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 76 |     Expired,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CacheError` 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 `TokenExpired`, `InsufficientPermissions`, and `ServiceUnavailable` are never constructed
[INFO] [stdout]   --> src/error/mod.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub enum AuthError {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 86 |     TokenExpired,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     InsufficientPermissions,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 92 |     ServiceUnavailable(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthError` 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 `HealthCheckFailed`, `ConnectionFailed`, `ServiceDiscoveryError`, and `InvalidAlgorithm` are never constructed
[INFO] [stdout]    --> src/error/mod.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout]  97 | pub enum LoadBalancerError {
[INFO] [stdout]     |          ----------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 102 |     HealthCheckFailed(String),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     ConnectionFailed(String),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     ServiceDiscoveryError(String),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     InvalidAlgorithm(String),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `LoadBalancerError` 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 `WatchError` and `NotificationError` are never constructed
[INFO] [stdout]    --> src/error/mod.rs:130:5
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub enum ConfigError {
[INFO] [stdout]     |          ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 130 |     WatchError(String),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     NotificationError(String),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_server` is never used
[INFO] [stdout]   --> src/examples/backend_server/server.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn run_server(config: ServerConfig) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_default_server` is never used
[INFO] [stdout]   --> src/examples/backend_server/server.rs:42:14
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub async fn run_default_server() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `health_check` is never used
[INFO] [stdout]   --> src/examples/backend_server/routes.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub async fn health_check(
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `echo` is never used
[INFO] [stdout]   --> src/examples/backend_server/routes.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub async fn echo(
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delayed_response` is never used
[INFO] [stdout]   --> src/examples/backend_server/routes.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub async fn delayed_response(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `error_response` is never used
[INFO] [stdout]   --> src/examples/backend_server/routes.rs:84:14
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub async fn error_response(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `should_fail` is never used
[INFO] [stdout]    --> src/examples/backend_server/routes.rs:104:4
[INFO] [stdout]     |
[INFO] [stdout] 104 | fn should_fail(config: &ServerConfig) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simulate_delay` is never used
[INFO] [stdout]    --> src/examples/backend_server/routes.rs:114:10
[INFO] [stdout]     |
[INFO] [stdout] 114 | async fn simulate_delay(config: &ServerConfig) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HealthStatus` is never constructed
[INFO] [stdout]   --> src/examples/backend_server/models.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct HealthStatus {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EchoRequest` is never constructed
[INFO] [stdout]   --> src/examples/backend_server/models.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct EchoRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ServerConfig` is never constructed
[INFO] [stdout]   --> src/examples/backend_server/simple.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct ServerConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EchoRequest` is never constructed
[INFO] [stdout]   --> src/examples/backend_server/simple.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct EchoRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `health_check` is never used
[INFO] [stdout]   --> src/examples/backend_server/simple.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 | async fn health_check() -> JsonResponse<serde_json::Value> {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `echo` is never used
[INFO] [stdout]   --> src/examples/backend_server/simple.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 | async fn echo(Json(payload): Json<EchoRequest>) -> JsonResponse<serde_json::Value> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delayed_response` is never used
[INFO] [stdout]   --> src/examples/backend_server/simple.rs:68:10
[INFO] [stdout]    |
[INFO] [stdout] 68 | async fn delayed_response(Path(duration_ms): Path<u64>) -> JsonResponse<serde_json::Value> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `error_response` is never used
[INFO] [stdout]   --> src/examples/backend_server/simple.rs:80:10
[INFO] [stdout]    |
[INFO] [stdout] 80 | async fn error_response(Path(status_code): Path<u16>) -> (StatusCode, JsonResponse<serde_json::Value>) {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_simple_server` is never used
[INFO] [stdout]   --> src/examples/backend_server/simple.rs:92:14
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub async fn run_simple_server(config: ServerConfig) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ServiceInstanceConfig` is never constructed
[INFO] [stdout]   --> src/examples/backend_server/multi_instance.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct ServiceInstanceConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ServiceInstanceType` is never used
[INFO] [stdout]   --> src/examples/backend_server/multi_instance.rs:45:10
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub enum ServiceInstanceType {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ErrorType` is never used
[INFO] [stdout]   --> src/examples/backend_server/multi_instance.rs:87:10
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub enum ErrorType {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ServiceRegistry` is never constructed
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub struct ServiceRegistry {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `register_instance`, `deregister_instance`, `get_backends`, `get_instance`, and `list_instances` are never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl ServiceRegistry {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] 110 |     /// Create a new service registry
[INFO] [stdout] 111 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub async fn register_instance(&self, config: ServiceInstanceConfig) -> Result<(), String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub async fn deregister_instance(&self, instance_id: &str) -> Result<(), String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub async fn get_backends(&self) -> Vec<Backend> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub async fn get_instance(&self, instance_id: &str) -> Option<ServiceInstanceConfig> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 187 |     pub async fn list_instances(&self) -> Vec<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `type_name` is never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:195:12
[INFO] [stdout]     |
[INFO] [stdout] 193 | impl ServiceInstanceType {
[INFO] [stdout]     | ------------------------ method in this implementation
[INFO] [stdout] 194 |     /// Get the type name as a string
[INFO] [stdout] 195 |     pub fn type_name(&self) -> &'static str {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_service_instance` is never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:207:14
[INFO] [stdout]     |
[INFO] [stdout] 207 | pub async fn run_service_instance(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `health_check` is never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:265:10
[INFO] [stdout]     |
[INFO] [stdout] 265 | async fn health_check(
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `service_info` is never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:297:10
[INFO] [stdout]     |
[INFO] [stdout] 297 | async fn service_info(
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `echo` is never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:344:10
[INFO] [stdout]     |
[INFO] [stdout] 344 | async fn echo(
[INFO] [stdout]     |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delayed_response` is never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:417:10
[INFO] [stdout]     |
[INFO] [stdout] 417 | async fn delayed_response(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `error_response` is never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:434:10
[INFO] [stdout]     |
[INFO] [stdout] 434 | async fn error_response(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_data` is never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:450:10
[INFO] [stdout]     |
[INFO] [stdout] 450 | async fn process_data(
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `query_record` is never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:481:10
[INFO] [stdout]     |
[INFO] [stdout] 481 | async fn query_record(
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cache_lookup` is never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:532:10
[INFO] [stdout]     |
[INFO] [stdout] 532 | async fn cache_lookup(
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Middleware` is never used
[INFO] [stdout]   --> src/middleware/mod.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub trait Middleware: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `MiddlewareHandler` is never used
[INFO] [stdout]   --> src/middleware/mod.rs:32:11
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub trait MiddlewareHandler: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MiddlewareChain` is never constructed
[INFO] [stdout]   --> src/middleware/mod.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct MiddlewareChain {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add`, and `build` are never used
[INFO] [stdout]   --> src/middleware/mod.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl MiddlewareChain {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 43 |     /// Create a new middleware chain
[INFO] [stdout] 44 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn add<M: Middleware + 'static>(&mut self, middleware: M) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn build(self, final_handler: Arc<dyn MiddlewareHandler>) -> Arc<dyn MiddlewareHandler> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MiddlewareLink` is never constructed
[INFO] [stdout]   --> src/middleware/mod.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | struct MiddlewareLink {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AuthService` is never used
[INFO] [stdout]   --> src/middleware/auth/mod.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub trait AuthService: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthMiddleware` is never constructed
[INFO] [stdout]   --> src/middleware/auth/mod.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct AuthMiddleware {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `optional`, and `extract_token` are never used
[INFO] [stdout]   --> src/middleware/auth/mod.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl AuthMiddleware {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 42 |     /// Create a new AuthMiddleware with the specified authentication service
[INFO] [stdout] 43 |     pub fn new(auth_service: Arc<dyn AuthService>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn optional(auth_service: Arc<dyn AuthService>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     fn extract_token(&self, request: &GatewayRequest) -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Claims` is never constructed
[INFO] [stdout]  --> src/middleware/auth/models.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Claims {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/middleware/auth/models.rs:38:12
[INFO] [stdout]     |
[INFO] [stdout]  36 | impl Claims {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  37 |     /// Create new claims for a subject (user ID)
[INFO] [stdout]  38 |     pub fn new(subject: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  64 |     pub fn with_expiration(mut self, duration: Duration) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  75 |     pub fn with_issuer(mut self, issuer: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub fn with_audience(mut self, audience: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  87 |     pub fn with_not_before(mut self, duration: Duration) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn with_claim<T: Serialize>(mut self, name: impl Into<String>, value: T) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn get_claim<T: for<'de> Deserialize<'de>>(&self, name: &str) -> Option<T> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn is_expired(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn is_not_valid_yet(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn remaining_validity(&self) -> Option<u64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TokenPair` is never constructed
[INFO] [stdout]    --> src/middleware/auth/models.rs:158:12
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct TokenPair {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `JwtAlgorithm` is never used
[INFO] [stdout]    --> src/middleware/auth/models.rs:175:10
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub enum JwtAlgorithm {
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthConfig` is never constructed
[INFO] [stdout]    --> src/middleware/auth/models.rs:190:12
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub struct AuthConfig {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_token_rotation` is never used
[INFO] [stdout]    --> src/middleware/auth/models.rs:229:4
[INFO] [stdout]     |
[INFO] [stdout] 229 | fn default_token_rotation() -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_max_refresh_tokens` is never used
[INFO] [stdout]    --> src/middleware/auth/models.rs:233:4
[INFO] [stdout]     |
[INFO] [stdout] 233 | fn default_max_refresh_tokens() -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_true` is never used
[INFO] [stdout]    --> src/middleware/auth/models.rs:237:4
[INFO] [stdout]     |
[INFO] [stdout] 237 | fn default_true() -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JwtAuthService` is never constructed
[INFO] [stdout]   --> src/middleware/auth/jwt.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct JwtAuthService {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RefreshToken` is never constructed
[INFO] [stdout]   --> src/middleware/auth/jwt.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct RefreshToken {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SigningAlgorithm` is never used
[INFO] [stdout]   --> src/middleware/auth/jwt.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 | enum SigningAlgorithm {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `init_algorithm`, `generate_refresh_token`, `clean_expired_tokens`, `sign_claims`, and `verify_token` are never used
[INFO] [stdout]    --> src/middleware/auth/jwt.rs:46:12
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl JwtAuthService {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout]  45 |     /// Create a new JWT authentication service with the specified configuration
[INFO] [stdout]  46 |     pub fn new(config: AuthConfig) -> Result<Self, AuthError> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  63 |     fn init_algorithm(&self) -> Result<SigningAlgorithm, AuthError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     fn generate_refresh_token(&self, user_id: &str) -> RefreshToken {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     async fn clean_expired_tokens(&self) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     fn sign_claims(&self, claims: &Claims) -> Result<String, AuthError> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     fn verify_token(&self, token: &str) -> Result<Claims, AuthError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RefreshTokenRequest` is never constructed
[INFO] [stdout]   --> src/middleware/auth/jwt_middleware.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct RefreshTokenRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RevokeTokenRequest` is never constructed
[INFO] [stdout]   --> src/middleware/auth/jwt_middleware.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct RevokeTokenRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorResponse` is never constructed
[INFO] [stdout]   --> src/middleware/auth/jwt_middleware.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct ErrorResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `jwt_routes` is never used
[INFO] [stdout]   --> src/middleware/auth/jwt_middleware.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn jwt_routes<T: AuthService + 'static>(auth_service: Arc<T>) -> Router {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `refresh_token` is never used
[INFO] [stdout]   --> src/middleware/auth/jwt_middleware.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 54 | async fn refresh_token(
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `revoke_token` is never used
[INFO] [stdout]   --> src/middleware/auth/jwt_middleware.rs:92:10
[INFO] [stdout]    |
[INFO] [stdout] 92 | async fn revoke_token(
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CacheMiddleware` is never constructed
[INFO] [stdout]   --> src/middleware/cache/mod.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct CacheMiddleware {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_store`, `with_policy`, `with_ttl`, and `generate_cache_key` are never used
[INFO] [stdout]   --> src/middleware/cache/mod.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl CacheMiddleware {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 57 |     /// Create a new CacheMiddleware
[INFO] [stdout] 58 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn with_store(mut self, store: Arc<dyn CacheStore>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn with_policy(mut self, policy: CachePolicy) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn with_ttl(mut self, ttl: Duration) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     fn generate_cache_key(&self, request: &GatewayRequest) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_cache_key` is never used
[INFO] [stdout]   --> src/middleware/cache/mod.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn generate_cache_key(request: &GatewayRequest, options: &CacheKeyOptions) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `normalize_path` is never used
[INFO] [stdout]    --> src/middleware/cache/mod.rs:141:4
[INFO] [stdout]     |
[INFO] [stdout] 141 | fn normalize_path(path: &str) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_gateway_response`, `to_gateway_response`, and `remaining_ttl` are never used
[INFO] [stdout]    --> src/middleware/cache/models.rs:36:12
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl CachedResponse {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout]  35 |     /// Create a new CachedResponse from a GatewayResponse
[INFO] [stdout]  36 |     pub fn from_gateway_response(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn to_gateway_response(&self) -> GatewayResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn remaining_ttl(&self) -> u64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CacheKeyOptions` is never constructed
[INFO] [stdout]    --> src/middleware/cache/models.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct CacheKeyOptions {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CachePolicy` is never constructed
[INFO] [stdout]    --> src/middleware/cache/models.rs:164:12
[INFO] [stdout]     |
[INFO] [stdout] 164 | pub struct CachePolicy {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_request_cacheable`, `is_response_cacheable`, and `get_ttl_for_response` are never used
[INFO] [stdout]    --> src/middleware/cache/models.rs:209:12
[INFO] [stdout]     |
[INFO] [stdout] 207 | impl CachePolicy {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] 208 |     /// Check if a request is cacheable based on this policy
[INFO] [stdout] 209 |     pub fn is_request_cacheable(&self, request: &crate::core::request::GatewayRequest) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     pub fn is_response_cacheable(&self, response: &GatewayResponse) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 247 |     pub fn get_ttl_for_response(&self, response: &GatewayResponse) -> Duration {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `last_reset` is never read
[INFO] [stdout]   --> src/middleware/cache/memory_store.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct CacheStats {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub last_reset: Instant,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CacheStats` 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: fields `pool_size` and `connection_timeout` are never read
[INFO] [stdout]   --> src/middleware/cache/redis_store.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct RedisConfig {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub pool_size: usize,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 19 |     /// Connection timeout in seconds
[INFO] [stdout] 20 |     pub connection_timeout: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RedisConfig` 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 `with_prefix` is never used
[INFO] [stdout]   --> src/middleware/cache/redis_store.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl RedisStore {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn with_prefix(mut self, prefix: &str) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ExampleHandler` is never constructed
[INFO] [stdout]   --> src/middleware/cache/examples.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct ExampleHandler;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `memory_cache_example` is never used
[INFO] [stdout]   --> src/middleware/cache/examples.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub async fn memory_cache_example() {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `redis_cache_example` is never used
[INFO] [stdout]   --> src/middleware/cache/examples.rs:88:14
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub async fn redis_cache_example() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `redis_pool_example` is never used
[INFO] [stdout]    --> src/middleware/cache/examples.rs:157:14
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub async fn redis_pool_example() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ServiceDiscovery` is never used
[INFO] [stdout]   --> src/middleware/load_balancer/mod.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub trait ServiceDiscovery: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Disabled` is never constructed
[INFO] [stdout]   --> src/middleware/load_balancer/mod.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub enum BackendStatus {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 56 |     Disabled,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BackendStatus` 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: fields `total_requests`, `successful_requests`, `failed_requests`, and `avg_response_time_ms` are never read
[INFO] [stdout]   --> src/middleware/load_balancer/mod.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct BackendStats {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub total_requests: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub successful_requests: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub failed_requests: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub avg_response_time_ms: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BackendStats` 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: methods `deregister`, `get_healthy`, `update_stats`, and `get_all_stats` are never used
[INFO] [stdout]    --> src/middleware/load_balancer/mod.rs:140:18
[INFO] [stdout]     |
[INFO] [stdout] 110 | impl BackendRegistry {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub async fn deregister(&self, backend_id: &str) -> Result<(), LoadBalancerError> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub async fn get_healthy(&self) -> Vec<Backend> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 214 |     pub async fn update_stats(
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub async fn get_all_stats(&self) -> HashMap<String, BackendStats> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `name` and `clone_box` are never used
[INFO] [stdout]    --> src/middleware/load_balancer/mod.rs:263:8
[INFO] [stdout]     |
[INFO] [stdout] 261 | pub trait LoadBalanceStrategy: Send + Sync {
[INFO] [stdout]     |           ------------------- methods in this trait
[INFO] [stdout] 262 |     /// Get the name of this strategy
[INFO] [stdout] 263 |     fn name(&self) -> &str;
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 |     fn clone_box(&self) -> Box<dyn LoadBalanceStrategy + Send + Sync>;
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpHealthChecker` is never constructed
[INFO] [stdout]    --> src/middleware/load_balancer/mod.rs:293:12
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub struct HttpHealthChecker {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/middleware/load_balancer/mod.rs:303:12
[INFO] [stdout]     |
[INFO] [stdout] 301 | impl HttpHealthChecker {
[INFO] [stdout]     | ---------------------- associated function in this implementation
[INFO] [stdout] 302 |     /// Create a new HTTP health checker
[INFO] [stdout] 303 |     pub fn new(config: LoadBalancerConfig) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LoadBalancerMiddleware` is never constructed
[INFO] [stdout]    --> src/middleware/load_balancer/mod.rs:388:12
[INFO] [stdout]     |
[INFO] [stdout] 388 | pub struct LoadBalancerMiddleware {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/middleware/load_balancer/mod.rs:397:12
[INFO] [stdout]     |
[INFO] [stdout] 395 | impl LoadBalancerMiddleware {
[INFO] [stdout]     | --------------------------- associated items in this implementation
[INFO] [stdout] 396 |     /// Create a new LoadBalancerMiddleware
[INFO] [stdout] 397 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 407 |     pub fn with_strategy(mut self, strategy: Arc<dyn LoadBalanceStrategy + Send + Sync>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 413 |     pub fn with_health_checker(mut self, health_checker: Arc<dyn HealthChecker + Send + Sync>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 419 |     pub async fn register_backends(&self, backends: Vec<Backend>) -> Result<(), LoadBalancerError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 428 |     pub async fn start_health_checker(&self) -> Result<(), LoadBalancerError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 437 |     pub async fn stop_health_checker(&self) -> Result<(), LoadBalancerError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 446 |     pub async fn get_healthy_backends(&self) -> Vec<Backend> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 451 |     pub async fn get_backend_stats(&self) -> HashMap<String, BackendStats> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/middleware/load_balancer/strategies.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct RoundRobinStrategy {
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |     name: &'static str,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/middleware/load_balancer/strategies.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub struct WeightedRoundRobinStrategy {
[INFO] [stdout]    |            -------------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 81 |     name: &'static str,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/middleware/load_balancer/strategies.rs:165:5
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub struct LeastConnectionsStrategy {
[INFO] [stdout]     |            ------------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 165 |     name: &'static str,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/middleware/load_balancer/strategies.rs:248:5
[INFO] [stdout]     |
[INFO] [stdout] 246 | pub struct IpHashStrategy {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] 247 |     /// Strategy name
[INFO] [stdout] 248 |     name: &'static str,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LoadBalanceStrategyFactory` is never constructed
[INFO] [stdout]    --> src/middleware/load_balancer/strategies.rs:321:12
[INFO] [stdout]     |
[INFO] [stdout] 321 | pub struct LoadBalanceStrategyFactory;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create` is never used
[INFO] [stdout]    --> src/middleware/load_balancer/strategies.rs:325:12
[INFO] [stdout]     |
[INFO] [stdout] 323 | impl LoadBalanceStrategyFactory {
[INFO] [stdout]     | ------------------------------- associated function in this implementation
[INFO] [stdout] 324 |     /// Create a new load balancing strategy based on the algorithm name
[INFO] [stdout] 325 |     pub fn create(algorithm: &str) -> Result<Box<dyn LoadBalanceStrategy + Send + Sync>, LoadBalancerError> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HealthCheckerFactory` is never constructed
[INFO] [stdout]    --> src/middleware/load_balancer/health_checker.rs:610:12
[INFO] [stdout]     |
[INFO] [stdout] 610 | pub struct HealthCheckerFactory;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create` is never used
[INFO] [stdout]    --> src/middleware/load_balancer/health_checker.rs:614:12
[INFO] [stdout]     |
[INFO] [stdout] 612 | impl HealthCheckerFactory {
[INFO] [stdout]     | ------------------------- associated function in this implementation
[INFO] [stdout] 613 |     /// Create a new health checker
[INFO] [stdout] 614 |     pub fn create(config: LoadBalancerConfig) -> Arc<dyn HealthChecker + Send + Sync> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_balancer_example` is never used
[INFO] [stdout]   --> src/middleware/load_balancer/examples.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub async fn load_balancer_example() {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileBasedServiceDiscovery` is never constructed
[INFO] [stdout]   --> src/middleware/load_balancer/examples.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct FileBasedServiceDiscovery {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `load_backends_from_file` are never used
[INFO] [stdout]    --> src/middleware/load_balancer/examples.rs:92:12
[INFO] [stdout]     |
[INFO] [stdout]  90 | impl FileBasedServiceDiscovery {
[INFO] [stdout]     | ------------------------------ associated items in this implementation
[INFO] [stdout]  91 |     /// Create a new file-based service discovery provider
[INFO] [stdout]  92 |     pub fn new(config_path: &str) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     async fn load_backends_from_file(&self) -> Result<Vec<Backend>, crate::error::LoadBalancerError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Basic` and `Full` are never constructed
[INFO] [stdout]   --> src/middleware/logging.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum LogLevel {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 26 |     /// Log basic information
[INFO] [stdout] 27 |     Basic,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     Full,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LogLevel` 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: associated functions `basic` and `full` are never used
[INFO] [stdout]   --> src/middleware/logging.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | impl LoggingMiddleware {
[INFO] [stdout]    | ---------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub fn basic() -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn full() -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_trace_id` is never used
[INFO] [stdout]    --> src/middleware/logging.rs:415:8
[INFO] [stdout]     |
[INFO] [stdout] 415 | pub fn generate_trace_id() -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_operation_span` is never used
[INFO] [stdout]    --> src/middleware/logging.rs:420:8
[INFO] [stdout]     |
[INFO] [stdout] 420 | pub fn create_operation_span(operation: &str, request_id: &str) -> Span {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_error` is never used
[INFO] [stdout]    --> src/middleware/logging.rs:431:8
[INFO] [stdout]     |
[INFO] [stdout] 431 | pub fn log_error(error: &GatewayError, request_id: &str, context: &str) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_security_event` is never used
[INFO] [stdout]    --> src/middleware/logging.rs:448:8
[INFO] [stdout]     |
[INFO] [stdout] 448 | pub fn log_security_event(event_type: &str, request_id: &str, details: &str, severity: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `logging_examples` is never used
[INFO] [stdout]   --> src/middleware/logging_examples.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn logging_examples() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_sample_request` is never used
[INFO] [stdout]   --> src/middleware/logging_examples.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn create_sample_request() -> GatewayRequest {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `async_logging_example` is never used
[INFO] [stdout]   --> src/middleware/logging_examples.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub async fn async_logging_example() {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `timeout_seconds`, `tags`, and `metadata` are never read
[INFO] [stdout]   --> src/models/mod.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Backend {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub timeout_seconds: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub tags: Vec<String>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub metadata: std::collections::HashMap<String, String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Backend` 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: associated items `new`, `with_weight`, `with_health_check_path`, `with_timeout`, `with_tag`, and `with_metadata` are never used
[INFO] [stdout]   --> src/models/mod.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl Backend {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 38 |     /// Create a new backend with the given URL
[INFO] [stdout] 39 |     pub fn new(url: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn with_weight(mut self, weight: u32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn with_health_check_path(mut self, path: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub fn with_timeout(mut self, timeout_seconds: u64) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn with_tag(mut self, tag: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub fn with_metadata(mut self, key: String, value: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Claims` is never constructed
[INFO] [stdout]   --> src/models/mod.rs:96:12
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub struct Claims {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TokenPair` is never constructed
[INFO] [stdout]    --> src/models/mod.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub struct TokenPair {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `with_server` are never used
[INFO] [stdout]    --> src/config/mod.rs:441:12
[INFO] [stdout]     |
[INFO] [stdout] 398 | impl GatewayConfig {
[INFO] [stdout]     | ------------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 441 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 446 |     pub fn with_server(server: ServerConfig) -> Self {
[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 `config` and `timestamp` are never read
[INFO] [stdout]    --> src/config/mod.rs:558:9
[INFO] [stdout]     |
[INFO] [stdout] 556 | pub struct ConfigChangeEvent {
[INFO] [stdout]     |            ----------------- fields in this struct
[INFO] [stdout] 557 |     /// The new configuration
[INFO] [stdout] 558 |     pub config: GatewayConfig,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 564 |     pub timestamp: SystemTime,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConfigChangeEvent` 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: methods `config`, `source`, and `timestamp` are never used
[INFO] [stdout]    --> src/config/mod.rs:569:12
[INFO] [stdout]     |
[INFO] [stdout] 567 | impl ConfigChangeEvent {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] 568 |     /// Get the configuration from this event
[INFO] [stdout] 569 |     pub fn config(&self) -> &GatewayConfig {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 574 |     pub fn source(&self) -> &ConfigChangeSource {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 579 |     pub fn timestamp(&self) -> SystemTime {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ProgrammaticUpdate` is never constructed
[INFO] [stdout]    --> src/config/mod.rs:591:5
[INFO] [stdout]     |
[INFO] [stdout] 586 | pub enum ConfigChangeSource {
[INFO] [stdout]     |          ------------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 591 |     ProgrammaticUpdate,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConfigChangeSource` 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 `update_config` is never used
[INFO] [stdout]    --> src/config/mod.rs:610:14
[INFO] [stdout]     |
[INFO] [stdout] 599 | pub trait ConfigManager: Send + Sync {
[INFO] [stdout]     |           ------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 610 |     async fn update_config(&self, config: GatewayConfig) -> Result<(), ConfigError>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_config` is never used
[INFO] [stdout]    --> src/config/mod.rs:648:12
[INFO] [stdout]     |
[INFO] [stdout] 633 | impl BasicConfigManager {
[INFO] [stdout]     | ----------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 648 |     pub fn with_config(config: GatewayConfig) -> Result<Self, ConfigError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `health_check` is never used
[INFO] [stdout]   --> src/core/gateway.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait Gateway: Send + Sync {
[INFO] [stdout]    |           ------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 26 |     async fn health_check(&self) -> bool;
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get_middlewares` are never used
[INFO] [stdout]    --> src/core/gateway.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 137 | impl ApiGateway {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 138 |     /// Create a new API Gateway instance
[INFO] [stdout] 139 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub async fn get_middlewares(&self) -> Vec<Arc<dyn crate::core::middleware::Middleware>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add` are never used
[INFO] [stdout]   --> src/core/middleware.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl MiddlewareChain {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 36 |     /// Create a new middleware chain
[INFO] [stdout] 37 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn add<M: Middleware + 'static>(&mut self, middleware: M) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_by_name` is never used
[INFO] [stdout]    --> src/core/middleware.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 124 | impl MiddlewareRegistry {
[INFO] [stdout]     | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn get_by_name(&self, name: &str) -> Option<Arc<dyn Middleware>> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timestamp` is never read
[INFO] [stdout]   --> src/core/request.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct GatewayRequest {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub timestamp: SystemTime,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GatewayRequest` 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 `set_backend` is never used
[INFO] [stdout]   --> src/core/request.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl GatewayRequest {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn set_backend(&mut self, backend: &crate::models::Backend) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cache_key` is never read
[INFO] [stdout]   --> src/core/response.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct CacheInfo {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub cache_key: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CacheInfo` 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: associated items `error`, `with_cache_info`, and `with_backend_name` are never used
[INFO] [stdout]   --> src/core/response.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl GatewayResponse {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn error(status: StatusCode, message: &str) -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub fn with_cache_info(mut self, cache_info: CacheInfo) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn with_backend_name(mut self, backend_name: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `remove_route` and `clear_routes` are never used
[INFO] [stdout]    --> src/core/router.rs:181:14
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub trait Router: Send + Sync {
[INFO] [stdout]     |           ------ methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 181 |     async fn remove_route(&self, path: &str, method: Option<Method>) -> Result<(), GatewayError>;
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 190 |     async fn clear_routes(&self) -> Result<(), GatewayError>;
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `AuthenticationFailed`, `BackendUnavailable`, `RequestTimeout`, `InvalidRequest`, and `SerializationError` are never constructed
[INFO] [stdout]   --> src/error/mod.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub enum GatewayError {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout]  6 |     #[error("Authentication failed: {0}")]
[INFO] [stdout]  7 |     AuthenticationFailed(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     BackendUnavailable,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     RequestTimeout,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     InvalidRequest(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     SerializationError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GatewayError` 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 `ConnectionError`, `StoreError`, `RetrieveError`, and `Expired` are never constructed
[INFO] [stdout]   --> src/error/mod.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub enum CacheError {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] 66 |     #[error("Failed to connect to cache: {0}")]
[INFO] [stdout] 67 |     ConnectionError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     StoreError(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     RetrieveError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     Expired,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CacheError` 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 `InvalidToken`, `TokenExpired`, `InsufficientPermissions`, and `ServiceUnavailable` are never constructed
[INFO] [stdout]   --> src/error/mod.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub enum AuthError {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] 82 |     #[error("Invalid token")]
[INFO] [stdout] 83 |     InvalidToken,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     TokenExpired,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     InsufficientPermissions,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 92 |     ServiceUnavailable(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/error/mod.rs:99:5
[INFO] [stdout]     |
[INFO] [stdout]  97 | pub enum LoadBalancerError {
[INFO] [stdout]     |          ----------------- variants in this enum
[INFO] [stdout]  98 |     #[error("No backend available")]
[INFO] [stdout]  99 |     NoBackendAvailable,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     HealthCheckFailed(String),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     ConnectionFailed(String),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     BackendNotFound(String),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     BackendAlreadyExists(String),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     ServiceDiscoveryError(String),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     InvalidAlgorithm(String),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `LoadBalancerError` 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 `WatchError` and `NotificationError` are never constructed
[INFO] [stdout]    --> src/error/mod.rs:130:5
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub enum ConfigError {
[INFO] [stdout]     |          ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 130 |     WatchError(String),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     NotificationError(String),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_server` is never used
[INFO] [stdout]   --> src/examples/backend_server/server.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn run_server(config: ServerConfig) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_default_server` is never used
[INFO] [stdout]   --> src/examples/backend_server/server.rs:42:14
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub async fn run_default_server() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `health_check` is never used
[INFO] [stdout]   --> src/examples/backend_server/routes.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub async fn health_check(
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `echo` is never used
[INFO] [stdout]   --> src/examples/backend_server/routes.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub async fn echo(
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delayed_response` is never used
[INFO] [stdout]   --> src/examples/backend_server/routes.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub async fn delayed_response(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `error_response` is never used
[INFO] [stdout]   --> src/examples/backend_server/routes.rs:84:14
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub async fn error_response(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `should_fail` is never used
[INFO] [stdout]    --> src/examples/backend_server/routes.rs:104:4
[INFO] [stdout]     |
[INFO] [stdout] 104 | fn should_fail(config: &ServerConfig) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simulate_delay` is never used
[INFO] [stdout]    --> src/examples/backend_server/routes.rs:114:10
[INFO] [stdout]     |
[INFO] [stdout] 114 | async fn simulate_delay(config: &ServerConfig) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ServerConfig` is never constructed
[INFO] [stdout]  --> src/examples/backend_server/models.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ServerConfig {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HealthStatus` is never constructed
[INFO] [stdout]   --> src/examples/backend_server/models.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct HealthStatus {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EchoRequest` is never constructed
[INFO] [stdout]   --> src/examples/backend_server/models.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct EchoRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ServerConfig` is never constructed
[INFO] [stdout]   --> src/examples/backend_server/simple.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct ServerConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EchoRequest` is never constructed
[INFO] [stdout]   --> src/examples/backend_server/simple.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct EchoRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `health_check` is never used
[INFO] [stdout]   --> src/examples/backend_server/simple.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 | async fn health_check() -> JsonResponse<serde_json::Value> {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `echo` is never used
[INFO] [stdout]   --> src/examples/backend_server/simple.rs:46:10
[INFO] [stdout]    |
[INFO] [stdout] 46 | async fn echo(Json(payload): Json<EchoRequest>) -> JsonResponse<serde_json::Value> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delayed_response` is never used
[INFO] [stdout]   --> src/examples/backend_server/simple.rs:68:10
[INFO] [stdout]    |
[INFO] [stdout] 68 | async fn delayed_response(Path(duration_ms): Path<u64>) -> JsonResponse<serde_json::Value> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `error_response` is never used
[INFO] [stdout]   --> src/examples/backend_server/simple.rs:80:10
[INFO] [stdout]    |
[INFO] [stdout] 80 | async fn error_response(Path(status_code): Path<u16>) -> (StatusCode, JsonResponse<serde_json::Value>) {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_simple_server` is never used
[INFO] [stdout]   --> src/examples/backend_server/simple.rs:92:14
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub async fn run_simple_server(config: ServerConfig) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ServiceInstanceConfig` is never constructed
[INFO] [stdout]   --> src/examples/backend_server/multi_instance.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct ServiceInstanceConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ServiceInstanceType` is never used
[INFO] [stdout]   --> src/examples/backend_server/multi_instance.rs:45:10
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub enum ServiceInstanceType {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ErrorType` is never used
[INFO] [stdout]   --> src/examples/backend_server/multi_instance.rs:87:10
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub enum ErrorType {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ServiceRegistry` is never constructed
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub struct ServiceRegistry {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `register_instance`, `deregister_instance`, `get_backends`, `get_instance`, and `list_instances` are never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl ServiceRegistry {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] 110 |     /// Create a new service registry
[INFO] [stdout] 111 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub async fn register_instance(&self, config: ServiceInstanceConfig) -> Result<(), String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub async fn deregister_instance(&self, instance_id: &str) -> Result<(), String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub async fn get_backends(&self) -> Vec<Backend> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub async fn get_instance(&self, instance_id: &str) -> Option<ServiceInstanceConfig> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 187 |     pub async fn list_instances(&self) -> Vec<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `type_name` is never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:195:12
[INFO] [stdout]     |
[INFO] [stdout] 193 | impl ServiceInstanceType {
[INFO] [stdout]     | ------------------------ method in this implementation
[INFO] [stdout] 194 |     /// Get the type name as a string
[INFO] [stdout] 195 |     pub fn type_name(&self) -> &'static str {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_service_instance` is never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:207:14
[INFO] [stdout]     |
[INFO] [stdout] 207 | pub async fn run_service_instance(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `health_check` is never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:265:10
[INFO] [stdout]     |
[INFO] [stdout] 265 | async fn health_check(
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `service_info` is never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:297:10
[INFO] [stdout]     |
[INFO] [stdout] 297 | async fn service_info(
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `echo` is never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:344:10
[INFO] [stdout]     |
[INFO] [stdout] 344 | async fn echo(
[INFO] [stdout]     |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delayed_response` is never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:417:10
[INFO] [stdout]     |
[INFO] [stdout] 417 | async fn delayed_response(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `error_response` is never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:434:10
[INFO] [stdout]     |
[INFO] [stdout] 434 | async fn error_response(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_data` is never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:450:10
[INFO] [stdout]     |
[INFO] [stdout] 450 | async fn process_data(
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `query_record` is never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:481:10
[INFO] [stdout]     |
[INFO] [stdout] 481 | async fn query_record(
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cache_lookup` is never used
[INFO] [stdout]    --> src/examples/backend_server/multi_instance.rs:532:10
[INFO] [stdout]     |
[INFO] [stdout] 532 | async fn cache_lookup(
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Middleware` is never used
[INFO] [stdout]   --> src/middleware/mod.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub trait Middleware: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `MiddlewareHandler` is never used
[INFO] [stdout]   --> src/middleware/mod.rs:32:11
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub trait MiddlewareHandler: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MiddlewareChain` is never constructed
[INFO] [stdout]   --> src/middleware/mod.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct MiddlewareChain {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add`, and `build` are never used
[INFO] [stdout]   --> src/middleware/mod.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl MiddlewareChain {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 43 |     /// Create a new middleware chain
[INFO] [stdout] 44 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn add<M: Middleware + 'static>(&mut self, middleware: M) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn build(self, final_handler: Arc<dyn MiddlewareHandler>) -> Arc<dyn MiddlewareHandler> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MiddlewareLink` is never constructed
[INFO] [stdout]   --> src/middleware/mod.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | struct MiddlewareLink {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AuthService` is never used
[INFO] [stdout]   --> src/middleware/auth/mod.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub trait AuthService: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthMiddleware` is never constructed
[INFO] [stdout]   --> src/middleware/auth/mod.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct AuthMiddleware {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `optional`, and `extract_token` are never used
[INFO] [stdout]   --> src/middleware/auth/mod.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl AuthMiddleware {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 42 |     /// Create a new AuthMiddleware with the specified authentication service
[INFO] [stdout] 43 |     pub fn new(auth_service: Arc<dyn AuthService>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn optional(auth_service: Arc<dyn AuthService>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     fn extract_token(&self, request: &GatewayRequest) -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Claims` is never constructed
[INFO] [stdout]  --> src/middleware/auth/models.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Claims {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/middleware/auth/models.rs:38:12
[INFO] [stdout]     |
[INFO] [stdout]  36 | impl Claims {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  37 |     /// Create new claims for a subject (user ID)
[INFO] [stdout]  38 |     pub fn new(subject: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  64 |     pub fn with_expiration(mut self, duration: Duration) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  75 |     pub fn with_issuer(mut self, issuer: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub fn with_audience(mut self, audience: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  87 |     pub fn with_not_before(mut self, duration: Duration) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn with_claim<T: Serialize>(mut self, name: impl Into<String>, value: T) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn get_claim<T: for<'de> Deserialize<'de>>(&self, name: &str) -> Option<T> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn is_expired(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn is_not_valid_yet(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn remaining_validity(&self) -> Option<u64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TokenPair` is never constructed
[INFO] [stdout]    --> src/middleware/auth/models.rs:158:12
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct TokenPair {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `JwtAlgorithm` is never used
[INFO] [stdout]    --> src/middleware/auth/models.rs:175:10
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub enum JwtAlgorithm {
[INFO] [stdout]     |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthConfig` is never constructed
[INFO] [stdout]    --> src/middleware/auth/models.rs:190:12
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub struct AuthConfig {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_token_rotation` is never used
[INFO] [stdout]    --> src/middleware/auth/models.rs:229:4
[INFO] [stdout]     |
[INFO] [stdout] 229 | fn default_token_rotation() -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_max_refresh_tokens` is never used
[INFO] [stdout]    --> src/middleware/auth/models.rs:233:4
[INFO] [stdout]     |
[INFO] [stdout] 233 | fn default_max_refresh_tokens() -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_true` is never used
[INFO] [stdout]    --> src/middleware/auth/models.rs:237:4
[INFO] [stdout]     |
[INFO] [stdout] 237 | fn default_true() -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JwtAuthService` is never constructed
[INFO] [stdout]   --> src/middleware/auth/jwt.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct JwtAuthService {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RefreshToken` is never constructed
[INFO] [stdout]   --> src/middleware/auth/jwt.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct RefreshToken {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SigningAlgorithm` is never used
[INFO] [stdout]   --> src/middleware/auth/jwt.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 | enum SigningAlgorithm {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `init_algorithm`, `generate_refresh_token`, `clean_expired_tokens`, `sign_claims`, and `verify_token` are never used
[INFO] [stdout]    --> src/middleware/auth/jwt.rs:46:12
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl JwtAuthService {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout]  45 |     /// Create a new JWT authentication service with the specified configuration
[INFO] [stdout]  46 |     pub fn new(config: AuthConfig) -> Result<Self, AuthError> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  63 |     fn init_algorithm(&self) -> Result<SigningAlgorithm, AuthError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     fn generate_refresh_token(&self, user_id: &str) -> RefreshToken {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     async fn clean_expired_tokens(&self) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     fn sign_claims(&self, claims: &Claims) -> Result<String, AuthError> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     fn verify_token(&self, token: &str) -> Result<Claims, AuthError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RefreshTokenRequest` is never constructed
[INFO] [stdout]   --> src/middleware/auth/jwt_middleware.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct RefreshTokenRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RevokeTokenRequest` is never constructed
[INFO] [stdout]   --> src/middleware/auth/jwt_middleware.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct RevokeTokenRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorResponse` is never constructed
[INFO] [stdout]   --> src/middleware/auth/jwt_middleware.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct ErrorResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `jwt_routes` is never used
[INFO] [stdout]   --> src/middleware/auth/jwt_middleware.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn jwt_routes<T: AuthService + 'static>(auth_service: Arc<T>) -> Router {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `refresh_token` is never used
[INFO] [stdout]   --> src/middleware/auth/jwt_middleware.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 54 | async fn refresh_token(
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `revoke_token` is never used
[INFO] [stdout]   --> src/middleware/auth/jwt_middleware.rs:92:10
[INFO] [stdout]    |
[INFO] [stdout] 92 | async fn revoke_token(
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CacheStore` is never used
[INFO] [stdout]   --> src/middleware/cache/mod.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub trait CacheStore: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CacheMiddleware` is never constructed
[INFO] [stdout]   --> src/middleware/cache/mod.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct CacheMiddleware {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_store`, `with_policy`, `with_ttl`, and `generate_cache_key` are never used
[INFO] [stdout]   --> src/middleware/cache/mod.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl CacheMiddleware {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 57 |     /// Create a new CacheMiddleware
[INFO] [stdout] 58 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn with_store(mut self, store: Arc<dyn CacheStore>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn with_policy(mut self, policy: CachePolicy) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn with_ttl(mut self, ttl: Duration) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     fn generate_cache_key(&self, request: &GatewayRequest) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_cache_key` is never used
[INFO] [stdout]   --> src/middleware/cache/mod.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn generate_cache_key(request: &GatewayRequest, options: &CacheKeyOptions) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `normalize_path` is never used
[INFO] [stdout]    --> src/middleware/cache/mod.rs:141:4
[INFO] [stdout]     |
[INFO] [stdout] 141 | fn normalize_path(path: &str) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CachedResponse` is never constructed
[INFO] [stdout]   --> src/middleware/cache/models.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct CachedResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_gateway_response`, `to_gateway_response`, `is_expired`, and `remaining_ttl` are never used
[INFO] [stdout]    --> src/middleware/cache/models.rs:36:12
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl CachedResponse {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout]  35 |     /// Create a new CachedResponse from a GatewayResponse
[INFO] [stdout]  36 |     pub fn from_gateway_response(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn to_gateway_response(&self) -> GatewayResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn is_expired(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn remaining_ttl(&self) -> u64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CacheKeyOptions` is never constructed
[INFO] [stdout]    --> src/middleware/cache/models.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct CacheKeyOptions {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CachePolicy` is never constructed
[INFO] [stdout]    --> src/middleware/cache/models.rs:164:12
[INFO] [stdout]     |
[INFO] [stdout] 164 | pub struct CachePolicy {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_request_cacheable`, `is_response_cacheable`, and `get_ttl_for_response` are never used
[INFO] [stdout]    --> src/middleware/cache/models.rs:209:12
[INFO] [stdout]     |
[INFO] [stdout] 207 | impl CachePolicy {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] 208 |     /// Check if a request is cacheable based on this policy
[INFO] [stdout] 209 |     pub fn is_request_cacheable(&self, request: &crate::core::request::GatewayRequest) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     pub fn is_response_cacheable(&self, response: &GatewayResponse) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 247 |     pub fn get_ttl_for_response(&self, response: &GatewayResponse) -> Duration {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CacheStats` is never constructed
[INFO] [stdout]   --> src/middleware/cache/memory_store.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct CacheStats {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/middleware/cache/memory_store.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl CacheStats {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 48 |     /// Create new cache statistics
[INFO] [stdout] 49 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn reset(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn update_hit_ratio(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub fn record_hit(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn record_miss(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn record_eviction(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn record_insertion(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn record_deletion(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 |     pub fn record_expiration(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LruCacheEntry` is never constructed
[INFO] [stdout]    --> src/middleware/cache/memory_store.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 105 | struct LruCacheEntry {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MemoryStore` is never constructed
[INFO] [stdout]    --> src/middleware/cache/memory_store.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub struct MemoryStore {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/middleware/cache/memory_store.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 128 | impl MemoryStore {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 129 |     /// Create a new MemoryStore with default settings
[INFO] [stdout] 130 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn with_max_entries(max_entries: usize) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub fn with_cleanup_interval(mut self, seconds: u64) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |     pub fn clean_expired(&self) -> Result<usize, CacheError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 204 |     fn update_lru(&self, key: &str) -> Result<(), CacheError> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     fn evict_if_needed(&self, new_key: &str) -> Result<(), CacheError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 262 |     pub fn get_stats(&self) -> Result<CacheStats, CacheError> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     pub fn reset_stats(&self) -> Result<(), CacheError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |     pub fn size(&self) -> Result<usize, CacheError> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 290 |     fn check_auto_cleanup(&self) -> Result<(), CacheError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RedisConfig` is never constructed
[INFO] [stdout]   --> src/middleware/cache/redis_store.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct RedisConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RedisStore` is never constructed
[INFO] [stdout]   --> src/middleware/cache/redis_store.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct RedisStore {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_prefix`, `get_prefixed_key`, and `handle_redis_error` are never used
[INFO] [stdout]   --> src/middleware/cache/redis_store.rs:43:18
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl RedisStore {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 42 |     /// Create a new RedisStore with the given configuration
[INFO] [stdout] 43 |     pub async fn new(config: RedisConfig) -> Result<Self, CacheError> {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn with_prefix(mut self, prefix: &str) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     fn get_prefixed_key(&self, key: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     fn handle_redis_error(&self, err: RedisError) -> CacheError {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ExampleHandler` is never constructed
[INFO] [stdout]   --> src/middleware/cache/examples.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct ExampleHandler;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `memory_cache_example` is never used
[INFO] [stdout]   --> src/middleware/cache/examples.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub async fn memory_cache_example() {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `redis_cache_example` is never used
[INFO] [stdout]   --> src/middleware/cache/examples.rs:88:14
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub async fn redis_cache_example() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `redis_pool_example` is never used
[INFO] [stdout]    --> src/middleware/cache/examples.rs:157:14
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub async fn redis_pool_example() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ServiceDiscovery` is never used
[INFO] [stdout]   --> src/middleware/load_balancer/mod.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub trait ServiceDiscovery: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BackendStatus` is never used
[INFO] [stdout]   --> src/middleware/load_balancer/mod.rs:48:10
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub enum BackendStatus {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BackendStats` is never constructed
[INFO] [stdout]   --> src/middleware/load_balancer/mod.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct BackendStats {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BackendRegistry` is never constructed
[INFO] [stdout]    --> src/middleware/load_balancer/mod.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub struct BackendRegistry {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/middleware/load_balancer/mod.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout] 110 | impl BackendRegistry {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] 111 |     /// Create a new backend registry
[INFO] [stdout] 112 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub async fn register(&self, backend: Backend) -> Result<(), LoadBalancerError> {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub async fn deregister(&self, backend_id: &str) -> Result<(), LoadBalancerError> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub async fn get(&self, backend_id: &str) -> Result<Backend, LoadBalancerError> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 165 |     pub async fn get_all(&self) -> Vec<Backend> {
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub async fn get_healthy(&self) -> Vec<Backend> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     pub async fn update_health(&self, backend_id: &str, healthy: bool) -> Result<(), LoadBalancerError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 214 |     pub async fn update_stats(
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 243 |     pub async fn get_stats(&self, backend_id: &str) -> Result<BackendStats, LoadBalancerError> {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub async fn get_all_stats(&self) -> HashMap<String, BackendStats> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LoadBalanceStrategy` is never used
[INFO] [stdout]    --> src/middleware/load_balancer/mod.rs:261:11
[INFO] [stdout]     |
[INFO] [stdout] 261 | pub trait LoadBalanceStrategy: Send + Sync {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `HealthChecker` is never used
[INFO] [stdout]    --> src/middleware/load_balancer/mod.rs:281:11
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub trait HealthChecker: Send + Sync {
[INFO] [stdout]     |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpHealthChecker` is never constructed
[INFO] [stdout]    --> src/middleware/load_balancer/mod.rs:293:12
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub struct HttpHealthChecker {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/middleware/load_balancer/mod.rs:303:12
[INFO] [stdout]     |
[INFO] [stdout] 301 | impl HttpHealthChecker {
[INFO] [stdout]     | ---------------------- associated function in this implementation
[INFO] [stdout] 302 |     /// Create a new HTTP health checker
[INFO] [stdout] 303 |     pub fn new(config: LoadBalancerConfig) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LoadBalancerMiddleware` is never constructed
[INFO] [stdout]    --> src/middleware/load_balancer/mod.rs:388:12
[INFO] [stdout]     |
[INFO] [stdout] 388 | pub struct LoadBalancerMiddleware {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/middleware/load_balancer/mod.rs:397:12
[INFO] [stdout]     |
[INFO] [stdout] 395 | impl LoadBalancerMiddleware {
[INFO] [stdout]     | --------------------------- associated items in this implementation
[INFO] [stdout] 396 |     /// Create a new LoadBalancerMiddleware
[INFO] [stdout] 397 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 407 |     pub fn with_strategy(mut self, strategy: Arc<dyn LoadBalanceStrategy + Send + Sync>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 413 |     pub fn with_health_checker(mut self, health_checker: Arc<dyn HealthChecker + Send + Sync>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 419 |     pub async fn register_backends(&self, backends: Vec<Backend>) -> Result<(), LoadBalancerError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 428 |     pub async fn start_health_checker(&self) -> Result<(), LoadBalancerError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 437 |     pub async fn stop_health_checker(&self) -> Result<(), LoadBalancerError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 446 |     pub async fn get_healthy_backends(&self) -> Vec<Backend> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 451 |     pub async fn get_backend_stats(&self) -> HashMap<String, BackendStats> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RoundRobinStrategy` is never constructed
[INFO] [stdout]   --> src/middleware/load_balancer/strategies.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct RoundRobinStrategy {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/middleware/load_balancer/strategies.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl RoundRobinStrategy {
[INFO] [stdout]    | ----------------------- associated function in this implementation
[INFO] [stdout] 28 |     /// Create a new RoundRobinStrategy
[INFO] [stdout] 29 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WeightedRoundRobinStrategy` is never constructed
[INFO] [stdout]   --> src/middleware/load_balancer/strategies.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub struct WeightedRoundRobinStrategy {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `expand_backends` are never used
[INFO] [stdout]   --> src/middleware/load_balancer/strategies.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl WeightedRoundRobinStrategy {
[INFO] [stdout]    | ------------------------------- associated items in this implementation
[INFO] [stdout] 85 |     /// Create a new WeightedRoundRobinStrategy
[INFO] [stdout] 86 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 98 |     fn expand_backends(&self, backends: &[Backend]) -> Vec<Backend> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LeastConnectionsStrategy` is never constructed
[INFO] [stdout]    --> src/middleware/load_balancer/strategies.rs:161:12
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub struct LeastConnectionsStrategy {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/middleware/load_balancer/strategies.rs:170:12
[INFO] [stdout]     |
[INFO] [stdout] 168 | impl LeastConnectionsStrategy {
[INFO] [stdout]     | ----------------------------- associated function in this implementation
[INFO] [stdout] 169 |     /// Create a new LeastConnectionsStrategy
[INFO] [stdout] 170 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IpHashStrategy` is never constructed
[INFO] [stdout]    --> src/middleware/load_balancer/strategies.rs:246:12
[INFO] [stdout]     |
[INFO] [stdout] 246 | pub struct IpHashStrategy {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `hash_ip` are never used
[INFO] [stdout]    --> src/middleware/load_balancer/strategies.rs:253:12
[INFO] [stdout]     |
[INFO] [stdout] 251 | impl IpHashStrategy {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] 252 |     /// Create a new IpHashStrategy
[INFO] [stdout] 253 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 263 |     fn hash_ip(&self, ip: &IpAddr) -> u64 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LoadBalanceStrategyFactory` is never constructed
[INFO] [stdout]    --> src/middleware/load_balancer/strategies.rs:321:12
[INFO] [stdout]     |
[INFO] [stdout] 321 | pub struct LoadBalanceStrategyFactory;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create` is never used
[INFO] [stdout]    --> src/middleware/load_balancer/strategies.rs:325:12
[INFO] [stdout]     |
[INFO] [stdout] 323 | impl LoadBalanceStrategyFactory {
[INFO] [stdout]     | ------------------------------- associated function in this implementation
[INFO] [stdout] 324 |     /// Create a new load balancing strategy based on the algorithm name
[INFO] [stdout] 325 |     pub fn create(algorithm: &str) -> Result<Box<dyn LoadBalanceStrategy + Send + Sync>, LoadBalancerError> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AdvancedHealthChecker` is never constructed
[INFO] [stdout]   --> src/middleware/load_balancer/health_checker.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct AdvancedHealthChecker {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HealthCheckStats` is never constructed
[INFO] [stdout]   --> src/middleware/load_balancer/health_checker.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct HealthCheckStats {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CircuitBreakerState` is never used
[INFO] [stdout]   --> src/middleware/load_balancer/health_checker.rs:82:10
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub enum CircuitBreakerState {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/middleware/load_balancer/health_checker.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | impl AdvancedHealthChecker {
[INFO] [stdout]     | -------------------------- associated items in this implementation
[INFO] [stdout] 106 |     /// Create a new advanced HTTP health checker
[INFO] [stdout] 107 |     pub fn new(config: LoadBalancerConfig) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     async fn update_stats(
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 193 |     pub async fn get_stats(&self) -> HashMap<String, HealthCheckStats> {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     async fn update_circuit_breaker(&self, backend_id: &str, success: bool) -> CircuitBreakerState {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 |     async fn should_mark_healthy(&self, backend_id: &str, success: bool) -> bool {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 310 |     pub async fn get_circuit_breaker_state(&self, backend_id: &str) -> Option<CircuitBreakerState> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 316 |     pub async fn attempt_recovery(&self, registry: &Arc<BackendRegistry>) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 363 |     pub async fn detect_response_time_anomalies(&self, backend_id: &str) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 404 |     pub async fn reset_circuit_breaker(&self, backend_id: &str) -> Result<(), LoadBalancerError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HealthCheckerFactory` is never constructed
[INFO] [stdout]    --> src/middleware/load_balancer/health_checker.rs:610:12
[INFO] [stdout]     |
[INFO] [stdout] 610 | pub struct HealthCheckerFactory;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create` is never used
[INFO] [stdout]    --> src/middleware/load_balancer/health_checker.rs:614:12
[INFO] [stdout]     |
[INFO] [stdout] 612 | impl HealthCheckerFactory {
[INFO] [stdout]     | ------------------------- associated function in this implementation
[INFO] [stdout] 613 |     /// Create a new health checker
[INFO] [stdout] 614 |     pub fn create(config: LoadBalancerConfig) -> Arc<dyn HealthChecker + Send + Sync> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_balancer_example` is never used
[INFO] [stdout]   --> src/middleware/load_balancer/examples.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub async fn load_balancer_example() {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileBasedServiceDiscovery` is never constructed
[INFO] [stdout]   --> src/middleware/load_balancer/examples.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct FileBasedServiceDiscovery {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `load_backends_from_file` are never used
[INFO] [stdout]    --> src/middleware/load_balancer/examples.rs:92:12
[INFO] [stdout]     |
[INFO] [stdout]  90 | impl FileBasedServiceDiscovery {
[INFO] [stdout]     | ------------------------------ associated items in this implementation
[INFO] [stdout]  91 |     /// Create a new file-based service discovery provider
[INFO] [stdout]  92 |     pub fn new(config_path: &str) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     async fn load_backends_from_file(&self) -> Result<Vec<Backend>, crate::error::LoadBalancerError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Basic` and `Full` are never constructed
[INFO] [stdout]   --> src/middleware/logging.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum LogLevel {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 26 |     /// Log basic information
[INFO] [stdout] 27 |     Basic,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     Full,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LogLevel` 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: associated functions `basic` and `full` are never used
[INFO] [stdout]   --> src/middleware/logging.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | impl LoggingMiddleware {
[INFO] [stdout]    | ---------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub fn basic() -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn full() -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_trace_id` is never used
[INFO] [stdout]    --> src/middleware/logging.rs:415:8
[INFO] [stdout]     |
[INFO] [stdout] 415 | pub fn generate_trace_id() -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_operation_span` is never used
[INFO] [stdout]    --> src/middleware/logging.rs:420:8
[INFO] [stdout]     |
[INFO] [stdout] 420 | pub fn create_operation_span(operation: &str, request_id: &str) -> Span {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_error` is never used
[INFO] [stdout]    --> src/middleware/logging.rs:431:8
[INFO] [stdout]     |
[INFO] [stdout] 431 | pub fn log_error(error: &GatewayError, request_id: &str, context: &str) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_security_event` is never used
[INFO] [stdout]    --> src/middleware/logging.rs:448:8
[INFO] [stdout]     |
[INFO] [stdout] 448 | pub fn log_security_event(event_type: &str, request_id: &str, details: &str, severity: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `logging_examples` is never used
[INFO] [stdout]   --> src/middleware/logging_examples.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn logging_examples() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_sample_request` is never used
[INFO] [stdout]   --> src/middleware/logging_examples.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn create_sample_request() -> GatewayRequest {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `async_logging_example` is never used
[INFO] [stdout]   --> src/middleware/logging_examples.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub async fn async_logging_example() {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Backend` is never constructed
[INFO] [stdout]  --> src/models/mod.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Backend {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_weight`, `with_health_check_path`, `with_timeout`, `with_tag`, and `with_metadata` are never used
[INFO] [stdout]   --> src/models/mod.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl Backend {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 38 |     /// Create a new backend with the given URL
[INFO] [stdout] 39 |     pub fn new(url: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn with_weight(mut self, weight: u32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn with_health_check_path(mut self, path: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     pub fn with_timeout(mut self, timeout_seconds: u64) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn with_tag(mut self, tag: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub fn with_metadata(mut self, key: String, value: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Claims` is never constructed
[INFO] [stdout]   --> src/models/mod.rs:96:12
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub struct Claims {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TokenPair` is never constructed
[INFO] [stdout]    --> src/models/mod.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub struct TokenPair {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, redis v0.23.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "9049189ac28b706367daadedcfa0bb0cdd4b63ca573a084ee51896f1126b1afe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9049189ac28b706367daadedcfa0bb0cdd4b63ca573a084ee51896f1126b1afe", kill_on_drop: false }`
[INFO] [stdout] 9049189ac28b706367daadedcfa0bb0cdd4b63ca573a084ee51896f1126b1afe
