[INFO] cloning repository https://github.com/EstebanForero/nebula-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EstebanForero/nebula-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEstebanForero%2Fnebula-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEstebanForero%2Fnebula-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd03fe8c55230a5610928841c5ff910f53d3583d [INFO] checking EstebanForero/nebula-backend/cd03fe8c55230a5610928841c5ff910f53d3583d against master#cb40c25f6aebb637163d26bf76a680ed6e5d1eda for pr-156157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEstebanForero%2Fnebula-backend" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/EstebanForero/nebula-backend [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/EstebanForero/nebula-backend [INFO] tweaked toml for git repo https://github.com/EstebanForero/nebula-backend written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/EstebanForero/nebula-backend on toolchain cb40c25f6aebb637163d26bf76a680ed6e5d1eda [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/EstebanForero/nebula-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" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdd v3.0.10 [INFO] [stderr] Downloaded serial_test_derive v3.2.0 [INFO] [stderr] Downloaded serial_test v3.2.0 [INFO] [stderr] Downloaded bcrypt v0.17.1 [INFO] [stderr] Downloaded sketches-ddsketch v0.3.0 [INFO] [stderr] Downloaded amqp_serde v0.4.3 [INFO] [stderr] Downloaded mockall v0.13.1 [INFO] [stderr] Downloaded deadpool-redis v0.22.0 [INFO] [stderr] Downloaded axum-core v0.5.5 [INFO] [stderr] Downloaded mockall_derive v0.13.1 [INFO] [stderr] Downloaded metrics-exporter-prometheus v0.17.2 [INFO] [stderr] Downloaded deadpool v0.12.3 [INFO] [stderr] Downloaded axum-prometheus v0.9.0 [INFO] [stderr] Downloaded metrics-util v0.20.0 [INFO] [stderr] Downloaded metrics v0.24.2 [INFO] [stderr] Downloaded jsonwebtoken v10.2.0 [INFO] [stderr] Downloaded amqprs v2.1.3 [INFO] [stderr] Downloaded hyper-util v0.1.18 [INFO] [stderr] Downloaded scc v2.4.0 [INFO] [stderr] Downloaded aws-lc-rs v1.15.0 [INFO] [stderr] Downloaded redis v0.32.7 [INFO] [stderr] Downloaded aws-lc-sys v0.33.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5e4be6ea9d2930d074b797907a2cc4317faf654b2487de7b73ba27269fb6c0c [INFO] running `Command { std: "docker" "start" "-a" "f5e4be6ea9d2930d074b797907a2cc4317faf654b2487de7b73ba27269fb6c0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5e4be6ea9d2930d074b797907a2cc4317faf654b2487de7b73ba27269fb6c0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5e4be6ea9d2930d074b797907a2cc4317faf654b2487de7b73ba27269fb6c0c", kill_on_drop: false }` [INFO] [stdout] f5e4be6ea9d2930d074b797907a2cc4317faf654b2487de7b73ba27269fb6c0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e5b4efb6bbbe63854f3e88867d156f92ecb514e8a476db4557cfc7677a56723 [INFO] running `Command { std: "docker" "start" "-a" "0e5b4efb6bbbe63854f3e88867d156f92ecb514e8a476db4557cfc7677a56723", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.28 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling cc v1.2.46 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Checking raw-cpuid v11.6.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking metrics v0.24.2 [INFO] [stderr] Checking rand_xoshiro v0.7.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling aws-lc-rs v1.15.0 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Compiling aws-lc-sys v0.33.0 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Checking sketches-ddsketch v0.3.0 [INFO] [stderr] Checking axum-core v0.5.5 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking quanta v0.12.6 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Checking metrics-util v0.20.0 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Checking metrics-exporter-prometheus v0.17.2 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking fragile v2.0.1 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking bcrypt v0.17.1 [INFO] [stderr] Checking sdd v3.0.10 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Checking scc v2.4.0 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking amqp_serde v0.4.3 [INFO] [stderr] Checking envy v0.4.2 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking mockall v0.13.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking amqprs v2.1.3 [INFO] [stderr] Checking deadpool v0.12.3 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking hyper-util v0.1.18 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking axum v0.8.7 [INFO] [stderr] Checking jsonwebtoken v10.2.0 [INFO] [stderr] Checking redis v0.32.7 [INFO] [stderr] Checking axum-prometheus v0.9.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking deadpool-redis v0.22.0 [INFO] [stderr] Checking nebula-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/infra/database/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | / sqlx::query!( [INFO] [stdout] 40 | | "INSERT INTO users (id, username, email, password_hash) VALUES ($1, $2, $3, $4)", [INFO] [stdout] 41 | | user.id, [INFO] [stdout] 42 | | user.username, [INFO] [stdout] 43 | | user.email, [INFO] [stdout] 44 | | user.password_hash [INFO] [stdout] 45 | | ) [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/infra/database/mod.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / sqlx::query_as!( [INFO] [stdout] 54 | | User, [INFO] [stdout] 55 | | "SELECT id, username, email, created_at, updated_at, password_hash FROM users WHERE username = $1", [INFO] [stdout] 56 | | username [INFO] [stdout] 57 | | ) [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/infra/database/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | / sqlx::query_as!( [INFO] [stdout] 65 | | User, [INFO] [stdout] 66 | | "SELECT password_hash, id, username, email, created_at, updated_at FROM users WHERE email = $1", [INFO] [stdout] 67 | | email [INFO] [stdout] 68 | | ) [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/infra/database/mod.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | / sqlx::query_as!( [INFO] [stdout] 76 | | User, [INFO] [stdout] 77 | | "SELECT password_hash, id, username, email, created_at, updated_at FROM users WHERE id = $1", [INFO] [stdout] 78 | | id [INFO] [stdout] 79 | | ) [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/infra/database/mod.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | ... let rooms_db = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 138 | | ... DbRoom, [INFO] [stdout] 139 | | ... "SELECT id, name, visibility::text, password_hash, created_by, created_at FROM rooms WHERE visibility = 'public' ORDER ... [INFO] [stdout] 140 | | ... ).fetch_all(&self.pool).await [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/infra/database/mod.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | ... let rooms_db = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 148 | | ... DbRoom, [INFO] [stdout] 149 | | ... "SELECT id, name, visibility::text, password_hash, created_by, created_at FROM rooms WHERE id IN (SELECT room_id FROM r... [INFO] [stdout] 150 | | ... user_id [INFO] [stdout] 151 | | ... ).fetch_all(&self.pool).await [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/infra/database/mod.rs:158:23 [INFO] [stdout] | [INFO] [stdout] 158 | let room_db = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 159 | | DbRoom, [INFO] [stdout] 160 | | "SELECT id, name, visibility::text, password_hash, created_by, created_at FROM rooms WHERE id = $1", [INFO] [stdout] 161 | | id [INFO] [stdout] 162 | | ).fetch_one(&self.pool).await [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/infra/database/mod.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | / sqlx::query!( [INFO] [stdout] 170 | | "INSERT INTO rooms (id, name, visibility, password_hash, created_by, created_at) VALUES ($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 171 | | room.id, [INFO] [stdout] 172 | | room.name, [INFO] [stdout] ... | [INFO] [stdout] 176 | | room.created_at [INFO] [stdout] 177 | | ) [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/infra/database/mod.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | / sqlx::query!( [INFO] [stdout] 187 | | "INSERT INTO room_members (room_id, user_id, role, joined_at) VALUES ($1, $2, $3, $4)", [INFO] [stdout] 188 | | room_member.room_id, [INFO] [stdout] 189 | | room_member.user_id, [INFO] [stdout] 190 | | room_member.role.to_string(), [INFO] [stdout] 191 | | room_member.joined_at [INFO] [stdout] 192 | | ) [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/infra/database/mod.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | / sqlx::query!( [INFO] [stdout] 202 | | "DELETE FROM room_members WHERE room_id = $1 AND user_id = $2", [INFO] [stdout] 203 | | room_id, [INFO] [stdout] 204 | | user_id [INFO] [stdout] 205 | | ) [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/infra/database/mod.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | ... let users = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 215 | | ... User, [INFO] [stdout] 216 | | ... "SELECT password_hash, id, username, email, created_at, updated_at FROM users WHERE id IN (SELECT user_id FROM room_mem... [INFO] [stdout] 217 | | ... room_id [INFO] [stdout] 218 | | ... ) [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/infra/database/mod.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | / sqlx::query!( [INFO] [stdout] 228 | | "INSERT INTO messages (id, room_id, sender_id, content) VALUES ($1, $2, $3, $4)", [INFO] [stdout] 229 | | message.id, [INFO] [stdout] 230 | | message.room_id, [INFO] [stdout] 231 | | message.sender_id, [INFO] [stdout] 232 | | message.content [INFO] [stdout] 233 | | ) [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/infra/database/mod.rs:249:24 [INFO] [stdout] | [INFO] [stdout] 249 | let messages = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 250 | | Message, [INFO] [stdout] 251 | | "SELECT * FROM messages WHERE room_id = $1 ORDER BY created_at DESC LIMIT $2 OFFSET $3", [INFO] [stdout] 252 | | room_id, [INFO] [stdout] 253 | | page_size as i64, [INFO] [stdout] 254 | | offset [INFO] [stdout] 255 | | ) [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/infra/database/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | / sqlx::query!( [INFO] [stdout] 40 | | "INSERT INTO users (id, username, email, password_hash) VALUES ($1, $2, $3, $4)", [INFO] [stdout] 41 | | user.id, [INFO] [stdout] 42 | | user.username, [INFO] [stdout] 43 | | user.email, [INFO] [stdout] 44 | | user.password_hash [INFO] [stdout] 45 | | ) [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/infra/database/mod.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / sqlx::query_as!( [INFO] [stdout] 54 | | User, [INFO] [stdout] 55 | | "SELECT id, username, email, created_at, updated_at, password_hash FROM users WHERE username = $1", [INFO] [stdout] 56 | | username [INFO] [stdout] 57 | | ) [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/infra/database/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | / sqlx::query_as!( [INFO] [stdout] 65 | | User, [INFO] [stdout] 66 | | "SELECT password_hash, id, username, email, created_at, updated_at FROM users WHERE email = $1", [INFO] [stdout] 67 | | email [INFO] [stdout] 68 | | ) [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/infra/database/mod.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | / sqlx::query_as!( [INFO] [stdout] 76 | | User, [INFO] [stdout] 77 | | "SELECT password_hash, id, username, email, created_at, updated_at FROM users WHERE id = $1", [INFO] [stdout] 78 | | id [INFO] [stdout] 79 | | ) [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/infra/database/mod.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | ... let rooms_db = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 138 | | ... DbRoom, [INFO] [stdout] 139 | | ... "SELECT id, name, visibility::text, password_hash, created_by, created_at FROM rooms WHERE visibility = 'public' ORDER ... [INFO] [stdout] 140 | | ... ).fetch_all(&self.pool).await [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/infra/database/mod.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | ... let rooms_db = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 148 | | ... DbRoom, [INFO] [stdout] 149 | | ... "SELECT id, name, visibility::text, password_hash, created_by, created_at FROM rooms WHERE id IN (SELECT room_id FROM r... [INFO] [stdout] 150 | | ... user_id [INFO] [stdout] 151 | | ... ).fetch_all(&self.pool).await [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/infra/database/mod.rs:158:23 [INFO] [stdout] | [INFO] [stdout] 158 | let room_db = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 159 | | DbRoom, [INFO] [stdout] 160 | | "SELECT id, name, visibility::text, password_hash, created_by, created_at FROM rooms WHERE id = $1", [INFO] [stdout] 161 | | id [INFO] [stdout] 162 | | ).fetch_one(&self.pool).await [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/infra/database/mod.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | / sqlx::query!( [INFO] [stdout] 170 | | "INSERT INTO rooms (id, name, visibility, password_hash, created_by, created_at) VALUES ($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 171 | | room.id, [INFO] [stdout] 172 | | room.name, [INFO] [stdout] ... | [INFO] [stdout] 176 | | room.created_at [INFO] [stdout] 177 | | ) [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/infra/database/mod.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | / sqlx::query!( [INFO] [stdout] 187 | | "INSERT INTO room_members (room_id, user_id, role, joined_at) VALUES ($1, $2, $3, $4)", [INFO] [stdout] 188 | | room_member.room_id, [INFO] [stdout] 189 | | room_member.user_id, [INFO] [stdout] 190 | | room_member.role.to_string(), [INFO] [stdout] 191 | | room_member.joined_at [INFO] [stdout] 192 | | ) [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/infra/database/mod.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | / sqlx::query!( [INFO] [stdout] 202 | | "DELETE FROM room_members WHERE room_id = $1 AND user_id = $2", [INFO] [stdout] 203 | | room_id, [INFO] [stdout] 204 | | user_id [INFO] [stdout] 205 | | ) [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/infra/database/mod.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | ... let users = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 215 | | ... User, [INFO] [stdout] 216 | | ... "SELECT password_hash, id, username, email, created_at, updated_at FROM users WHERE id IN (SELECT user_id FROM room_mem... [INFO] [stdout] 217 | | ... room_id [INFO] [stdout] 218 | | ... ) [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/infra/database/mod.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | / sqlx::query!( [INFO] [stdout] 228 | | "INSERT INTO messages (id, room_id, sender_id, content) VALUES ($1, $2, $3, $4)", [INFO] [stdout] 229 | | message.id, [INFO] [stdout] 230 | | message.room_id, [INFO] [stdout] 231 | | message.sender_id, [INFO] [stdout] 232 | | message.content [INFO] [stdout] 233 | | ) [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/infra/database/mod.rs:249:24 [INFO] [stdout] | [INFO] [stdout] 249 | let messages = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 250 | | Message, [INFO] [stdout] 251 | | "SELECT * FROM messages WHERE room_id = $1 ORDER BY created_at DESC LIMIT $2 OFFSET $3", [INFO] [stdout] 252 | | room_id, [INFO] [stdout] 253 | | page_size as i64, [INFO] [stdout] 254 | | offset [INFO] [stdout] 255 | | ) [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] warning: unused import: `prelude::Type` [INFO] [stdout] --> src/domain/room.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::{FromRow, prelude::Type}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rejection::JsonRejection` [INFO] [stdout] --> src/infra/http_api/room_endpoints.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | extract::{Json, Path, Query, State, rejection::JsonRejection}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user_is_in_room` [INFO] [stdout] --> src/infra/http_api/room_endpoints.rs:16:61 [INFO] [stdout] | [INFO] [stdout] 16 | obtain_messages, obtain_room_members, send_message, user_is_in_room, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/use_cases/auth_service.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime, Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::Type` [INFO] [stdout] --> src/domain/room.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::{FromRow, prelude::Type}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rejection::JsonRejection` [INFO] [stdout] --> src/infra/http_api/room_endpoints.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | extract::{Json, Path, Query, State, rejection::JsonRejection}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user_is_in_room` [INFO] [stdout] --> src/infra/http_api/room_endpoints.rs:16:61 [INFO] [stdout] | [INFO] [stdout] 16 | obtain_messages, obtain_room_members, send_message, user_is_in_room, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/use_cases/auth_service.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime, Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mockall::predicate` [INFO] [stdout] --> src/use_cases/auth_service.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | use mockall::predicate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nebula-backend` (lib) due to 13 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nebula-backend` (lib test) due to 13 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0e5b4efb6bbbe63854f3e88867d156f92ecb514e8a476db4557cfc7677a56723", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e5b4efb6bbbe63854f3e88867d156f92ecb514e8a476db4557cfc7677a56723", kill_on_drop: false }` [INFO] [stdout] 0e5b4efb6bbbe63854f3e88867d156f92ecb514e8a476db4557cfc7677a56723