[INFO] cloning repository https://github.com/LingKerly/sparklingtop
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LingKerly/sparklingtop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLingKerly%2Fsparklingtop", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLingKerly%2Fsparklingtop'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2378ffcd40908396bcf6f519abf00bd7e9577330
[INFO] checking LingKerly/sparklingtop against try#54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 for pr-153041
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLingKerly%2Fsparklingtop" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/LingKerly/sparklingtop
[INFO] finished tweaking git repo https://github.com/LingKerly/sparklingtop
[INFO] tweaked toml for git repo https://github.com/LingKerly/sparklingtop written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LingKerly/sparklingtop on toolchain 54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LingKerly/sparklingtop 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" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 48093fc2ddd17edc336c802da998e90ef36a9227f353ee52806dcb439a8fafc2
[INFO] running `Command { std: "docker" "start" "-a" "48093fc2ddd17edc336c802da998e90ef36a9227f353ee52806dcb439a8fafc2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "48093fc2ddd17edc336c802da998e90ef36a9227f353ee52806dcb439a8fafc2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48093fc2ddd17edc336c802da998e90ef36a9227f353ee52806dcb439a8fafc2", kill_on_drop: false }`
[INFO] [stdout] 48093fc2ddd17edc336c802da998e90ef36a9227f353ee52806dcb439a8fafc2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 49e0e6cafc9e124933bf422f05b9b68110f3a2098abe540750780485209523c0
[INFO] running `Command { std: "docker" "start" "-a" "49e0e6cafc9e124933bf422f05b9b68110f3a2098abe540750780485209523c0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking tracing-core v0.1.35
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling base64ct v1.8.1
[INFO] [stderr]    Compiling num-bigint-dig v0.8.6
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]     Checking tracing v0.1.43
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking indexmap v2.12.1
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling rsa v0.9.9
[INFO] [stderr]    Compiling flate2 v1.1.5
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]    Compiling rust-embed-utils v8.9.0
[INFO] [stderr]     Checking hyper-util v0.1.19
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]    Compiling rust-embed-impl v8.9.0
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling validator_derive v0.18.2
[INFO] [stderr]     Checking rust-embed v8.9.0
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling utoipa-swagger-ui v6.0.0
[INFO] [stderr]    Compiling utoipa-gen v4.3.1
[INFO] [stderr]     Checking validator v0.18.1
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking sqlx-mysql v0.7.4
[INFO] [stderr]     Checking utoipa v4.2.3
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking cloud_controller v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `close_pool`
[INFO] [stdout]  --> src/db/mod.rs:7:40
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use connection::{check_connection, close_pool, create_pool, DatabasePool};
[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: `close_pool`
[INFO] [stdout]  --> src/db/mod.rs:7:40
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use connection::{check_connection, close_pool, create_pool, DatabasePool};
[INFO] [stdout]   |                                        ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `jwt`, `rust_log`, and `argon2` are never read
[INFO] [stdout]   --> src/config/mod.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct AppConfig {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub jwt: JwtConfig,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub rust_log: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 35 |     /// Argon2 密码哈希配置
[INFO] [stdout] 36 |     pub argon2: Argon2Config,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppConfig` has derived impls for the traits `Clone` and `Debug`, but these are 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 `token_type` is never read
[INFO] [stdout]   --> src/config/jwt.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct JwtConfig {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub token_type: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `JwtConfig` 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` and `config` are never read
[INFO] [stdout]   --> src/state.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct AppState {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 11 |     /// 数据库连接池
[INFO] [stdout] 12 |     pub pool: DatabasePool,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 13 |     /// 应用配置
[INFO] [stdout] 14 |     pub config: AppConfig,
[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: variant `VerifyError` is never constructed
[INFO] [stdout]   --> src/utils/password.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum PasswordError {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 18 |     VerifyError,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PasswordError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `jwt`, `rust_log`, and `argon2` are never read
[INFO] [stdout]   --> src/config/mod.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct AppConfig {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub jwt: JwtConfig,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub rust_log: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 35 |     /// Argon2 密码哈希配置
[INFO] [stdout] 36 |     pub argon2: Argon2Config,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppConfig` has derived impls for the traits `Clone` and `Debug`, but these are 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: fields `m_cost`, `t_cost`, `p_cost`, and `output_len` are never read
[INFO] [stdout]   --> src/config/argon2.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Argon2Config {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 11 |     /// 内存成本（KB），默认 19456（19 MB）
[INFO] [stdout] 12 |     pub m_cost: u32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 13 |     /// 时间成本（迭代次数），默认 2
[INFO] [stdout] 14 |     pub t_cost: u32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 15 |     /// 并行度，默认 1
[INFO] [stdout] 16 |     pub p_cost: u32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 17 |     /// 输出哈希长度（字节），默认 32
[INFO] [stdout] 18 |     pub output_len: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Argon2Config` 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 `build_argon2` is never used
[INFO] [stdout]   --> src/config/argon2.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl Argon2Config {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn build_argon2(&self) -> argon2::Argon2<'static> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `secret`, `expires_in`, `algorithm`, `token_type`, `issuer`, and `audience` are never read
[INFO] [stdout]   --> src/config/jwt.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct JwtConfig {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 12 |     /// JWT 签名密钥（必填，建议至少 256 位）
[INFO] [stdout] 13 |     pub secret: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 14 |     /// Token 过期时间（秒），默认 86400（24小时）
[INFO] [stdout] 15 |     pub expires_in: i64,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 16 |     /// 签名算法，默认 "HS256"
[INFO] [stdout] 17 |     pub algorithm: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 18 |     /// Token 类型，默认 "Bearer"
[INFO] [stdout] 19 |     pub token_type: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 20 |     /// 签发者（可选）
[INFO] [stdout] 21 |     pub issuer: Option<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 22 |     /// 受众（可选）
[INFO] [stdout] 23 |     pub audience: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `JwtConfig` 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 `encoding_key`, `decoding_key`, `get_algorithm`, and `validation` are never used
[INFO] [stdout]   --> src/config/jwt.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl JwtConfig {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub fn encoding_key(&self) -> EncodingKey {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn decoding_key(&self) -> DecodingKey {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn get_algorithm(&self) -> Algorithm {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     pub fn validation(&self) -> Validation {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `close_pool` is never used
[INFO] [stdout]   --> src/db/connection.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub async fn close_pool(pool: DatabasePool) {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pool` and `config` are never read
[INFO] [stdout]   --> src/state.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct AppState {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 11 |     /// 数据库连接池
[INFO] [stdout] 12 |     pub pool: DatabasePool,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 13 |     /// 应用配置
[INFO] [stdout] 14 |     pub config: AppConfig,
[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: struct `Claims` is never constructed
[INFO] [stdout]   --> src/utils/jwt.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Claims {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `is_expired` are never used
[INFO] [stdout]   --> src/utils/jwt.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl Claims {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 34 |     /// 创建新的 Claims
[INFO] [stdout] 35 |     pub fn new(user_id: u64, uuid: Uuid, role: String, config: &JwtConfig) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn is_expired(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_token` is never used
[INFO] [stdout]   --> src/utils/jwt.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub fn generate_token(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_token` is never used
[INFO] [stdout]   --> src/utils/jwt.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub fn verify_token(
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_token_from_header` is never used
[INFO] [stdout]   --> src/utils/jwt.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub fn extract_token_from_header(auth_header: &str) -> Option<&str> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PasswordError` is never used
[INFO] [stdout]   --> src/utils/password.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum PasswordError {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_password` is never used
[INFO] [stdout]   --> src/utils/password.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn hash_password(password: &str, config: &Argon2Config) -> Result<String, PasswordError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_password_default` is never used
[INFO] [stdout]   --> src/utils/password.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn hash_password_default(password: &str) -> Result<String, PasswordError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_password` is never used
[INFO] [stdout]   --> src/utils/password.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn verify_password(password: &str, hash: &str) -> Result<bool, PasswordError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_password_strength` is never used
[INFO] [stdout]   --> src/utils/password.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub fn validate_password_strength(password: &str) -> Result<(), String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.62s
[INFO] running `Command { std: "docker" "inspect" "49e0e6cafc9e124933bf422f05b9b68110f3a2098abe540750780485209523c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "49e0e6cafc9e124933bf422f05b9b68110f3a2098abe540750780485209523c0", kill_on_drop: false }`
[INFO] [stdout] 49e0e6cafc9e124933bf422f05b9b68110f3a2098abe540750780485209523c0
