[INFO] cloning repository https://github.com/xiaozhu6-2-2/Chat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xiaozhu6-2-2/Chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaozhu6-2-2%2FChat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaozhu6-2-2%2FChat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0664239356a9568527178a1a3ec8e90d430d9963 [INFO] checking xiaozhu6-2-2/Chat against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaozhu6-2-2%2FChat" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 39% (3488/8806) Updating files: 40% (3523/8806) Updating files: 40% (3563/8806) Updating files: 41% (3611/8806) Updating files: 41% (3652/8806) Updating files: 42% (3699/8806) Updating files: 43% (3787/8806) Updating files: 44% (3875/8806) Updating files: 44% (3881/8806) Updating files: 45% (3963/8806) Updating files: 46% (4051/8806) Updating files: 46% (4070/8806) Updating files: 47% (4139/8806) Updating files: 48% (4227/8806) Updating files: 48% (4290/8806) Updating files: 49% (4315/8806) Updating files: 50% (4403/8806) Updating files: 51% (4492/8806) Updating files: 51% (4537/8806) Updating files: 52% (4580/8806) Updating files: 52% (4650/8806) Updating files: 53% (4668/8806) Updating files: 54% (4756/8806) Updating files: 54% (4841/8806) Updating files: 55% (4844/8806) Updating files: 56% (4932/8806) Updating files: 57% (5020/8806) Updating files: 57% (5063/8806) Updating files: 58% (5108/8806) Updating files: 59% (5196/8806) Updating files: 59% (5204/8806) Updating files: 59% (5214/8806) Updating files: 59% (5216/8806) Updating files: 59% (5223/8806) Updating files: 59% (5247/8806) Updating files: 59% (5251/8806) Updating files: 59% (5256/8806) Updating files: 59% (5260/8806) Updating files: 59% (5266/8806) Updating files: 59% (5274/8806) Updating files: 60% (5284/8806) Updating files: 60% (5356/8806) Updating files: 60% (5366/8806) Updating files: 61% (5372/8806) Updating files: 62% (5460/8806) Updating files: 62% (5492/8806) Updating files: 62% (5546/8806) Updating files: 63% (5548/8806) Updating files: 64% (5636/8806) Updating files: 65% (5724/8806) Updating files: 66% (5812/8806) Updating files: 66% (5884/8806) Updating files: 66% (5899/8806) Updating files: 67% (5901/8806) Updating files: 67% (5909/8806) Updating files: 67% (5924/8806) Updating files: 68% (5989/8806) Updating files: 69% (6077/8806) Updating files: 70% (6165/8806) Updating files: 71% (6253/8806) Updating files: 72% (6341/8806) Updating files: 73% (6429/8806) Updating files: 73% (6452/8806) Updating files: 74% (6517/8806) Updating files: 75% (6605/8806) Updating files: 76% (6693/8806) Updating files: 77% (6781/8806) Updating files: 78% (6869/8806) Updating files: 78% (6921/8806) Updating files: 79% (6957/8806) Updating files: 80% (7045/8806) Updating files: 81% (7133/8806) Updating files: 82% (7221/8806) Updating files: 83% (7309/8806) Updating files: 84% (7398/8806) Updating files: 85% (7486/8806) Updating files: 85% (7515/8806) Updating files: 86% (7574/8806) Updating files: 87% (7662/8806) Updating files: 88% (7750/8806) Updating files: 89% (7838/8806) Updating files: 90% (7926/8806) Updating files: 91% (8014/8806) Updating files: 92% (8102/8806) Updating files: 93% (8190/8806) Updating files: 94% (8278/8806) Updating files: 94% (8281/8806) Updating files: 95% (8366/8806) Updating files: 96% (8454/8806) Updating files: 97% (8542/8806) Updating files: 98% (8630/8806) Updating files: 99% (8718/8806) Updating files: 100% (8806/8806) Updating files: 100% (8806/8806), done. [INFO] started tweaking git repo https://github.com/xiaozhu6-2-2/Chat [INFO] finished tweaking git repo https://github.com/xiaozhu6-2-2/Chat [INFO] tweaked toml for git repo https://github.com/xiaozhu6-2-2/Chat written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xiaozhu6-2-2/Chat on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xiaozhu6-2-2/Chat 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad89cff493afafe96903e3f38243ed427c8dfee5e19bfbe2d589990463f06c7a [INFO] running `Command { std: "docker" "start" "-a" "ad89cff493afafe96903e3f38243ed427c8dfee5e19bfbe2d589990463f06c7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad89cff493afafe96903e3f38243ed427c8dfee5e19bfbe2d589990463f06c7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad89cff493afafe96903e3f38243ed427c8dfee5e19bfbe2d589990463f06c7a", kill_on_drop: false }` [INFO] [stdout] ad89cff493afafe96903e3f38243ed427c8dfee5e19bfbe2d589990463f06c7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19352facb7fb8b444f1304682767abbb50f07207f54b10649d8a864ef72ca37b [INFO] running `Command { std: "docker" "start" "-a" "19352facb7fb8b444f1304682767abbb50f07207f54b10649d8a864ef72ca37b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking argon2 v0.5.3 [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 serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tungstenite v0.26.2 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking simple_asn1 v0.6.3 [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] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tokio-tungstenite v0.26.2 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.15 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking sqlx-mysql v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking chat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/handlers.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / sqlx::query!( [INFO] [stdout] 81 | | "INSERT INTO user_info (account, password, username) VALUES (?, ?, ?)", [INFO] [stdout] 82 | | payload.account, [INFO] [stdout] 83 | | password_hash, [INFO] [stdout] 84 | | payload.username, [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] --> src/handlers.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 184 | | "INSERT INTO chatrooms (name, created_by) VALUES (?, ?)", [INFO] [stdout] 185 | | payload.name, [INFO] [stdout] 186 | | account [INFO] [stdout] 187 | | ) [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/handlers.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | / sqlx::query!( [INFO] [stdout] 196 | | "INSERT INTO chatroom_members (chatroom_id, account) VALUES (?, ?)", [INFO] [stdout] 197 | | chatroom_id, [INFO] [stdout] 198 | | account [INFO] [stdout] 199 | | ) [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/handlers.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 184 | | "INSERT INTO chatrooms (name, created_by) VALUES (?, ?)", [INFO] [stdout] 185 | | payload.name, [INFO] [stdout] 186 | | account [INFO] [stdout] 187 | | ) [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/handlers.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | / sqlx::query!( [INFO] [stdout] 196 | | "INSERT INTO chatroom_members (chatroom_id, account) VALUES (?, ?)", [INFO] [stdout] 197 | | chatroom_id, [INFO] [stdout] 198 | | account [INFO] [stdout] 199 | | ) [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/handlers.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 184 | | "INSERT INTO chatrooms (name, created_by) VALUES (?, ?)", [INFO] [stdout] 185 | | payload.name, [INFO] [stdout] 186 | | account [INFO] [stdout] 187 | | ) [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/handlers.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | / sqlx::query!( [INFO] [stdout] 196 | | "INSERT INTO chatroom_members (chatroom_id, account) VALUES (?, ?)", [INFO] [stdout] 197 | | chatroom_id, [INFO] [stdout] 198 | | account [INFO] [stdout] 199 | | ) [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/handlers.rs:222:40 [INFO] [stdout] | [INFO] [stdout] 222 | let chatroom_exists: Option = sqlx::query_scalar!( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 223 | | "SELECT 1 FROM chatrooms WHERE chatroom_id = ?", [INFO] [stdout] 224 | | chatroom_id [INFO] [stdout] 225 | | ) [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/handlers.rs:239:34 [INFO] [stdout] | [INFO] [stdout] 239 | let is_member: Option = sqlx::query_scalar!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 240 | | "SELECT 1 FROM chatroom_members WHERE chatroom_id = ? AND account = ?", [INFO] [stdout] 241 | | chatroom_id, [INFO] [stdout] 242 | | account [INFO] [stdout] 243 | | ) [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/handlers.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | / sqlx::query!( [INFO] [stdout] 258 | | "INSERT INTO chatroom_members (chatroom_id, account) VALUES (?, ?)", [INFO] [stdout] 259 | | chatroom_id, [INFO] [stdout] 260 | | account [INFO] [stdout] 261 | | ) [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/handlers.rs:222:40 [INFO] [stdout] | [INFO] [stdout] 222 | let chatroom_exists: Option = sqlx::query_scalar!( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 223 | | "SELECT 1 FROM chatrooms WHERE chatroom_id = ?", [INFO] [stdout] 224 | | chatroom_id [INFO] [stdout] 225 | | ) [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/handlers.rs:239:34 [INFO] [stdout] | [INFO] [stdout] 239 | let is_member: Option = sqlx::query_scalar!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 240 | | "SELECT 1 FROM chatroom_members WHERE chatroom_id = ? AND account = ?", [INFO] [stdout] 241 | | chatroom_id, [INFO] [stdout] 242 | | account [INFO] [stdout] 243 | | ) [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/handlers.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | / sqlx::query!( [INFO] [stdout] 258 | | "INSERT INTO chatroom_members (chatroom_id, account) VALUES (?, ?)", [INFO] [stdout] 259 | | chatroom_id, [INFO] [stdout] 260 | | account [INFO] [stdout] 261 | | ) [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/handlers.rs:222:40 [INFO] [stdout] | [INFO] [stdout] 222 | let chatroom_exists: Option = sqlx::query_scalar!( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 223 | | "SELECT 1 FROM chatrooms WHERE chatroom_id = ?", [INFO] [stdout] 224 | | chatroom_id [INFO] [stdout] 225 | | ) [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/handlers.rs:239:34 [INFO] [stdout] | [INFO] [stdout] 239 | let is_member: Option = sqlx::query_scalar!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 240 | | "SELECT 1 FROM chatroom_members WHERE chatroom_id = ? AND account = ?", [INFO] [stdout] 241 | | chatroom_id, [INFO] [stdout] 242 | | account [INFO] [stdout] 243 | | ) [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/handlers.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | / sqlx::query!( [INFO] [stdout] 258 | | "INSERT INTO chatroom_members (chatroom_id, account) VALUES (?, ?)", [INFO] [stdout] 259 | | chatroom_id, [INFO] [stdout] 260 | | account [INFO] [stdout] 261 | | ) [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/handlers.rs:287:18 [INFO] [stdout] | [INFO] [stdout] 287 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 288 | | "DELETE FROM chatroom_members WHERE chatroom_id = ? AND account = ?", [INFO] [stdout] 289 | | chatroom_id, [INFO] [stdout] 290 | | account [INFO] [stdout] 291 | | ) [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/handlers.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | / sqlx::query!( [INFO] [stdout] 306 | | "UPDATE chatroom_members SET is_online = false [INFO] [stdout] 307 | | WHERE chatroom_id = ? AND account = ?", [INFO] [stdout] 308 | | chatroom_id, [INFO] [stdout] 309 | | account [INFO] [stdout] 310 | | ) [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/handlers.rs:287:18 [INFO] [stdout] | [INFO] [stdout] 287 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 288 | | "DELETE FROM chatroom_members WHERE chatroom_id = ? AND account = ?", [INFO] [stdout] 289 | | chatroom_id, [INFO] [stdout] 290 | | account [INFO] [stdout] 291 | | ) [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/handlers.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | / sqlx::query!( [INFO] [stdout] 306 | | "UPDATE chatroom_members SET is_online = false [INFO] [stdout] 307 | | WHERE chatroom_id = ? AND account = ?", [INFO] [stdout] 308 | | chatroom_id, [INFO] [stdout] 309 | | account [INFO] [stdout] 310 | | ) [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/handlers.rs:287:18 [INFO] [stdout] | [INFO] [stdout] 287 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 288 | | "DELETE FROM chatroom_members WHERE chatroom_id = ? AND account = ?", [INFO] [stdout] 289 | | chatroom_id, [INFO] [stdout] 290 | | account [INFO] [stdout] 291 | | ) [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/handlers.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | / sqlx::query!( [INFO] [stdout] 306 | | "UPDATE chatroom_members SET is_online = false [INFO] [stdout] 307 | | WHERE chatroom_id = ? AND account = ?", [INFO] [stdout] 308 | | chatroom_id, [INFO] [stdout] 309 | | account [INFO] [stdout] 310 | | ) [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/handlers.rs:391:37 [INFO] [stdout] | [INFO] [stdout] 391 | if let Ok(result) = sqlx::query!( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 392 | | "INSERT INTO chat_messages (chatroom_id, sender_account, content, send_at) VALUES (?, ?, ?, ?)", [INFO] [stdout] 393 | | room_id, [INFO] [stdout] 394 | | account, [INFO] [stdout] 395 | | text.to_string(), [INFO] [stdout] 396 | | now.naive_utc() [INFO] [stdout] 397 | | ) [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/handlers.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | / sqlx::query_scalar!( [INFO] [stdout] 437 | | "SELECT username FROM user_info WHERE account = ?", [INFO] [stdout] 438 | | account [INFO] [stdout] 439 | | ) [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/handlers.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | let _ = sqlx::query!( [INFO] [stdout] | _____________^ [INFO] [stdout] 455 | | "UPDATE chatroom_members SET is_online = ? [INFO] [stdout] 456 | | WHERE chatroom_id = ? AND account = ?", [INFO] [stdout] 457 | | is_online, [INFO] [stdout] 458 | | room_id, [INFO] [stdout] 459 | | account [INFO] [stdout] 460 | | ) [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/handlers.rs:553:34 [INFO] [stdout] | [INFO] [stdout] 553 | let is_friend: Option = sqlx::query_scalar!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 554 | | r#"SELECT 1 FROM friends [INFO] [stdout] 555 | | WHERE (user_a = ? AND user_b = ?) [INFO] [stdout] 556 | | OR (user_a = ? AND user_b = ?)"#, [INFO] [stdout] ... | [INFO] [stdout] 560 | | sender_account [INFO] [stdout] 561 | | ) [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/handlers.rs:571:41 [INFO] [stdout] | [INFO] [stdout] 571 | let existing_request: Option = sqlx::query_scalar!( [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 572 | | r#"SELECT 1 FROM friend_requests [INFO] [stdout] 573 | | WHERE sender_account = ? AND receiver_account = ? AND status = 'PENDING'"#, [INFO] [stdout] 574 | | sender_account, [INFO] [stdout] 575 | | receiver_account [INFO] [stdout] 576 | | ) [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/handlers.rs:586:5 [INFO] [stdout] | [INFO] [stdout] 586 | / sqlx::query!( [INFO] [stdout] 587 | | r#"INSERT INTO friend_requests [INFO] [stdout] 588 | | (sender_account, receiver_account, status) [INFO] [stdout] 589 | | VALUES (?, ?, 'PENDING')"#, [INFO] [stdout] 590 | | sender_account, [INFO] [stdout] 591 | | receiver_account [INFO] [stdout] 592 | | ) [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/handlers.rs:608:20 [INFO] [stdout] | [INFO] [stdout] 608 | let requests = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 609 | | r#"SELECT [INFO] [stdout] 610 | | id, [INFO] [stdout] 611 | | sender_account, [INFO] [stdout] ... | [INFO] [stdout] 618 | | account [INFO] [stdout] 619 | | ) [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/handlers.rs:652:20 [INFO] [stdout] | [INFO] [stdout] 652 | let request = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 653 | | r#"SELECT [INFO] [stdout] 654 | | id, [INFO] [stdout] 655 | | sender_account, [INFO] [stdout] ... | [INFO] [stdout] 660 | | payload.request_id [INFO] [stdout] 661 | | ) [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/handlers.rs:673:5 [INFO] [stdout] | [INFO] [stdout] 673 | / sqlx::query!( [INFO] [stdout] 674 | | "UPDATE friend_requests SET status = ? WHERE id = ?", [INFO] [stdout] 675 | | payload.status.to_string(), [INFO] [stdout] 676 | | payload.request_id [INFO] [stdout] 677 | | ) [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/handlers.rs:692:9 [INFO] [stdout] | [INFO] [stdout] 692 | / sqlx::query!( [INFO] [stdout] 693 | | "INSERT INTO friends (user_a, user_b) VALUES (?, ?)", [INFO] [stdout] 694 | | user_a, [INFO] [stdout] 695 | | user_b [INFO] [stdout] 696 | | ) [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/handlers.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / sqlx::query!( [INFO] [stdout] 81 | | "INSERT INTO user_info (account, password, username) VALUES (?, ?, ?)", [INFO] [stdout] 82 | | payload.account, [INFO] [stdout] 83 | | password_hash, [INFO] [stdout] 84 | | payload.username, [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] --> src/handlers.rs:713:19 [INFO] [stdout] | [INFO] [stdout] 713 | let friends = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 714 | | FriendInfo, [INFO] [stdout] 715 | | r#"SELECT [INFO] [stdout] 716 | | CASE [INFO] [stdout] ... | [INFO] [stdout] 728 | | account [INFO] [stdout] 729 | | ) [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/handlers.rs:746:18 [INFO] [stdout] | [INFO] [stdout] 746 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 747 | | r#"DELETE FROM friends [INFO] [stdout] 748 | | WHERE (user_a = ? AND user_b = ?) [INFO] [stdout] 749 | | OR (user_a = ? AND user_b = ?)"#, [INFO] [stdout] ... | [INFO] [stdout] 753 | | account [INFO] [stdout] 754 | | ) [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/handlers.rs:776:21 [INFO] [stdout] | [INFO] [stdout] 776 | let is_friend = sqlx::query_scalar!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 777 | | r#"SELECT EXISTS( [INFO] [stdout] 778 | | SELECT 1 FROM friends [INFO] [stdout] 779 | | WHERE (user_a = ? AND user_b = ?) [INFO] [stdout] ... | [INFO] [stdout] 785 | | user_account [INFO] [stdout] 786 | | ) [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/handlers.rs:810:19 [INFO] [stdout] | [INFO] [stdout] 810 | let session = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 811 | | r#"INSERT INTO private_chat_sessions (user1_account, user2_account) [INFO] [stdout] 812 | | VALUES (?, ?) [INFO] [stdout] 813 | | ON DUPLICATE KEY UPDATE session_id=LAST_INSERT_ID(session_id)"#, [INFO] [stdout] 814 | | user1, [INFO] [stdout] 815 | | user2 [INFO] [stdout] 816 | | ) [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/handlers.rs:848:24 [INFO] [stdout] | [INFO] [stdout] 848 | let is_valid = sqlx::query_scalar!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 849 | | r#"SELECT EXISTS( [INFO] [stdout] 850 | | SELECT 1 FROM private_chat_sessions [INFO] [stdout] 851 | | WHERE session_id = ? [INFO] [stdout] ... | [INFO] [stdout] 856 | | user_account [INFO] [stdout] 857 | | ) [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/handlers.rs:896:34 [INFO] [stdout] | [INFO] [stdout] 896 | let result = sqlx::query!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 897 | | "INSERT INTO private_messages (session_id, sender_account, content) [INFO] [stdout] 898 | | VALUES (?, ?, ?)", [INFO] [stdout] 899 | | session_id, [INFO] [stdout] 900 | | user_account, [INFO] [stdout] 901 | | text.to_string() [INFO] [stdout] 902 | | ) [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/handlers.rs:948:22 [INFO] [stdout] | [INFO] [stdout] 948 | let has_access = sqlx::query_scalar!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 949 | | r#"SELECT EXISTS( [INFO] [stdout] 950 | | SELECT 1 FROM private_chat_sessions [INFO] [stdout] 951 | | WHERE session_id = ? [INFO] [stdout] ... | [INFO] [stdout] 956 | | user_account [INFO] [stdout] 957 | | ) [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/handlers.rs:1010:19 [INFO] [stdout] | [INFO] [stdout] 1010 | let records = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 1011 | | r#" [INFO] [stdout] 1012 | | SELECT [INFO] [stdout] 1013 | | c.chatroom_id, [INFO] [stdout] ... | [INFO] [stdout] 1024 | | account [INFO] [stdout] 1025 | | ) [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/handlers.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 184 | | "INSERT INTO chatrooms (name, created_by) VALUES (?, ?)", [INFO] [stdout] 185 | | payload.name, [INFO] [stdout] 186 | | account [INFO] [stdout] 187 | | ) [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/handlers.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | / sqlx::query!( [INFO] [stdout] 196 | | "INSERT INTO chatroom_members (chatroom_id, account) VALUES (?, ?)", [INFO] [stdout] 197 | | chatroom_id, [INFO] [stdout] 198 | | account [INFO] [stdout] 199 | | ) [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/handlers.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 184 | | "INSERT INTO chatrooms (name, created_by) VALUES (?, ?)", [INFO] [stdout] 185 | | payload.name, [INFO] [stdout] 186 | | account [INFO] [stdout] 187 | | ) [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/handlers.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | / sqlx::query!( [INFO] [stdout] 196 | | "INSERT INTO chatroom_members (chatroom_id, account) VALUES (?, ?)", [INFO] [stdout] 197 | | chatroom_id, [INFO] [stdout] 198 | | account [INFO] [stdout] 199 | | ) [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/handlers.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 184 | | "INSERT INTO chatrooms (name, created_by) VALUES (?, ?)", [INFO] [stdout] 185 | | payload.name, [INFO] [stdout] 186 | | account [INFO] [stdout] 187 | | ) [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/handlers.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | / sqlx::query!( [INFO] [stdout] 196 | | "INSERT INTO chatroom_members (chatroom_id, account) VALUES (?, ?)", [INFO] [stdout] 197 | | chatroom_id, [INFO] [stdout] 198 | | account [INFO] [stdout] 199 | | ) [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/handlers.rs:222:40 [INFO] [stdout] | [INFO] [stdout] 222 | let chatroom_exists: Option = sqlx::query_scalar!( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 223 | | "SELECT 1 FROM chatrooms WHERE chatroom_id = ?", [INFO] [stdout] 224 | | chatroom_id [INFO] [stdout] 225 | | ) [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/handlers.rs:239:34 [INFO] [stdout] | [INFO] [stdout] 239 | let is_member: Option = sqlx::query_scalar!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 240 | | "SELECT 1 FROM chatroom_members WHERE chatroom_id = ? AND account = ?", [INFO] [stdout] 241 | | chatroom_id, [INFO] [stdout] 242 | | account [INFO] [stdout] 243 | | ) [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/handlers.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | / sqlx::query!( [INFO] [stdout] 258 | | "INSERT INTO chatroom_members (chatroom_id, account) VALUES (?, ?)", [INFO] [stdout] 259 | | chatroom_id, [INFO] [stdout] 260 | | account [INFO] [stdout] 261 | | ) [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/handlers.rs:222:40 [INFO] [stdout] | [INFO] [stdout] 222 | let chatroom_exists: Option = sqlx::query_scalar!( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 223 | | "SELECT 1 FROM chatrooms WHERE chatroom_id = ?", [INFO] [stdout] 224 | | chatroom_id [INFO] [stdout] 225 | | ) [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/handlers.rs:239:34 [INFO] [stdout] | [INFO] [stdout] 239 | let is_member: Option = sqlx::query_scalar!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 240 | | "SELECT 1 FROM chatroom_members WHERE chatroom_id = ? AND account = ?", [INFO] [stdout] 241 | | chatroom_id, [INFO] [stdout] 242 | | account [INFO] [stdout] 243 | | ) [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/handlers.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | / sqlx::query!( [INFO] [stdout] 258 | | "INSERT INTO chatroom_members (chatroom_id, account) VALUES (?, ?)", [INFO] [stdout] 259 | | chatroom_id, [INFO] [stdout] 260 | | account [INFO] [stdout] 261 | | ) [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/handlers.rs:222:40 [INFO] [stdout] | [INFO] [stdout] 222 | let chatroom_exists: Option = sqlx::query_scalar!( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 223 | | "SELECT 1 FROM chatrooms WHERE chatroom_id = ?", [INFO] [stdout] 224 | | chatroom_id [INFO] [stdout] 225 | | ) [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/handlers.rs:239:34 [INFO] [stdout] | [INFO] [stdout] 239 | let is_member: Option = sqlx::query_scalar!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 240 | | "SELECT 1 FROM chatroom_members WHERE chatroom_id = ? AND account = ?", [INFO] [stdout] 241 | | chatroom_id, [INFO] [stdout] 242 | | account [INFO] [stdout] 243 | | ) [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/handlers.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | / sqlx::query!( [INFO] [stdout] 258 | | "INSERT INTO chatroom_members (chatroom_id, account) VALUES (?, ?)", [INFO] [stdout] 259 | | chatroom_id, [INFO] [stdout] 260 | | account [INFO] [stdout] 261 | | ) [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/handlers.rs:287:18 [INFO] [stdout] | [INFO] [stdout] 287 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 288 | | "DELETE FROM chatroom_members WHERE chatroom_id = ? AND account = ?", [INFO] [stdout] 289 | | chatroom_id, [INFO] [stdout] 290 | | account [INFO] [stdout] 291 | | ) [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/handlers.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | / sqlx::query!( [INFO] [stdout] 306 | | "UPDATE chatroom_members SET is_online = false [INFO] [stdout] 307 | | WHERE chatroom_id = ? AND account = ?", [INFO] [stdout] 308 | | chatroom_id, [INFO] [stdout] 309 | | account [INFO] [stdout] 310 | | ) [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/handlers.rs:287:18 [INFO] [stdout] | [INFO] [stdout] 287 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 288 | | "DELETE FROM chatroom_members WHERE chatroom_id = ? AND account = ?", [INFO] [stdout] 289 | | chatroom_id, [INFO] [stdout] 290 | | account [INFO] [stdout] 291 | | ) [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/handlers.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | / sqlx::query!( [INFO] [stdout] 306 | | "UPDATE chatroom_members SET is_online = false [INFO] [stdout] 307 | | WHERE chatroom_id = ? AND account = ?", [INFO] [stdout] 308 | | chatroom_id, [INFO] [stdout] 309 | | account [INFO] [stdout] 310 | | ) [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/handlers.rs:287:18 [INFO] [stdout] | [INFO] [stdout] 287 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 288 | | "DELETE FROM chatroom_members WHERE chatroom_id = ? AND account = ?", [INFO] [stdout] 289 | | chatroom_id, [INFO] [stdout] 290 | | account [INFO] [stdout] 291 | | ) [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/handlers.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | / sqlx::query!( [INFO] [stdout] 306 | | "UPDATE chatroom_members SET is_online = false [INFO] [stdout] 307 | | WHERE chatroom_id = ? AND account = ?", [INFO] [stdout] 308 | | chatroom_id, [INFO] [stdout] 309 | | account [INFO] [stdout] 310 | | ) [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/handlers.rs:391:37 [INFO] [stdout] | [INFO] [stdout] 391 | if let Ok(result) = sqlx::query!( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 392 | | "INSERT INTO chat_messages (chatroom_id, sender_account, content, send_at) VALUES (?, ?, ?, ?)", [INFO] [stdout] 393 | | room_id, [INFO] [stdout] 394 | | account, [INFO] [stdout] 395 | | text.to_string(), [INFO] [stdout] 396 | | now.naive_utc() [INFO] [stdout] 397 | | ) [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/handlers.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | / sqlx::query_scalar!( [INFO] [stdout] 437 | | "SELECT username FROM user_info WHERE account = ?", [INFO] [stdout] 438 | | account [INFO] [stdout] 439 | | ) [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/handlers.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | let _ = sqlx::query!( [INFO] [stdout] | _____________^ [INFO] [stdout] 455 | | "UPDATE chatroom_members SET is_online = ? [INFO] [stdout] 456 | | WHERE chatroom_id = ? AND account = ?", [INFO] [stdout] 457 | | is_online, [INFO] [stdout] 458 | | room_id, [INFO] [stdout] 459 | | account [INFO] [stdout] 460 | | ) [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/handlers.rs:553:34 [INFO] [stdout] | [INFO] [stdout] 553 | let is_friend: Option = sqlx::query_scalar!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 554 | | r#"SELECT 1 FROM friends [INFO] [stdout] 555 | | WHERE (user_a = ? AND user_b = ?) [INFO] [stdout] 556 | | OR (user_a = ? AND user_b = ?)"#, [INFO] [stdout] ... | [INFO] [stdout] 560 | | sender_account [INFO] [stdout] 561 | | ) [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/handlers.rs:571:41 [INFO] [stdout] | [INFO] [stdout] 571 | let existing_request: Option = sqlx::query_scalar!( [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 572 | | r#"SELECT 1 FROM friend_requests [INFO] [stdout] 573 | | WHERE sender_account = ? AND receiver_account = ? AND status = 'PENDING'"#, [INFO] [stdout] 574 | | sender_account, [INFO] [stdout] 575 | | receiver_account [INFO] [stdout] 576 | | ) [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/handlers.rs:586:5 [INFO] [stdout] | [INFO] [stdout] 586 | / sqlx::query!( [INFO] [stdout] 587 | | r#"INSERT INTO friend_requests [INFO] [stdout] 588 | | (sender_account, receiver_account, status) [INFO] [stdout] 589 | | VALUES (?, ?, 'PENDING')"#, [INFO] [stdout] 590 | | sender_account, [INFO] [stdout] 591 | | receiver_account [INFO] [stdout] 592 | | ) [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/handlers.rs:608:20 [INFO] [stdout] | [INFO] [stdout] 608 | let requests = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 609 | | r#"SELECT [INFO] [stdout] 610 | | id, [INFO] [stdout] 611 | | sender_account, [INFO] [stdout] ... | [INFO] [stdout] 618 | | account [INFO] [stdout] 619 | | ) [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/handlers.rs:652:20 [INFO] [stdout] | [INFO] [stdout] 652 | let request = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 653 | | r#"SELECT [INFO] [stdout] 654 | | id, [INFO] [stdout] 655 | | sender_account, [INFO] [stdout] ... | [INFO] [stdout] 660 | | payload.request_id [INFO] [stdout] 661 | | ) [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/handlers.rs:673:5 [INFO] [stdout] | [INFO] [stdout] 673 | / sqlx::query!( [INFO] [stdout] 674 | | "UPDATE friend_requests SET status = ? WHERE id = ?", [INFO] [stdout] 675 | | payload.status.to_string(), [INFO] [stdout] 676 | | payload.request_id [INFO] [stdout] 677 | | ) [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/handlers.rs:692:9 [INFO] [stdout] | [INFO] [stdout] 692 | / sqlx::query!( [INFO] [stdout] 693 | | "INSERT INTO friends (user_a, user_b) VALUES (?, ?)", [INFO] [stdout] 694 | | user_a, [INFO] [stdout] 695 | | user_b [INFO] [stdout] 696 | | ) [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/handlers.rs:713:19 [INFO] [stdout] | [INFO] [stdout] 713 | let friends = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 714 | | FriendInfo, [INFO] [stdout] 715 | | r#"SELECT [INFO] [stdout] 716 | | CASE [INFO] [stdout] ... | [INFO] [stdout] 728 | | account [INFO] [stdout] 729 | | ) [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/handlers.rs:746:18 [INFO] [stdout] | [INFO] [stdout] 746 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 747 | | r#"DELETE FROM friends [INFO] [stdout] 748 | | WHERE (user_a = ? AND user_b = ?) [INFO] [stdout] 749 | | OR (user_a = ? AND user_b = ?)"#, [INFO] [stdout] ... | [INFO] [stdout] 753 | | account [INFO] [stdout] 754 | | ) [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/handlers.rs:776:21 [INFO] [stdout] | [INFO] [stdout] 776 | let is_friend = sqlx::query_scalar!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 777 | | r#"SELECT EXISTS( [INFO] [stdout] 778 | | SELECT 1 FROM friends [INFO] [stdout] 779 | | WHERE (user_a = ? AND user_b = ?) [INFO] [stdout] ... | [INFO] [stdout] 785 | | user_account [INFO] [stdout] 786 | | ) [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/handlers.rs:810:19 [INFO] [stdout] | [INFO] [stdout] 810 | let session = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 811 | | r#"INSERT INTO private_chat_sessions (user1_account, user2_account) [INFO] [stdout] 812 | | VALUES (?, ?) [INFO] [stdout] 813 | | ON DUPLICATE KEY UPDATE session_id=LAST_INSERT_ID(session_id)"#, [INFO] [stdout] 814 | | user1, [INFO] [stdout] 815 | | user2 [INFO] [stdout] 816 | | ) [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/handlers.rs:848:24 [INFO] [stdout] | [INFO] [stdout] 848 | let is_valid = sqlx::query_scalar!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 849 | | r#"SELECT EXISTS( [INFO] [stdout] 850 | | SELECT 1 FROM private_chat_sessions [INFO] [stdout] 851 | | WHERE session_id = ? [INFO] [stdout] ... | [INFO] [stdout] 856 | | user_account [INFO] [stdout] 857 | | ) [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/handlers.rs:896:34 [INFO] [stdout] | [INFO] [stdout] 896 | let result = sqlx::query!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 897 | | "INSERT INTO private_messages (session_id, sender_account, content) [INFO] [stdout] 898 | | VALUES (?, ?, ?)", [INFO] [stdout] 899 | | session_id, [INFO] [stdout] 900 | | user_account, [INFO] [stdout] 901 | | text.to_string() [INFO] [stdout] 902 | | ) [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/handlers.rs:948:22 [INFO] [stdout] | [INFO] [stdout] 948 | let has_access = sqlx::query_scalar!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 949 | | r#"SELECT EXISTS( [INFO] [stdout] 950 | | SELECT 1 FROM private_chat_sessions [INFO] [stdout] 951 | | WHERE session_id = ? [INFO] [stdout] ... | [INFO] [stdout] 956 | | user_account [INFO] [stdout] 957 | | ) [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/handlers.rs:1010:19 [INFO] [stdout] | [INFO] [stdout] 1010 | let records = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 1011 | | r#" [INFO] [stdout] 1012 | | SELECT [INFO] [stdout] 1013 | | c.chatroom_id, [INFO] [stdout] ... | [INFO] [stdout] 1024 | | account [INFO] [stdout] 1025 | | ) [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: `TimeZone` [INFO] [stdout] --> src/handlers.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | use chrono::{TimeZone, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::http::Method` [INFO] [stdout] --> src/handlers.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use axum::http::Method; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/models.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderName` and `Method` [INFO] [stdout] --> src/routes.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use axum::http::{Method, HeaderName}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/handlers.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | use chrono::{TimeZone, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::http::Method` [INFO] [stdout] --> src/handlers.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use axum::http::Method; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/models.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderName` and `Method` [INFO] [stdout] --> src/routes.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use axum::http::{Method, HeaderName}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chat` (bin "chat") due to 40 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `chat` (bin "chat" test) due to 40 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "19352facb7fb8b444f1304682767abbb50f07207f54b10649d8a864ef72ca37b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19352facb7fb8b444f1304682767abbb50f07207f54b10649d8a864ef72ca37b", kill_on_drop: false }` [INFO] [stdout] 19352facb7fb8b444f1304682767abbb50f07207f54b10649d8a864ef72ca37b