[INFO] cloning repository https://github.com/xRiot45/rust-axum-starter-kit
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xRiot45/rust-axum-starter-kit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxRiot45%2Frust-axum-starter-kit", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxRiot45%2Frust-axum-starter-kit'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cc71b5f6acbb7b98649486007da14cb034a43f80
[INFO] checking xRiot45/rust-axum-starter-kit against try#5f6abd89da253a562ad85d235b9342a3ac336c28 for pr-156114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxRiot45%2Frust-axum-starter-kit" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/xRiot45/rust-axum-starter-kit
[INFO] finished tweaking git repo https://github.com/xRiot45/rust-axum-starter-kit
[INFO] tweaked toml for git repo https://github.com/xRiot45/rust-axum-starter-kit written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/xRiot45/rust-axum-starter-kit on toolchain 5f6abd89da253a562ad85d235b9342a3ac336c28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/xRiot45/rust-axum-starter-kit 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" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 311d6303505f212a623dad2c60d24d8cabd9b26b7f93491ae790180ef20efcf3
[INFO] running `Command { std: "docker" "start" "-a" "311d6303505f212a623dad2c60d24d8cabd9b26b7f93491ae790180ef20efcf3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "311d6303505f212a623dad2c60d24d8cabd9b26b7f93491ae790180ef20efcf3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "311d6303505f212a623dad2c60d24d8cabd9b26b7f93491ae790180ef20efcf3", kill_on_drop: false }`
[INFO] [stdout] 311d6303505f212a623dad2c60d24d8cabd9b26b7f93491ae790180ef20efcf3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fae951d27ea54d237f009b7b8952f9fcd0d366f6e70c715db6c99449c2bd6cde
[INFO] running `Command { std: "docker" "start" "-a" "fae951d27ea54d237f009b7b8952f9fcd0d366f6e70c715db6c99449c2bd6cde", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.185
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking once_cell v1.21.4
[INFO] [stderr]     Checking itoa v1.0.18
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking litemap v0.8.2
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking writeable v0.6.3
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking allocator-api2 v0.2.21
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking rand_core v0.10.1
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]     Checking hashbrown v0.17.0
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4
[INFO] [stderr]     Checking ipnet v2.12.0
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]     Checking alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling tinyvec v1.11.0
[INFO] [stderr]     Checking rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling cc v1.2.60
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]     Checking adler2 v2.0.1
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling tokio v1.52.0
[INFO] [stderr]     Checking simd-adler32 v0.3.9
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling pest v2.8.6
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking uuid v1.23.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]     Checking brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling openssl-sys v0.9.113
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling openssl v0.10.77
[INFO] [stderr]    Compiling rustls v0.23.38
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]     Checking brotli v8.0.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling pest_meta v2.8.6
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking raw-cpuid v11.6.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking cpufeatures v0.3.0
[INFO] [stderr]     Checking compression-core v0.4.31
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking zerofrom v0.1.7
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling unicode-segmentation v1.13.2
[INFO] [stderr]    Compiling num-conv v0.2.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking rustls-webpki v0.103.12
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking quanta v0.12.6
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.11
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking chacha20 v0.10.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]    Compiling pest_generator v2.8.6
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking metrics v0.22.4
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]     Checking sketches-ddsketch v0.2.2
[INFO] [stderr]     Checking toml_write v0.1.2
[INFO] [stderr]     Checking openssl-probe v0.2.1
[INFO] [stderr]     Checking winnow v0.7.15
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling pest_derive v2.8.6
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking metrics-util v0.16.3
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking rand v0.10.1
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking pin-project v1.1.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]     Checking hdrhistogram v7.5.4
[INFO] [stderr]     Checking webpki-roots v1.0.6
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking headers-core v0.3.0
[INFO] [stderr]    Compiling tokio-cron-scheduler v0.10.2
[INFO] [stderr]     Checking base64ct v1.8.3
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]     Checking iri-string v0.7.12
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking arraydeque v0.5.1
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking sqlx-core v0.7.4
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]     Checking tokio-retry v0.3.1
[INFO] [stderr]     Checking rust-ini v0.20.0
[INFO] [stderr]     Checking headers v0.4.1
[INFO] [stderr]     Checking yaml-rust2 v0.8.1
[INFO] [stderr]     Checking hyper-rustls v0.27.9
[INFO] [stderr]    Compiling validator_derive v0.18.2
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking cron v0.12.1
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stderr]     Checking simple_asn1 v0.6.4
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking arc-swap v1.9.1
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]     Checking email_address v0.2.9
[INFO] [stderr]     Checking pathdiff v0.2.3
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking metrics-exporter-prometheus v0.13.1
[INFO] [stderr]     Checking tokio-test v0.4.5
[INFO] [stderr]     Checking validator v0.18.1
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking compression-codecs v0.4.37
[INFO] [stderr]     Checking async-compression v0.4.41
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking sqlx-postgres v0.7.4
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking config v0.14.1
[INFO] [stderr]     Checking axum-prometheus v0.6.1
[INFO] [stderr]     Checking axum-extra v0.9.6
[INFO] [stderr]     Checking lettre v0.11.21
[INFO] [stderr]     Checking redis v0.25.4
[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 rust-axum-starter-kit v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `auth_user::AuthenticatedUser`
[INFO] [stdout]  --> src/common/extractors/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use auth_user::AuthenticatedUser;
[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: `repository::Repository`
[INFO] [stdout]  --> src/common/traits/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use repository::Repository;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `service::Service`
[INFO] [stdout]  --> src/common/traits/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use service::Service;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `User`
[INFO] [stdout]  --> src/modules/users/application/user_service.rs:6:44
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::modules::users::domain::model::{User, UserProfile};
[INFO] [stdout]   |                                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `delete`, `middleware`, and `patch`
[INFO] [stdout]  --> src/modules/users/presentation/routes.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     middleware,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 3 |     routing::{delete, get, patch, post},
[INFO] [stdout]   |               ^^^^^^       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `auth_user::AuthenticatedUser`
[INFO] [stdout]  --> src/common/extractors/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use auth_user::AuthenticatedUser;
[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: `repository::Repository`
[INFO] [stdout]  --> src/common/traits/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use repository::Repository;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `service::Service`
[INFO] [stdout]  --> src/common/traits/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use service::Service;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `User`
[INFO] [stdout]  --> src/modules/users/application/user_service.rs:6:44
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::modules::users::domain::model::{User, UserProfile};
[INFO] [stdout]   |                                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `delete`, `middleware`, and `patch`
[INFO] [stdout]  --> src/modules/users/presentation/routes.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     middleware,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 3 |     routing::{delete, get, patch, post},
[INFO] [stdout]   |               ^^^^^^       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]  --> src/bootstrap/router.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn build_router(state: AppState) -> Router {
[INFO] [stdout]   |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]  --> src/bootstrap/router.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn build_router(state: AppState) -> Router {
[INFO] [stdout]   |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_scheduler` is never used
[INFO] [stdout]  --> src/background/scheduler.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub async fn start_scheduler() -> anyhow::Result<JobScheduler> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_welcome_email` is never used
[INFO] [stdout]  --> src/background/jobs/email_job.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub async fn send_welcome_email(to: &str, name: &str) -> anyhow::Result<()> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_audit_event` is never used
[INFO] [stdout]  --> src/background/jobs/audit_job.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub async fn log_audit_event(user_id: Uuid, action: &str, resource: &str) -> anyhow::Result<()> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `config`, `db`, `redis`, and `jwt` are never read
[INFO] [stdout]   --> src/bootstrap/state.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct AppState {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout]  9 |     pub config: AppConfig,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 10 |     pub db: PgPool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 11 |     pub redis: RedisConn,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 12 |     pub jwt: JwtKeys,
[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: variants `NotFound`, `Unauthorized`, `Forbidden`, `Conflict`, and `UnprocessableEntity` are never constructed
[INFO] [stdout]   --> src/common/errors/mod.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub enum AppError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 50 |     #[error("Not found: {0}")]
[INFO] [stdout] 51 |     NotFound(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     Unauthorized(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     Forbidden(String),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     Conflict(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     UnprocessableEntity(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `bad_request`, `not_found`, `unauthorized`, `forbidden`, and `conflict` are never used
[INFO] [stdout]    --> src/common/errors/mod.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl AppError {
[INFO] [stdout]     | ------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn bad_request(msg: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn not_found(msg: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn unauthorized(msg: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn forbidden(msg: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn conflict(msg: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `AppResult` is never used
[INFO] [stdout]    --> src/common/errors/mod.rs:204:10
[INFO] [stdout]     |
[INFO] [stdout] 204 | pub type AppResult<T> = Result<T, AppError>;
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Claims` is never constructed
[INFO] [stdout]   --> src/common/extractors/auth_user.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Claims {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthenticatedUser` is never constructed
[INFO] [stdout]   --> src/common/extractors/auth_user.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct AuthenticatedUser(pub Claims);
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_bearer_token` is never used
[INFO] [stdout]   --> src/common/extractors/auth_user.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn extract_bearer_token(headers: &HeaderMap) -> Option<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UuidRequestId` is never constructed
[INFO] [stdout]  --> src/common/middlewares/request_id.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct UuidRequestId;
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `sort_by` and `sort_order` are never read
[INFO] [stdout]   --> src/common/responses/api_response.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct PaginationQuery {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub sort_by: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 23 |     pub sort_order: Option<String>, // "asc" | "desc"
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PaginationQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `offset`, `limit`, and `sort_order` are never used
[INFO] [stdout]   --> src/common/responses/api_response.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl PaginationQuery {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] 27 |     pub fn offset(&self) -> i64 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn limit(&self) -> i64 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn sort_order(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PaginationMeta` is never constructed
[INFO] [stdout]   --> src/common/responses/api_response.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct PaginationMeta {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/common/responses/api_response.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | impl PaginationMeta {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 55 |     pub fn new(total_items: i64, query: &PaginationQuery) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GlobalMeta` is never constructed
[INFO] [stdout]   --> src/common/responses/api_response.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct GlobalMeta {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/common/responses/api_response.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 78 | impl GlobalMeta {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 79 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ApiResponse` is never constructed
[INFO] [stdout]   --> src/common/responses/api_response.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct ApiResponse<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `ok`, `created`, `with_message`, and `custom` are never used
[INFO] [stdout]    --> src/common/responses/api_response.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | impl<T> ApiResponse<T> {
[INFO] [stdout]     | ---------------------- associated functions in this implementation
[INFO] [stdout] 102 |     /// Default OK (200)
[INFO] [stdout] 103 |     pub fn ok(data: T) -> Self {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn created(data: T) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub fn with_message(message: impl Into<String>, data: T) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn custom(status_code: u16, message: impl Into<String>, data: T) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `no_content` is never used
[INFO] [stdout]    --> src/common/responses/api_response.rs:149:12
[INFO] [stdout]     |
[INFO] [stdout] 148 | impl ApiResponse<()> {
[INFO] [stdout]     | -------------------- associated function in this implementation
[INFO] [stdout] 149 |     pub fn no_content(message: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_pagination` is never used
[INFO] [stdout]    --> src/common/responses/api_response.rs:162:12
[INFO] [stdout]     |
[INFO] [stdout] 161 | impl<T> ApiResponse<Vec<T>> {
[INFO] [stdout]     | --------------------------- associated function in this implementation
[INFO] [stdout] 162 |     pub fn with_pagination(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Repository` is never used
[INFO] [stdout]  --> src/common/traits/repository.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub trait Repository<T, CreateDto, UpdateDto>: Send + Sync {
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Service` is never used
[INFO] [stdout]  --> src/common/traits/service.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait Service: Send + Sync {}
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_password` is never used
[INFO] [stdout]  --> src/common/utils/hash.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn hash_password(plain: &str) -> AppResult<String> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_password` is never used
[INFO] [stdout]   --> src/common/utils/hash.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn verify_password(plain: &str, hash: &str) -> AppResult<bool> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_access_token` is never used
[INFO] [stdout]  --> src/common/utils/jwt.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn generate_access_token(
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_token` is never used
[INFO] [stdout]   --> src/common/utils/jwt.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn decode_token(token: &str, secret: &str) -> AppResult<Claims> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cors`, `rate_limit`, `smtp`, `storage`, and `third_party` are never read
[INFO] [stdout]   --> src/configs/app_config.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct AppConfig {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  8 |     pub cors: CorsConfig,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]  9 |     pub rate_limit: RateLimitConfig,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub smtp: SmtpConfig,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 16 |     pub storage: StorageConfig,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 17 |
[INFO] [stdout] 18 |     pub third_party: ThirdPartyConfig,
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `allowed_origins`, `allowed_methods`, and `allowed_headers` are never read
[INFO] [stdout]   --> src/configs/app_config.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct CorsConfig {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 31 |     pub allowed_origins: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 32 |     pub allowed_methods: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 33 |     pub allowed_headers: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CorsConfig` 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 `origins`, `methods`, and `headers` are never used
[INFO] [stdout]   --> src/configs/app_config.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl CorsConfig {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] 37 |     pub fn origins(&self) -> Vec<&str> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn methods(&self) -> Vec<&str> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn headers(&self) -> Vec<&str> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `requests` and `window_secs` are never read
[INFO] [stdout]   --> src/configs/app_config.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct RateLimitConfig {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 53 |     pub requests: u32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 54 |     pub window_secs: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RateLimitConfig` 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 `min_connections`, `connect_timeout_secs`, and `log_slow_queries` are never read
[INFO] [stdout]   --> src/configs/app_config.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct DatabaseConfig {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub min_connections: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 63 |     pub connect_timeout_secs: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 64 |     pub log_slow_queries: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DatabaseConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pool_size` and `ttl_default_secs` are never read
[INFO] [stdout]   --> src/configs/app_config.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct RedisConfig {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 79 |     pub url: String,
[INFO] [stdout] 80 |     pub pool_size: u32,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 81 |     pub ttl_default_secs: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RedisConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `from_name`, `from_email`, `host`, `port`, `username`, and `password` are never read
[INFO] [stdout]   --> src/configs/app_config.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub struct SmtpConfig {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 87 |     pub from_name: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 88 |     pub from_email: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 89 |     pub host: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 90 |     pub port: u16,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 91 |     pub username: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 92 |     pub password: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SmtpConfig` 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 `driver`, `local_path`, `s3_bucket`, and `s3_region` are never read
[INFO] [stdout]    --> src/configs/app_config.rs:98:9
[INFO] [stdout]     |
[INFO] [stdout]  97 | pub struct StorageConfig {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout]  98 |     pub driver: String,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]  99 |     pub local_path: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 100 |
[INFO] [stdout] 101 |     pub s3_bucket: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 102 |     pub s3_region: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `StorageConfig` 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 `api_url` and `api_key` are never read
[INFO] [stdout]    --> src/configs/app_config.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub struct ThirdPartyConfig {
[INFO] [stdout]     |            ---------------- fields in this struct
[INFO] [stdout] 108 |     pub api_url: String,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 109 |     pub api_key: String,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ThirdPartyConfig` 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 `is_production` and `is_development` are never used
[INFO] [stdout]    --> src/configs/app_config.rs:141:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl AppConfig {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn is_production(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn is_development(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `access_secret`, `refresh_secret`, `access_expiry_secs`, and `refresh_expiry_secs` are never read
[INFO] [stdout]   --> src/configs/jwt.rs:6:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct JwtKeys {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout]  6 |     pub access_secret: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]  7 |     pub refresh_secret: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]  8 |
[INFO] [stdout]  9 |     pub access_expiry_secs: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     pub refresh_expiry_secs: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `JwtKeys` 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 `AuthService` is never constructed
[INFO] [stdout]   --> src/modules/auth/application/auth_service.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct AuthService {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `login`, `refresh`, and `logout` are never used
[INFO] [stdout]    --> src/modules/auth/application/auth_service.rs:19:12
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl AuthService {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  19 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  31 |     pub async fn login(&self, req: LoginRequest) -> AppResult<AuthResponse> {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub async fn refresh(&self, req: RefreshRequest) -> AppResult<AuthResponse> {
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub async fn logout(&self, refresh_token: &str) -> AppResult<()> {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthResponse` is never constructed
[INFO] [stdout]   --> src/modules/auth/application/dto.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct AuthResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthToken` is never constructed
[INFO] [stdout]  --> src/modules/auth/domain/model/mod.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct AuthToken {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TokenPair` is never constructed
[INFO] [stdout]   --> src/modules/auth/domain/model/mod.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct TokenPair {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AuthRepository` is never used
[INFO] [stdout]  --> src/modules/auth/domain/repository/mod.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub trait AuthRepository: Send + Sync {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserService` is never constructed
[INFO] [stdout]  --> src/modules/users/application/user_service.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct UserService {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `create`, `get_by_id`, `list`, `update`, and `delete` are never used
[INFO] [stdout]   --> src/modules/users/application/user_service.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl UserService {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn new(repo: Arc<dyn UserRepository>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub async fn create(&self, req: CreateUserRequest) -> AppResult<UserProfile> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub async fn get_by_id(&self, id: Uuid) -> AppResult<UserProfile> {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub async fn list(&self, limit: i64, offset: i64) -> AppResult<Vec<UserProfile>> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub async fn update(&self, id: Uuid, req: UpdateUserRequest) -> AppResult<UserProfile> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub async fn delete(&self, id: Uuid) -> AppResult<()> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserListResponse` is never constructed
[INFO] [stdout]   --> src/modules/users/application/dto.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct UserListResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> src/modules/users/domain/model/mod.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct User {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserProfile` is never constructed
[INFO] [stdout]   --> src/modules/users/domain/model/mod.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct UserProfile {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `UserRepository` is never used
[INFO] [stdout]  --> src/modules/users/domain/repository/mod.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub trait UserRepository: Send + Sync {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `attach_metrics` is never used
[INFO] [stdout]  --> src/observability/metrics.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn attach_metrics(router: Router) -> (Router, axum_prometheus::metrics_exporter_prometheus::PrometheusHandle) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_scheduler` is never used
[INFO] [stdout]  --> src/background/scheduler.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub async fn start_scheduler() -> anyhow::Result<JobScheduler> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_welcome_email` is never used
[INFO] [stdout]  --> src/background/jobs/email_job.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub async fn send_welcome_email(to: &str, name: &str) -> anyhow::Result<()> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log_audit_event` is never used
[INFO] [stdout]  --> src/background/jobs/audit_job.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub async fn log_audit_event(user_id: Uuid, action: &str, resource: &str) -> anyhow::Result<()> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `config`, `db`, `redis`, and `jwt` are never read
[INFO] [stdout]   --> src/bootstrap/state.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct AppState {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout]  9 |     pub config: AppConfig,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 10 |     pub db: PgPool,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 11 |     pub redis: RedisConn,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 12 |     pub jwt: JwtKeys,
[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: variants `NotFound`, `Unauthorized`, `Forbidden`, `Conflict`, and `UnprocessableEntity` are never constructed
[INFO] [stdout]   --> src/common/errors/mod.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub enum AppError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 50 |     #[error("Not found: {0}")]
[INFO] [stdout] 51 |     NotFound(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     Unauthorized(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     Forbidden(String),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     Conflict(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     UnprocessableEntity(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `bad_request`, `not_found`, `unauthorized`, `forbidden`, and `conflict` are never used
[INFO] [stdout]    --> src/common/errors/mod.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl AppError {
[INFO] [stdout]     | ------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn bad_request(msg: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn not_found(msg: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn unauthorized(msg: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn forbidden(msg: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn conflict(msg: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `AppResult` is never used
[INFO] [stdout]    --> src/common/errors/mod.rs:204:10
[INFO] [stdout]     |
[INFO] [stdout] 204 | pub type AppResult<T> = Result<T, AppError>;
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Claims` is never constructed
[INFO] [stdout]   --> src/common/extractors/auth_user.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Claims {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthenticatedUser` is never constructed
[INFO] [stdout]   --> src/common/extractors/auth_user.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct AuthenticatedUser(pub Claims);
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_bearer_token` is never used
[INFO] [stdout]   --> src/common/extractors/auth_user.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn extract_bearer_token(headers: &HeaderMap) -> Option<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UuidRequestId` is never constructed
[INFO] [stdout]  --> src/common/middlewares/request_id.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct UuidRequestId;
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `sort_by` and `sort_order` are never read
[INFO] [stdout]   --> src/common/responses/api_response.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct PaginationQuery {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub sort_by: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 23 |     pub sort_order: Option<String>, // "asc" | "desc"
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PaginationQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `offset`, `limit`, and `sort_order` are never used
[INFO] [stdout]   --> src/common/responses/api_response.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl PaginationQuery {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] 27 |     pub fn offset(&self) -> i64 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn limit(&self) -> i64 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn sort_order(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PaginationMeta` is never constructed
[INFO] [stdout]   --> src/common/responses/api_response.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct PaginationMeta {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/common/responses/api_response.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | impl PaginationMeta {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 55 |     pub fn new(total_items: i64, query: &PaginationQuery) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GlobalMeta` is never constructed
[INFO] [stdout]   --> src/common/responses/api_response.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct GlobalMeta {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/common/responses/api_response.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 78 | impl GlobalMeta {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 79 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ApiResponse` is never constructed
[INFO] [stdout]   --> src/common/responses/api_response.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct ApiResponse<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `ok`, `created`, `with_message`, and `custom` are never used
[INFO] [stdout]    --> src/common/responses/api_response.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | impl<T> ApiResponse<T> {
[INFO] [stdout]     | ---------------------- associated functions in this implementation
[INFO] [stdout] 102 |     /// Default OK (200)
[INFO] [stdout] 103 |     pub fn ok(data: T) -> Self {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn created(data: T) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub fn with_message(message: impl Into<String>, data: T) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn custom(status_code: u16, message: impl Into<String>, data: T) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `no_content` is never used
[INFO] [stdout]    --> src/common/responses/api_response.rs:149:12
[INFO] [stdout]     |
[INFO] [stdout] 148 | impl ApiResponse<()> {
[INFO] [stdout]     | -------------------- associated function in this implementation
[INFO] [stdout] 149 |     pub fn no_content(message: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_pagination` is never used
[INFO] [stdout]    --> src/common/responses/api_response.rs:162:12
[INFO] [stdout]     |
[INFO] [stdout] 161 | impl<T> ApiResponse<Vec<T>> {
[INFO] [stdout]     | --------------------------- associated function in this implementation
[INFO] [stdout] 162 |     pub fn with_pagination(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Repository` is never used
[INFO] [stdout]  --> src/common/traits/repository.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub trait Repository<T, CreateDto, UpdateDto>: Send + Sync {
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Service` is never used
[INFO] [stdout]  --> src/common/traits/service.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait Service: Send + Sync {}
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_password` is never used
[INFO] [stdout]  --> src/common/utils/hash.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn hash_password(plain: &str) -> AppResult<String> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_password` is never used
[INFO] [stdout]   --> src/common/utils/hash.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn verify_password(plain: &str, hash: &str) -> AppResult<bool> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_access_token` is never used
[INFO] [stdout]  --> src/common/utils/jwt.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn generate_access_token(
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_token` is never used
[INFO] [stdout]   --> src/common/utils/jwt.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn decode_token(token: &str, secret: &str) -> AppResult<Claims> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cors`, `rate_limit`, `smtp`, `storage`, and `third_party` are never read
[INFO] [stdout]   --> src/configs/app_config.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct AppConfig {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  8 |     pub cors: CorsConfig,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]  9 |     pub rate_limit: RateLimitConfig,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub smtp: SmtpConfig,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 16 |     pub storage: StorageConfig,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 17 |
[INFO] [stdout] 18 |     pub third_party: ThirdPartyConfig,
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `allowed_origins`, `allowed_methods`, and `allowed_headers` are never read
[INFO] [stdout]   --> src/configs/app_config.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct CorsConfig {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 31 |     pub allowed_origins: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 32 |     pub allowed_methods: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 33 |     pub allowed_headers: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CorsConfig` 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 `origins`, `methods`, and `headers` are never used
[INFO] [stdout]   --> src/configs/app_config.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl CorsConfig {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] 37 |     pub fn origins(&self) -> Vec<&str> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn methods(&self) -> Vec<&str> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn headers(&self) -> Vec<&str> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `requests` and `window_secs` are never read
[INFO] [stdout]   --> src/configs/app_config.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct RateLimitConfig {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 53 |     pub requests: u32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 54 |     pub window_secs: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RateLimitConfig` 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 `min_connections`, `connect_timeout_secs`, and `log_slow_queries` are never read
[INFO] [stdout]   --> src/configs/app_config.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct DatabaseConfig {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub min_connections: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 63 |     pub connect_timeout_secs: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 64 |     pub log_slow_queries: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DatabaseConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pool_size` and `ttl_default_secs` are never read
[INFO] [stdout]   --> src/configs/app_config.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct RedisConfig {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 79 |     pub url: String,
[INFO] [stdout] 80 |     pub pool_size: u32,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 81 |     pub ttl_default_secs: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RedisConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `from_name`, `from_email`, `host`, `port`, `username`, and `password` are never read
[INFO] [stdout]   --> src/configs/app_config.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub struct SmtpConfig {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 87 |     pub from_name: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 88 |     pub from_email: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 89 |     pub host: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 90 |     pub port: u16,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 91 |     pub username: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 92 |     pub password: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SmtpConfig` 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 `driver`, `local_path`, `s3_bucket`, and `s3_region` are never read
[INFO] [stdout]    --> src/configs/app_config.rs:98:9
[INFO] [stdout]     |
[INFO] [stdout]  97 | pub struct StorageConfig {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout]  98 |     pub driver: String,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]  99 |     pub local_path: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 100 |
[INFO] [stdout] 101 |     pub s3_bucket: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 102 |     pub s3_region: Option<String>,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `StorageConfig` 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 `api_url` and `api_key` are never read
[INFO] [stdout]    --> src/configs/app_config.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub struct ThirdPartyConfig {
[INFO] [stdout]     |            ---------------- fields in this struct
[INFO] [stdout] 108 |     pub api_url: String,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 109 |     pub api_key: String,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ThirdPartyConfig` 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 `is_production` and `is_development` are never used
[INFO] [stdout]    --> src/configs/app_config.rs:141:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl AppConfig {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn is_production(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn is_development(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `access_secret`, `refresh_secret`, `access_expiry_secs`, and `refresh_expiry_secs` are never read
[INFO] [stdout]   --> src/configs/jwt.rs:6:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct JwtKeys {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout]  6 |     pub access_secret: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]  7 |     pub refresh_secret: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]  8 |
[INFO] [stdout]  9 |     pub access_expiry_secs: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     pub refresh_expiry_secs: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `JwtKeys` 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 `AuthService` is never constructed
[INFO] [stdout]   --> src/modules/auth/application/auth_service.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct AuthService {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `login`, `refresh`, and `logout` are never used
[INFO] [stdout]    --> src/modules/auth/application/auth_service.rs:19:12
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl AuthService {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  19 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  31 |     pub async fn login(&self, req: LoginRequest) -> AppResult<AuthResponse> {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub async fn refresh(&self, req: RefreshRequest) -> AppResult<AuthResponse> {
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub async fn logout(&self, refresh_token: &str) -> AppResult<()> {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthResponse` is never constructed
[INFO] [stdout]   --> src/modules/auth/application/dto.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct AuthResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthToken` is never constructed
[INFO] [stdout]  --> src/modules/auth/domain/model/mod.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct AuthToken {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TokenPair` is never constructed
[INFO] [stdout]   --> src/modules/auth/domain/model/mod.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct TokenPair {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AuthRepository` is never used
[INFO] [stdout]  --> src/modules/auth/domain/repository/mod.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub trait AuthRepository: Send + Sync {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserService` is never constructed
[INFO] [stdout]  --> src/modules/users/application/user_service.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct UserService {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `create`, `get_by_id`, `list`, `update`, and `delete` are never used
[INFO] [stdout]   --> src/modules/users/application/user_service.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl UserService {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn new(repo: Arc<dyn UserRepository>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub async fn create(&self, req: CreateUserRequest) -> AppResult<UserProfile> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub async fn get_by_id(&self, id: Uuid) -> AppResult<UserProfile> {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub async fn list(&self, limit: i64, offset: i64) -> AppResult<Vec<UserProfile>> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub async fn update(&self, id: Uuid, req: UpdateUserRequest) -> AppResult<UserProfile> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub async fn delete(&self, id: Uuid) -> AppResult<()> {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserListResponse` is never constructed
[INFO] [stdout]   --> src/modules/users/application/dto.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct UserListResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> src/modules/users/domain/model/mod.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct User {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserProfile` is never constructed
[INFO] [stdout]   --> src/modules/users/domain/model/mod.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct UserProfile {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `UserRepository` is never used
[INFO] [stdout]  --> src/modules/users/domain/repository/mod.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub trait UserRepository: Send + Sync {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `attach_metrics` is never used
[INFO] [stdout]  --> src/observability/metrics.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn attach_metrics(router: Router) -> (Router, axum_prometheus::metrics_exporter_prometheus::PrometheusHandle) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 06s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.25.4, sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "fae951d27ea54d237f009b7b8952f9fcd0d366f6e70c715db6c99449c2bd6cde", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fae951d27ea54d237f009b7b8952f9fcd0d366f6e70c715db6c99449c2bd6cde", kill_on_drop: false }`
[INFO] [stdout] fae951d27ea54d237f009b7b8952f9fcd0d366f6e70c715db6c99449c2bd6cde
