[INFO] cloning repository https://github.com/icaroasdev/rust-fullstack-carteira-investimentos
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/icaroasdev/rust-fullstack-carteira-investimentos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficaroasdev%2Frust-fullstack-carteira-investimentos", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficaroasdev%2Frust-fullstack-carteira-investimentos'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8a29376de58c70c248f9fa93624a70304f82ddf2
[INFO] checking icaroasdev/rust-fullstack-carteira-investimentos against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficaroasdev%2Frust-fullstack-carteira-investimentos" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/icaroasdev/rust-fullstack-carteira-investimentos
[INFO] finished tweaking git repo https://github.com/icaroasdev/rust-fullstack-carteira-investimentos
[INFO] tweaked toml for git repo https://github.com/icaroasdev/rust-fullstack-carteira-investimentos written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/icaroasdev/rust-fullstack-carteira-investimentos on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/icaroasdev/rust-fullstack-carteira-investimentos 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6bfc34e9bfba868f8e44a7946ed8254eaf4686f0b6e1a4da3d123a117aa05aac
[INFO] running `Command { std: "docker" "start" "6bfc34e9bfba868f8e44a7946ed8254eaf4686f0b6e1a4da3d123a117aa05aac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6bfc34e9bfba868f8e44a7946ed8254eaf4686f0b6e1a4da3d123a117aa05aac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6bfc34e9bfba868f8e44a7946ed8254eaf4686f0b6e1a4da3d123a117aa05aac" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6bfc34e9bfba868f8e44a7946ed8254eaf4686f0b6e1a4da3d123a117aa05aac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6bfc34e9bfba868f8e44a7946ed8254eaf4686f0b6e1a4da3d123a117aa05aac" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling zerocopy v0.8.47
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]     Checking der v0.7.10
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]     Checking ff v0.13.1
[INFO] [stderr]     Checking hybrid-array v0.4.8
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]    Compiling tinyvec v1.11.0
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]    Compiling num-bigint-dig v0.8.6
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]    Compiling winnow v1.0.0
[INFO] [stderr]     Checking tokio v1.50.0
[INFO] [stderr]    Compiling rustc-hash v2.1.2
[INFO] [stderr]     Checking cpubits v0.1.0
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling owo-colors v4.3.0
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking crypto-common v0.2.1
[INFO] [stderr]     Checking inout v0.2.2
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]     Checking polyval v0.6.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]     Checking cipher v0.5.1
[INFO] [stderr]     Checking ghash v0.5.1
[INFO] [stderr]     Checking pkcs1 v0.7.5
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling color-spantrace v0.3.0
[INFO] [stderr]    Compiling eyre v0.6.12
[INFO] [stderr]     Checking aes v0.9.0-rc.4
[INFO] [stderr]     Checking aes-gcm v0.10.3
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking hmac-sha256 v1.1.14
[INFO] [stderr]     Checking aes-keywrap v0.9.0
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking hmac-sha512 v1.1.12
[INFO] [stderr]     Checking atoi v2.0.0
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]    Compiling axum-macros v0.5.0
[INFO] [stderr]     Checking indenter v0.3.4
[INFO] [stderr]     Checking ct-codecs v1.1.6
[INFO] [stderr]     Checking blake2b_simd v1.0.4
[INFO] [stderr]     Checking ed25519-compact v2.2.0
[INFO] [stderr]     Checking backtrace v0.3.76
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking coarsetime v0.1.37
[INFO] [stderr]     Checking binstring v0.1.7
[INFO] [stderr]     Checking hmac-sha1-compact v1.1.7
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking console v0.16.3
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking primeorder v0.13.6
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking password-auth v1.0.0
[INFO] [stderr]     Checking similar v2.7.0
[INFO] [stderr]     Checking k256 v0.13.4
[INFO] [stderr]     Checking p384 v0.13.1
[INFO] [stderr]     Checking p256 v0.13.2
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking insta v1.47.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]    Compiling basic-toml v0.1.10
[INFO] [stderr]    Compiling askama_parser v0.15.6
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking tracing-error v0.2.1
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking color-eyre v0.6.5
[INFO] [stderr]     Checking sqlx-core v0.8.6
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking axum v0.8.8
[INFO] [stderr]     Checking sqlx-postgres v0.8.6
[INFO] [stderr]     Checking rsa v0.9.10
[INFO] [stderr]    Compiling askama_derive v0.15.6
[INFO] [stderr]     Checking superboring v0.1.7
[INFO] [stderr]     Checking jwt-simple v0.12.14
[INFO] [stderr]    Compiling askama_macros v0.15.6
[INFO] [stderr]     Checking askama v0.15.6
[INFO] [stderr]     Checking axum-extra v0.12.5
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking wallet-live v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/repository.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | /         sqlx::query_as!(
[INFO] [stdout] 18 | |             Asset,
[INFO] [stdout] 19 | |             "SELECT id, name, category, unit_value
[INFO] [stdout] 20 | |              FROM assets
[INFO] [stdout] 21 | |              ORDER BY name;"
[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_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]   --> src/repository.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | /         sqlx::query_as!(
[INFO] [stdout] 29 | |             Asset,
[INFO] [stdout] 30 | |             "SELECT id, name, category, unit_value
[INFO] [stdout] 31 | |              FROM assets
[INFO] [stdout] 32 | |              WHERE id = $1;",
[INFO] [stdout] 33 | |             asset_id
[INFO] [stdout] 34 | |         )
[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]   --> src/repository.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | /         sqlx::query_as!(
[INFO] [stdout] 46 | |             Asset,
[INFO] [stdout] 47 | |             "INSERT INTO assets (name, category, unit_value)
[INFO] [stdout] 48 | |              VALUES ($1, $2, $3)
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |             unit_value
[INFO] [stdout] 53 | |         )
[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]   --> src/repository.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 | /         sqlx::query_as!(
[INFO] [stdout] 66 | |             Asset,
[INFO] [stdout] 67 | |             "UPDATE assets
[INFO] [stdout] 68 | |              SET name=COALESCE($2, name),
[INFO] [stdout] ...  |
[INFO] [stdout] 76 | |             unit_value
[INFO] [stdout] 77 | |         )
[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]   --> src/repository.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 83 | /         sqlx::query_as!(
[INFO] [stdout] 84 | |             UserRecord,
[INFO] [stdout] 85 | |             "INSERT INTO users (username, password_hash)
[INFO] [stdout] 86 | |              VALUES ($1, $2)
[INFO] [stdout] ...  |
[INFO] [stdout] 89 | |             password_hash,
[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_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]    --> src/repository.rs:96:9
[INFO] [stdout]     |
[INFO] [stdout]  96 | /         sqlx::query_as!(
[INFO] [stdout]  97 | |             UserRecord,
[INFO] [stdout]  98 | |             "SELECT id, username, password_hash
[INFO] [stdout]  99 | |              FROM users
[INFO] [stdout] 100 | |              WHERE username = $1;",
[INFO] [stdout] 101 | |             username
[INFO] [stdout] 102 | |         )
[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]    --> src/repository.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 | /         sqlx::query_as!(
[INFO] [stdout] 109 | |             PortfolioEntry,
[INFO] [stdout] 110 | |             r#"SELECT
[INFO] [stdout] 111 | |                 pi.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 123 | |             user_id
[INFO] [stdout] 124 | |         )
[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]    --> src/repository.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 | /         sqlx::query_as!(
[INFO] [stdout] 135 | |             PortfolioEntry,
[INFO] [stdout] 136 | |             r#"SELECT
[INFO] [stdout] 137 | |                 pi.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 149 | |             user_id
[INFO] [stdout] 150 | |         )
[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]    --> src/repository.rs:156:21
[INFO] [stdout]     |
[INFO] [stdout] 156 |           let total = sqlx::query_scalar!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 157 | |             r#"SELECT COALESCE(SUM(pi.quantity * a.unit_value), 0.0) as "total!"
[INFO] [stdout] 158 | |                FROM portfolio_items pi
[INFO] [stdout] 159 | |                JOIN assets a ON pi.asset_id = a.id
[INFO] [stdout] 160 | |                WHERE pi.user_id = $1"#,
[INFO] [stdout] 161 | |             user_id
[INFO] [stdout] 162 | |         )
[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_scalar` (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]    --> src/repository.rs:177:9
[INFO] [stdout]     |
[INFO] [stdout] 177 | /         sqlx::query!(
[INFO] [stdout] 178 | |             "INSERT INTO portfolio_items (user_id, asset_id, quantity, purchase_price, notes)
[INFO] [stdout] 179 | |              VALUES ($1, $2, $3, $4, $5)",
[INFO] [stdout] 180 | |             user_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 184 | |             notes,
[INFO] [stdout] 185 | |         )
[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]    --> src/repository.rs:200:22
[INFO] [stdout]     |
[INFO] [stdout] 200 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 201 | |             "UPDATE portfolio_items
[INFO] [stdout] 202 | |              SET quantity = $3,
[INFO] [stdout] 203 | |                  purchase_price = $4,
[INFO] [stdout] ...   |
[INFO] [stdout] 210 | |             notes
[INFO] [stdout] 211 | |         )
[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]    --> src/repository.rs:219:22
[INFO] [stdout]     |
[INFO] [stdout] 219 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 220 | |             "DELETE FROM portfolio_items WHERE id = $1 AND user_id = $2",
[INFO] [stdout] 221 | |             item_id,
[INFO] [stdout] 222 | |             user_id
[INFO] [stdout] 223 | |         )
[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]   --> src/repository.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | /         sqlx::query_as!(
[INFO] [stdout] 18 | |             Asset,
[INFO] [stdout] 19 | |             "SELECT id, name, category, unit_value
[INFO] [stdout] 20 | |              FROM assets
[INFO] [stdout] 21 | |              ORDER BY name;"
[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_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]   --> src/repository.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | /         sqlx::query_as!(
[INFO] [stdout] 29 | |             Asset,
[INFO] [stdout] 30 | |             "SELECT id, name, category, unit_value
[INFO] [stdout] 31 | |              FROM assets
[INFO] [stdout] 32 | |              WHERE id = $1;",
[INFO] [stdout] 33 | |             asset_id
[INFO] [stdout] 34 | |         )
[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]   --> src/repository.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | /         sqlx::query_as!(
[INFO] [stdout] 46 | |             Asset,
[INFO] [stdout] 47 | |             "INSERT INTO assets (name, category, unit_value)
[INFO] [stdout] 48 | |              VALUES ($1, $2, $3)
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |             unit_value
[INFO] [stdout] 53 | |         )
[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]   --> src/repository.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 | /         sqlx::query_as!(
[INFO] [stdout] 66 | |             Asset,
[INFO] [stdout] 67 | |             "UPDATE assets
[INFO] [stdout] 68 | |              SET name=COALESCE($2, name),
[INFO] [stdout] ...  |
[INFO] [stdout] 76 | |             unit_value
[INFO] [stdout] 77 | |         )
[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]   --> src/repository.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 83 | /         sqlx::query_as!(
[INFO] [stdout] 84 | |             UserRecord,
[INFO] [stdout] 85 | |             "INSERT INTO users (username, password_hash)
[INFO] [stdout] 86 | |              VALUES ($1, $2)
[INFO] [stdout] ...  |
[INFO] [stdout] 89 | |             password_hash,
[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_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]    --> src/repository.rs:96:9
[INFO] [stdout]     |
[INFO] [stdout]  96 | /         sqlx::query_as!(
[INFO] [stdout]  97 | |             UserRecord,
[INFO] [stdout]  98 | |             "SELECT id, username, password_hash
[INFO] [stdout]  99 | |              FROM users
[INFO] [stdout] 100 | |              WHERE username = $1;",
[INFO] [stdout] 101 | |             username
[INFO] [stdout] 102 | |         )
[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]    --> src/repository.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 | /         sqlx::query_as!(
[INFO] [stdout] 109 | |             PortfolioEntry,
[INFO] [stdout] 110 | |             r#"SELECT
[INFO] [stdout] 111 | |                 pi.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 123 | |             user_id
[INFO] [stdout] 124 | |         )
[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]    --> src/repository.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 | /         sqlx::query_as!(
[INFO] [stdout] 135 | |             PortfolioEntry,
[INFO] [stdout] 136 | |             r#"SELECT
[INFO] [stdout] 137 | |                 pi.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 149 | |             user_id
[INFO] [stdout] 150 | |         )
[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]    --> src/repository.rs:156:21
[INFO] [stdout]     |
[INFO] [stdout] 156 |           let total = sqlx::query_scalar!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 157 | |             r#"SELECT COALESCE(SUM(pi.quantity * a.unit_value), 0.0) as "total!"
[INFO] [stdout] 158 | |                FROM portfolio_items pi
[INFO] [stdout] 159 | |                JOIN assets a ON pi.asset_id = a.id
[INFO] [stdout] 160 | |                WHERE pi.user_id = $1"#,
[INFO] [stdout] 161 | |             user_id
[INFO] [stdout] 162 | |         )
[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_scalar` (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]    --> src/repository.rs:177:9
[INFO] [stdout]     |
[INFO] [stdout] 177 | /         sqlx::query!(
[INFO] [stdout] 178 | |             "INSERT INTO portfolio_items (user_id, asset_id, quantity, purchase_price, notes)
[INFO] [stdout] 179 | |              VALUES ($1, $2, $3, $4, $5)",
[INFO] [stdout] 180 | |             user_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 184 | |             notes,
[INFO] [stdout] 185 | |         )
[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]    --> src/repository.rs:200:22
[INFO] [stdout]     |
[INFO] [stdout] 200 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 201 | |             "UPDATE portfolio_items
[INFO] [stdout] 202 | |              SET quantity = $3,
[INFO] [stdout] 203 | |                  purchase_price = $4,
[INFO] [stdout] ...   |
[INFO] [stdout] 210 | |             notes
[INFO] [stdout] 211 | |         )
[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]    --> src/repository.rs:219:22
[INFO] [stdout]     |
[INFO] [stdout] 219 |           let result = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 220 | |             "DELETE FROM portfolio_items WHERE id = $1 AND user_id = $2",
[INFO] [stdout] 221 | |             item_id,
[INFO] [stdout] 222 | |             user_id
[INFO] [stdout] 223 | |         )
[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: method call on a diverging inference variable
[INFO] [stdout]    --> src/repository.rs:215:19
[INFO] [stdout]     |
[INFO] [stdout] 215 |         Ok(result.rows_affected() > 0)
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout]     = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `rows_affected` found for type `!` in the current scope
[INFO] [stdout]    --> src/repository.rs:215:19
[INFO] [stdout]     |
[INFO] [stdout] 215 |         Ok(result.rows_affected() > 0)
[INFO] [stdout]     |                   ^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> src/repository.rs:227:19
[INFO] [stdout]     |
[INFO] [stdout] 227 |         Ok(result.rows_affected() > 0)
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> src/repository.rs:215:19
[INFO] [stdout]     |
[INFO] [stdout] 215 |         Ok(result.rows_affected() > 0)
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout]     = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `rows_affected` found for type `!` in the current scope
[INFO] [stdout]    --> src/repository.rs:227:19
[INFO] [stdout]     |
[INFO] [stdout] 227 |         Ok(result.rows_affected() > 0)
[INFO] [stdout]     |                   ^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `rows_affected` found for type `!` in the current scope
[INFO] [stdout]    --> src/repository.rs:215:19
[INFO] [stdout]     |
[INFO] [stdout] 215 |         Ok(result.rows_affected() > 0)
[INFO] [stdout]     |                   ^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> src/repository.rs:227:19
[INFO] [stdout]     |
[INFO] [stdout] 227 |         Ok(result.rows_affected() > 0)
[INFO] [stdout]     |                   ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `rows_affected` found for type `!` in the current scope
[INFO] [stdout]    --> src/repository.rs:227:19
[INFO] [stdout]     |
[INFO] [stdout] 227 |         Ok(result.rows_affected() > 0)
[INFO] [stdout]     |                   ^^^^^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wallet-live` (bin "wallet-live") due to 14 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wallet-live` (bin "wallet-live" test) due to 14 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "6bfc34e9bfba868f8e44a7946ed8254eaf4686f0b6e1a4da3d123a117aa05aac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6bfc34e9bfba868f8e44a7946ed8254eaf4686f0b6e1a4da3d123a117aa05aac", kill_on_drop: false }`
[INFO] [stdout] 6bfc34e9bfba868f8e44a7946ed8254eaf4686f0b6e1a4da3d123a117aa05aac
