[INFO] cloning repository https://github.com/Bliod-Cook/rota-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bliod-Cook/rota-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBliod-Cook%2Frota-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBliod-Cook%2Frota-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 23b2687fc09a09b516d4c0ef7775f6d5e62084a8
[INFO] checking Bliod-Cook/rota-rust against try#b10dae361a61486cfbdcd3aae3877ee17e00d192 for pr-153912
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBliod-Cook%2Frota-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Bliod-Cook/rota-rust
[INFO] finished tweaking git repo https://github.com/Bliod-Cook/rota-rust
[INFO] tweaked toml for git repo https://github.com/Bliod-Cook/rota-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Bliod-Cook/rota-rust on toolchain b10dae361a61486cfbdcd3aae3877ee17e00d192
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Bliod-Cook/rota-rust 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" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d4e5b02a998c18d0e340e24efcc9b2b42bfe22f3fd5dd1145e6a1139ca0a5c2c
[INFO] running `Command { std: "docker" "start" "-a" "d4e5b02a998c18d0e340e24efcc9b2b42bfe22f3fd5dd1145e6a1139ca0a5c2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d4e5b02a998c18d0e340e24efcc9b2b42bfe22f3fd5dd1145e6a1139ca0a5c2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d4e5b02a998c18d0e340e24efcc9b2b42bfe22f3fd5dd1145e6a1139ca0a5c2c", kill_on_drop: false }`
[INFO] [stdout] d4e5b02a998c18d0e340e24efcc9b2b42bfe22f3fd5dd1145e6a1139ca0a5c2c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be889f8e39e1a8ae9aa559f92f6ac52affa97f13562828597fae71016b52a845
[INFO] running `Command { std: "docker" "start" "-a" "be889f8e39e1a8ae9aa559f92f6ac52affa97f13562828597fae71016b52a845", kill_on_drop: false }`
[INFO] [stderr] Compiling zerocopy v0.8.33
[INFO] [stderr] Compiling serde_core v1.0.228
[INFO] [stderr] Compiling serde v1.0.228
[INFO] [stderr] Compiling libc v0.2.180
[INFO] [stderr] Compiling icu_properties_data v2.1.2
[INFO] [stderr] Compiling stable_deref_trait v1.2.1
[INFO] [stderr] Compiling ahash v0.8.12
[INFO] [stderr] Compiling syn v2.0.114
[INFO] [stderr] Checking parking_lot_core v0.9.12
[INFO] [stderr] Checking errno v0.3.14
[INFO] [stderr] Checking mio v1.1.1
[INFO] [stderr] Checking socket2 v0.6.1
[INFO] [stderr] Checking tracing-core v0.1.36
[INFO] [stderr] Compiling zmij v1.0.16
[INFO] [stderr] Checking generic-array v0.14.7
[INFO] [stderr] Checking futures-io v0.3.31
[INFO] [stderr] Compiling typenum v1.19.0
[INFO] [stderr] Checking signal-hook-registry v1.4.8
[INFO] [stderr] Compiling serde_json v1.0.149
[INFO] [stderr] Checking subtle v2.6.1
[INFO] [stderr] Compiling smallvec v1.15.1
[INFO] [stderr] Compiling writeable v0.6.2
[INFO] [stderr] Compiling litemap v0.8.1
[INFO] [stderr] Checking http v1.4.0
[INFO] [stderr] Checking parking_lot v0.12.5
[INFO] [stderr] Compiling icu_normalizer_data v2.1.1
[INFO] [stderr] Checking getrandom v0.3.4
[INFO] [stderr] Compiling num-traits v0.2.19
[INFO] [stderr] Compiling pin-project-lite v0.2.16
[INFO] [stderr] Compiling memchr v2.7.6
[INFO] [stderr] Compiling futures-core v0.3.31
[INFO] [stderr] Compiling crossbeam-utils v0.8.21
[INFO] [stderr] Checking indexmap v2.13.0
[INFO] [stderr] Compiling allocator-api2 v0.2.21
[INFO] [stderr] Compiling futures-sink v0.3.31
[INFO] [stderr] Compiling percent-encoding v2.3.2
[INFO] [stderr] Compiling utf8_iter v1.0.4
[INFO] [stderr] Checking block-buffer v0.10.4
[INFO] [stderr] Checking crypto-common v0.1.7
[INFO] [stderr] Checking digest v0.10.7
[INFO] [stderr] Compiling getrandom v0.2.17
[INFO] [stderr] Compiling bytes v1.11.0
[INFO] [stderr] Compiling nom v7.1.3
[INFO] [stderr] Compiling rand_core v0.6.4
[INFO] [stderr] Compiling form_urlencoded v1.2.2
[INFO] [stderr] Compiling tinyvec v1.10.0
[INFO] [stderr] Checking http-body v1.0.1
[INFO] [stderr] Compiling rustix v1.1.3
[INFO] [stderr] Compiling crc-catalog v2.4.0
[INFO] [stderr] Compiling futures-task v0.3.31
[INFO] [stderr] Compiling pin-utils v0.1.0
[INFO] [stderr] Compiling bitflags v2.10.0
[INFO] [stderr] Compiling slab v0.4.11
[INFO] [stderr] Compiling itoa v1.0.17
[INFO] [stderr] Compiling iana-time-zone v0.1.64
[INFO] [stderr] Compiling unicode_categories v0.1.1
[INFO] [stderr] Compiling tokio v1.49.0
[INFO] [stderr] Compiling futures-util v0.3.31
[INFO] [stderr] Compiling chrono v0.4.43
[INFO] [stderr] Compiling unicode-normalization v0.1.25
[INFO] [stderr] Compiling crossbeam-queue v0.3.12
[INFO] [stderr] Compiling atoi v2.0.0
[INFO] [stderr] Compiling crc v3.4.0
[INFO] [stderr] Compiling futures-intrusive v0.5.0
[INFO] [stderr] Compiling futures-channel v0.3.31
[INFO] [stderr] Compiling ppv-lite86 v0.2.21
[INFO] [stderr] Compiling hashbrown v0.14.5
[INFO] [stderr] Compiling unicode-properties v0.1.4
[INFO] [stderr] Compiling sha2 v0.10.9
[INFO] [stderr] Compiling hmac v0.12.1
[INFO] [stderr] Compiling byteorder v1.5.0
[INFO] [stderr] Compiling linux-raw-sys v0.11.0
[INFO] [stderr] Compiling unicode-bidi v0.3.18
[INFO] [stderr] Compiling rand_chacha v0.3.1
[INFO] [stderr] Compiling event-listener v2.5.3
[INFO] [stderr] Compiling syn v1.0.109
[INFO] [stderr] Compiling find-msvc-tools v0.1.8
[INFO] [stderr] Compiling uuid v1.19.0
[INFO] [stderr] Checking rand v0.8.5
[INFO] [stderr] Compiling hashlink v0.8.4
[INFO] [stderr] Compiling cc v1.2.53
[INFO] [stderr] Compiling stringprep v0.1.5
[INFO] [stderr] Compiling hkdf v0.12.4
[INFO] [stderr] Compiling md-5 v0.10.6
[INFO] [stderr] Compiling dotenvy v0.15.7
[INFO] [stderr] Compiling sqlformat v0.2.6
[INFO] [stderr] Compiling time-core v0.1.7
[INFO] [stderr] Compiling fastrand v2.3.0
[INFO] [stderr] Compiling whoami v1.6.1
[INFO] [stderr] Compiling home v0.5.12
[INFO] [stderr] Compiling thiserror v2.0.18
[INFO] [stderr] Compiling base64 v0.21.7
[INFO] [stderr] Compiling heck v0.4.1
[INFO] [stderr] Compiling time-macros v0.2.25
[INFO] [stderr] Checking deranged v0.5.5
[INFO] [stderr] Checking http-body-util v0.1.3
[INFO] [stderr] Checking sha1 v0.10.6
[INFO] [stderr] Checking num-integer v0.1.46
[INFO] [stderr] Compiling indexmap v1.9.3
[INFO] [stderr] Checking data-encoding v2.10.0
[INFO] [stderr] Compiling ring v0.17.14
[INFO] [stderr] Compiling portable-atomic v1.13.0
[INFO] [stderr] Checking sync_wrapper v1.0.2
[INFO] [stderr] Checking num-bigint v0.4.6
[INFO] [stderr] Compiling tempfile v3.24.0
[INFO] [stderr] Checking raw-cpuid v11.6.0
[INFO] [stderr] Checking ryu v1.0.22
[INFO] [stderr] Checking hashbrown v0.12.3
[INFO] [stderr] Checking time v0.3.45
[INFO] [stderr] Checking sharded-slab v0.1.7
[INFO] [stderr] Checking pem v3.0.6
[INFO] [stderr] Checking dashmap v5.5.3
[INFO] [stderr] Checking serde_path_to_error v0.1.20
[INFO] [stderr] Checking hdrhistogram v7.5.4
[INFO] [stderr] Checking tracing-log v0.2.0
[INFO] [stderr] Checking spinning_top v0.3.0
[INFO] [stderr] Checking thread_local v1.1.9
[INFO] [stderr] Checking no-std-compat v0.4.1
[INFO] [stderr] Checking nonzero_ext v0.3.0
[INFO] [stderr] Checking futures-timer v3.0.3
[INFO] [stderr] Checking matchit v0.7.3
[INFO] [stderr] Checking arc-swap v1.8.0
[INFO] [stderr] Compiling synstructure v0.13.2
[INFO] [stderr] Checking quanta v0.12.6
[INFO] [stderr] Compiling zerovec-derive v0.11.2
[INFO] [stderr] Compiling displaydoc v0.2.5
[INFO] [stderr] Compiling serde_derive v1.0.228
[INFO] [stderr] Compiling tracing-attributes v0.1.31
[INFO] [stderr] Compiling tokio-macros v2.6.0
[INFO] [stderr] Compiling futures-macro v0.3.31
[INFO] [stderr] Compiling thiserror-impl v1.0.69
[INFO] [stderr] Compiling thiserror-impl v2.0.18
[INFO] [stderr] Compiling async-trait v0.1.89
[INFO] [stderr] Compiling pin-project-internal v1.1.10
[INFO] [stderr] Compiling zerofrom-derive v0.1.6
[INFO] [stderr] Compiling yoke-derive v0.8.1
[INFO] [stderr] Compiling tokio-stream v0.1.18
[INFO] [stderr] Compiling axum-macros v0.4.2
[INFO] [stderr] Checking thiserror v1.0.69
[INFO] [stderr] Checking tungstenite v0.24.0
[INFO] [stderr] Compiling zerofrom v0.1.6
[INFO] [stderr] Checking tracing v0.1.44
[INFO] [stderr] Checking simple_asn1 v0.6.3
[INFO] [stderr] Compiling yoke v0.8.1
[INFO] [stderr] Checking pin-project v1.1.10
[INFO] [stderr] Checking zerovec v0.11.5
[INFO] [stderr] Checking zerotrie v0.2.3
[INFO] [stderr] Checking tinystr v0.8.2
[INFO] [stderr] Checking potential_utf v0.1.4
[INFO] [stderr] Checking icu_collections v2.1.1
[INFO] [stderr] Compiling icu_locale_core v2.1.1
[INFO] [stderr] Compiling icu_provider v2.1.1
[INFO] [stderr] Compiling either v1.15.0
[INFO] [stderr] Compiling icu_properties v2.1.2
[INFO] [stderr] Compiling icu_normalizer v2.1.1
[INFO] [stderr] Checking serde_urlencoded v0.7.1
[INFO] [stderr] Checking tracing-serde v0.2.0
[INFO] [stderr] Checking jsonwebtoken v9.3.1
[INFO] [stderr] Checking tracing-subscriber v0.3.22
[INFO] [stderr] Checking rayon v1.11.0
[INFO] [stderr] Checking futures-executor v0.3.31
[INFO] [stderr] Checking axum-core v0.4.5
[INFO] [stderr] Compiling idna_adapter v1.2.1
[INFO] [stderr] Compiling idna v1.1.0
[INFO] [stderr] Checking futures v0.3.31
[INFO] [stderr] Checking governor v0.6.3
[INFO] [stderr] Compiling url v2.5.8
[INFO] [stderr] Compiling sqlx-core v0.7.4
[INFO] [stderr] Checking sysinfo v0.30.13
[INFO] [stderr] Checking tokio-util v0.7.18
[INFO] [stderr] Checking tower v0.5.3
[INFO] [stderr] Checking tokio-tungstenite v0.24.0
[INFO] [stderr] Checking tokio-socks v0.5.2
[INFO] [stderr] Checking tower-http v0.5.2
[INFO] [stderr] Checking tokio-test v0.4.5
[INFO] [stderr] Checking h2 v0.4.13
[INFO] [stderr] Checking tower v0.4.13
[INFO] [stderr] Compiling sqlx-postgres v0.7.4
[INFO] [stderr] Checking hyper v1.8.1
[INFO] [stderr] Checking hyper-util v0.1.19
[INFO] [stderr] Compiling sqlx-macros-core v0.7.4
[INFO] [stderr] Compiling sqlx-macros v0.7.4
[INFO] [stderr] Checking axum v0.7.9
[INFO] [stderr] Checking sqlx v0.7.4
[INFO] [stderr] Checking rota v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `AuthenticatedUser` and `Claims`
[INFO] [stdout] --> src/api/middleware/mod.rs:8:26
[INFO] [stdout] |
[INFO] [stdout] 8 | pub use jwt::{AuthError, AuthenticatedUser, Claims, JwtAuth};
[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: `logging::RequestLogging`
[INFO] [stdout] --> src/api/middleware/mod.rs:9:9
[INFO] [stdout] |
[INFO] [stdout] 9 | pub use logging::RequestLogging;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `AuthenticatedUser` and `Claims`
[INFO] [stdout] --> src/api/middleware/mod.rs:8:26
[INFO] [stdout] |
[INFO] [stdout] 8 | pub use jwt::{AuthError, AuthenticatedUser, Claims, JwtAuth};
[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: `logging::RequestLogging`
[INFO] [stdout] --> src/api/middleware/mod.rs:9:9
[INFO] [stdout] |
[INFO] [stdout] 9 | pub use logging::RequestLogging;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `handler::ProxyHandler`
[INFO] [stdout] --> src/proxy/mod.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | pub use handler::ProxyHandler;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `health::HealthChecker`
[INFO] [stdout] --> src/proxy/mod.rs:20:9
[INFO] [stdout] |
[INFO] [stdout] 20 | pub use health::HealthChecker;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `ProxySelector`, `RotationStrategy`, and `create_selector`
[INFO] [stdout] --> src/proxy/mod.rs:21:20
[INFO] [stdout] |
[INFO] [stdout] 21 | pub use rotation::{create_selector, ProxySelector, RotationStrategy};
[INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `handler::ProxyHandler`
[INFO] [stdout] --> src/proxy/mod.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | pub use handler::ProxyHandler;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `health::HealthChecker`
[INFO] [stdout] --> src/proxy/mod.rs:20:9
[INFO] [stdout] |
[INFO] [stdout] 20 | pub use health::HealthChecker;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `ProxySelector`, `RotationStrategy`, and `create_selector`
[INFO] [stdout] --> src/proxy/mod.rs:21:20
[INFO] [stdout] |
[INFO] [stdout] 21 | pub use rotation::{create_selector, ProxySelector, RotationStrategy};
[INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `server::ProxyServer`
[INFO] [stdout] --> src/proxy/mod.rs:22:9
[INFO] [stdout] |
[INFO] [stdout] 22 | pub use server::ProxyServer;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `transport::ProxyTransport`
[INFO] [stdout] --> src/proxy/mod.rs:23:9
[INFO] [stdout] |
[INFO] [stdout] 23 | pub use transport::ProxyTransport;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `tunnel::TunnelHandler`
[INFO] [stdout] --> src/proxy/mod.rs:24:9
[INFO] [stdout] |
[INFO] [stdout] 24 | pub use tunnel::TunnelHandler;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `server::ProxyServer`
[INFO] [stdout] --> src/proxy/mod.rs:22:9
[INFO] [stdout] |
[INFO] [stdout] 22 | pub use server::ProxyServer;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `transport::ProxyTransport`
[INFO] [stdout] --> src/proxy/mod.rs:23:9
[INFO] [stdout] |
[INFO] [stdout] 23 | pub use transport::ProxyTransport;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `tunnel::TunnelHandler`
[INFO] [stdout] --> src/proxy/mod.rs:24:9
[INFO] [stdout] |
[INFO] [stdout] 24 | pub use tunnel::TunnelHandler;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant `MissingToken` is never constructed
[INFO] [stdout] --> src/api/middleware/jwt.rs:111:5
[INFO] [stdout] |
[INFO] [stdout] 107 | pub enum AuthError {
[INFO] [stdout] | --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 111 | MissingToken,
[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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `AuthenticatedUser` is never constructed
[INFO] [stdout] --> src/api/middleware/jwt.rs:131:12
[INFO] [stdout] |
[INFO] [stdout] 131 | pub struct AuthenticatedUser {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `RequestLogging` is never constructed
[INFO] [stdout] --> src/api/middleware/logging.rs:11:12
[INFO] [stdout] |
[INFO] [stdout] 11 | pub struct RequestLogging;
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `log_request` is never used
[INFO] [stdout] --> src/api/middleware/logging.rs:15:18
[INFO] [stdout] |
[INFO] [stdout] 13 | impl RequestLogging {
[INFO] [stdout] | ------------------- associated function in this implementation
[INFO] [stdout] 14 | /// Log request details
[INFO] [stdout] 15 | pub async fn log_request(req: Request
, next: Next) -> Response {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `ApiServerBuilder` is never constructed
[INFO] [stdout] --> src/api/server.rs:108:12
[INFO] [stdout] |
[INFO] [stdout] 108 | pub struct ApiServerBuilder {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new`, `config`, `database`, `selector`, `log_sender`, and `build` are never used
[INFO] [stdout] --> src/api/server.rs:117:12
[INFO] [stdout] |
[INFO] [stdout] 116 | impl ApiServerBuilder {
[INFO] [stdout] | --------------------- associated items in this implementation
[INFO] [stdout] 117 | pub fn new(api_config: ApiServerConfig) -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 | pub fn config(mut self, config: Config) -> Self {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 | pub fn database(mut self, db: Database) -> Self {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 | pub fn selector(mut self, selector: Arc) -> Self {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 | pub fn log_sender(mut self, sender: broadcast::Sender) -> Self {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 | pub fn build(self) -> ApiServer {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `log` is never read
[INFO] [stdout] --> src/config.rs:17:9
[INFO] [stdout] |
[INFO] [stdout] 7 | pub struct Config {
[INFO] [stdout] | ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 | pub log: LogConfig,
[INFO] [stdout] | ^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Config` 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 `rate_limit_enabled`, `rate_limit_per_second`, and `rate_limit_burst` are never read
[INFO] [stdout] --> src/config.rs:39:9
[INFO] [stdout] |
[INFO] [stdout] 21 | pub struct ProxyServerConfig {
[INFO] [stdout] | ----------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 39 | pub rate_limit_enabled: bool,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 40 | /// Rate limit requests per second
[INFO] [stdout] 41 | pub rate_limit_per_second: u32,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 42 | /// Rate limit burst size
[INFO] [stdout] 43 | pub rate_limit_burst: u32,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `ProxyServerConfig` 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 `level` and `format` are never read
[INFO] [stdout] --> src/config.rs:108:9
[INFO] [stdout] |
[INFO] [stdout] 106 | pub struct LogConfig {
[INFO] [stdout] | --------- fields in this struct
[INFO] [stdout] 107 | /// Log level (debug, info, warn, error)
[INFO] [stdout] 108 | pub level: String,
[INFO] [stdout] | ^^^^^
[INFO] [stdout] 109 | /// Output format (json, pretty)
[INFO] [stdout] 110 | pub format: String,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `LogConfig` 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 `health_check`, `pool_stats`, and `close` are never used
[INFO] [stdout] --> src/database/pool.rs:51:18
[INFO] [stdout] |
[INFO] [stdout] 13 | impl Database {
[INFO] [stdout] | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51 | pub async fn health_check(&self) -> Result {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 | pub fn pool_stats(&self) -> PoolStats {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 | pub async fn close(&self) {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `PoolStats` is never constructed
[INFO] [stdout] --> src/database/pool.rs:89:12
[INFO] [stdout] |
[INFO] [stdout] 89 | pub struct PoolStats {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout] --> src/error.rs:27:5
[INFO] [stdout] |
[INFO] [stdout] 11 | pub enum RotaError {
[INFO] [stdout] | --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 27 | AllProxiesExhausted { attempts: u32 },
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 | TunnelError(String),
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 | ConnectFailed(String),
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 | InvalidCredentials,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 | MissingAuthHeader,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 | InvalidAuthHeader,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 | MissingEnvVar(String),
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 | RequestTimeout,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 | SettingsNotFound { key: String },
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `RotaError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `DatabaseHealth` is never constructed
[INFO] [stdout] --> src/models/dashboard.rs:109:12
[INFO] [stdout] |
[INFO] [stdout] 109 | pub struct DatabaseHealth {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `HealthStatus` is never constructed
[INFO] [stdout] --> src/models/dashboard.rs:118:12
[INFO] [stdout] |
[INFO] [stdout] 118 | pub struct HealthStatus {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `warning` is never used
[INFO] [stdout] --> src/models/log.rs:92:12
[INFO] [stdout] |
[INFO] [stdout] 73 | impl CreateLogRequest {
[INFO] [stdout] | --------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 92 | pub fn warning(message: impl Into) -> Self {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `BulkDeleteProxiesRequest` is never constructed
[INFO] [stdout] --> src/models/proxy.rs:276:12
[INFO] [stdout] |
[INFO] [stdout] 276 | pub struct BulkDeleteProxiesRequest {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `is_enabled` is never used
[INFO] [stdout] --> src/proxy/middleware/auth.rs:43:12
[INFO] [stdout] |
[INFO] [stdout] 23 | impl ProxyAuth {
[INFO] [stdout] | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 43 | pub fn is_enabled(&self) -> bool {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `is_enabled` is never used
[INFO] [stdout] --> src/proxy/middleware/rate_limit.rs:80:12
[INFO] [stdout] |
[INFO] [stdout] 58 | impl RateLimiter {
[INFO] [stdout] | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 80 | pub fn is_enabled(&self) -> bool {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `ProxyServerBuilder` is never constructed
[INFO] [stdout] --> src/proxy/server.rs:195:12
[INFO] [stdout] |
[INFO] [stdout] 195 | pub struct ProxyServerBuilder {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new`, `selector`, `database`, `log_sender`, `rate_limiter`, and `build` are never used
[INFO] [stdout] --> src/proxy/server.rs:204:12
[INFO] [stdout] |
[INFO] [stdout] 203 | impl ProxyServerBuilder {
[INFO] [stdout] | ----------------------- associated items in this implementation
[INFO] [stdout] 204 | pub fn new(config: ProxyServerConfig) -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 214 | pub fn selector(mut self, selector: Arc) -> Self {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 | pub fn database(mut self, db_pool: PgPool) -> Self {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 224 | pub fn log_sender(mut self, sender: broadcast::Sender) -> Self {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 229 | pub fn rate_limiter(mut self, rate_limiter: RateLimiter) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 234 | pub fn build(self) -> ProxyServer {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated functions `tunnel_through_proxy`, `tunnel_direct`, `handle_upgraded`, and `handle_upgraded_direct` are never used
[INFO] [stdout] --> src/proxy/tunnel.rs:24:18
[INFO] [stdout] |
[INFO] [stdout] 21 | impl TunnelHandler {
[INFO] [stdout] | ------------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 24 | pub async fn tunnel_through_proxy(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 | pub async fn tunnel_direct(target_host: &str, target_port: u16) -> Result {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 | pub async fn handle_upgraded(
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 | pub async fn handle_upgraded_direct(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `get_success_rate_chart` and `get_response_time_chart` are never used
[INFO] [stdout] --> src/repository/dashboard.rs:160:18
[INFO] [stdout] |
[INFO] [stdout] 12 | impl DashboardRepository {
[INFO] [stdout] | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 160 | pub async fn get_success_rate_chart(&self, range: &ChartTimeRange) -> Result {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 227 | pub async fn get_response_time_chart(&self, range: &ChartTimeRange) -> Result {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `get_by_id` is never used
[INFO] [stdout] --> src/repository/deleted_proxy.rs:53:18
[INFO] [stdout] |
[INFO] [stdout] 12 | impl DeletedProxyRepository {
[INFO] [stdout] | --------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 | pub async fn get_by_id(&self, id: i32) -> Result