[INFO] cloning repository https://github.com/Yolshin195/accountingbot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yolshin195/accountingbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYolshin195%2Faccountingbot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYolshin195%2Faccountingbot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5865c7d32306383df94d12c949a96e76d75be454 [INFO] checking Yolshin195/accountingbot against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYolshin195%2Faccountingbot" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Yolshin195/accountingbot [INFO] finished tweaking git repo https://github.com/Yolshin195/accountingbot [INFO] tweaked toml for git repo https://github.com/Yolshin195/accountingbot written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Yolshin195/accountingbot 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/accountingbot 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 teloxide-macros v0.10.0 [INFO] [stderr] Downloaded rc-box v1.3.0 [INFO] [stderr] Downloaded erasable v1.3.0 [INFO] [stderr] Downloaded dptree v0.5.1 [INFO] [stderr] Downloaded teloxide v0.17.0 [INFO] [stderr] Downloaded teloxide-core v0.13.0 [INFO] [stderr] Downloaded aquamarine v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 8ddb7c4a67204a54a5e071a5c7dc8d05fa5769745ae5739191061e9c7b5a5611 [INFO] running `Command { std: "docker" "start" "-a" "8ddb7c4a67204a54a5e071a5c7dc8d05fa5769745ae5739191061e9c7b5a5611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ddb7c4a67204a54a5e071a5c7dc8d05fa5769745ae5739191061e9c7b5a5611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ddb7c4a67204a54a5e071a5c7dc8d05fa5769745ae5739191061e9c7b5a5611", kill_on_drop: false }` [INFO] [stdout] 8ddb7c4a67204a54a5e071a5c7dc8d05fa5769745ae5739191061e9c7b5a5611 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c2361bef570d752092c3886ef39686695efbac9491155005ba3ed2611ea6d144 [INFO] running `Command { std: "docker" "start" "-a" "c2361bef570d752092c3886ef39686695efbac9491155005ba3ed2611ea6d144", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking rustls-pki-types v1.13.0 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Checking rc-box v1.3.0 [INFO] [stderr] Compiling rust_decimal v1.39.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling stacker v0.1.22 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ar_archive_writer v0.2.0 [INFO] [stderr] Compiling psm v0.1.28 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.15.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking dptree v0.5.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling teloxide-macros v0.10.0 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Compiling aquamarine v0.6.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking serde_with v3.15.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.24 [INFO] [stderr] Checking teloxide-core v0.13.0 [INFO] [stderr] Checking teloxide v0.17.0 [INFO] [stderr] Checking accounting_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/accounting_client_api/accounting_client_api.rs:91:37 [INFO] [stdout] | [INFO] [stdout] 91 | async fn list_categories(&self, params: Pagination) -> Result, String> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/accounting_client_api/accounting_client_api.rs:95:48 [INFO] [stdout] | [INFO] [stdout] 95 | async fn create_expense_transaction(&self, data: CreateTransactionDto) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/accounting_client_api/accounting_client_api.rs:103:51 [INFO] [stdout] | [INFO] [stdout] 103 | async fn find_all_transaction_by_month(&self, params: MonthlyTransactionQuery) -> Result, String> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | Username(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - Username(String), [INFO] [stdout] 17 + Username(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoginTelegramBotDto` is never constructed [INFO] [stdout] --> src/accounting_client_api/dto/user_dto.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct LoginTelegramBotDto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JwtResponse` is never constructed [INFO] [stdout] --> src/accounting_client_api/dto/user_dto.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct JwtResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateCategoryDto` is never constructed [INFO] [stdout] --> src/accounting_client_api/dto/category_dto.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CreateCategoryDto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CategoryDto` is never constructed [INFO] [stdout] --> src/accounting_client_api/dto/category_dto.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CategoryDto { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransactionDto` is never constructed [INFO] [stdout] --> src/accounting_client_api/dto/transaction_dto.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TransactionDto { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateTransactionDto` is never constructed [INFO] [stdout] --> src/accounting_client_api/dto/transaction_dto.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct UpdateTransactionDto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTransactionDto` is never constructed [INFO] [stdout] --> src/accounting_client_api/dto/transaction_dto.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct CreateTransactionDto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MonthlyTransactionQuery` is never constructed [INFO] [stdout] --> src/accounting_client_api/dto/transaction_dto.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct MonthlyTransactionQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CategoryExpenseSummaryDto` is never constructed [INFO] [stdout] --> src/accounting_client_api/dto/transaction_dto.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct CategoryExpenseSummaryDto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pagination` is never constructed [INFO] [stdout] --> src/accounting_client_api/dto/pagination_dto.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Pagination { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `offset` and `default` are never used [INFO] [stdout] --> src/accounting_client_api/dto/pagination_dto.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Pagination { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 12 | pub fn offset(&self) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_page` is never used [INFO] [stdout] --> src/accounting_client_api/dto/pagination_dto.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn default_page() -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_per_page` is never used [INFO] [stdout] --> src/accounting_client_api/dto/pagination_dto.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn default_per_page() -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PagedResponse` is never constructed [INFO] [stdout] --> src/accounting_client_api/dto/pagination_dto.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct PagedResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageInfo` is never constructed [INFO] [stdout] --> src/accounting_client_api/dto/pagination_dto.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct PageInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/accounting_client_api/dto/pagination_dto.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl PagedResponse { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 49 | pub fn new(content: Vec, pagination: &Pagination, total_elements: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOGIN_TELEGRAM_PATH` is never used [INFO] [stdout] --> src/accounting_client_api/accounting_client_api.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const LOGIN_TELEGRAM_PATH: &str = "/users/login/telegram"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CREATE_CATEGORY_PATH` is never used [INFO] [stdout] --> src/accounting_client_api/accounting_client_api.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const CREATE_CATEGORY_PATH: &str = "/categories"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AccountingClientApi` is never used [INFO] [stdout] --> src/accounting_client_api/accounting_client_api.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait AccountingClientApi: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccountingClientApiRequest` is never constructed [INFO] [stdout] --> src/accounting_client_api/accounting_client_api.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AccountingClientApiRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_env` is never used [INFO] [stdout] --> src/accounting_client_api/accounting_client_api.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl AccountingClientApiRequest { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 37 | pub fn from_env(user_session: Session) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/services/user_service.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait SessionStore: Send + Sync { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | async fn remove(&self, user_id: &str); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `access_token` and `refresh_token` are never read [INFO] [stdout] --> src/dto/user.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Jwt { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 4 | pub access_token: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | pub refresh_token: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Jwt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id`, `chat_id`, and `jwt` are never read [INFO] [stdout] --> src/dto/user.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | pub user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub username: String, [INFO] [stdout] 14 | pub chat_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | pub jwt: Option [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/accounting_client_api/accounting_client_api.rs:91:37 [INFO] [stdout] | [INFO] [stdout] 91 | async fn list_categories(&self, params: Pagination) -> Result, String> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/accounting_client_api/accounting_client_api.rs:95:48 [INFO] [stdout] | [INFO] [stdout] 95 | async fn create_expense_transaction(&self, data: CreateTransactionDto) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/accounting_client_api/accounting_client_api.rs:103:51 [INFO] [stdout] | [INFO] [stdout] 103 | async fn find_all_transaction_by_month(&self, params: MonthlyTransactionQuery) -> Result, String> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | Username(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - Username(String), [INFO] [stdout] 17 + Username(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransactionDto` is never constructed [INFO] [stdout] --> src/accounting_client_api/dto/transaction_dto.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TransactionDto { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateTransactionDto` is never constructed [INFO] [stdout] --> src/accounting_client_api/dto/transaction_dto.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct UpdateTransactionDto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateTransactionDto` is never constructed [INFO] [stdout] --> src/accounting_client_api/dto/transaction_dto.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct CreateTransactionDto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MonthlyTransactionQuery` is never constructed [INFO] [stdout] --> src/accounting_client_api/dto/transaction_dto.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct MonthlyTransactionQuery { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CategoryExpenseSummaryDto` is never constructed [INFO] [stdout] --> src/accounting_client_api/dto/transaction_dto.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct CategoryExpenseSummaryDto { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pagination` is never constructed [INFO] [stdout] --> src/accounting_client_api/dto/pagination_dto.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Pagination { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `offset` and `default` are never used [INFO] [stdout] --> src/accounting_client_api/dto/pagination_dto.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Pagination { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 12 | pub fn offset(&self) -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_page` is never used [INFO] [stdout] --> src/accounting_client_api/dto/pagination_dto.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn default_page() -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_per_page` is never used [INFO] [stdout] --> src/accounting_client_api/dto/pagination_dto.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn default_per_page() -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PagedResponse` is never constructed [INFO] [stdout] --> src/accounting_client_api/dto/pagination_dto.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct PagedResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PageInfo` is never constructed [INFO] [stdout] --> src/accounting_client_api/dto/pagination_dto.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct PageInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/accounting_client_api/dto/pagination_dto.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl PagedResponse { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 49 | pub fn new(content: Vec, pagination: &Pagination, total_elements: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list_categories`, `create_expense_transaction`, `sum_today_expenses_grouped_by_category`, and `find_all_transaction_by_month` are never used [INFO] [stdout] --> src/accounting_client_api/accounting_client_api.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait AccountingClientApi: Send + Sync { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 18 | async fn list_categories(&self, params: Pagination) -> Result, String>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | async fn create_expense_transaction(&self, data: CreateTransactionDto) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | async fn sum_today_expenses_grouped_by_category(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | async fn find_all_transaction_by_month(&self, params: MonthlyTransactionQuery) -> Result, String>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_url` and `user_session` are never read [INFO] [stdout] --> src/accounting_client_api/accounting_client_api.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AccountingClientApiRequest { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 28 | base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | user_session: Session, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccountingClientApiRequest` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/services/user_service.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait SessionStore: Send + Sync { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | async fn remove(&self, user_id: &str); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `access_token` and `refresh_token` are never read [INFO] [stdout] --> src/dto/user.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Jwt { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 4 | pub access_token: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | pub refresh_token: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Jwt` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id`, `chat_id`, and `jwt` are never read [INFO] [stdout] --> src/dto/user.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | pub user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub username: String, [INFO] [stdout] 14 | pub chat_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | pub jwt: Option [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "c2361bef570d752092c3886ef39686695efbac9491155005ba3ed2611ea6d144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2361bef570d752092c3886ef39686695efbac9491155005ba3ed2611ea6d144", kill_on_drop: false }` [INFO] [stdout] c2361bef570d752092c3886ef39686695efbac9491155005ba3ed2611ea6d144