[INFO] cloning repository https://github.com/Yolshin195/accounting [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yolshin195/accounting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYolshin195%2Faccounting", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYolshin195%2Faccounting'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5232caafff3acc6533825d22a2eb88228441dcb [INFO] checking Yolshin195/accounting against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYolshin195%2Faccounting" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Yolshin195/accounting [INFO] finished tweaking git repo https://github.com/Yolshin195/accounting [INFO] tweaked toml for git repo https://github.com/Yolshin195/accounting written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Yolshin195/accounting on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Yolshin195/accounting 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jsonwebtoken v9.3.1 [INFO] [stderr] Downloaded cc v1.2.28 [INFO] [stderr] Downloaded rust_decimal v1.37.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9377540bff00a5472873c3f9f2dbf229455447c1ad9116e9e5f4945eb3c8bb9e [INFO] running `Command { std: "docker" "start" "-a" "9377540bff00a5472873c3f9f2dbf229455447c1ad9116e9e5f4945eb3c8bb9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9377540bff00a5472873c3f9f2dbf229455447c1ad9116e9e5f4945eb3c8bb9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9377540bff00a5472873c3f9f2dbf229455447c1ad9116e9e5f4945eb3c8bb9e", kill_on_drop: false }` [INFO] [stdout] 9377540bff00a5472873c3f9f2dbf229455447c1ad9116e9e5f4945eb3c8bb9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 555cd08dea1f5ab3e680904c295910ddc1a546bdf32ecd63731b34d1e7a33735 [INFO] running `Command { std: "docker" "start" "-a" "555cd08dea1f5ab3e680904c295910ddc1a546bdf32ecd63731b34d1e7a33735", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.28 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking sqlx-postgres v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking accounting v0.2.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rust_decimal::Decimal` [INFO] [stdout] --> src/application/services/transaction_service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rust_decimal::Decimal; [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: `rust_decimal::Decimal` [INFO] [stdout] --> src/application/services/transaction_service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rust_decimal::Decimal; [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 variable: `user_id` [INFO] [stdout] --> src/application/traits/category_repo.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | async fn find_all(&self, user_id: Uuid, pagination: Pagination) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pagination` [INFO] [stdout] --> src/application/traits/category_repo.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | async fn find_all(&self, user_id: Uuid, pagination: Pagination) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pagination` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/traits/category_repo.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | async fn delete_by_code(&self, user_id: Uuid, code: String) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/application/traits/category_repo.rs:58:55 [INFO] [stdout] | [INFO] [stdout] 58 | async fn delete_by_code(&self, user_id: Uuid, code: String) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/traits/category_repo.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | async fn count(&self, user_id: Uuid) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/traits/transaction_repo.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | async fn update(&self, user_id: Uuid, transaction_id: Uuid, transaction: UpdateTransaction) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction_id` [INFO] [stdout] --> src/application/traits/transaction_repo.rs:72:47 [INFO] [stdout] | [INFO] [stdout] 72 | async fn update(&self, user_id: Uuid, transaction_id: Uuid, transaction: UpdateTransaction) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/application/traits/transaction_repo.rs:72:69 [INFO] [stdout] | [INFO] [stdout] 72 | async fn update(&self, user_id: Uuid, transaction_id: Uuid, transaction: UpdateTransaction) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/traits/transaction_repo.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | ... async fn find_all_by_month(&self, user_id: Uuid, year: u32, month: u32, pagination: &Pagination) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `year` [INFO] [stdout] --> src/application/traits/transaction_repo.rs:96:58 [INFO] [stdout] | [INFO] [stdout] 96 | ... async fn find_all_by_month(&self, user_id: Uuid, year: u32, month: u32, pagination: &Pagination) -> anyhow::Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_year` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `month` [INFO] [stdout] --> src/application/traits/transaction_repo.rs:96:69 [INFO] [stdout] | [INFO] [stdout] 96 | ...lf, user_id: Uuid, year: u32, month: u32, pagination: &Pagination) -> anyhow::Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_month` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pagination` [INFO] [stdout] --> src/application/traits/transaction_repo.rs:96:81 [INFO] [stdout] | [INFO] [stdout] 96 | ..., year: u32, month: u32, pagination: &Pagination) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pagination` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/application/traits/transaction_repo.rs:100:48 [INFO] [stdout] | [INFO] [stdout] 100 | async fn find_by_id_and_user_id(&self, id: Uuid, user_id: Uuid) -> anyhow::Result> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/traits/transaction_repo.rs:100:58 [INFO] [stdout] | [INFO] [stdout] 100 | async fn find_by_id_and_user_id(&self, id: Uuid, user_id: Uuid) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/application/traits/transaction_repo.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | async fn delete(&self, id: Uuid, user_id: Uuid) -> anyhow::Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/traits/transaction_repo.rs:115:42 [INFO] [stdout] | [INFO] [stdout] 115 | async fn delete(&self, id: Uuid, user_id: Uuid) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/application/traits/transaction_repo.rs:119:64 [INFO] [stdout] | [INFO] [stdout] 119 | ..._grouped_by_category(&self, user_id: Uuid, today: NaiveDate) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `today` [INFO] [stdout] --> src/application/traits/transaction_repo.rs:119:79 [INFO] [stdout] | [INFO] [stdout] 119 | ...ategory(&self, user_id: Uuid, today: NaiveDate) -> anyhow::Result> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_today` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `email` is never read [INFO] [stdout] --> src/application/dtos/user_dto.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CreateUserDto { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 6 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateUserDto` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client_id` and `secret` are never read [INFO] [stdout] --> src/application/dtos/user_dto.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct LoginTelegramBotDto { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 30 | pub client_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | pub secret: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoginTelegramBotDto` 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 function `default` is never used [INFO] [stdout] --> src/application/dtos/pagination_dto.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Pagination { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserService` is never constructed [INFO] [stdout] --> src/application/services/user_service.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct UserService { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `register`, and `authenticate` are never used [INFO] [stdout] --> src/application/services/user_service.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl UserService { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(repo: R) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub async fn register(&self, username: &str, password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub async fn authenticate(&self, username: &str, password: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count` is never used [INFO] [stdout] --> src/application/traits/category_repo.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait CategoryRepository: Send + Sync { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | async fn count(&self, user_id: Uuid) -> anyhow::Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_category_type` and `from_str` are never used [INFO] [stdout] --> src/domain/transaction.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl TransactionType { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 44 | pub fn from_category_type(cat_type: &CategoryType) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_id` is never read [INFO] [stdout] --> src/domain/transaction.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Transaction { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 81 | pub id: Uuid, [INFO] [stdout] 82 | pub user_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` 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: struct `UserAuth` is never constructed [INFO] [stdout] --> src/domain/user.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct UserAuth { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate_token` is never used [INFO] [stdout] --> src/infrastructure/auth/jwt.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl JwtService { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn validate_token( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppState` is never constructed [INFO] [stdout] --> src/infrastructure/db/db.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AppState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `email` is never read [INFO] [stdout] --> src/application/dtos/user_dto.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CreateUserDto { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 6 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateUserDto` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client_id` and `secret` are never read [INFO] [stdout] --> src/application/dtos/user_dto.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct LoginTelegramBotDto { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 30 | pub client_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | pub secret: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoginTelegramBotDto` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserService` is never constructed [INFO] [stdout] --> src/application/services/user_service.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct UserService { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `register`, and `authenticate` are never used [INFO] [stdout] --> src/application/services/user_service.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl UserService { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(repo: R) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub async fn register(&self, username: &str, password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub async fn authenticate(&self, username: &str, password: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count` is never used [INFO] [stdout] --> src/application/traits/category_repo.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait CategoryRepository: Send + Sync { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | async fn count(&self, user_id: Uuid) -> anyhow::Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_category_type` and `from_str` are never used [INFO] [stdout] --> src/domain/transaction.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl TransactionType { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 44 | pub fn from_category_type(cat_type: &CategoryType) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserAuth` is never constructed [INFO] [stdout] --> src/domain/user.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct UserAuth { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppState` is never constructed [INFO] [stdout] --> src/infrastructure/db/db.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AppState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.22s [INFO] running `Command { std: "docker" "inspect" "555cd08dea1f5ab3e680904c295910ddc1a546bdf32ecd63731b34d1e7a33735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "555cd08dea1f5ab3e680904c295910ddc1a546bdf32ecd63731b34d1e7a33735", kill_on_drop: false }` [INFO] [stdout] 555cd08dea1f5ab3e680904c295910ddc1a546bdf32ecd63731b34d1e7a33735