[INFO] cloning repository https://github.com/Lavkush3411/probo-backend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lavkush3411/probo-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLavkush3411%2Fprobo-backend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLavkush3411%2Fprobo-backend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6b115a32721e9b8913de941f517388d9b68cf03a
[INFO] checking Lavkush3411/probo-backend/6b115a32721e9b8913de941f517388d9b68cf03a against master#568b11762723b001bfa693d0f21c5dad01d4e813 for pr-149518
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLavkush3411%2Fprobo-backend" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Lavkush3411/probo-backend
[INFO] finished tweaking git repo https://github.com/Lavkush3411/probo-backend
[INFO] tweaked toml for git repo https://github.com/Lavkush3411/probo-backend written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Lavkush3411/probo-backend on toolchain 568b11762723b001bfa693d0f21c5dad01d4e813
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Lavkush3411/probo-backend 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" "+568b11762723b001bfa693d0f21c5dad01d4e813" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded validator v0.17.0
[INFO] [stderr]   Downloaded validator_derive v0.17.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 28fd649576240241667c083fd68da601e5a4636bd809cbf1b5b6b51d35a35631
[INFO] running `Command { std: "docker" "start" "-a" "28fd649576240241667c083fd68da601e5a4636bd809cbf1b5b6b51d35a35631", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "28fd649576240241667c083fd68da601e5a4636bd809cbf1b5b6b51d35a35631", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "28fd649576240241667c083fd68da601e5a4636bd809cbf1b5b6b51d35a35631", kill_on_drop: false }`
[INFO] [stdout] 28fd649576240241667c083fd68da601e5a4636bd809cbf1b5b6b51d35a35631
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2a983fb863cc55817589994eb3c87025563ec9d98b24dd0852ea1de2951af060
[INFO] running `Command { std: "docker" "start" "-a" "2a983fb863cc55817589994eb3c87025563ec9d98b24dd0852ea1de2951af060", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling icu_properties_data v2.0.0
[INFO] [stderr]    Compiling cc v1.2.21
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]     Checking tinyvec v1.9.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking unicode-bidi v0.3.18
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling openssl-sys v0.9.108
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling tokio v1.45.0
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling whoami v1.6.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking pem v3.0.5
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling regex v1.11.1
[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.28
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling axum-macros v0.5.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]     Checking thiserror v2.0.12
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking axum-core v0.5.2
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling validator_derive v0.17.0
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking icu_properties v2.0.0
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking validator v0.17.0
[INFO] [stderr]    Compiling sqlx-core v0.8.5
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]    Compiling sqlx-postgres v0.8.5
[INFO] [stderr]     Checking hyper-util v0.1.11
[INFO] [stderr]     Checking axum v0.8.4
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.5
[INFO] [stderr]    Compiling sqlx-macros v0.8.5
[INFO] [stderr]     Checking sqlx v0.8.5
[INFO] [stderr]     Checking opinion_trading v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/db/user.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | /         query_as!(
[INFO] [stdout] 46 | |             UserModel,
[INFO] [stdout] 47 | |             r#"--sql
[INFO] [stdout] 48 | |         INSERT INTO users (name, email, password)
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | |             user.password
[INFO] [stdout] 55 | |         )
[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 `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/db/user.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 | /         query_as!(
[INFO] [stdout] 62 | |             UserModel,
[INFO] [stdout] 63 | |             r#"--sql 
[INFO] [stdout] 64 | |         SELECT * from users"#
[INFO] [stdout] 65 | |         )
[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 `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/db/user.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 | /         query_as!(
[INFO] [stdout] 75 | |             UserTransactionsModel,
[INFO] [stdout] 76 | |             r#"--sql
[INFO] [stdout] 77 | |         SELECT * FROM user_balance_logs WHERE user_id=$1
[INFO] [stdout] ...  |
[INFO] [stdout] 80 | |             id
[INFO] [stdout] 81 | |         )
[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 `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/db/user.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 | /         query_as!(
[INFO] [stdout] 88 | |             UserModel,
[INFO] [stdout] 89 | |             r#"--sql
[INFO] [stdout] 90 | |         SELECT id, name, email, password, created_at, updated_at, balance, hold_balance FROM users WHERE id=$1
[INFO] [stdout] 91 | |         "#,
[INFO] [stdout] 92 | |             &id
[INFO] [stdout] 93 | |         )
[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 `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/db/user.rs:99:9
[INFO] [stdout]     |
[INFO] [stdout]  99 | /         query!(
[INFO] [stdout] 100 | |             r#"--sql
[INFO] [stdout] 101 | |             UPDATE users set hold_balance=hold_balance+$1 , balance=balance-$1  where id=$2
[INFO] [stdout] 102 | |                 "#,
[INFO] [stdout] 103 | |             amount as i32,
[INFO] [stdout] 104 | |             id
[INFO] [stdout] 105 | |         )
[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 `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/db/user.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 120 | /         query!(
[INFO] [stdout] 121 | |             r#"--sql
[INFO] [stdout] 122 | |         UPDATE users set hold_balance=hold_balance-$1 , balance=balance+$1  where id=$2
[INFO] [stdout] 123 | |         "#,
[INFO] [stdout] 124 | |             amount as i32,
[INFO] [stdout] 125 | |             user_id
[INFO] [stdout] 126 | |         )
[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 `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/db/user.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 144 | /         query!(
[INFO] [stdout] 145 | |             r#"--sql
[INFO] [stdout] 146 | |             UPDATE users
[INFO] [stdout] 147 | |             SET
[INFO] [stdout] ...   |
[INFO] [stdout] 163 | |             loser_hold as i32
[INFO] [stdout] 164 | |         )
[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 `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/db/user.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 | / ...   query_as!(UserModel,
[INFO] [stdout] 172 | | ...   r#"--sql 
[INFO] [stdout] 173 | | ...   SELECT id, name, email, password, created_at, updated_at, balance, hold_balance FROM users WHERE email=$1"#,email).fetch_on...
[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 `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/db/opinion.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | /         query_as!(
[INFO] [stdout] 16 | |             OpinionModel,
[INFO] [stdout] 17 | |             "--sql
[INFO] [stdout] 18 | |         Select * from opinions where id=$1",
[INFO] [stdout] 19 | |             id
[INFO] [stdout] 20 | |         )
[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 `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/db/opinion.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | /         query_as!(
[INFO] [stdout] 27 | |             OpinionModel,
[INFO] [stdout] 28 | |             "--sql
[INFO] [stdout] 29 | |         INSERT INTO opinions (question)
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |             question
[INFO] [stdout] 33 | |         )
[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 `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/db/opinion.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 | /         query_as!(
[INFO] [stdout] 40 | |             OpinionModel,
[INFO] [stdout] 41 | |             r#"--sql 
[INFO] [stdout] 42 | |         SELECT * FROM opinions WHERE result is NULL"#
[INFO] [stdout] 43 | |         )
[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 `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/db/opinion.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 | /         query!(
[INFO] [stdout] 58 | |             r#"--sql
[INFO] [stdout] 59 | |             UPDATE opinions
[INFO] [stdout] 60 | |             SET result=$1
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |             opinion_id
[INFO] [stdout] 65 | |         )
[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 `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/db/trade.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | /         query!(
[INFO] [stdout] 19 | |             r#"--sql
[INFO] [stdout] 20 | |         INSERT INTO trades (opinion_id, favour_user_id,against_user_id, favour_price, against_price,quantity )
[INFO] [stdout] 21 | |         VALUES ($1,$2,$3,$4,$5,$6)
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | |             &trade.against_user_id,trade.favour_price as i64,trade.against_price as i64,trade.quantity as i64
[INFO] [stdout] 26 | |         )
[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 `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/db/trade.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |           let trades = query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 41 | |             r#"--sql
[INFO] [stdout] 42 | |             SELECT  t.id, 
[INFO] [stdout] 43 | |             opinion_id, 
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |             active.unwrap_or(true)
[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 `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/db/trade.rs:77:22
[INFO] [stdout]    |
[INFO] [stdout] 77 |           let trades = query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 78 | |             r#"--sql
[INFO] [stdout] 79 | |             SELECT  id, 
[INFO] [stdout] 80 | |             opinion_id, 
[INFO] [stdout] ...  |
[INFO] [stdout] 88 | |             opinion_id
[INFO] [stdout] 89 | |         )
[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 `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/db/user.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | /         query_as!(
[INFO] [stdout] 46 | |             UserModel,
[INFO] [stdout] 47 | |             r#"--sql
[INFO] [stdout] 48 | |         INSERT INTO users (name, email, password)
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | |             user.password
[INFO] [stdout] 55 | |         )
[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 `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/db/user.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 | /         query_as!(
[INFO] [stdout] 62 | |             UserModel,
[INFO] [stdout] 63 | |             r#"--sql 
[INFO] [stdout] 64 | |         SELECT * from users"#
[INFO] [stdout] 65 | |         )
[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 `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/db/user.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 | /         query_as!(
[INFO] [stdout] 75 | |             UserTransactionsModel,
[INFO] [stdout] 76 | |             r#"--sql
[INFO] [stdout] 77 | |         SELECT * FROM user_balance_logs WHERE user_id=$1
[INFO] [stdout] ...  |
[INFO] [stdout] 80 | |             id
[INFO] [stdout] 81 | |         )
[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 `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/db/user.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 | /         query_as!(
[INFO] [stdout] 88 | |             UserModel,
[INFO] [stdout] 89 | |             r#"--sql
[INFO] [stdout] 90 | |         SELECT id, name, email, password, created_at, updated_at, balance, hold_balance FROM users WHERE id=$1
[INFO] [stdout] 91 | |         "#,
[INFO] [stdout] 92 | |             &id
[INFO] [stdout] 93 | |         )
[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 `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/db/user.rs:99:9
[INFO] [stdout]     |
[INFO] [stdout]  99 | /         query!(
[INFO] [stdout] 100 | |             r#"--sql
[INFO] [stdout] 101 | |             UPDATE users set hold_balance=hold_balance+$1 , balance=balance-$1  where id=$2
[INFO] [stdout] 102 | |                 "#,
[INFO] [stdout] 103 | |             amount as i32,
[INFO] [stdout] 104 | |             id
[INFO] [stdout] 105 | |         )
[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 `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/db/user.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 120 | /         query!(
[INFO] [stdout] 121 | |             r#"--sql
[INFO] [stdout] 122 | |         UPDATE users set hold_balance=hold_balance-$1 , balance=balance+$1  where id=$2
[INFO] [stdout] 123 | |         "#,
[INFO] [stdout] 124 | |             amount as i32,
[INFO] [stdout] 125 | |             user_id
[INFO] [stdout] 126 | |         )
[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 `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/db/user.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 144 | /         query!(
[INFO] [stdout] 145 | |             r#"--sql
[INFO] [stdout] 146 | |             UPDATE users
[INFO] [stdout] 147 | |             SET
[INFO] [stdout] ...   |
[INFO] [stdout] 163 | |             loser_hold as i32
[INFO] [stdout] 164 | |         )
[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 `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/db/user.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 | / ...   query_as!(UserModel,
[INFO] [stdout] 172 | | ...   r#"--sql 
[INFO] [stdout] 173 | | ...   SELECT id, name, email, password, created_at, updated_at, balance, hold_balance FROM users WHERE email=$1"#,email).fetch_on...
[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 `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/db/opinion.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | /         query_as!(
[INFO] [stdout] 16 | |             OpinionModel,
[INFO] [stdout] 17 | |             "--sql
[INFO] [stdout] 18 | |         Select * from opinions where id=$1",
[INFO] [stdout] 19 | |             id
[INFO] [stdout] 20 | |         )
[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 `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/db/opinion.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | /         query_as!(
[INFO] [stdout] 27 | |             OpinionModel,
[INFO] [stdout] 28 | |             "--sql
[INFO] [stdout] 29 | |         INSERT INTO opinions (question)
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |             question
[INFO] [stdout] 33 | |         )
[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 `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/db/opinion.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 | /         query_as!(
[INFO] [stdout] 40 | |             OpinionModel,
[INFO] [stdout] 41 | |             r#"--sql 
[INFO] [stdout] 42 | |         SELECT * FROM opinions WHERE result is NULL"#
[INFO] [stdout] 43 | |         )
[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 `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/db/opinion.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 | /         query!(
[INFO] [stdout] 58 | |             r#"--sql
[INFO] [stdout] 59 | |             UPDATE opinions
[INFO] [stdout] 60 | |             SET result=$1
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |             opinion_id
[INFO] [stdout] 65 | |         )
[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 `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/db/trade.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | /         query!(
[INFO] [stdout] 19 | |             r#"--sql
[INFO] [stdout] 20 | |         INSERT INTO trades (opinion_id, favour_user_id,against_user_id, favour_price, against_price,quantity )
[INFO] [stdout] 21 | |         VALUES ($1,$2,$3,$4,$5,$6)
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | |             &trade.against_user_id,trade.favour_price as i64,trade.against_price as i64,trade.quantity as i64
[INFO] [stdout] 26 | |         )
[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 `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/db/trade.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |           let trades = query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 41 | |             r#"--sql
[INFO] [stdout] 42 | |             SELECT  t.id, 
[INFO] [stdout] 43 | |             opinion_id, 
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |             active.unwrap_or(true)
[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 `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/db/trade.rs:77:22
[INFO] [stdout]    |
[INFO] [stdout] 77 |           let trades = query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 78 | |             r#"--sql
[INFO] [stdout] 79 | |             SELECT  id, 
[INFO] [stdout] 80 | |             opinion_id, 
[INFO] [stdout] ...  |
[INFO] [stdout] 88 | |             opinion_id
[INFO] [stdout] 89 | |         )
[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 `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]   --> src/db/trade.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let trades = query!(
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |         let t = trades
[INFO] [stdout]    |                 ------ type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `trades` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let trades: /* Type */ = query!(
[INFO] [stdout]    |                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/db/trade.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let trades = query!(
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 93 |         let t = trades
[INFO] [stdout]    |                 ------ type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `trades` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let trades: /* Type */ = query!(
[INFO] [stdout]    |                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/db/trade.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let trades = query!(
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |         let t = trades
[INFO] [stdout]    |                 ------ type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `trades` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let trades: /* Type */ = query!(
[INFO] [stdout]    |                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/db/trade.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let trades = query!(
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 93 |         let t = trades
[INFO] [stdout]    |                 ------ type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `trades` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let trades: /* Type */ = query!(
[INFO] [stdout]    |                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `opinion_trading` (bin "opinion_trading") due to 17 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `opinion_trading` (bin "opinion_trading" test) due to 17 previous errors
[INFO] running `Command { std: "docker" "inspect" "2a983fb863cc55817589994eb3c87025563ec9d98b24dd0852ea1de2951af060", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a983fb863cc55817589994eb3c87025563ec9d98b24dd0852ea1de2951af060", kill_on_drop: false }`
[INFO] [stdout] 2a983fb863cc55817589994eb3c87025563ec9d98b24dd0852ea1de2951af060
