[INFO] cloning repository https://github.com/cocky-punch/fantasma_cero
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cocky-punch/fantasma_cero" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcocky-punch%2Ffantasma_cero", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcocky-punch%2Ffantasma_cero'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aa9cf079e9fe07a9873b1cb5fdb4203c2e2e0255
[INFO] checking cocky-punch/fantasma_cero against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcocky-punch%2Ffantasma_cero" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cocky-punch/fantasma_cero
[INFO] finished tweaking git repo https://github.com/cocky-punch/fantasma_cero
[INFO] tweaked toml for git repo https://github.com/cocky-punch/fantasma_cero written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cocky-punch/fantasma_cero on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cocky-punch/fantasma_cero 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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] db4d824e0fa12ceade889c8e97dced5b9de1497b52106d5d6e4e7a71108fe833
[INFO] running `Command { std: "docker" "start" "-a" "db4d824e0fa12ceade889c8e97dced5b9de1497b52106d5d6e4e7a71108fe833", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "db4d824e0fa12ceade889c8e97dced5b9de1497b52106d5d6e4e7a71108fe833", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db4d824e0fa12ceade889c8e97dced5b9de1497b52106d5d6e4e7a71108fe833", kill_on_drop: false }`
[INFO] [stdout] db4d824e0fa12ceade889c8e97dced5b9de1497b52106d5d6e4e7a71108fe833
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 68b3f3b8dbfa62afa339f2140720bcb5130e3fe11d6a44e69e255443c9ec27a5
[INFO] running `Command { std: "docker" "start" "-a" "68b3f3b8dbfa62afa339f2140720bcb5130e3fe11d6a44e69e255443c9ec27a5", kill_on_drop: false }`
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]     Checking tokio v1.46.1
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling siphasher v1.0.1
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling phf v0.11.3
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling phf_codegen v0.11.3
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling pest v2.8.1
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking regex-automata v0.4.10
[INFO] [stderr]     Checking bstr v1.12.0
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking unic-ucd-segment v0.9.0
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling pest_meta v2.8.1
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]     Checking winnow v0.7.12
[INFO] [stderr]     Checking base64ct v1.8.3
[INFO] [stderr]     Checking deunicode v1.6.2
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking rustls-pki-types v1.13.2
[INFO] [stderr]    Compiling pest_generator v2.8.1
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking slug v0.1.6
[INFO] [stderr]     Checking toml_parser v1.0.1
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]     Checking globset v0.4.16
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking ignore v0.4.23
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.1
[INFO] [stderr]    Compiling pest_derive v2.8.1
[INFO] [stderr]     Checking globwalk v0.9.1
[INFO] [stderr]     Checking toml_datetime v0.7.0
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking serde_spanned v1.0.0
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]    Compiling chrono-tz-build v0.3.0
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking cookie v0.18.1
[INFO] [stderr]     Checking unic-segment v0.9.0
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking humansize v2.1.3
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking pem v3.0.5
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking sqlx-core v0.8.6
[INFO] [stderr]     Checking toml_writer v1.0.2
[INFO] [stderr]     Checking nu-ansi-term v0.50.1
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]    Compiling chrono-tz v0.9.0
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking uuid v1.18.1
[INFO] [stderr]     Checking toml v0.9.2
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking tera v1.20.0
[INFO] [stderr]     Checking hyper-util v0.1.15
[INFO] [stderr]    Compiling sqlx-sqlite v0.8.6
[INFO] [stderr]     Checking axum v0.8.8
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.24
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking axum-extra v0.12.5
[INFO] [stderr]     Checking fantasma_cero v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]   --> src/main.rs:17:26
[INFO] [stdout]    |
[INFO] [stdout] 17 | use serde::{Deserialize, Serialize};
[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: `tower::ServiceBuilder`
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use tower::ServiceBuilder;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]   --> src/main.rs:17:26
[INFO] [stdout]    |
[INFO] [stdout] 17 | use serde::{Deserialize, Serialize};
[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: `tower::ServiceBuilder`
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use tower::ServiceBuilder;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tower_http::cors::CorsLayer`
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use tower_http::cors::CorsLayer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/admin/api_types.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `header` and `to_bytes`
[INFO] [stdout]  --> src/admin/auth.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 |     body::{Body, to_bytes},
[INFO] [stdout]   |                  ^^^^^^^^
[INFO] [stdout] 5 |     extract::{Form, State},
[INFO] [stdout] 6 |     http::{Request, StatusCode, header},
[INFO] [stdout]   |                                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tower_http::cors::CorsLayer`
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use tower_http::cors::CorsLayer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Body`, `Form`, `HeaderMap`, `HeaderValue`, `Request`, `header`, and `to_bytes`
[INFO] [stdout]  --> src/admin/router.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 |     body::{Body, to_bytes},
[INFO] [stdout]   |            ^^^^  ^^^^^^^^
[INFO] [stdout] 4 |     extract::{Form, State},
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 5 |     http::{HeaderMap, HeaderValue, Request, StatusCode, header},
[INFO] [stdout]   |            ^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]  --> src/admin/router.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde::Serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RwLock` and `time::Instant`
[INFO] [stdout]   --> src/admin/router.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 |     sync::{Arc, RwLock},
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout] 12 |     time::Instant,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tower_http::normalize_path::NormalizePathLayer`
[INFO] [stdout]   --> src/admin/router.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tower_http::normalize_path::NormalizePathLayer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `JsResp`
[INFO] [stdout]   --> src/admin/router.rs:18:24
[INFO] [stdout]    |
[INFO] [stdout] 18 | use super::api_types::{JsResp, MetricsResp, PowResp, StatusResp};
[INFO] [stdout]    |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `net::IpAddr`
[INFO] [stdout]  --> src/admin/state.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     net::IpAddr,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::AppState`
[INFO] [stdout]  --> src/health.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::AppState;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::extract::State`
[INFO] [stdout]  --> src/health.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::extract::State;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::extract::State`
[INFO] [stdout]  --> src/metrics.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::extract::State;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ordering`
[INFO] [stdout]  --> src/metrics.rs:3:36
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::atomic::{AtomicU64, Ordering};
[INFO] [stdout]   |                                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::AppState`
[INFO] [stdout]  --> src/metrics.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::AppState;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Hmac` and `Mac`
[INFO] [stdout]  --> src/security/js_token.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hmac::{Hmac, Mac};
[INFO] [stdout]   |            ^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/admin/api_types.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `header` and `to_bytes`
[INFO] [stdout]  --> src/admin/auth.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 |     body::{Body, to_bytes},
[INFO] [stdout]   |                  ^^^^^^^^
[INFO] [stdout] 5 |     extract::{Form, State},
[INFO] [stdout] 6 |     http::{Request, StatusCode, header},
[INFO] [stdout]   |                                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Body`, `Form`, `HeaderMap`, `HeaderValue`, `Request`, `header`, and `to_bytes`
[INFO] [stdout]  --> src/admin/router.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 |     body::{Body, to_bytes},
[INFO] [stdout]   |            ^^^^  ^^^^^^^^
[INFO] [stdout] 4 |     extract::{Form, State},
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 5 |     http::{HeaderMap, HeaderValue, Request, StatusCode, header},
[INFO] [stdout]   |            ^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]  --> src/admin/router.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde::Serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RwLock` and `time::Instant`
[INFO] [stdout]   --> src/admin/router.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 |     sync::{Arc, RwLock},
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout] 12 |     time::Instant,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tower_http::normalize_path::NormalizePathLayer`
[INFO] [stdout]   --> src/admin/router.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tower_http::normalize_path::NormalizePathLayer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `JsResp`
[INFO] [stdout]   --> src/admin/router.rs:18:24
[INFO] [stdout]    |
[INFO] [stdout] 18 | use super::api_types::{JsResp, MetricsResp, PowResp, StatusResp};
[INFO] [stdout]    |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `net::IpAddr`
[INFO] [stdout]  --> src/admin/state.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     net::IpAddr,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::AppState`
[INFO] [stdout]  --> src/health.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::AppState;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::extract::State`
[INFO] [stdout]  --> src/health.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::extract::State;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::extract::State`
[INFO] [stdout]  --> src/metrics.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::extract::State;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ordering`
[INFO] [stdout]  --> src/metrics.rs:3:36
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::atomic::{AtomicU64, Ordering};
[INFO] [stdout]   |                                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::AppState`
[INFO] [stdout]  --> src/metrics.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::AppState;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Hmac` and `Mac`
[INFO] [stdout]  --> src/security/js_token.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hmac::{Hmac, Mac};
[INFO] [stdout]   |            ^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> src/security/pow_token.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 |         rand::thread_rng().fill_bytes(&mut nonce);
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> src/security/pow_token.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 |         rand::thread_rng().fill_bytes(&mut nonce);
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `cookie::builder::CookieBuilder::<'c>::finish`: `CookieBuilder` can be passed in to methods expecting a `Cookie`; for other cases, use `CookieBuilder::build()`
[INFO] [stdout]   --> src/admin/auth.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |             .finish();
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `cookie::builder::CookieBuilder::<'c>::finish`: `CookieBuilder` can be passed in to methods expecting a `Cookie`; for other cases, use `CookieBuilder::build()`
[INFO] [stdout]   --> src/admin/auth.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |             .finish();
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sha2::Digest`
[INFO] [stdout]  --> src/security/pow_token.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sha2::Digest;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sha2::Digest`
[INFO] [stdout]  --> src/security/pow_token.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sha2::Digest;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]   --> src/helpers.rs:93:24
[INFO] [stdout]    |
[INFO] [stdout] 93 |     } else if let Some(pos) = ua_lower.find("safari/") {
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]   --> src/helpers.rs:93:24
[INFO] [stdout]    |
[INFO] [stdout] 93 |     } else if let Some(pos) = ua_lower.find("safari/") {
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tls_fingerprint`
[INFO] [stdout]    --> src/main.rs:706:9
[INFO] [stdout]     |
[INFO] [stdout] 706 |     let tls_fingerprint = get_tls_fingerprint(&headers);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tls_fingerprint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/main.rs:790:33
[INFO] [stdout]     |
[INFO] [stdout] 790 | async fn validate_handler(State(state): State<AppState>, headers: HeaderMap) -> impl IntoResponse {
[INFO] [stdout]     |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tls_fingerprint`
[INFO] [stdout]    --> src/main.rs:793:9
[INFO] [stdout]     |
[INFO] [stdout] 793 |     let tls_fingerprint = get_tls_fingerprint(&headers);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tls_fingerprint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tls_fingerprint`
[INFO] [stdout]    --> src/main.rs:979:9
[INFO] [stdout]     |
[INFO] [stdout] 979 |     let tls_fingerprint = get_tls_fingerprint(headers);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tls_fingerprint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `browser_fp`
[INFO] [stdout]    --> src/main.rs:980:9
[INFO] [stdout]     |
[INFO] [stdout] 980 |     let browser_fp = headers
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_browser_fp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]     --> src/main.rs:1120:11
[INFO] [stdout]      |
[INFO] [stdout] 1120 |     State(state): State<AppState>,
[INFO] [stdout]      |           ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_TARGET_URL` is never used
[INFO] [stdout]   --> src/main.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 | const DEFAULT_TARGET_URL: &'static str = "example.com";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SUSPICION_THRESHOLD` is never used
[INFO] [stdout]   --> src/main.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 49 | const SUSPICION_THRESHOLD: u32 = 40;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `concurrent_usage`, `target_url`, and `db_pool` are never read
[INFO] [stdout]   --> src/main.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct AppState {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 60 |     concurrent_usage: Arc<RwLock<HashMap<String, Vec<ActiveSession>>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 61 |     target_url: String,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     db_pool: sqlx::SqlitePool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `attempt_id` is never read
[INFO] [stdout]   --> src/main.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 74 | struct PowChallenge {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] 75 |     attempt_id: Uuid,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PowChallenge` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ip_addr`, `user_agent`, `tls_fingerprint`, `last_request`, and `request_count` are never read
[INFO] [stdout]    --> src/main.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout] 100 | struct ActiveSession {
[INFO] [stdout]     |        ------------- fields in this struct
[INFO] [stdout] 101 |     ip_addr: IpAddr,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 102 |     user_agent: String,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 103 |     tls_fingerprint: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 104 |     last_request: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 105 |     request_count: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ActiveSession` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `browser_fingerprint` is never read
[INFO] [stdout]    --> src/main.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 109 | struct PoWSubmission {
[INFO] [stdout]     |        ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 114 |     browser_fingerprint: Option<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check_concurrent_usage` is never used
[INFO] [stdout]    --> src/main.rs:402:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl AppState {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 402 |     fn check_concurrent_usage(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_tls_fingerprint2` is never used
[INFO] [stdout]    --> src/main.rs:555:4
[INFO] [stdout]     |
[INFO] [stdout] 555 | fn get_tls_fingerprint2(headers: &HeaderMap) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tls_fingerprint`
[INFO] [stdout]    --> src/main.rs:706:9
[INFO] [stdout]     |
[INFO] [stdout] 706 |     let tls_fingerprint = get_tls_fingerprint(&headers);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tls_fingerprint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare_browser_fingerprints` is never used
[INFO] [stdout]    --> src/main.rs:617:4
[INFO] [stdout]     |
[INFO] [stdout] 617 | fn compare_browser_fingerprints(stored: &str, current: &str) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `honeypot_route` is never used
[INFO] [stdout]    --> src/main.rs:756:10
[INFO] [stdout]     |
[INFO] [stdout] 756 | async fn honeypot_route(State(state): State<AppState>, headers: HeaderMap) -> impl IntoResponse {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `admin_stats` is never used
[INFO] [stdout]    --> src/main.rs:765:10
[INFO] [stdout]     |
[INFO] [stdout] 765 | async fn admin_stats(State(state): State<AppState>) -> impl IntoResponse {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Suspicious` is never constructed
[INFO] [stdout]    --> src/main.rs:964:5
[INFO] [stdout]     |
[INFO] [stdout] 959 | enum ValidationDecision {
[INFO] [stdout]     |      ------------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 964 |     Suspicious(u32),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ValidationDecision` 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 `JsResp` is never constructed
[INFO] [stdout]   --> src/admin/api_types.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct JsResp {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_template` is never used
[INFO] [stdout]    --> src/admin/router.rs:161:4
[INFO] [stdout]     |
[INFO] [stdout] 161 | fn render_template(html_templates: &Tera, template_name: &str, context: &Context) -> Response {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `push_event` and `cleanup` are never used
[INFO] [stdout]   --> src/admin/state.rs:38:18
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl AdminState {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub async fn push_event(&self, ev: types::RecentEvent) {
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub async fn cleanup(&self) {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FeedbackReportReq` is never constructed
[INFO] [stdout]   --> src/admin/types.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct FeedbackReportReq {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BASE_DIFFICULTY` is never used
[INFO] [stdout]  --> src/config.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const BASE_DIFFICULTY: u64 = 2; // ~5-10 seconds
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_DIFFICULTY` is never used
[INFO] [stdout]  --> src/config.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const MAX_DIFFICULTY: u64 = 6; // ~30-60 seconds
[INFO] [stdout]   |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `difficulty`, `base_difficulty`, `max_difficulty`, `rate_limit_window_minutes`, `max_requests_per_window`, and `suspicion_threshold` are never read
[INFO] [stdout]   --> src/config.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct PowChallendgeConfig {
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub difficulty: u8,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 37 |     //
[INFO] [stdout] 38 |     pub base_difficulty: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 39 |     pub max_difficulty: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 40 |     pub cookie_duration_days: u64,
[INFO] [stdout] 41 |     pub rate_limit_window_minutes: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 42 |     pub max_requests_per_window: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 43 |     pub suspicion_threshold: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PowChallendgeConfig` 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 `paths`, `ttl_seconds`, and `purge_interval` are never read
[INFO] [stdout]   --> src/config.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct TrapConfig {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 48 |     pub paths: Vec<String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 49 |     pub ttl_seconds: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 50 |     pub purge_interval: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TrapConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cookie_validity_in_days` is never read
[INFO] [stdout]   --> src/config.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub struct AdminConfig {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub cookie_validity_in_days: Option<u64>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AdminConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `traps` is never read
[INFO] [stdout]   --> src/config.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub struct Config {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub traps: TrapConfig,
[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: function `get_client_ip` is never used
[INFO] [stdout]   --> src/helpers.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn get_client_ip(req: &Request<Body>) -> Option<IpAddr> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_hop_by_hop_http_header` is never used
[INFO] [stdout]   --> src/helpers.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn is_hop_by_hop_http_header(name: &str) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `strip_hop_by_hop_headers` is never used
[INFO] [stdout]   --> src/helpers.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn strip_hop_by_hop_headers(headers: &mut HeaderMap) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare_browser_fingerprints` is never used
[INFO] [stdout]    --> src/helpers.rs:140:4
[INFO] [stdout]     |
[INFO] [stdout] 140 | fn compare_browser_fingerprints(stored: &str, current: &str) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_tls_fingerprint` is never used
[INFO] [stdout]    --> src/helpers.rs:195:4
[INFO] [stdout]     |
[INFO] [stdout] 195 | fn get_tls_fingerprint(headers: &HeaderMap) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/main.rs:790:33
[INFO] [stdout]     |
[INFO] [stdout] 790 | async fn validate_handler(State(state): State<AppState>, headers: HeaderMap) -> impl IntoResponse {
[INFO] [stdout]     |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tls_fingerprint`
[INFO] [stdout]    --> src/main.rs:793:9
[INFO] [stdout]     |
[INFO] [stdout] 793 |     let tls_fingerprint = get_tls_fingerprint(&headers);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tls_fingerprint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tls_fingerprint`
[INFO] [stdout]    --> src/main.rs:979:9
[INFO] [stdout]     |
[INFO] [stdout] 979 |     let tls_fingerprint = get_tls_fingerprint(headers);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tls_fingerprint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `browser_fp`
[INFO] [stdout]    --> src/main.rs:980:9
[INFO] [stdout]     |
[INFO] [stdout] 980 |     let browser_fp = headers
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_browser_fp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]     --> src/main.rs:1120:11
[INFO] [stdout]      |
[INFO] [stdout] 1120 |     State(state): State<AppState>,
[INFO] [stdout]      |           ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_TARGET_URL` is never used
[INFO] [stdout]   --> src/main.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 | const DEFAULT_TARGET_URL: &'static str = "example.com";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SUSPICION_THRESHOLD` is never used
[INFO] [stdout]   --> src/main.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 49 | const SUSPICION_THRESHOLD: u32 = 40;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `concurrent_usage`, `target_url`, and `db_pool` are never read
[INFO] [stdout]   --> src/main.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct AppState {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 60 |     concurrent_usage: Arc<RwLock<HashMap<String, Vec<ActiveSession>>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 61 |     target_url: String,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     db_pool: sqlx::SqlitePool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `attempt_id` is never read
[INFO] [stdout]   --> src/main.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 74 | struct PowChallenge {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] 75 |     attempt_id: Uuid,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PowChallenge` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ip_addr`, `user_agent`, `tls_fingerprint`, `last_request`, and `request_count` are never read
[INFO] [stdout]    --> src/main.rs:101:5
[INFO] [stdout]     |
[INFO] [stdout] 100 | struct ActiveSession {
[INFO] [stdout]     |        ------------- fields in this struct
[INFO] [stdout] 101 |     ip_addr: IpAddr,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 102 |     user_agent: String,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 103 |     tls_fingerprint: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 104 |     last_request: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 105 |     request_count: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ActiveSession` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `browser_fingerprint` is never read
[INFO] [stdout]    --> src/main.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 109 | struct PoWSubmission {
[INFO] [stdout]     |        ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 114 |     browser_fingerprint: Option<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check_concurrent_usage` is never used
[INFO] [stdout]    --> src/main.rs:402:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl AppState {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 402 |     fn check_concurrent_usage(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_tls_fingerprint2` is never used
[INFO] [stdout]    --> src/main.rs:555:4
[INFO] [stdout]     |
[INFO] [stdout] 555 | fn get_tls_fingerprint2(headers: &HeaderMap) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare_browser_fingerprints` is never used
[INFO] [stdout]    --> src/main.rs:617:4
[INFO] [stdout]     |
[INFO] [stdout] 617 | fn compare_browser_fingerprints(stored: &str, current: &str) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `honeypot_route` is never used
[INFO] [stdout]    --> src/main.rs:756:10
[INFO] [stdout]     |
[INFO] [stdout] 756 | async fn honeypot_route(State(state): State<AppState>, headers: HeaderMap) -> impl IntoResponse {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `admin_stats` is never used
[INFO] [stdout]    --> src/main.rs:765:10
[INFO] [stdout]     |
[INFO] [stdout] 765 | async fn admin_stats(State(state): State<AppState>) -> impl IntoResponse {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Suspicious` is never constructed
[INFO] [stdout]    --> src/main.rs:964:5
[INFO] [stdout]     |
[INFO] [stdout] 959 | enum ValidationDecision {
[INFO] [stdout]     |      ------------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 964 |     Suspicious(u32),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ValidationDecision` 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 `JsResp` is never constructed
[INFO] [stdout]   --> src/admin/api_types.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct JsResp {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_template` is never used
[INFO] [stdout]    --> src/admin/router.rs:161:4
[INFO] [stdout]     |
[INFO] [stdout] 161 | fn render_template(html_templates: &Tera, template_name: &str, context: &Context) -> Response {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `push_event` and `cleanup` are never used
[INFO] [stdout]   --> src/admin/state.rs:38:18
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl AdminState {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub async fn push_event(&self, ev: types::RecentEvent) {
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub async fn cleanup(&self) {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FeedbackReportReq` is never constructed
[INFO] [stdout]   --> src/admin/types.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct FeedbackReportReq {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BASE_DIFFICULTY` is never used
[INFO] [stdout]  --> src/config.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const BASE_DIFFICULTY: u64 = 2; // ~5-10 seconds
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_DIFFICULTY` is never used
[INFO] [stdout]  --> src/config.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const MAX_DIFFICULTY: u64 = 6; // ~30-60 seconds
[INFO] [stdout]   |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `difficulty`, `base_difficulty`, `max_difficulty`, `rate_limit_window_minutes`, `max_requests_per_window`, and `suspicion_threshold` are never read
[INFO] [stdout]   --> src/config.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct PowChallendgeConfig {
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub difficulty: u8,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 37 |     //
[INFO] [stdout] 38 |     pub base_difficulty: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 39 |     pub max_difficulty: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 40 |     pub cookie_duration_days: u64,
[INFO] [stdout] 41 |     pub rate_limit_window_minutes: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 42 |     pub max_requests_per_window: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 43 |     pub suspicion_threshold: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PowChallendgeConfig` 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 `paths`, `ttl_seconds`, and `purge_interval` are never read
[INFO] [stdout]   --> src/config.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct TrapConfig {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 48 |     pub paths: Vec<String>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 49 |     pub ttl_seconds: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 50 |     pub purge_interval: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TrapConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cookie_validity_in_days` is never read
[INFO] [stdout]   --> src/config.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub struct AdminConfig {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub cookie_validity_in_days: Option<u64>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AdminConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `traps` is never read
[INFO] [stdout]   --> src/config.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub struct Config {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub traps: TrapConfig,
[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: function `get_client_ip` is never used
[INFO] [stdout]   --> src/helpers.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn get_client_ip(req: &Request<Body>) -> Option<IpAddr> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_hop_by_hop_http_header` is never used
[INFO] [stdout]   --> src/helpers.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn is_hop_by_hop_http_header(name: &str) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `strip_hop_by_hop_headers` is never used
[INFO] [stdout]   --> src/helpers.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn strip_hop_by_hop_headers(headers: &mut HeaderMap) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare_browser_fingerprints` is never used
[INFO] [stdout]    --> src/helpers.rs:140:4
[INFO] [stdout]     |
[INFO] [stdout] 140 | fn compare_browser_fingerprints(stored: &str, current: &str) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_tls_fingerprint` is never used
[INFO] [stdout]    --> src/helpers.rs:195:4
[INFO] [stdout]     |
[INFO] [stdout] 195 | fn get_tls_fingerprint(headers: &HeaderMap) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s
[INFO] running `Command { std: "docker" "inspect" "68b3f3b8dbfa62afa339f2140720bcb5130e3fe11d6a44e69e255443c9ec27a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68b3f3b8dbfa62afa339f2140720bcb5130e3fe11d6a44e69e255443c9ec27a5", kill_on_drop: false }`
[INFO] [stdout] 68b3f3b8dbfa62afa339f2140720bcb5130e3fe11d6a44e69e255443c9ec27a5
