[INFO] cloning repository https://github.com/neerajchowdary889/Payments-Backend-dodo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/neerajchowdary889/Payments-Backend-dodo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneerajchowdary889%2FPayments-Backend-dodo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneerajchowdary889%2FPayments-Backend-dodo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e2f7781c948c555992f869748492b7238eb009b [INFO] checking neerajchowdary889/Payments-Backend-dodo against master#021fc25b7a48f6051bee1e1f06c7a277e4de1cc9 for pr-151510 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneerajchowdary889%2FPayments-Backend-dodo" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/neerajchowdary889/Payments-Backend-dodo [INFO] removed 1 missing tests [INFO] finished tweaking git repo https://github.com/neerajchowdary889/Payments-Backend-dodo [INFO] tweaked toml for git repo https://github.com/neerajchowdary889/Payments-Backend-dodo written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/neerajchowdary889/Payments-Backend-dodo on toolchain 021fc25b7a48f6051bee1e1f06c7a277e4de1cc9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/neerajchowdary889/Payments-Backend-dodo 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" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator_derive v0.18.2 [INFO] [stderr] Downloaded validator v0.18.1 [INFO] [stderr] Downloaded inherent v1.0.13 [INFO] [stderr] Downloaded opentelemetry-otlp v0.17.0 [INFO] [stderr] Downloaded opentelemetry-semantic-conventions v0.16.0 [INFO] [stderr] Downloaded opentelemetry v0.24.0 [INFO] [stderr] Downloaded opentelemetry_sdk v0.24.1 [INFO] [stderr] Downloaded sea-query-derive v0.4.3 [INFO] [stderr] Downloaded opentelemetry-proto v0.7.0 [INFO] [stderr] Downloaded reqwest v0.12.26 [INFO] [stderr] Downloaded tracing-opentelemetry v0.25.0 [INFO] [stderr] Downloaded redis v0.24.0 [INFO] [stderr] Downloaded sea-query v0.32.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4c5315e58c85fc2b389974ccecc7f73a136f4c6429bb9a3a8207aabd65d2897 [INFO] running `Command { std: "docker" "start" "-a" "a4c5315e58c85fc2b389974ccecc7f73a136f4c6429bb9a3a8207aabd65d2897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4c5315e58c85fc2b389974ccecc7f73a136f4c6429bb9a3a8207aabd65d2897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4c5315e58c85fc2b389974ccecc7f73a136f4c6429bb9a3a8207aabd65d2897", kill_on_drop: false }` [INFO] [stdout] a4c5315e58c85fc2b389974ccecc7f73a136f4c6429bb9a3a8207aabd65d2897 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40d94c493df67a0132a91ad1307d44284ad1a312bbe646681b21e3e8a4dbb49e [INFO] running `Command { std: "docker" "start" "-a" "40d94c493df67a0132a91ad1307d44284ad1a312bbe646681b21e3e8a4dbb49e", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tracing-core v0.1.35 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling tracing v0.1.43 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking opentelemetry v0.24.0 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Checking opentelemetry_sdk v0.24.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Checking postgres-protocol v0.6.9 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking rustls-webpki v0.103.8 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Compiling validator_derive v0.18.2 [INFO] [stderr] Checking postgres-types v0.2.11 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Compiling sea-query-derive v0.4.3 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking tokio-retry v0.3.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling inherent v1.0.13 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking opentelemetry-semantic-conventions v0.16.0 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Checking fragile v2.0.1 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking sea-query v0.32.7 [INFO] [stderr] Checking prost v0.13.5 [INFO] [stderr] Checking validator v0.18.1 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tracing-opentelemetry v0.25.0 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking mockall v0.12.1 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.26 [INFO] [stderr] Checking redis v0.24.0 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stderr] Checking opentelemetry-proto v0.7.0 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking opentelemetry-otlp v0.17.0 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking payments-backend-dodo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sqlx::Acquire` [INFO] [stdout] --> src/controllayer/accounts/accounts_handler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::Acquire; // Required for begin() method on connections [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: `TransactionStatus` [INFO] [stdout] --> src/controllayer/transfers/queries.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | CRUD::types::{Transaction, TransactionStatus, TransactionType}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DENOMINATOR` [INFO] [stdout] --> src/datalayer/CRUD/transaction.rs:9:61 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::datalayer::db_ops::constants::{DEFAULT_CURRENCY, DENOMINATOR, POOL_STATE_TRACKER}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/handlers/accounts.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | extract::{Path, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/handlers/webhooks.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | extract::{Path, Query}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/middleware/request_id.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | http::{StatusCode, header}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::Acquire` [INFO] [stdout] --> src/controllayer/accounts/accounts_handler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::Acquire; // Required for begin() method on connections [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: `TransactionStatus` [INFO] [stdout] --> src/controllayer/transfers/queries.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | CRUD::types::{Transaction, TransactionStatus, TransactionType}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DENOMINATOR` [INFO] [stdout] --> src/datalayer/CRUD/transaction.rs:9:61 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::datalayer::db_ops::constants::{DEFAULT_CURRENCY, DENOMINATOR, POOL_STATE_TRACKER}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/handlers/accounts.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | extract::{Path, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/handlers/webhooks.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | extract::{Path, Query}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/middleware/request_id.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | http::{StatusCode, header}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controllayer/accounts/accounts_handler.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut conn = match tracker.get_connection().await { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controllayer/accounts/accounts_handler.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut conn = match tracker.get_connection().await { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controllayer/transfers/transfers.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | let mut conn = match tracker.get_connection().await { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controllayer/transfers/transfers.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | let mut conn = match tracker.get_connection().await { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/datalayer/db_ops/connection_pool/pool_state_tracker.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut tracker = Self { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/datalayer/db_ops/connection_pool/pool_state_tracker.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut tracker = Self { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `status` is never read [INFO] [stdout] --> src/datalayer/CRUD/transaction.rs:326:26 [INFO] [stdout] | [INFO] [stdout] 326 | let mut status = TransactionStatus::Pending; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `status` is never read [INFO] [stdout] --> src/datalayer/CRUD/transaction.rs:326:26 [INFO] [stdout] | [INFO] [stdout] 326 | let mut status = TransactionStatus::Pending; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/datalayer/db_ops/connection_pool/pool_state_tracker.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | let mut tracker = PoolStateTracker::init(config).await.unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/datalayer/db_ops/connection_pool/pool_state_tracker.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | let mut tracker = PoolStateTracker::init(config).await.unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parts` [INFO] [stdout] --> src/handlers/accounts.rs:229:10 [INFO] [stdout] | [INFO] [stdout] 229 | let (parts, body) = response.into_parts(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `health` [INFO] [stdout] --> src/datalayer/db_ops/db_ops.rs:266:24 [INFO] [stdout] | [INFO] [stdout] 266 | if let Ok((health, tables)) = result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_health` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parts` [INFO] [stdout] --> src/handlers/accounts.rs:229:10 [INFO] [stdout] | [INFO] [stdout] 229 | let (parts, body) = response.into_parts(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/middleware/auth.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/middleware/auth.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | State(state): State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bind_query_as` is never used [INFO] [stdout] --> src/datalayer/CRUD/transaction.rs:1047:5 [INFO] [stdout] | [INFO] [stdout] 1047 | bind_query_as, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `impl_bind_values` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `CRUD` should have a snake case name [INFO] [stdout] --> src/datalayer/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod CRUD; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `crud` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bind_query_as` is never used [INFO] [stdout] --> src/datalayer/CRUD/transaction.rs:1047:5 [INFO] [stdout] | [INFO] [stdout] 1047 | bind_query_as, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `impl_bind_values` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `CRUD` should have a snake case name [INFO] [stdout] --> src/datalayer/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod CRUD; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `crud` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mockall::predicate::str::contains` [INFO] [stdout] --> Tests/crud/account_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use mockall::predicate::str::contains; [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: `TransactionStatus` [INFO] [stdout] --> Tests/crud/transfer_flow_test.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use payments_backend_dodo::datalayer::CRUD::types::{TransactionStatus, TransactionType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0, 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 5` [INFO] running `Command { std: "docker" "inspect" "40d94c493df67a0132a91ad1307d44284ad1a312bbe646681b21e3e8a4dbb49e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40d94c493df67a0132a91ad1307d44284ad1a312bbe646681b21e3e8a4dbb49e", kill_on_drop: false }` [INFO] [stdout] 40d94c493df67a0132a91ad1307d44284ad1a312bbe646681b21e3e8a4dbb49e