[INFO] cloning repository https://github.com/Kuj1/smart_home [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kuj1/smart_home" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKuj1%2Fsmart_home", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKuj1%2Fsmart_home'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6344ce7f85f9284bd6c7341250410357a515eaec [INFO] checking Kuj1/smart_home against try#47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 for pr-149058 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKuj1%2Fsmart_home" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Kuj1/smart_home [INFO] finished tweaking git repo https://github.com/Kuj1/smart_home [INFO] tweaked toml for git repo https://github.com/Kuj1/smart_home written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Kuj1/smart_home on toolchain 47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Kuj1/smart_home 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" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Kuj1/smart_home against try#47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 for pr-149058 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKuj1%2Fsmart_home" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Kuj1/smart_home [INFO] finished tweaking git repo https://github.com/Kuj1/smart_home [INFO] tweaked toml for git repo https://github.com/Kuj1/smart_home written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Kuj1/smart_home on toolchain 47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Kuj1/smart_home 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" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-sqlite v0.7.4 [INFO] [stderr] Downloaded parking_lot v0.12.2 [INFO] [stderr] Downloaded sqlx-macros v0.7.4 [INFO] [stderr] Downloaded zerocopy-derive v0.7.34 [INFO] [stderr] Downloaded sqlx-mysql v0.7.4 [INFO] [stderr] Downloaded sqlx-macros-core v0.7.4 [INFO] [stderr] Downloaded sqlx-postgres v0.7.4 [INFO] [stderr] Downloaded sqlx-core v0.7.4 [INFO] [stderr] Downloaded zerocopy v0.7.34 [INFO] [stderr] Downloaded sqlx v0.7.4 [INFO] [stderr] Downloaded syn v2.0.64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e8a8a770d1d60abbecccafb57e6e74314b06da32f31adb31e880e0637e919bf [INFO] running `Command { std: "docker" "start" "-a" "1e8a8a770d1d60abbecccafb57e6e74314b06da32f31adb31e880e0637e919bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e8a8a770d1d60abbecccafb57e6e74314b06da32f31adb31e880e0637e919bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e8a8a770d1d60abbecccafb57e6e74314b06da32f31adb31e880e0637e919bf", kill_on_drop: false }` [INFO] [stdout] 1e8a8a770d1d60abbecccafb57e6e74314b06da32f31adb31e880e0637e919bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97147ecb64856d9e4b6d2a3cb492b91906c6a0f3b16b1a32dcbb39bef1aa814c [INFO] running `Command { std: "docker" "start" "-a" "97147ecb64856d9e4b6d2a3cb492b91906c6a0f3b16b1a32dcbb39bef1aa814c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking sqlformat v0.2.3 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking sqlx-postgres 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 smart_home v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/sql/methods.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let id = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 23 | | " [INFO] [stdout] 24 | | INSERT INTO houses (house_name) [INFO] [stdout] 25 | | VALUES ($1) RETURNING id; [INFO] [stdout] 26 | | ", [INFO] [stdout] 27 | | &data.name [INFO] [stdout] 28 | | ) [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/sql/methods.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let id = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 23 | | " [INFO] [stdout] 24 | | INSERT INTO houses (house_name) [INFO] [stdout] 25 | | VALUES ($1) RETURNING id; [INFO] [stdout] 26 | | ", [INFO] [stdout] 27 | | &data.name [INFO] [stdout] 28 | | ) [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/sql/methods.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let id = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 37 | | " [INFO] [stdout] 38 | | INSERT INTO rooms (house_id, room_name) [INFO] [stdout] 39 | | VALUES ($1, $2) RETURNING id; [INFO] [stdout] ... | [INFO] [stdout] 42 | | &data.name [INFO] [stdout] 43 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/sql/methods.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let id = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 37 | | " [INFO] [stdout] 38 | | INSERT INTO rooms (house_id, room_name) [INFO] [stdout] 39 | | VALUES ($1, $2) RETURNING id; [INFO] [stdout] ... | [INFO] [stdout] 42 | | &data.name [INFO] [stdout] 43 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `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/sql/methods.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | let id = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 57 | | " [INFO] [stdout] 58 | | INSERT INTO smart_devices (house_id, room_id, vendor_id, device_name, is_on, voltage, power) [INFO] [stdout] 59 | | VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING id; [INFO] [stdout] 60 | | ", [INFO] [stdout] 61 | | &house_id, &room_id, data.vendor_id, data.name, data.is_on, data.voltage, data.power [INFO] [stdout] 62 | | ).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` (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/sql/methods.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | let id = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 57 | | " [INFO] [stdout] 58 | | INSERT INTO smart_devices (house_id, room_id, vendor_id, device_name, is_on, voltage, power) [INFO] [stdout] 59 | | VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING id; [INFO] [stdout] 60 | | ", [INFO] [stdout] 61 | | &house_id, &room_id, data.vendor_id, data.name, data.is_on, data.voltage, data.power [INFO] [stdout] 62 | | ).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` (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/sql/methods.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let raw_query = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 69 | | " [INFO] [stdout] 70 | | SELECT * FROM houses WHERE id=$1; [INFO] [stdout] 71 | | ", [INFO] [stdout] 72 | | &house_id [INFO] [stdout] 73 | | ) [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/sql/methods.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let raw_query = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 69 | | " [INFO] [stdout] 70 | | SELECT * FROM houses WHERE id=$1; [INFO] [stdout] 71 | | ", [INFO] [stdout] 72 | | &house_id [INFO] [stdout] 73 | | ) [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/sql/methods.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let raw_query = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 85 | | " [INFO] [stdout] 86 | | SELECT * FROM houses; [INFO] [stdout] 87 | | " [INFO] [stdout] 88 | | ) [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/sql/methods.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let raw_query = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 85 | | " [INFO] [stdout] 86 | | SELECT * FROM houses; [INFO] [stdout] 87 | | " [INFO] [stdout] 88 | | ) [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/sql/methods.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | let raw_query = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 106 | | " [INFO] [stdout] 107 | | SELECT rooms.id, houses.house_name, rooms.room_name [INFO] [stdout] 108 | | FROM rooms [INFO] [stdout] ... | [INFO] [stdout] 113 | | &room_id [INFO] [stdout] 114 | | ) [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/sql/methods.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | let raw_query = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 106 | | " [INFO] [stdout] 107 | | SELECT rooms.id, houses.house_name, rooms.room_name [INFO] [stdout] 108 | | FROM rooms [INFO] [stdout] ... | [INFO] [stdout] 113 | | &room_id [INFO] [stdout] 114 | | ) [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/sql/methods.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | let raw_query = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 127 | | " [INFO] [stdout] 128 | | SELECT rooms.id, houses.house_name, rooms.room_name [INFO] [stdout] 129 | | FROM rooms [INFO] [stdout] ... | [INFO] [stdout] 133 | | &house_id [INFO] [stdout] 134 | | ) [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/sql/methods.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | let raw_query = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 127 | | " [INFO] [stdout] 128 | | SELECT rooms.id, houses.house_name, rooms.room_name [INFO] [stdout] 129 | | FROM rooms [INFO] [stdout] ... | [INFO] [stdout] 133 | | &house_id [INFO] [stdout] 134 | | ) [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/sql/methods.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | ... let raw_device = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 157 | | ... " [INFO] [stdout] 158 | | ... SELECT smart_devices.id, houses.house_name, rooms.room_name, smart_devices.device_name, smart_devices.vendor_id, smart_... [INFO] [stdout] 159 | | ... FROM smart_devices [INFO] [stdout] ... | [INFO] [stdout] 164 | | ... &house_id, &room_id, &device_id [INFO] [stdout] 165 | | ... ).fetch_one(&self.pool).await.unwrap(); [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/sql/methods.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | ... let raw_device = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 157 | | ... " [INFO] [stdout] 158 | | ... SELECT smart_devices.id, houses.house_name, rooms.room_name, smart_devices.device_name, smart_devices.vendor_id, smart_... [INFO] [stdout] 159 | | ... FROM smart_devices [INFO] [stdout] ... | [INFO] [stdout] 164 | | ... &house_id, &room_id, &device_id [INFO] [stdout] 165 | | ... ).fetch_one(&self.pool).await.unwrap(); [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/sql/methods.rs:183:27 [INFO] [stdout] | [INFO] [stdout] 183 | ... let raw_devices = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 184 | | ... " [INFO] [stdout] 185 | | ... SELECT smart_devices.id, houses.house_name, rooms.room_name, smart_devices.device_name, smart_devices.vendor_id, smart_... [INFO] [stdout] 186 | | ... FROM smart_devices [INFO] [stdout] ... | [INFO] [stdout] 191 | | ... &house_id [INFO] [stdout] 192 | | ... ).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` (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/sql/methods.rs:183:27 [INFO] [stdout] | [INFO] [stdout] 183 | ... let raw_devices = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 184 | | ... " [INFO] [stdout] 185 | | ... SELECT smart_devices.id, houses.house_name, rooms.room_name, smart_devices.device_name, smart_devices.vendor_id, smart_... [INFO] [stdout] 186 | | ... FROM smart_devices [INFO] [stdout] ... | [INFO] [stdout] 191 | | ... &house_id [INFO] [stdout] 192 | | ... ).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` (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/sql/methods.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | ... let raw_devices = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 217 | | ... " [INFO] [stdout] 218 | | ... SELECT smart_devices.id, houses.house_name, rooms.room_name, smart_devices.device_name, smart_devices.vendor_id, smart_... [INFO] [stdout] 219 | | ... FROM smart_devices [INFO] [stdout] ... | [INFO] [stdout] 225 | | ... &room_id [INFO] [stdout] 226 | | ... ).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` (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/sql/methods.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | ... let raw_devices = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 217 | | ... " [INFO] [stdout] 218 | | ... SELECT smart_devices.id, houses.house_name, rooms.room_name, smart_devices.device_name, smart_devices.vendor_id, smart_... [INFO] [stdout] 219 | | ... FROM smart_devices [INFO] [stdout] ... | [INFO] [stdout] 225 | | ... &room_id [INFO] [stdout] 226 | | ... ).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` (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/sql/methods.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | / sqlx::query!( [INFO] [stdout] 255 | | " [INFO] [stdout] 256 | | DELETE FROM smart_devices WHERE house_id=$1 [INFO] [stdout] 257 | | AND room_id=$2 [INFO] [stdout] ... | [INFO] [stdout] 262 | | &device_id [INFO] [stdout] 263 | | ) [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/sql/methods.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | / sqlx::query!( [INFO] [stdout] 255 | | " [INFO] [stdout] 256 | | DELETE FROM smart_devices WHERE house_id=$1 [INFO] [stdout] 257 | | AND room_id=$2 [INFO] [stdout] ... | [INFO] [stdout] 262 | | &device_id [INFO] [stdout] 263 | | ) [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/sql/methods.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | / sqlx::query!( [INFO] [stdout] 273 | | " [INFO] [stdout] 274 | | DELETE FROM rooms WHERE house_id=$1 [INFO] [stdout] 275 | | AND id=$2; [INFO] [stdout] ... | [INFO] [stdout] 278 | | &room_id, [INFO] [stdout] 279 | | ) [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/sql/methods.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | / sqlx::query!( [INFO] [stdout] 273 | | " [INFO] [stdout] 274 | | DELETE FROM rooms WHERE house_id=$1 [INFO] [stdout] 275 | | AND id=$2; [INFO] [stdout] ... | [INFO] [stdout] 278 | | &room_id, [INFO] [stdout] 279 | | ) [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/sql/methods.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | / sqlx::query!( [INFO] [stdout] 290 | | " [INFO] [stdout] 291 | | DELETE FROM houses WHERE id=$1; [INFO] [stdout] 292 | | ", [INFO] [stdout] 293 | | &house_id, [INFO] [stdout] 294 | | ) [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/sql/methods.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | / sqlx::query!( [INFO] [stdout] 290 | | " [INFO] [stdout] 291 | | DELETE FROM houses WHERE id=$1; [INFO] [stdout] 292 | | ", [INFO] [stdout] 293 | | &house_id, [INFO] [stdout] 294 | | ) [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/sql/methods.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | / sqlx::query!( [INFO] [stdout] 310 | | " [INFO] [stdout] 311 | | UPDATE smart_devices [INFO] [stdout] 312 | | SET is_on=$4, voltage=$5, power=$6 [INFO] [stdout] ... | [INFO] [stdout] 320 | | data.power [INFO] [stdout] 321 | | ) [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/sql/methods.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | / sqlx::query!( [INFO] [stdout] 310 | | " [INFO] [stdout] 311 | | UPDATE smart_devices [INFO] [stdout] 312 | | SET is_on=$4, voltage=$5, power=$6 [INFO] [stdout] ... | [INFO] [stdout] 320 | | data.power [INFO] [stdout] 321 | | ) [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/sql/methods.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | / sqlx::query!( [INFO] [stdout] 337 | | " [INFO] [stdout] 338 | | UPDATE smart_devices [INFO] [stdout] 339 | | SET device_name=$4 [INFO] [stdout] ... | [INFO] [stdout] 345 | | data.name [INFO] [stdout] 346 | | ) [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/sql/methods.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | / sqlx::query!( [INFO] [stdout] 337 | | " [INFO] [stdout] 338 | | UPDATE smart_devices [INFO] [stdout] 339 | | SET device_name=$4 [INFO] [stdout] ... | [INFO] [stdout] 345 | | data.name [INFO] [stdout] 346 | | ) [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/sql/methods.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | / sqlx::query!( [INFO] [stdout] 361 | | " [INFO] [stdout] 362 | | UPDATE rooms [INFO] [stdout] 363 | | SET room_name=$3 [INFO] [stdout] ... | [INFO] [stdout] 368 | | data.name [INFO] [stdout] 369 | | ) [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/sql/methods.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | / sqlx::query!( [INFO] [stdout] 361 | | " [INFO] [stdout] 362 | | UPDATE rooms [INFO] [stdout] 363 | | SET room_name=$3 [INFO] [stdout] ... | [INFO] [stdout] 368 | | data.name [INFO] [stdout] 369 | | ) [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/sql/methods.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | / sqlx::query!( [INFO] [stdout] 378 | | " [INFO] [stdout] 379 | | UPDATE houses [INFO] [stdout] 380 | | SET house_name=$2 [INFO] [stdout] ... | [INFO] [stdout] 384 | | data.name [INFO] [stdout] 385 | | ) [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/sql/methods.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | / sqlx::query!( [INFO] [stdout] 378 | | " [INFO] [stdout] 379 | | UPDATE houses [INFO] [stdout] 380 | | SET house_name=$2 [INFO] [stdout] ... | [INFO] [stdout] 384 | | data.name [INFO] [stdout] 385 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sql/methods.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let raw_query = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 85 | | " [INFO] [stdout] 86 | | SELECT * FROM houses; [INFO] [stdout] 87 | | " [INFO] [stdout] 88 | | ) [INFO] [stdout] 89 | | .fetch_all(&self.pool) [INFO] [stdout] 90 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sql/methods.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let raw_query = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 85 | | " [INFO] [stdout] 86 | | SELECT * FROM houses; [INFO] [stdout] 87 | | " [INFO] [stdout] 88 | | ) [INFO] [stdout] 89 | | .fetch_all(&self.pool) [INFO] [stdout] 90 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sql/methods.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | let raw_query = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 127 | | " [INFO] [stdout] 128 | | SELECT rooms.id, houses.house_name, rooms.room_name [INFO] [stdout] 129 | | FROM rooms [INFO] [stdout] ... | [INFO] [stdout] 135 | | .fetch_all(&self.pool) [INFO] [stdout] 136 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sql/methods.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | let raw_query = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 127 | | " [INFO] [stdout] 128 | | SELECT rooms.id, houses.house_name, rooms.room_name [INFO] [stdout] 129 | | FROM rooms [INFO] [stdout] ... | [INFO] [stdout] 135 | | .fetch_all(&self.pool) [INFO] [stdout] 136 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sql/methods.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | ... let raw_device = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 157 | | ... " [INFO] [stdout] 158 | | ... SELECT smart_devices.id, houses.house_name, rooms.room_name, smart_devices.device_name, smart_devices.vendor_id, smart_... [INFO] [stdout] 159 | | ... FROM smart_devices [INFO] [stdout] ... | [INFO] [stdout] 164 | | ... &house_id, &room_id, &device_id [INFO] [stdout] 165 | | ... ).fetch_one(&self.pool).await.unwrap(); [INFO] [stdout] | |___________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sql/methods.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | ... let raw_device = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 157 | | ... " [INFO] [stdout] 158 | | ... SELECT smart_devices.id, houses.house_name, rooms.room_name, smart_devices.device_name, smart_devices.vendor_id, smart_... [INFO] [stdout] 159 | | ... FROM smart_devices [INFO] [stdout] ... | [INFO] [stdout] 164 | | ... &house_id, &room_id, &device_id [INFO] [stdout] 165 | | ... ).fetch_one(&self.pool).await.unwrap(); [INFO] [stdout] | |___________________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sql/methods.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let raw_devices = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | let devices = raw_devices [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `raw_devices` an explicit type [INFO] [stdout] | [INFO] [stdout] 183 | let raw_devices: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sql/methods.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let raw_devices = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | let devices = raw_devices [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `raw_devices` an explicit type [INFO] [stdout] | [INFO] [stdout] 183 | let raw_devices: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sql/methods.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | let raw_devices = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | let devices = raw_devices [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `raw_devices` an explicit type [INFO] [stdout] | [INFO] [stdout] 216 | let raw_devices: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sql/methods.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | let raw_devices = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | let devices = raw_devices [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `raw_devices` an explicit type [INFO] [stdout] | [INFO] [stdout] 216 | let raw_devices: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sql/methods.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | / sqlx::query!( [INFO] [stdout] 273 | | " [INFO] [stdout] 274 | | DELETE FROM rooms WHERE house_id=$1 [INFO] [stdout] 275 | | AND id=$2; [INFO] [stdout] ... | [INFO] [stdout] 280 | | .execute(&self.pool) [INFO] [stdout] 281 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sql/methods.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | / sqlx::query!( [INFO] [stdout] 273 | | " [INFO] [stdout] 274 | | DELETE FROM rooms WHERE house_id=$1 [INFO] [stdout] 275 | | AND id=$2; [INFO] [stdout] ... | [INFO] [stdout] 280 | | .execute(&self.pool) [INFO] [stdout] 281 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sql/methods.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | / sqlx::query!( [INFO] [stdout] 290 | | " [INFO] [stdout] 291 | | DELETE FROM houses WHERE id=$1; [INFO] [stdout] 292 | | ", [INFO] [stdout] ... | [INFO] [stdout] 295 | | .execute(&self.pool) [INFO] [stdout] 296 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/sql/methods.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | / sqlx::query!( [INFO] [stdout] 290 | | " [INFO] [stdout] 291 | | DELETE FROM houses WHERE id=$1; [INFO] [stdout] 292 | | ", [INFO] [stdout] ... | [INFO] [stdout] 295 | | .execute(&self.pool) [INFO] [stdout] 296 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `smart_home` (lib test) due to 24 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `smart_home` (lib) due to 24 previous errors [INFO] running `Command { std: "docker" "inspect" "97147ecb64856d9e4b6d2a3cb492b91906c6a0f3b16b1a32dcbb39bef1aa814c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97147ecb64856d9e4b6d2a3cb492b91906c6a0f3b16b1a32dcbb39bef1aa814c", kill_on_drop: false }` [INFO] [stdout] 97147ecb64856d9e4b6d2a3cb492b91906c6a0f3b16b1a32dcbb39bef1aa814c