[INFO] cloning repository https://github.com/AlexIn1309/friendbank-bend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlexIn1309/friendbank-bend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexIn1309%2Ffriendbank-bend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexIn1309%2Ffriendbank-bend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0214d541018e8eb606f6b9b11adaa6506a50d7c5
[INFO] checking AlexIn1309/friendbank-bend against try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexIn1309%2Ffriendbank-bend" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AlexIn1309/friendbank-bend
[INFO] finished tweaking git repo https://github.com/AlexIn1309/friendbank-bend
[INFO] tweaked toml for git repo https://github.com/AlexIn1309/friendbank-bend written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AlexIn1309/friendbank-bend on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AlexIn1309/friendbank-bend 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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ab046f1e318f831f5fb7c536894b89d9e1c3939a7f88826bb1ec5a44d5a3b4bf
[INFO] running `Command { std: "docker" "start" "-a" "ab046f1e318f831f5fb7c536894b89d9e1c3939a7f88826bb1ec5a44d5a3b4bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ab046f1e318f831f5fb7c536894b89d9e1c3939a7f88826bb1ec5a44d5a3b4bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab046f1e318f831f5fb7c536894b89d9e1c3939a7f88826bb1ec5a44d5a3b4bf", kill_on_drop: false }`
[INFO] [stdout] ab046f1e318f831f5fb7c536894b89d9e1c3939a7f88826bb1ec5a44d5a3b4bf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4933c02dcecb63cf4d78a81b5648ec5e419ddc606ebdd7743f522483a6f15623
[INFO] running `Command { std: "docker" "start" "-a" "4933c02dcecb63cf4d78a81b5648ec5e419ddc606ebdd7743f522483a6f15623", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]     Checking cfg-if v1.0.3
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]     Checking slab v0.4.11
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]    Compiling base64ct v1.8.0
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling rust_decimal v1.37.2
[INFO] [stderr]    Compiling cc v1.2.34
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]     Checking indexmap v2.11.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking zerovec v0.11.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]     Checking alloc-stdlib v0.2.2
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking bitflags v2.9.3
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]     Checking adler2 v2.0.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling rsa v0.9.8
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking http-serde v2.1.1
[INFO] [stderr]     Checking bytestring v1.4.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking brotli-decompressor v5.0.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling thiserror v2.0.16
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]    Compiling sqlx-mysql v0.7.4
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling tempfile v3.21.0
[INFO] [stderr]     Checking lambda_runtime_api_client v0.12.4
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]     Checking brotli v8.0.2
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]     Checking query_map v0.7.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.16
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]    Compiling vercel_runtime_router v1.1.6
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]     Checking lambda_runtime v0.14.4
[INFO] [stderr]     Checking aws_lambda_events v0.16.1
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking lambda_http v0.15.1
[INFO] [stderr]     Checking actix-http v3.11.0
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking pem v1.1.1
[INFO] [stderr]    Compiling vercel_runtime_macro v1.1.6
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking bcrypt v0.15.1
[INFO] [stderr]    Compiling rust_decimal_macros v1.37.1
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking jsonwebtoken v8.3.0
[INFO] [stderr]     Checking vercel_runtime v1.1.6
[INFO] [stderr]     Checking actix-web v4.11.0
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking actix-web-httpauth v0.8.2
[INFO] [stderr]     Checking friendbank v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/api/handlers/signup.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 |       let user_id: i32 = match sqlx::query!(
[INFO] [stdout]    |  ______________________________^
[INFO] [stdout] 21 | |         "INSERT INTO users (username, password_hash) VALUES (?, ?)",
[INFO] [stdout] 22 | |         user_data.username,
[INFO] [stdout] 23 | |         hashed_password
[INFO] [stdout] 24 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/api/handlers/signup.rs:33:11
[INFO] [stdout]    |
[INFO] [stdout] 33 |       match sqlx::query!(
[INFO] [stdout]    |  ___________^
[INFO] [stdout] 34 | |         "INSERT INTO accounts (user_id, balance) VALUES (?, 0)",
[INFO] [stdout] 35 | |         user_id
[INFO] [stdout] 36 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/user_service.rs:6:22
[INFO] [stdout]    |
[INFO] [stdout]  6 |       let user = match sqlx::query_as!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout]  7 | |         User,
[INFO] [stdout]  8 | |         "SELECT id, username, password_hash, role FROM users WHERE username = ?",
[INFO] [stdout]  9 | |         user_data.username
[INFO] [stdout] 10 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/transaction_service.rs:23:26
[INFO] [stdout]    |
[INFO] [stdout] 23 |       let sender_account = sqlx::query_as!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 24 | |         Account,
[INFO] [stdout] 25 | |         "SELECT id, user_id, balance FROM accounts WHERE user_id = ?",
[INFO] [stdout] 26 | |         sender_user_id
[INFO] [stdout] 27 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/transaction_service.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |       let recipient_user = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 38 | |         "SELECT id FROM users WHERE username = ?",
[INFO] [stdout] 39 | |         transaction_data.recipient_username
[INFO] [stdout] 40 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/transaction_service.rs:54:29
[INFO] [stdout]    |
[INFO] [stdout] 54 |       let recipient_account = sqlx::query_as!(
[INFO] [stdout]    |  _____________________________^
[INFO] [stdout] 55 | |         Account,
[INFO] [stdout] 56 | |         "SELECT id, user_id, balance FROM accounts WHERE user_id = ?",
[INFO] [stdout] 57 | |         recipient_user.id
[INFO] [stdout] 58 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/transaction_service.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 81 | /     sqlx::query!(
[INFO] [stdout] 82 | |         "UPDATE accounts SET balance = balance - ? WHERE id = ?",
[INFO] [stdout] 83 | |         transaction_amount,
[INFO] [stdout] 84 | |         sender_account.id
[INFO] [stdout] 85 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/transaction_service.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 93 | /     sqlx::query!(
[INFO] [stdout] 94 | |         "UPDATE accounts SET balance = balance + ? WHERE id = ?",
[INFO] [stdout] 95 | |         transaction_amount,
[INFO] [stdout] 96 | |         recipient_account.id
[INFO] [stdout] 97 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> api/services/transaction_service.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 105 | /     sqlx::query!(
[INFO] [stdout] 106 | |         "INSERT INTO transactions (sender_id, recipient_id, amount) VALUES (?, ?, ?)",
[INFO] [stdout] 107 | |         sender_account.id,
[INFO] [stdout] 108 | |         recipient_account.id,
[INFO] [stdout] 109 | |         transaction_amount
[INFO] [stdout] 110 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/deposit.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 |       let recipient_user = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 25 | |         "SELECT id FROM users WHERE username = ?",
[INFO] [stdout] 26 | |         data.username
[INFO] [stdout] 27 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/deposit.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | /     sqlx::query!(
[INFO] [stdout] 49 | |         "UPDATE accounts SET balance = balance + ? WHERE user_id = ?",
[INFO] [stdout] 50 | |         deposit_amount,
[INFO] [stdout] 51 | |         recipient_user.id
[INFO] [stdout] 52 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/deposit.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | /     sqlx::query!(
[INFO] [stdout] 63 | |         "INSERT INTO transactions (sender_id, recipient_id, amount) VALUES (?, ?, ?)",
[INFO] [stdout] 64 | |         accountant_id,
[INFO] [stdout] 65 | |         recipient_user.id,
[INFO] [stdout] 66 | |         deposit_amount
[INFO] [stdout] 67 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/deposit.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 77 | /     sqlx::query!(
[INFO] [stdout] 78 | |         "UPDATE total_supply SET total_amount = total_amount + ?",
[INFO] [stdout] 79 | |         deposit_amount
[INFO] [stdout] 80 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/deposit.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 90 | /     sqlx::query!(
[INFO] [stdout] 91 | |         "INSERT INTO audit_log (amount, type, accountant_user_id) VALUES (?, 'deposit', ?)",
[INFO] [stdout] 92 | |         deposit_amount,
[INFO] [stdout] 93 | |         accountant_id
[INFO] [stdout] 94 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> api/services/accountant/deposit.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 | /     sqlx::query!(
[INFO] [stdout] 105 | |         "UPDATE transaction_count SET count = count + 1"
[INFO] [stdout] 106 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |       let sender_user = sqlx::query!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 20 | |         "SELECT id FROM users WHERE username = ?",
[INFO] [stdout] 21 | |         data.username
[INFO] [stdout] 22 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |       let sender_account = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 38 | |         "SELECT balance FROM accounts WHERE user_id = ?",
[INFO] [stdout] 39 | |         sender_user.id
[INFO] [stdout] 40 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | /     sqlx::query!(
[INFO] [stdout] 53 | |         "UPDATE accounts SET balance = balance - ? WHERE user_id = ?",
[INFO] [stdout] 54 | |         withdrawal_amount,
[INFO] [stdout] 55 | |         sender_user.id
[INFO] [stdout] 56 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 | /     sqlx::query!(
[INFO] [stdout] 62 | |         "INSERT INTO transactions (sender_id, recipient_id, amount) VALUES (?, ?, ?)", // recipient_id es NULL para un retiro
[INFO] [stdout] 63 | |         sender_user.id,
[INFO] [stdout] 64 | |         accountant_id,
[INFO] [stdout] 65 | |         withdrawal_amount
[INFO] [stdout] 66 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 | /     sqlx::query!(
[INFO] [stdout] 72 | |         "UPDATE total_supply SET total_amount = total_amount - ?",
[INFO] [stdout] 73 | |         withdrawal_amount
[INFO] [stdout] 74 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:79:5
[INFO] [stdout]    |
[INFO] [stdout] 79 | /     sqlx::query!(
[INFO] [stdout] 80 | |         "INSERT INTO audit_log (amount, type, accountant_user_id) VALUES (?, 'withdrawal', ?)",
[INFO] [stdout] 81 | |         withdrawal_amount,
[INFO] [stdout] 82 | |         accountant_id
[INFO] [stdout] 83 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 88 | /     sqlx::query!(
[INFO] [stdout] 89 | |         "UPDATE transaction_count SET count = count + 1"
[INFO] [stdout] 90 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Account`
[INFO] [stdout]  --> api/services/transaction_service.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::{Account, TransactionData};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/api/handlers/signup.rs:27:23
[INFO] [stdout]    |
[INFO] [stdout] 27 |         Ok(result) => result.last_insert_id() as i32,
[INFO] [stdout]    |                       ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/api/handlers/signup.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 |       let user_id: i32 = match sqlx::query!(
[INFO] [stdout]    |  ______________________________^
[INFO] [stdout] 21 | |         "INSERT INTO users (username, password_hash) VALUES (?, ?)",
[INFO] [stdout] 22 | |         user_data.username,
[INFO] [stdout] 23 | |         hashed_password
[INFO] [stdout] 24 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/api/handlers/signup.rs:33:11
[INFO] [stdout]    |
[INFO] [stdout] 33 |       match sqlx::query!(
[INFO] [stdout]    |  ___________^
[INFO] [stdout] 34 | |         "INSERT INTO accounts (user_id, balance) VALUES (?, 0)",
[INFO] [stdout] 35 | |         user_id
[INFO] [stdout] 36 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/user_service.rs:6:22
[INFO] [stdout]    |
[INFO] [stdout]  6 |       let user = match sqlx::query_as!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout]  7 | |         User,
[INFO] [stdout]  8 | |         "SELECT id, username, password_hash, role FROM users WHERE username = ?",
[INFO] [stdout]  9 | |         user_data.username
[INFO] [stdout] 10 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/transaction_service.rs:23:26
[INFO] [stdout]    |
[INFO] [stdout] 23 |       let sender_account = sqlx::query_as!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 24 | |         Account,
[INFO] [stdout] 25 | |         "SELECT id, user_id, balance FROM accounts WHERE user_id = ?",
[INFO] [stdout] 26 | |         sender_user_id
[INFO] [stdout] 27 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/transaction_service.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |       let recipient_user = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 38 | |         "SELECT id FROM users WHERE username = ?",
[INFO] [stdout] 39 | |         transaction_data.recipient_username
[INFO] [stdout] 40 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/transaction_service.rs:54:29
[INFO] [stdout]    |
[INFO] [stdout] 54 |       let recipient_account = sqlx::query_as!(
[INFO] [stdout]    |  _____________________________^
[INFO] [stdout] 55 | |         Account,
[INFO] [stdout] 56 | |         "SELECT id, user_id, balance FROM accounts WHERE user_id = ?",
[INFO] [stdout] 57 | |         recipient_user.id
[INFO] [stdout] 58 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/transaction_service.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 81 | /     sqlx::query!(
[INFO] [stdout] 82 | |         "UPDATE accounts SET balance = balance - ? WHERE id = ?",
[INFO] [stdout] 83 | |         transaction_amount,
[INFO] [stdout] 84 | |         sender_account.id
[INFO] [stdout] 85 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/transaction_service.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 93 | /     sqlx::query!(
[INFO] [stdout] 94 | |         "UPDATE accounts SET balance = balance + ? WHERE id = ?",
[INFO] [stdout] 95 | |         transaction_amount,
[INFO] [stdout] 96 | |         recipient_account.id
[INFO] [stdout] 97 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> api/services/transaction_service.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 105 | /     sqlx::query!(
[INFO] [stdout] 106 | |         "INSERT INTO transactions (sender_id, recipient_id, amount) VALUES (?, ?, ?)",
[INFO] [stdout] 107 | |         sender_account.id,
[INFO] [stdout] 108 | |         recipient_account.id,
[INFO] [stdout] 109 | |         transaction_amount
[INFO] [stdout] 110 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/deposit.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 |       let recipient_user = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 25 | |         "SELECT id FROM users WHERE username = ?",
[INFO] [stdout] 26 | |         data.username
[INFO] [stdout] 27 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/deposit.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | /     sqlx::query!(
[INFO] [stdout] 49 | |         "UPDATE accounts SET balance = balance + ? WHERE user_id = ?",
[INFO] [stdout] 50 | |         deposit_amount,
[INFO] [stdout] 51 | |         recipient_user.id
[INFO] [stdout] 52 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/transaction_service.rs:23:26
[INFO] [stdout]    |
[INFO] [stdout] 23 |       let sender_account = sqlx::query_as!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 24 | |         Account,
[INFO] [stdout] 25 | |         "SELECT id, user_id, balance FROM accounts WHERE user_id = ?",
[INFO] [stdout] 26 | |         sender_user_id
[INFO] [stdout] 27 | |     )
[INFO] [stdout] 28 | |     .fetch_one(&mut *transaction)
[INFO] [stdout] 29 | |     .await
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/deposit.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | /     sqlx::query!(
[INFO] [stdout] 63 | |         "INSERT INTO transactions (sender_id, recipient_id, amount) VALUES (?, ?, ?)",
[INFO] [stdout] 64 | |         accountant_id,
[INFO] [stdout] 65 | |         recipient_user.id,
[INFO] [stdout] 66 | |         deposit_amount
[INFO] [stdout] 67 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/deposit.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 77 | /     sqlx::query!(
[INFO] [stdout] 78 | |         "UPDATE total_supply SET total_amount = total_amount + ?",
[INFO] [stdout] 79 | |         deposit_amount
[INFO] [stdout] 80 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/deposit.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 90 | /     sqlx::query!(
[INFO] [stdout] 91 | |         "INSERT INTO audit_log (amount, type, accountant_user_id) VALUES (?, 'deposit', ?)",
[INFO] [stdout] 92 | |         deposit_amount,
[INFO] [stdout] 93 | |         accountant_id
[INFO] [stdout] 94 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/transaction_service.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |       let recipient_user = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 38 | |         "SELECT id FROM users WHERE username = ?",
[INFO] [stdout] 39 | |         transaction_data.recipient_username
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |     .await
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> api/services/accountant/deposit.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 | /     sqlx::query!(
[INFO] [stdout] 105 | |         "UPDATE transaction_count SET count = count + 1"
[INFO] [stdout] 106 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |       let sender_user = sqlx::query!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 20 | |         "SELECT id FROM users WHERE username = ?",
[INFO] [stdout] 21 | |         data.username
[INFO] [stdout] 22 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |       let sender_account = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 38 | |         "SELECT balance FROM accounts WHERE user_id = ?",
[INFO] [stdout] 39 | |         sender_user.id
[INFO] [stdout] 40 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | /     sqlx::query!(
[INFO] [stdout] 53 | |         "UPDATE accounts SET balance = balance - ? WHERE user_id = ?",
[INFO] [stdout] 54 | |         withdrawal_amount,
[INFO] [stdout] 55 | |         sender_user.id
[INFO] [stdout] 56 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 | /     sqlx::query!(
[INFO] [stdout] 62 | |         "INSERT INTO transactions (sender_id, recipient_id, amount) VALUES (?, ?, ?)", // recipient_id es NULL para un retiro
[INFO] [stdout] 63 | |         sender_user.id,
[INFO] [stdout] 64 | |         accountant_id,
[INFO] [stdout] 65 | |         withdrawal_amount
[INFO] [stdout] 66 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 | /     sqlx::query!(
[INFO] [stdout] 72 | |         "UPDATE total_supply SET total_amount = total_amount - ?",
[INFO] [stdout] 73 | |         withdrawal_amount
[INFO] [stdout] 74 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:79:5
[INFO] [stdout]    |
[INFO] [stdout] 79 | /     sqlx::query!(
[INFO] [stdout] 80 | |         "INSERT INTO audit_log (amount, type, accountant_user_id) VALUES (?, 'withdrawal', ?)",
[INFO] [stdout] 81 | |         withdrawal_amount,
[INFO] [stdout] 82 | |         accountant_id
[INFO] [stdout] 83 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 88 | /     sqlx::query!(
[INFO] [stdout] 89 | |         "UPDATE transaction_count SET count = count + 1"
[INFO] [stdout] 90 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/transaction_service.rs:54:29
[INFO] [stdout]    |
[INFO] [stdout] 54 |       let recipient_account = sqlx::query_as!(
[INFO] [stdout]    |  _____________________________^
[INFO] [stdout] 55 | |         Account,
[INFO] [stdout] 56 | |         "SELECT id, user_id, balance FROM accounts WHERE user_id = ?",
[INFO] [stdout] 57 | |         recipient_user.id
[INFO] [stdout] 58 | |     )
[INFO] [stdout] 59 | |     .fetch_one(&mut *transaction)
[INFO] [stdout] 60 | |     .await
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/transaction_service.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 81 | /     sqlx::query!(
[INFO] [stdout] 82 | |         "UPDATE accounts SET balance = balance - ? WHERE id = ?",
[INFO] [stdout] 83 | |         transaction_amount,
[INFO] [stdout] 84 | |         sender_account.id
[INFO] [stdout] 85 | |     )
[INFO] [stdout] 86 | |     .execute(&mut *transaction)
[INFO] [stdout] 87 | |     .await.map_err(|e| { 
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/transaction_service.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 93 | /     sqlx::query!(
[INFO] [stdout] 94 | |         "UPDATE accounts SET balance = balance + ? WHERE id = ?",
[INFO] [stdout] 95 | |         transaction_amount,
[INFO] [stdout] 96 | |         recipient_account.id
[INFO] [stdout] 97 | |     )
[INFO] [stdout] 98 | |     .execute(&mut *transaction)
[INFO] [stdout] 99 | |     .await.map_err(|e| {
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> api/services/transaction_service.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 105 | /     sqlx::query!(
[INFO] [stdout] 106 | |         "INSERT INTO transactions (sender_id, recipient_id, amount) VALUES (?, ?, ?)",
[INFO] [stdout] 107 | |         sender_account.id,
[INFO] [stdout] 108 | |         recipient_account.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 111 | |     .execute(&mut *transaction)
[INFO] [stdout] 112 | |     .await.map_err(|e| { 
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Account`
[INFO] [stdout]  --> api/services/transaction_service.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::{Account, TransactionData};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/deposit.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 |       let recipient_user = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 25 | |         "SELECT id FROM users WHERE username = ?",
[INFO] [stdout] 26 | |         data.username
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | |     .await
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/deposit.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | /     sqlx::query!(
[INFO] [stdout] 49 | |         "UPDATE accounts SET balance = balance + ? WHERE user_id = ?",
[INFO] [stdout] 50 | |         deposit_amount,
[INFO] [stdout] 51 | |         recipient_user.id
[INFO] [stdout] 52 | |     )
[INFO] [stdout] 53 | |     .execute(&mut *transaction)
[INFO] [stdout] 54 | |     .await.map_err(|e| { 
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/deposit.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | /     sqlx::query!(
[INFO] [stdout] 63 | |         "INSERT INTO transactions (sender_id, recipient_id, amount) VALUES (?, ?, ?)",
[INFO] [stdout] 64 | |         accountant_id,
[INFO] [stdout] 65 | |         recipient_user.id,
[INFO] [stdout] ...  |
[INFO] [stdout] 68 | |     .execute(&mut *transaction)
[INFO] [stdout] 69 | |     .await.map_err(|e| {
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/deposit.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 77 | /     sqlx::query!(
[INFO] [stdout] 78 | |         "UPDATE total_supply SET total_amount = total_amount + ?",
[INFO] [stdout] 79 | |         deposit_amount
[INFO] [stdout] ...  |
[INFO] [stdout] 82 | |     .await.map_err(|e| { 
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/deposit.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 90 | /     sqlx::query!(
[INFO] [stdout] 91 | |         "INSERT INTO audit_log (amount, type, accountant_user_id) VALUES (?, 'deposit', ?)",
[INFO] [stdout] 92 | |         deposit_amount,
[INFO] [stdout] 93 | |         accountant_id
[INFO] [stdout] 94 | |     )
[INFO] [stdout] 95 | |     .execute(&mut *transaction)
[INFO] [stdout] 96 | |     .await.map_err(|e| {
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> api/services/accountant/deposit.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 | /     sqlx::query!(
[INFO] [stdout] 105 | |         "UPDATE transaction_count SET count = count + 1"
[INFO] [stdout] 106 | |     )
[INFO] [stdout] 107 | |     .execute(&mut *transaction)
[INFO] [stdout] 108 | |     .await.map_err(|e| { 
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |       let sender_user = sqlx::query!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 20 | |         "SELECT id FROM users WHERE username = ?",
[INFO] [stdout] 21 | |         data.username
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | |     .await
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |       let sender_account = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 38 | |         "SELECT balance FROM accounts WHERE user_id = ?",
[INFO] [stdout] 39 | |         sender_user.id
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |     .await.map_err(|_| {
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | /     sqlx::query!(
[INFO] [stdout] 53 | |         "UPDATE accounts SET balance = balance - ? WHERE user_id = ?",
[INFO] [stdout] 54 | |         withdrawal_amount,
[INFO] [stdout] 55 | |         sender_user.id
[INFO] [stdout] 56 | |     )
[INFO] [stdout] 57 | |     .execute(&mut *transaction)
[INFO] [stdout] 58 | |     .await.map_err(|_| { HttpResponse::InternalServerError().finish() })?;
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 | /     sqlx::query!(
[INFO] [stdout] 62 | |         "INSERT INTO transactions (sender_id, recipient_id, amount) VALUES (?, ?, ?)", // recipient_id es NULL para un retiro
[INFO] [stdout] 63 | |         sender_user.id,
[INFO] [stdout] 64 | |         accountant_id,
[INFO] [stdout] ...  |
[INFO] [stdout] 67 | |     .execute(&mut *transaction)
[INFO] [stdout] 68 | |     .await.map_err(|_| { HttpResponse::InternalServerError().finish() })?;
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 | /     sqlx::query!(
[INFO] [stdout] 72 | |         "UPDATE total_supply SET total_amount = total_amount - ?",
[INFO] [stdout] 73 | |         withdrawal_amount
[INFO] [stdout] ...  |
[INFO] [stdout] 76 | |     .await.map_err(|_| { HttpResponse::InternalServerError().finish() })?;
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:79:5
[INFO] [stdout]    |
[INFO] [stdout] 79 | /     sqlx::query!(
[INFO] [stdout] 80 | |         "INSERT INTO audit_log (amount, type, accountant_user_id) VALUES (?, 'withdrawal', ?)",
[INFO] [stdout] 81 | |         withdrawal_amount,
[INFO] [stdout] 82 | |         accountant_id
[INFO] [stdout] 83 | |     )
[INFO] [stdout] 84 | |     .execute(&mut *transaction)
[INFO] [stdout] 85 | |     .await.map_err(|_| { HttpResponse::InternalServerError().finish() })?;
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 88 | /     sqlx::query!(
[INFO] [stdout] 89 | |         "UPDATE transaction_count SET count = count + 1"
[INFO] [stdout] 90 | |     )
[INFO] [stdout] 91 | |     .execute(&mut *transaction)
[INFO] [stdout] 92 | |     .await.map_err(|_| { HttpResponse::InternalServerError().finish() })?;
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/api/handlers/signup.rs:27:23
[INFO] [stdout]    |
[INFO] [stdout] 27 |         Ok(result) => result.last_insert_id() as i32,
[INFO] [stdout]    |                       ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/transaction_service.rs:23:26
[INFO] [stdout]    |
[INFO] [stdout] 23 |       let sender_account = sqlx::query_as!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 24 | |         Account,
[INFO] [stdout] 25 | |         "SELECT id, user_id, balance FROM accounts WHERE user_id = ?",
[INFO] [stdout] 26 | |         sender_user_id
[INFO] [stdout] 27 | |     )
[INFO] [stdout] 28 | |     .fetch_one(&mut *transaction)
[INFO] [stdout] 29 | |     .await
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/transaction_service.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |       let recipient_user = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 38 | |         "SELECT id FROM users WHERE username = ?",
[INFO] [stdout] 39 | |         transaction_data.recipient_username
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |     .await
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/transaction_service.rs:54:29
[INFO] [stdout]    |
[INFO] [stdout] 54 |       let recipient_account = sqlx::query_as!(
[INFO] [stdout]    |  _____________________________^
[INFO] [stdout] 55 | |         Account,
[INFO] [stdout] 56 | |         "SELECT id, user_id, balance FROM accounts WHERE user_id = ?",
[INFO] [stdout] 57 | |         recipient_user.id
[INFO] [stdout] 58 | |     )
[INFO] [stdout] 59 | |     .fetch_one(&mut *transaction)
[INFO] [stdout] 60 | |     .await
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/transaction_service.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 81 | /     sqlx::query!(
[INFO] [stdout] 82 | |         "UPDATE accounts SET balance = balance - ? WHERE id = ?",
[INFO] [stdout] 83 | |         transaction_amount,
[INFO] [stdout] 84 | |         sender_account.id
[INFO] [stdout] 85 | |     )
[INFO] [stdout] 86 | |     .execute(&mut *transaction)
[INFO] [stdout] 87 | |     .await.map_err(|e| { 
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/transaction_service.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 93 | /     sqlx::query!(
[INFO] [stdout] 94 | |         "UPDATE accounts SET balance = balance + ? WHERE id = ?",
[INFO] [stdout] 95 | |         transaction_amount,
[INFO] [stdout] 96 | |         recipient_account.id
[INFO] [stdout] 97 | |     )
[INFO] [stdout] 98 | |     .execute(&mut *transaction)
[INFO] [stdout] 99 | |     .await.map_err(|e| {
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> api/services/transaction_service.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 105 | /     sqlx::query!(
[INFO] [stdout] 106 | |         "INSERT INTO transactions (sender_id, recipient_id, amount) VALUES (?, ?, ?)",
[INFO] [stdout] 107 | |         sender_account.id,
[INFO] [stdout] 108 | |         recipient_account.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 111 | |     .execute(&mut *transaction)
[INFO] [stdout] 112 | |     .await.map_err(|e| { 
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/deposit.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 |       let recipient_user = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 25 | |         "SELECT id FROM users WHERE username = ?",
[INFO] [stdout] 26 | |         data.username
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | |     .await
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/deposit.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | /     sqlx::query!(
[INFO] [stdout] 49 | |         "UPDATE accounts SET balance = balance + ? WHERE user_id = ?",
[INFO] [stdout] 50 | |         deposit_amount,
[INFO] [stdout] 51 | |         recipient_user.id
[INFO] [stdout] 52 | |     )
[INFO] [stdout] 53 | |     .execute(&mut *transaction)
[INFO] [stdout] 54 | |     .await.map_err(|e| { 
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/deposit.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | /     sqlx::query!(
[INFO] [stdout] 63 | |         "INSERT INTO transactions (sender_id, recipient_id, amount) VALUES (?, ?, ?)",
[INFO] [stdout] 64 | |         accountant_id,
[INFO] [stdout] 65 | |         recipient_user.id,
[INFO] [stdout] ...  |
[INFO] [stdout] 68 | |     .execute(&mut *transaction)
[INFO] [stdout] 69 | |     .await.map_err(|e| {
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/deposit.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 77 | /     sqlx::query!(
[INFO] [stdout] 78 | |         "UPDATE total_supply SET total_amount = total_amount + ?",
[INFO] [stdout] 79 | |         deposit_amount
[INFO] [stdout] ...  |
[INFO] [stdout] 82 | |     .await.map_err(|e| { 
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/deposit.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 90 | /     sqlx::query!(
[INFO] [stdout] 91 | |         "INSERT INTO audit_log (amount, type, accountant_user_id) VALUES (?, 'deposit', ?)",
[INFO] [stdout] 92 | |         deposit_amount,
[INFO] [stdout] 93 | |         accountant_id
[INFO] [stdout] 94 | |     )
[INFO] [stdout] 95 | |     .execute(&mut *transaction)
[INFO] [stdout] 96 | |     .await.map_err(|e| {
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> api/services/accountant/deposit.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 | /     sqlx::query!(
[INFO] [stdout] 105 | |         "UPDATE transaction_count SET count = count + 1"
[INFO] [stdout] 106 | |     )
[INFO] [stdout] 107 | |     .execute(&mut *transaction)
[INFO] [stdout] 108 | |     .await.map_err(|e| { 
[INFO] [stdout]     | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |       let sender_user = sqlx::query!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 20 | |         "SELECT id FROM users WHERE username = ?",
[INFO] [stdout] 21 | |         data.username
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | |     .await
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |       let sender_account = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 38 | |         "SELECT balance FROM accounts WHERE user_id = ?",
[INFO] [stdout] 39 | |         sender_user.id
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |     .await.map_err(|_| {
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | /     sqlx::query!(
[INFO] [stdout] 53 | |         "UPDATE accounts SET balance = balance - ? WHERE user_id = ?",
[INFO] [stdout] 54 | |         withdrawal_amount,
[INFO] [stdout] 55 | |         sender_user.id
[INFO] [stdout] 56 | |     )
[INFO] [stdout] 57 | |     .execute(&mut *transaction)
[INFO] [stdout] 58 | |     .await.map_err(|_| { HttpResponse::InternalServerError().finish() })?;
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 | /     sqlx::query!(
[INFO] [stdout] 62 | |         "INSERT INTO transactions (sender_id, recipient_id, amount) VALUES (?, ?, ?)", // recipient_id es NULL para un retiro
[INFO] [stdout] 63 | |         sender_user.id,
[INFO] [stdout] 64 | |         accountant_id,
[INFO] [stdout] ...  |
[INFO] [stdout] 67 | |     .execute(&mut *transaction)
[INFO] [stdout] 68 | |     .await.map_err(|_| { HttpResponse::InternalServerError().finish() })?;
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 71 | /     sqlx::query!(
[INFO] [stdout] 72 | |         "UPDATE total_supply SET total_amount = total_amount - ?",
[INFO] [stdout] 73 | |         withdrawal_amount
[INFO] [stdout] ...  |
[INFO] [stdout] 76 | |     .await.map_err(|_| { HttpResponse::InternalServerError().finish() })?;
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:79:5
[INFO] [stdout]    |
[INFO] [stdout] 79 | /     sqlx::query!(
[INFO] [stdout] 80 | |         "INSERT INTO audit_log (amount, type, accountant_user_id) VALUES (?, 'withdrawal', ?)",
[INFO] [stdout] 81 | |         withdrawal_amount,
[INFO] [stdout] 82 | |         accountant_id
[INFO] [stdout] 83 | |     )
[INFO] [stdout] 84 | |     .execute(&mut *transaction)
[INFO] [stdout] 85 | |     .await.map_err(|_| { HttpResponse::InternalServerError().finish() })?;
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> api/services/accountant/withdraw.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 88 | /     sqlx::query!(
[INFO] [stdout] 89 | |         "UPDATE transaction_count SET count = count + 1"
[INFO] [stdout] 90 | |     )
[INFO] [stdout] 91 | |     .execute(&mut *transaction)
[INFO] [stdout] 92 | |     .await.map_err(|_| { HttpResponse::InternalServerError().finish() })?;
[INFO] [stdout]    | |__________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `friendbank` (bin "deposit" test) due to 42 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `friendbank` (bin "deposit") due to 42 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "4933c02dcecb63cf4d78a81b5648ec5e419ddc606ebdd7743f522483a6f15623", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4933c02dcecb63cf4d78a81b5648ec5e419ddc606ebdd7743f522483a6f15623", kill_on_drop: false }`
[INFO] [stdout] 4933c02dcecb63cf4d78a81b5648ec5e419ddc606ebdd7743f522483a6f15623
