[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 c397dae808f70caebab1fc4e11b3edf7e59f58c7 for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLingKerly%2Fsparklingtop" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LingKerly/sparklingtop on toolchain c397dae808f70caebab1fc4e11b3edf7e59f58c7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "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" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded validator_derive v0.18.2
[INFO] [stderr]   Downloaded validator v0.18.1
[INFO] [stderr]   Downloaded regex v1.12.2
[INFO] [stderr]   Downloaded rust-embed-impl v8.9.0
[INFO] [stderr]   Downloaded rust-embed-utils v8.9.0
[INFO] [stderr]   Downloaded simd-adler32 v0.3.8
[INFO] [stderr]   Downloaded axum-macros v0.4.2
[INFO] [stderr]   Downloaded uuid v1.19.0
[INFO] [stderr]   Downloaded utoipa v4.2.3
[INFO] [stderr]   Downloaded time-core v0.1.6
[INFO] [stderr]   Downloaded flate2 v1.1.5
[INFO] [stderr]   Downloaded base64ct v1.8.1
[INFO] [stderr]   Downloaded deranged v0.5.5
[INFO] [stderr]   Downloaded cc v1.2.49
[INFO] [stderr]   Downloaded time-macros v0.2.24
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.31
[INFO] [stderr]   Downloaded hyper-util v0.1.19
[INFO] [stderr]   Downloaded utoipa-gen v4.3.1
[INFO] [stderr]   Downloaded time v0.3.44
[INFO] [stderr]   Downloaded zerocopy v0.8.31
[INFO] [stderr]   Downloaded libc v0.2.178
[INFO] [stderr]   Downloaded rust-embed v8.9.0
[INFO] [stderr]   Downloaded utoipa-swagger-ui v6.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9594d80936c7ccbcc014c96c1b1c6029febf2eaba1a7849105bdbca8f9583a53
[INFO] running `Command { std: "docker" "start" "9594d80936c7ccbcc014c96c1b1c6029febf2eaba1a7849105bdbca8f9583a53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9594d80936c7ccbcc014c96c1b1c6029febf2eaba1a7849105bdbca8f9583a53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9594d80936c7ccbcc014c96c1b1c6029febf2eaba1a7849105bdbca8f9583a53" "/opt/rustwide/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9594d80936c7ccbcc014c96c1b1c6029febf2eaba1a7849105bdbca8f9583a53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9594d80936c7ccbcc014c96c1b1c6029febf2eaba1a7849105bdbca8f9583a53" "/opt/rustwide/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling cc v1.2.49
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]     Checking tracing-core v0.1.35
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]     Checking base64ct v1.8.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.7
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling simd-adler32 v0.3.8
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]     Checking indexmap v2.12.1
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[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 thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]     Checking tracing v0.1.43
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]    Compiling num-bigint-dig v0.8.6
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]    Compiling rsa v0.9.9
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling flate2 v1.1.5
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]    Compiling rust-embed-utils v8.9.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]    Compiling utoipa-swagger-ui v6.0.0
[INFO] [stderr]    Compiling rust-embed-impl v8.9.0
[INFO] [stderr]     Checking hyper-util v0.1.19
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling sqlx-mysql v0.7.4
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling utoipa-gen v4.3.1
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking rust-embed v8.9.0
[INFO] [stderr]    Compiling validator_derive v0.18.2
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking validator v0.18.1
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking utoipa v4.2.3
[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: 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 `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 2m 43s
[INFO] running `Command { std: "docker" "inspect" "9594d80936c7ccbcc014c96c1b1c6029febf2eaba1a7849105bdbca8f9583a53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9594d80936c7ccbcc014c96c1b1c6029febf2eaba1a7849105bdbca8f9583a53", kill_on_drop: false }`
[INFO] [stdout] 9594d80936c7ccbcc014c96c1b1c6029febf2eaba1a7849105bdbca8f9583a53
