[INFO] cloning repository https://github.com/andrequeiroz2/device_app_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andrequeiroz2/device_app_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrequeiroz2%2Fdevice_app_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrequeiroz2%2Fdevice_app_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a85cf48972e26db39e9024e984d6356edafa83f0
[INFO] checking andrequeiroz2/device_app_rust/a85cf48972e26db39e9024e984d6356edafa83f0 against master#42f4793e5a514858221b07ac379029d90353913e for pr-148952
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrequeiroz2%2Fdevice_app_rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/andrequeiroz2/device_app_rust
[INFO] finished tweaking git repo https://github.com/andrequeiroz2/device_app_rust
[INFO] tweaked toml for git repo https://github.com/andrequeiroz2/device_app_rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/andrequeiroz2/device_app_rust on toolchain 42f4793e5a514858221b07ac379029d90353913e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/andrequeiroz2/device_app_rust 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" "+42f4793e5a514858221b07ac379029d90353913e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/andrequeiroz2/lib_jwt`
[INFO] [stderr]     Updating git repository `https://github.com/andrequeiroz2/lib_mqtt`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded typed-builder v0.20.1
[INFO] [stderr]   Downloaded err v0.0.8
[INFO] [stderr]   Downloaded mongodb-internal-macros v3.3.0
[INFO] [stderr]   Downloaded eui48 v1.1.0
[INFO] [stderr]   Downloaded mongocrypt v0.3.1
[INFO] [stderr]   Downloaded mongocrypt-sys v0.1.4+1.12.0
[INFO] [stderr]   Downloaded actix-web-httpauth v0.8.2
[INFO] [stderr]   Downloaded mock_instant v0.6.0
[INFO] [stderr]   Downloaded thread-id v5.0.0
[INFO] [stderr]   Downloaded typed-builder-macro v0.20.1
[INFO] [stderr]   Downloaded serde_with_macros v3.14.1
[INFO] [stderr]   Downloaded serde_with v3.14.1
[INFO] [stderr]   Downloaded rustls-webpki v0.103.6
[INFO] [stderr]   Downloaded log4rs v1.4.0-rc2
[INFO] [stderr]   Downloaded resolv-conf v0.7.5
[INFO] [stderr]   Downloaded paho-mqtt v0.13.3
[INFO] [stderr]   Downloaded bson v3.0.0
[INFO] [stderr]   Downloaded mongodb v3.3.0
[INFO] [stderr]   Downloaded openssl-src v300.5.0+3.5.0
[INFO] [stderr]   Downloaded paho-mqtt-sys v0.10.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7e3bab6cf76de91cd26a46d9f8f4eb1d5f1e352380e368176544a5c15943a5f9
[INFO] running `Command { std: "docker" "start" "-a" "7e3bab6cf76de91cd26a46d9f8f4eb1d5f1e352380e368176544a5c15943a5f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7e3bab6cf76de91cd26a46d9f8f4eb1d5f1e352380e368176544a5c15943a5f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e3bab6cf76de91cd26a46d9f8f4eb1d5f1e352380e368176544a5c15943a5f9", kill_on_drop: false }`
[INFO] [stdout] 7e3bab6cf76de91cd26a46d9f8f4eb1d5f1e352380e368176544a5c15943a5f9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+42f4793e5a514858221b07ac379029d90353913e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 35a4c179df5b1363e1158221fb0bd6a2af08cc224721507e102aa98321a69bd9
[INFO] running `Command { std: "docker" "start" "-a" "35a4c179df5b1363e1158221fb0bd6a2af08cc224721507e102aa98321a69bd9", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling libc v0.2.173
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]    Compiling syn v2.0.109
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling whoami v1.6.0
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling rustls v0.23.32
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling mongocrypt-sys v0.1.4+1.12.0
[INFO] [stderr]    Compiling rustc_version_runtime v0.3.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking event-listener v5.4.0
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking destructure_traitobject v0.2.0
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking unsafe-any-ors v1.0.0
[INFO] [stderr]     Checking phf_shared v0.12.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking webpki-roots v1.0.2
[INFO] [stderr]     Checking pem v3.0.5
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]     Checking ordered-float v2.10.1
[INFO] [stderr]     Checking base64ct v1.8.0
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]     Checking futures-timer v3.0.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking resolv-conf v0.7.5
[INFO] [stderr]    Compiling chrono-tz v0.10.4
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling openssl-src v300.5.0+3.5.0
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]     Checking webpki-roots v0.26.11
[INFO] [stderr]     Checking salsa20 v0.10.2
[INFO] [stderr]     Checking phf v0.12.1
[INFO] [stderr]     Checking typemap-ors v1.0.0
[INFO] [stderr]     Checking pbkdf2 v0.12.2
[INFO] [stderr]     Checking thread-id v5.0.0
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking simdutf8 v0.1.5
[INFO] [stderr]     Checking arc-swap v1.7.1
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking log-mdc v0.1.0
[INFO] [stderr]     Checking mock_instant v0.6.0
[INFO] [stderr]     Checking err v0.0.8
[INFO] [stderr]     Checking scrypt v0.11.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling paho-mqtt-sys v0.10.3
[INFO] [stderr]     Checking eui48 v1.1.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.29
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling macro_magic_core_macros v0.5.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling derive-syn-parse v0.2.0
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking rustls-webpki v0.103.6
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling typed-builder-macro v0.20.1
[INFO] [stderr]    Compiling macro_magic_core v0.5.1
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]    Compiling derive-where v1.6.0
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking thiserror v2.0.12
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]    Compiling macro_magic_macros v0.5.1
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling serde_with_macros v3.14.1
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]    Compiling macro_magic v0.5.1
[INFO] [stderr]    Compiling mongodb-internal-macros v3.3.0
[INFO] [stderr]     Checking typed-builder v0.20.1
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking serde_bytes v0.11.17
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking serde_with v3.14.1
[INFO] [stderr]     Checking serde-value v0.7.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking actix-router v0.5.3
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking bson v2.15.0
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking bson v3.0.0
[INFO] [stderr]     Checking log4rs v1.4.0-rc2
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking jwt_lib v0.1.0 (https://github.com/andrequeiroz2/lib_jwt#83af75ef)
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]     Checking mongocrypt v0.3.1
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking hickory-proto v0.24.4
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking hickory-resolver v0.24.4
[INFO] [stderr]     Checking mongodb v3.3.0
[INFO] [stderr]     Checking actix-http v3.11.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking actix-web v4.11.0
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking actix-web-httpauth v0.8.2
[INFO] [stderr]     Checking paho-mqtt v0.13.3
[INFO] [stderr]     Checking mqtt_device v0.1.0 (https://github.com/andrequeiroz2/lib_mqtt#d18c799a)
[INFO] [stderr]     Checking device_app v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/user/user_query.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 |       match sqlx::query_scalar!(
[INFO] [stdout]    |  ___________^
[INFO] [stdout] 12 | |         "SELECT COUNT(*) FROM users WHERE email = $1 AND deleted_at IS NULL",
[INFO] [stdout] 13 | |         email
[INFO] [stdout] 14 | |     ).fetch_one(pool)
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/user/user_query.rs:78:11
[INFO] [stdout]    |
[INFO] [stdout] 78 |       match sqlx::query_as!(
[INFO] [stdout]    |  ___________^
[INFO] [stdout] 79 | |         User,
[INFO] [stdout] 80 | |         r#"
[INFO] [stdout] 81 | |             SELECT id, uuid, username, password, email, created_at, updated_at, deleted_at
[INFO] [stdout] ...  |
[INFO] [stdout] 85 | |         email,
[INFO] [stdout] 86 | |     ).fetch_one(pool)
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/user/user_query.rs:105:11
[INFO] [stdout]     |
[INFO] [stdout] 105 |       match sqlx::query_as!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 106 | |         User,
[INFO] [stdout] 107 | |         r#"
[INFO] [stdout] 108 | |             SELECT id, uuid, username, email, password, created_at, updated_at, deleted_at
[INFO] [stdout] ...   |
[INFO] [stdout] 113 | |         user_uuid
[INFO] [stdout] 114 | |     ).fetch_one(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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/user/user_query.rs:134:11
[INFO] [stdout]     |
[INFO] [stdout] 134 |       match sqlx::query_as!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 135 | |         UserResponse,
[INFO] [stdout] 136 | |         r#"
[INFO] [stdout] 137 | |             INSERT INTO users (uuid, username, email, password)
[INFO] [stdout] ...   |
[INFO] [stdout] 144 | |         password_hash,
[INFO] [stdout] 145 | |     ).fetch_one(pool)
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/user/user_query.rs:164:11
[INFO] [stdout]     |
[INFO] [stdout] 164 |       match sqlx::query!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 165 | |         "UPDATE users SET deleted_at = NOW() WHERE uuid = $1",
[INFO] [stdout] 166 | |         uuid
[INFO] [stdout] 167 | |     ).execute(pool)
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/user/user_query.rs:181:11
[INFO] [stdout]     |
[INFO] [stdout] 181 |       match sqlx::query_as!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 182 | |         UserResponse,
[INFO] [stdout] 183 | |         r#"
[INFO] [stdout] 184 | |             UPDATE users SET username = $1, email = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 190 | |         user_uuid,
[INFO] [stdout] 191 | |     ).fetch_one(pool)
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/broker/broker_query.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 14 | |         BrokerResponse,
[INFO] [stdout] 15 | |         r#"
[INFO] [stdout] 16 | |         INSERT INTO brokers(
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | |         broker.last_will_retain,
[INFO] [stdout] 58 | |     )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/broker/broker_query.rs:179:11
[INFO] [stdout]     |
[INFO] [stdout] 179 |       match sqlx::query_as!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 180 | |         BrokerResponse,
[INFO] [stdout] 181 | |         r#"
[INFO] [stdout] 182 | |         SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 203 | |         broker_uuid
[INFO] [stdout] 204 | |     ).fetch_optional(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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/broker/broker_query.rs:216:11
[INFO] [stdout]     |
[INFO] [stdout] 216 |       match sqlx::query!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 217 | |         "DELETE FROM brokers WHERE uuid = $1",
[INFO] [stdout] 218 | |         broker_uuid
[INFO] [stdout] 219 | |     ).execute(pool)
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/broker/broker_query.rs:232:11
[INFO] [stdout]     |
[INFO] [stdout] 232 |       match query_scalar!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 233 | |         r#"
[INFO] [stdout] 234 | |         SELECT COUNT(*) FROM brokers
[INFO] [stdout] 235 | |         WHERE uuid <> $1
[INFO] [stdout] ...   |
[INFO] [stdout] 240 | |         broker_update.port
[INFO] [stdout] 241 | |     ).fetch_one(pool)
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/broker/broker_query.rs:282:11
[INFO] [stdout]     |
[INFO] [stdout] 282 |       match sqlx::query_as!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 283 | |         BrokerResponse,
[INFO] [stdout] 284 | |         r#"
[INFO] [stdout] 285 | |         UPDATE brokers SET
[INFO] [stdout] ...   |
[INFO] [stdout] 327 | |         broker_uuid
[INFO] [stdout] 328 | |     ).fetch_one(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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/broker/broker_query.rs:339:11
[INFO] [stdout]     |
[INFO] [stdout] 339 |       match sqlx::query_scalar!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 340 | |         "SELECT COUNT(*) FROM brokers WHERE port = $1 AND deleted_at IS NULL",
[INFO] [stdout] 341 | |         port
[INFO] [stdout] 342 | |     ).fetch_one(pool)
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/broker/broker_query.rs:361:11
[INFO] [stdout]     |
[INFO] [stdout] 361 |       match sqlx::query_scalar!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 362 | |         "SELECT COUNT(*) FROM brokers WHERE deleted_at IS NULL"
[INFO] [stdout] 363 | |     ).fetch_one(pool)
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/broker/broker_query.rs:379:11
[INFO] [stdout]     |
[INFO] [stdout] 379 |       match sqlx::query_as!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 380 | |         BrokerResponse,
[INFO] [stdout] 381 | |         r#"
[INFO] [stdout] 382 | |             SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 403 | |         "#
[INFO] [stdout] 404 | |     ).fetch_optional(pool)
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/device/device_query.rs:61:27
[INFO] [stdout]     |
[INFO] [stdout]  61 |       let inserted_device = sqlx::query_as!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout]  62 | |         Device,
[INFO] [stdout]  63 | |         r#"
[INFO] [stdout]  64 | |         INSERT INTO
[INFO] [stdout] ...   |
[INFO] [stdout] 103 | |         device.mac_address,
[INFO] [stdout] 104 | |     )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/device/device_query.rs:110:28
[INFO] [stdout]     |
[INFO] [stdout] 110 |       let inserted_message = sqlx::query_as!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 111 | |         DeviceMessage,
[INFO] [stdout] 112 | |         r#"
[INFO] [stdout] 113 | |         INSERT INTO
[INFO] [stdout] ...   |
[INFO] [stdout] 158 | |         device.message.command_last_time,
[INFO] [stdout] 159 | |     )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/device/device_query.rs:169:25
[INFO] [stdout]     |
[INFO] [stdout] 169 |               let scale = sqlx::query_as!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 170 | |             DeviceScale,
[INFO] [stdout] 171 | |             r#"
[INFO] [stdout] 172 | |             INSERT INTO 
[INFO] [stdout] ...   |
[INFO] [stdout] 194 | |             scale_item.unit
[INFO] [stdout] 195 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/user/user_query.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 |       match sqlx::query_scalar!(
[INFO] [stdout]    |  ___________^
[INFO] [stdout] 12 | |         "SELECT COUNT(*) FROM users WHERE email = $1 AND deleted_at IS NULL",
[INFO] [stdout] 13 | |         email
[INFO] [stdout] 14 | |     ).fetch_one(pool)
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/user/user_query.rs:78:11
[INFO] [stdout]    |
[INFO] [stdout] 78 |       match sqlx::query_as!(
[INFO] [stdout]    |  ___________^
[INFO] [stdout] 79 | |         User,
[INFO] [stdout] 80 | |         r#"
[INFO] [stdout] 81 | |             SELECT id, uuid, username, password, email, created_at, updated_at, deleted_at
[INFO] [stdout] ...  |
[INFO] [stdout] 85 | |         email,
[INFO] [stdout] 86 | |     ).fetch_one(pool)
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/user/user_query.rs:105:11
[INFO] [stdout]     |
[INFO] [stdout] 105 |       match sqlx::query_as!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 106 | |         User,
[INFO] [stdout] 107 | |         r#"
[INFO] [stdout] 108 | |             SELECT id, uuid, username, email, password, created_at, updated_at, deleted_at
[INFO] [stdout] ...   |
[INFO] [stdout] 113 | |         user_uuid
[INFO] [stdout] 114 | |     ).fetch_one(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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/user/user_query.rs:134:11
[INFO] [stdout]     |
[INFO] [stdout] 134 |       match sqlx::query_as!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 135 | |         UserResponse,
[INFO] [stdout] 136 | |         r#"
[INFO] [stdout] 137 | |             INSERT INTO users (uuid, username, email, password)
[INFO] [stdout] ...   |
[INFO] [stdout] 144 | |         password_hash,
[INFO] [stdout] 145 | |     ).fetch_one(pool)
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/user/user_query.rs:164:11
[INFO] [stdout]     |
[INFO] [stdout] 164 |       match sqlx::query!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 165 | |         "UPDATE users SET deleted_at = NOW() WHERE uuid = $1",
[INFO] [stdout] 166 | |         uuid
[INFO] [stdout] 167 | |     ).execute(pool)
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/user/user_query.rs:181:11
[INFO] [stdout]     |
[INFO] [stdout] 181 |       match sqlx::query_as!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 182 | |         UserResponse,
[INFO] [stdout] 183 | |         r#"
[INFO] [stdout] 184 | |             UPDATE users SET username = $1, email = $2
[INFO] [stdout] ...   |
[INFO] [stdout] 190 | |         user_uuid,
[INFO] [stdout] 191 | |     ).fetch_one(pool)
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/device/device_message_query.rs:9:18
[INFO] [stdout]    |
[INFO] [stdout]  9 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 10 | |         DeviceMessageSubscribe,
[INFO] [stdout] 11 | |         r#"
[INFO] [stdout] 12 | |         SELECT
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | |         "#,
[INFO] [stdout] 25 | |     ).fetch_all(pool)
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/broker/broker_query.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 14 | |         BrokerResponse,
[INFO] [stdout] 15 | |         r#"
[INFO] [stdout] 16 | |         INSERT INTO brokers(
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | |         broker.last_will_retain,
[INFO] [stdout] 58 | |     )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/broker/broker_query.rs:179:11
[INFO] [stdout]     |
[INFO] [stdout] 179 |       match sqlx::query_as!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 180 | |         BrokerResponse,
[INFO] [stdout] 181 | |         r#"
[INFO] [stdout] 182 | |         SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 203 | |         broker_uuid
[INFO] [stdout] 204 | |     ).fetch_optional(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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/broker/broker_query.rs:216:11
[INFO] [stdout]     |
[INFO] [stdout] 216 |       match sqlx::query!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 217 | |         "DELETE FROM brokers WHERE uuid = $1",
[INFO] [stdout] 218 | |         broker_uuid
[INFO] [stdout] 219 | |     ).execute(pool)
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/broker/broker_query.rs:232:11
[INFO] [stdout]     |
[INFO] [stdout] 232 |       match query_scalar!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 233 | |         r#"
[INFO] [stdout] 234 | |         SELECT COUNT(*) FROM brokers
[INFO] [stdout] 235 | |         WHERE uuid <> $1
[INFO] [stdout] ...   |
[INFO] [stdout] 240 | |         broker_update.port
[INFO] [stdout] 241 | |     ).fetch_one(pool)
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/broker/broker_query.rs:282:11
[INFO] [stdout]     |
[INFO] [stdout] 282 |       match sqlx::query_as!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 283 | |         BrokerResponse,
[INFO] [stdout] 284 | |         r#"
[INFO] [stdout] 285 | |         UPDATE brokers SET
[INFO] [stdout] ...   |
[INFO] [stdout] 327 | |         broker_uuid
[INFO] [stdout] 328 | |     ).fetch_one(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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/broker/broker_query.rs:339:11
[INFO] [stdout]     |
[INFO] [stdout] 339 |       match sqlx::query_scalar!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 340 | |         "SELECT COUNT(*) FROM brokers WHERE port = $1 AND deleted_at IS NULL",
[INFO] [stdout] 341 | |         port
[INFO] [stdout] 342 | |     ).fetch_one(pool)
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/broker/broker_query.rs:361:11
[INFO] [stdout]     |
[INFO] [stdout] 361 |       match sqlx::query_scalar!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 362 | |         "SELECT COUNT(*) FROM brokers WHERE deleted_at IS NULL"
[INFO] [stdout] 363 | |     ).fetch_one(pool)
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/broker/broker_query.rs:379:11
[INFO] [stdout]     |
[INFO] [stdout] 379 |       match sqlx::query_as!(
[INFO] [stdout]     |  ___________^
[INFO] [stdout] 380 | |         BrokerResponse,
[INFO] [stdout] 381 | |         r#"
[INFO] [stdout] 382 | |             SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 403 | |         "#
[INFO] [stdout] 404 | |     ).fetch_optional(pool)
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/device/device_query.rs:61:27
[INFO] [stdout]     |
[INFO] [stdout]  61 |       let inserted_device = sqlx::query_as!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout]  62 | |         Device,
[INFO] [stdout]  63 | |         r#"
[INFO] [stdout]  64 | |         INSERT INTO
[INFO] [stdout] ...   |
[INFO] [stdout] 103 | |         device.mac_address,
[INFO] [stdout] 104 | |     )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/device/device_query.rs:110:28
[INFO] [stdout]     |
[INFO] [stdout] 110 |       let inserted_message = sqlx::query_as!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 111 | |         DeviceMessage,
[INFO] [stdout] 112 | |         r#"
[INFO] [stdout] 113 | |         INSERT INTO
[INFO] [stdout] ...   |
[INFO] [stdout] 158 | |         device.message.command_last_time,
[INFO] [stdout] 159 | |     )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/device/device_query.rs:169:25
[INFO] [stdout]     |
[INFO] [stdout] 169 |               let scale = sqlx::query_as!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 170 | |             DeviceScale,
[INFO] [stdout] 171 | |             r#"
[INFO] [stdout] 172 | |             INSERT INTO 
[INFO] [stdout] ...   |
[INFO] [stdout] 194 | |             scale_item.unit
[INFO] [stdout] 195 | |         )
[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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/device/device_message_query.rs:9:18
[INFO] [stdout]    |
[INFO] [stdout]  9 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 10 | |         DeviceMessageSubscribe,
[INFO] [stdout] 11 | |         r#"
[INFO] [stdout] 12 | |         SELECT
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | |         "#,
[INFO] [stdout] 25 | |     ).fetch_all(pool)
[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: `Client`
[INFO] [stdout]  --> src/database/connection_mongo.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use mongodb::{Client, Collection, IndexModel};
[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: `std::sync::Arc`
[INFO] [stdout]  --> src/broker/broker_handler.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `put_broker_state_query`
[INFO] [stdout]  --> src/broker/broker_handler.rs:7:194
[INFO] [stdout]   |
[INFO] [stdout] 7 | ...with_uuid_query, post_broker_query, put_broker_query, put_broker_state_query};
[INFO] [stdout]   |                                                          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/broker/broker_tool.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{error, info};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/device/device_sensor_type_model.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/device/device_adoption_model.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Device`
[INFO] [stdout]  --> src/device/device_adoption_handler.rs:7:35
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::device::device_model::{Device, DeviceFilter};
[INFO] [stdout]   |                                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::state::app_state`
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use crate::state::app_state;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Client`
[INFO] [stdout]  --> src/database/connection_mongo.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use mongodb::{Client, Collection, IndexModel};
[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: `std::sync::Arc`
[INFO] [stdout]  --> src/broker/broker_handler.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `put_broker_state_query`
[INFO] [stdout]  --> src/broker/broker_handler.rs:7:194
[INFO] [stdout]   |
[INFO] [stdout] 7 | ...with_uuid_query, post_broker_query, put_broker_query, put_broker_state_query};
[INFO] [stdout]   |                                                          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/broker/broker_tool.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{error, info};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/device/device_sensor_type_model.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/device/device_adoption_model.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Device`
[INFO] [stdout]  --> src/device/device_adoption_handler.rs:7:35
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::device::device_model::{Device, DeviceFilter};
[INFO] [stdout]   |                                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::state::app_state`
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use crate::state::app_state;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/user/user_query.rs:28:46
[INFO] [stdout]    |
[INFO] [stdout] 28 |             Err(err) =>Err(AppError::DBError(err.to_string()))?
[INFO] [stdout]    |                                              ^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/user/user_query.rs:152:36
[INFO] [stdout]     |
[INFO] [stdout] 152 |                     log_msg_error: e.to_string()
[INFO] [stdout]     |                                    ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/user/user_query.rs:170:41
[INFO] [stdout]     |
[INFO] [stdout] 170 |         Err(e) => Err(AppError::DBError(e.to_string()))?
[INFO] [stdout]     |                                         ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/user/user_query.rs:194:45
[INFO] [stdout]     |
[INFO] [stdout] 194 |             Err(e) => Err(AppError::DBError(e.to_string()))?
[INFO] [stdout]     |                                             ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/broker/broker_query.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 14 | |         BrokerResponse,
[INFO] [stdout] 15 | |         r#"
[INFO] [stdout] 16 | |         INSERT INTO brokers(
[INFO] [stdout] ...  |
[INFO] [stdout] 59 | |         .fetch_one(pool)
[INFO] [stdout] 60 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/broker/broker_query.rs:61:19
[INFO] [stdout]    |
[INFO] [stdout] 61 |         .map_err(|error| AppError::ConstraintViolation(
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |                 log_msg_error: error.to_string(),
[INFO] [stdout]    |                                ----- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 61 |         .map_err(|error: /* Type */| AppError::ConstraintViolation(
[INFO] [stdout]    |                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/broker/broker_query.rs:207:31
[INFO] [stdout]     |
[INFO] [stdout] 207 |             AppError::DBError(err.to_string()))?
[INFO] [stdout]     |                               ^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/broker/broker_query.rs:222:41
[INFO] [stdout]     |
[INFO] [stdout] 222 |         Err(e) => Err(AppError::DBError(e.to_string()))?
[INFO] [stdout]     |                                         ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/broker/broker_query.rs:249:45
[INFO] [stdout]     |
[INFO] [stdout] 249 |             Err(e) => Err(AppError::DBError(e.to_string()))?
[INFO] [stdout]     |                                             ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/broker/broker_query.rs:330:41
[INFO] [stdout]     |
[INFO] [stdout] 330 |         Err(e) => Err(AppError::DBError(e.to_string()))?
[INFO] [stdout]     |                                         ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/broker/broker_query.rs:356:41
[INFO] [stdout]     |
[INFO] [stdout] 356 |         Err(e) => Err(AppError::DBError(e.to_string()))?
[INFO] [stdout]     |                                         ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/user/user_query.rs:28:46
[INFO] [stdout]    |
[INFO] [stdout] 28 |             Err(err) =>Err(AppError::DBError(err.to_string()))?
[INFO] [stdout]    |                                              ^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/broker/broker_query.rs:371:49
[INFO] [stdout]     |
[INFO] [stdout] 371 |             Err(error) => Err(AppError::DBError(error.to_string()))?
[INFO] [stdout]     |                                                 ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/broker/broker_query.rs:407:49
[INFO] [stdout]     |
[INFO] [stdout] 407 |             Err(error) => Err(AppError::DBError(error.to_string()))?
[INFO] [stdout]     |                                                 ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/user/user_query.rs:152:36
[INFO] [stdout]     |
[INFO] [stdout] 152 |                     log_msg_error: e.to_string()
[INFO] [stdout]     |                                    ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/user/user_query.rs:170:41
[INFO] [stdout]     |
[INFO] [stdout] 170 |         Err(e) => Err(AppError::DBError(e.to_string()))?
[INFO] [stdout]     |                                         ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/user/user_query.rs:194:45
[INFO] [stdout]     |
[INFO] [stdout] 194 |             Err(e) => Err(AppError::DBError(e.to_string()))?
[INFO] [stdout]     |                                             ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/broker/broker_query.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 14 | |         BrokerResponse,
[INFO] [stdout] 15 | |         r#"
[INFO] [stdout] 16 | |         INSERT INTO brokers(
[INFO] [stdout] ...  |
[INFO] [stdout] 59 | |         .fetch_one(pool)
[INFO] [stdout] 60 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/broker/broker_query.rs:61:19
[INFO] [stdout]    |
[INFO] [stdout] 61 |         .map_err(|error| AppError::ConstraintViolation(
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |                 log_msg_error: error.to_string(),
[INFO] [stdout]    |                                ----- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 61 |         .map_err(|error: /* Type */| AppError::ConstraintViolation(
[INFO] [stdout]    |                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/broker/broker_query.rs:207:31
[INFO] [stdout]     |
[INFO] [stdout] 207 |             AppError::DBError(err.to_string()))?
[INFO] [stdout]     |                               ^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/broker/broker_query.rs:222:41
[INFO] [stdout]     |
[INFO] [stdout] 222 |         Err(e) => Err(AppError::DBError(e.to_string()))?
[INFO] [stdout]     |                                         ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/broker/broker_query.rs:249:45
[INFO] [stdout]     |
[INFO] [stdout] 249 |             Err(e) => Err(AppError::DBError(e.to_string()))?
[INFO] [stdout]     |                                             ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/broker/broker_query.rs:330:41
[INFO] [stdout]     |
[INFO] [stdout] 330 |         Err(e) => Err(AppError::DBError(e.to_string()))?
[INFO] [stdout]     |                                         ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/broker/broker_query.rs:356:41
[INFO] [stdout]     |
[INFO] [stdout] 356 |         Err(e) => Err(AppError::DBError(e.to_string()))?
[INFO] [stdout]     |                                         ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/broker/broker_query.rs:371:49
[INFO] [stdout]     |
[INFO] [stdout] 371 |             Err(error) => Err(AppError::DBError(error.to_string()))?
[INFO] [stdout]     |                                                 ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/broker/broker_query.rs:407:49
[INFO] [stdout]     |
[INFO] [stdout] 407 |             Err(error) => Err(AppError::DBError(error.to_string()))?
[INFO] [stdout]     |                                                 ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/device/device_query.rs:61:27
[INFO] [stdout]     |
[INFO] [stdout]  61 |       let inserted_device = sqlx::query_as!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout]  62 | |         Device,
[INFO] [stdout]  63 | |         r#"
[INFO] [stdout]  64 | |         INSERT INTO
[INFO] [stdout] ...   |
[INFO] [stdout] 105 | |         .fetch_one(&mut *tx)
[INFO] [stdout] 106 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/device/device_query.rs:107:19
[INFO] [stdout]     |
[INFO] [stdout] 107 |         .map_err(|e| AppError::DBError(e.to_string()))?;
[INFO] [stdout]     |                   ^                    - type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 107 |         .map_err(|e: /* Type */| AppError::DBError(e.to_string()))?;
[INFO] [stdout]     |                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/device/device_query.rs:110:28
[INFO] [stdout]     |
[INFO] [stdout] 110 |       let inserted_message = sqlx::query_as!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 111 | |         DeviceMessage,
[INFO] [stdout] 112 | |         r#"
[INFO] [stdout] 113 | |         INSERT INTO
[INFO] [stdout] ...   |
[INFO] [stdout] 160 | |         .fetch_one(&mut *tx)
[INFO] [stdout] 161 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/device/device_query.rs:162:19
[INFO] [stdout]     |
[INFO] [stdout] 162 |         .map_err(|e| AppError::DBError(e.to_string()))?;
[INFO] [stdout]     |                   ^                    - type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 162 |         .map_err(|e: /* Type */| AppError::DBError(e.to_string()))?;
[INFO] [stdout]     |                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/device/device_query.rs:169:25
[INFO] [stdout]     |
[INFO] [stdout] 169 |               let scale = sqlx::query_as!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 170 | |             DeviceScale,
[INFO] [stdout] 171 | |             r#"
[INFO] [stdout] 172 | |             INSERT INTO 
[INFO] [stdout] ...   |
[INFO] [stdout] 196 | |             .fetch_one(&mut *tx)
[INFO] [stdout] 197 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/device/device_query.rs:198:23
[INFO] [stdout]     |
[INFO] [stdout] 198 |             .map_err(|e| AppError::DBError(e.to_string()))?;
[INFO] [stdout]     |                       ^                    - type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 198 |             .map_err(|e: /* Type */| AppError::DBError(e.to_string()))?;
[INFO] [stdout]     |                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/device/device_message_query.rs:9:18
[INFO] [stdout]    |
[INFO] [stdout]  9 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 10 | |         DeviceMessageSubscribe,
[INFO] [stdout] 11 | |         r#"
[INFO] [stdout] 12 | |         SELECT
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | |     ).fetch_all(pool)
[INFO] [stdout] 26 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/device/device_message_query.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |         .map_err(|error| AppError::DBError(error.to_string()))?;
[INFO] [stdout]    |                   ^^^^^                    ----- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 27 |         .map_err(|error: /* Type */| AppError::DBError(error.to_string()))?;
[INFO] [stdout]    |                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/device/device_query.rs:61:27
[INFO] [stdout]     |
[INFO] [stdout]  61 |       let inserted_device = sqlx::query_as!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout]  62 | |         Device,
[INFO] [stdout]  63 | |         r#"
[INFO] [stdout]  64 | |         INSERT INTO
[INFO] [stdout] ...   |
[INFO] [stdout] 105 | |         .fetch_one(&mut *tx)
[INFO] [stdout] 106 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/device/device_query.rs:107:19
[INFO] [stdout]     |
[INFO] [stdout] 107 |         .map_err(|e| AppError::DBError(e.to_string()))?;
[INFO] [stdout]     |                   ^                    - type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 107 |         .map_err(|e: /* Type */| AppError::DBError(e.to_string()))?;
[INFO] [stdout]     |                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/device/device_query.rs:110:28
[INFO] [stdout]     |
[INFO] [stdout] 110 |       let inserted_message = sqlx::query_as!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 111 | |         DeviceMessage,
[INFO] [stdout] 112 | |         r#"
[INFO] [stdout] 113 | |         INSERT INTO
[INFO] [stdout] ...   |
[INFO] [stdout] 160 | |         .fetch_one(&mut *tx)
[INFO] [stdout] 161 | |         .await
[INFO] [stdout]     | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/device/device_query.rs:162:19
[INFO] [stdout]     |
[INFO] [stdout] 162 |         .map_err(|e| AppError::DBError(e.to_string()))?;
[INFO] [stdout]     |                   ^                    - type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 162 |         .map_err(|e: /* Type */| AppError::DBError(e.to_string()))?;
[INFO] [stdout]     |                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/device/device_query.rs:169:25
[INFO] [stdout]     |
[INFO] [stdout] 169 |               let scale = sqlx::query_as!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 170 | |             DeviceScale,
[INFO] [stdout] 171 | |             r#"
[INFO] [stdout] 172 | |             INSERT INTO 
[INFO] [stdout] ...   |
[INFO] [stdout] 196 | |             .fetch_one(&mut *tx)
[INFO] [stdout] 197 | |             .await
[INFO] [stdout]     | |__________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/device/device_query.rs:198:23
[INFO] [stdout]     |
[INFO] [stdout] 198 |             .map_err(|e| AppError::DBError(e.to_string()))?;
[INFO] [stdout]     |                       ^                    - type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 198 |             .map_err(|e: /* Type */| AppError::DBError(e.to_string()))?;
[INFO] [stdout]     |                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/device/device_message_query.rs:9:18
[INFO] [stdout]    |
[INFO] [stdout]  9 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 10 | |         DeviceMessageSubscribe,
[INFO] [stdout] 11 | |         r#"
[INFO] [stdout] 12 | |         SELECT
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | |     ).fetch_all(pool)
[INFO] [stdout] 26 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/device/device_message_query.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |         .map_err(|error| AppError::DBError(error.to_string()))?;
[INFO] [stdout]    |                   ^^^^^                    ----- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 27 |         .map_err(|error: /* Type */| AppError::DBError(error.to_string()))?;
[INFO] [stdout]    |                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app_state`
[INFO] [stdout]  --> src/health_check/health_check_handler.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub async fn health_check(app_state: web::Data<AppState>) -> HttpResponse {
[INFO] [stdout]   |                           ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app_state`
[INFO] [stdout]  --> src/health_check/health_check_handler.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub async fn health_check(app_state: web::Data<AppState>) -> HttpResponse {
[INFO] [stdout]   |                           ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `update_options`
[INFO] [stdout]    --> src/data_store/data_store_device_query.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let update_options = UpdateOptions::builder().upsert(false).build();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `update_options`
[INFO] [stdout]    --> src/data_store/data_store_device_query.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let update_options = UpdateOptions::builder().upsert(false).build();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout]   --> src/device/device_adoption_handler.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let user = get_user_by_uuid(&app_state.db, &token.inf.uuid).await?;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page`
[INFO] [stdout]   --> src/paginate/paginate_model.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |             Some(page) => (),
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_page`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page_size`
[INFO] [stdout]   --> src/paginate/paginate_model.rs:37:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |             Some(page_size) => (),
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout]   --> src/device/device_adoption_handler.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let user = get_user_by_uuid(&app_state.db, &token.inf.uuid).await?;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page`
[INFO] [stdout]   --> src/paginate/paginate_model.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |             Some(page) => (),
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_page`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `page_size`
[INFO] [stdout]   --> src/paginate/paginate_model.rs:37:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |             Some(page_size) => (),
[INFO] [stdout]    |                  ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `device_app` (bin "device_app") due to 39 previous errors; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `device_app` (bin "device_app" test) due to 39 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "35a4c179df5b1363e1158221fb0bd6a2af08cc224721507e102aa98321a69bd9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "35a4c179df5b1363e1158221fb0bd6a2af08cc224721507e102aa98321a69bd9", kill_on_drop: false }`
[INFO] [stdout] 35a4c179df5b1363e1158221fb0bd6a2af08cc224721507e102aa98321a69bd9
