[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] building Yolshin195/accounting against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYolshin195%2Faccounting" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Yolshin195/accounting on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.2.28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a208442c4cd6d64820f4655a953409b24c6433bb02c4f04e0653cbdc95f6360 [INFO] running `Command { std: "docker" "start" "-a" "7a208442c4cd6d64820f4655a953409b24c6433bb02c4f04e0653cbdc95f6360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a208442c4cd6d64820f4655a953409b24c6433bb02c4f04e0653cbdc95f6360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a208442c4cd6d64820f4655a953409b24c6433bb02c4f04e0653cbdc95f6360", kill_on_drop: false }` [INFO] [stdout] 7a208442c4cd6d64820f4655a953409b24c6433bb02c4f04e0653cbdc95f6360 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ef4463ccfcfe6e58602bd90c88a9adf8eecf559843d2f7781c130413e9db5ea [INFO] running `Command { std: "docker" "start" "-a" "5ef4463ccfcfe6e58602bd90c88a9adf8eecf559843d2f7781c130413e9db5ea", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.28 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "5ef4463ccfcfe6e58602bd90c88a9adf8eecf559843d2f7781c130413e9db5ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ef4463ccfcfe6e58602bd90c88a9adf8eecf559843d2f7781c130413e9db5ea", kill_on_drop: false }` [INFO] [stdout] 5ef4463ccfcfe6e58602bd90c88a9adf8eecf559843d2f7781c130413e9db5ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b24a547362f6f44e09a8da8c816f02871b36868413fe9bdfcb1f8f5f02d601db [INFO] running `Command { std: "docker" "start" "-a" "b24a547362f6f44e09a8da8c816f02871b36868413fe9bdfcb1f8f5f02d601db", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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: `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: `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: `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: 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 `test` profile [unoptimized + debuginfo] target(s) in 7.05s [INFO] running `Command { std: "docker" "inspect" "b24a547362f6f44e09a8da8c816f02871b36868413fe9bdfcb1f8f5f02d601db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b24a547362f6f44e09a8da8c816f02871b36868413fe9bdfcb1f8f5f02d601db", kill_on_drop: false }` [INFO] [stdout] b24a547362f6f44e09a8da8c816f02871b36868413fe9bdfcb1f8f5f02d601db