[INFO] cloning repository https://github.com/tmitchell1234/GridAwareEVServer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tmitchell1234/GridAwareEVServer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmitchell1234%2FGridAwareEVServer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmitchell1234%2FGridAwareEVServer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23659bc207959549a2ee90a2df5dd9b6ad4d5557 [INFO] checking tmitchell1234/GridAwareEVServer/23659bc207959549a2ee90a2df5dd9b6ad4d5557 against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmitchell1234%2FGridAwareEVServer" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tmitchell1234/GridAwareEVServer [INFO] finished tweaking git repo https://github.com/tmitchell1234/GridAwareEVServer [INFO] tweaked toml for git repo https://github.com/tmitchell1234/GridAwareEVServer written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tmitchell1234/GridAwareEVServer on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tmitchell1234/GridAwareEVServer 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "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 ppv-lite86 v0.2.19 [INFO] [stderr] Downloaded sqlx-macros v0.8.0 [INFO] [stderr] Downloaded actix-cors v0.7.0 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.0 [INFO] [stderr] Downloaded sqlx-core v0.8.0 [INFO] [stderr] Downloaded sqlx-mysql v0.8.0 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.0 [INFO] [stderr] Downloaded sqlx-postgres v0.8.0 [INFO] [stderr] Downloaded serde_json v1.0.121 [INFO] [stderr] Downloaded sqlx v0.8.0 [INFO] [stderr] Downloaded hyper-util v0.1.8 [INFO] [stderr] Downloaded openssl-src v300.3.1+3.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34bf09265c2b7da4fa7acd3815701df884766142eceb4d7761a304b529d551c9 [INFO] running `Command { std: "docker" "start" "-a" "34bf09265c2b7da4fa7acd3815701df884766142eceb4d7761a304b529d551c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34bf09265c2b7da4fa7acd3815701df884766142eceb4d7761a304b529d551c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34bf09265c2b7da4fa7acd3815701df884766142eceb4d7761a304b529d551c9", kill_on_drop: false }` [INFO] [stdout] 34bf09265c2b7da4fa7acd3815701df884766142eceb4d7761a304b529d551c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8323267a29cbe4e52f5b53199dbd93e93814151617a8c5a0bcf51489cda7b41 [INFO] running `Command { std: "docker" "start" "-a" "b8323267a29cbe4e52f5b53199dbd93e93814151617a8c5a0bcf51489cda7b41", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.121 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling openssl-src v300.3.1+3.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling zstd-safe v7.2.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ppv-lite86 v0.2.19 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling sqlx-core v0.8.0 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking actix-server v2.4.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.0 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-http v3.8.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.0 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Compiling sqlx-macros v0.8.0 [INFO] [stderr] Checking hyper-util v0.1.8 [INFO] [stderr] Checking actix-web v4.8.0 [INFO] [stderr] Checking actix-cors v0.7.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking sqlx v0.8.0 [INFO] [stderr] Checking grid-aware-server 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/helper_functions/helper_functions.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 70 | | r#" [INFO] [stdout] 71 | | SELECT key_data [INFO] [stdout] 72 | | FROM apikeys [INFO] [stdout] ... | [INFO] [stdout] 75 | | hashed_key [INFO] [stdout] 76 | | ) [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/helper_functions/helper_functions.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | let result = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 110 | | User, [INFO] [stdout] 111 | | "SELECT user_id, user_type, user_email, user_first_name, user_last_name, user_organization [INFO] [stdout] 112 | | FROM users [INFO] [stdout] ... | [INFO] [stdout] 115 | | hashed_password [INFO] [stdout] 116 | | ) [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/helper_functions/helper_functions.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | let key_query = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 132 | | r#" [INFO] [stdout] 133 | | SELECT key_data, user_type [INFO] [stdout] 134 | | FROM apikeys [INFO] [stdout] ... | [INFO] [stdout] 137 | | hashed_key [INFO] [stdout] 138 | | ) [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/api_endpoints/admin_endpoints.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | let all_users_query = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 68 | | User, [INFO] [stdout] 69 | | r#" [INFO] [stdout] 70 | | SELECT user_id, user_type, user_email, user_first_name, user_last_name, user_organization [INFO] [stdout] 71 | | FROM users [INFO] [stdout] 72 | | "# [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_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/api_endpoints/admin_endpoints.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | let all_devices_query = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 114 | | DeviceList, [INFO] [stdout] 115 | | r#" [INFO] [stdout] 116 | | SELECT device_id, user_id, device_mac_address [INFO] [stdout] 117 | | FROM devices [INFO] [stdout] 118 | | "# [INFO] [stdout] 119 | | ) [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/api_endpoints/admin_endpoints.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 159 | let user_devices_query = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 160 | | DeviceList, [INFO] [stdout] 161 | | r#" [INFO] [stdout] 162 | | SELECT device_id, user_id, device_mac_address [INFO] [stdout] ... | [INFO] [stdout] 166 | | params.user_id() [INFO] [stdout] 167 | | ) [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/api_endpoints/data_queries.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | let device_query = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 71 | | r#" [INFO] [stdout] 72 | | SELECT device_mac_address [INFO] [stdout] 73 | | FROM devices [INFO] [stdout] ... | [INFO] [stdout] 77 | | query_packet.device_mac_address() [INFO] [stdout] 78 | | ) [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/api_endpoints/data_queries.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | let measurements_query = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 96 | | Measurements, [INFO] [stdout] 97 | | r#" [INFO] [stdout] 98 | | SELECT * FROM measurements [INFO] [stdout] ... | [INFO] [stdout] 105 | | query_packet.time_seconds() [INFO] [stdout] 106 | | ) [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/api_endpoints/data_queries.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | let device_query = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 160 | | r#" [INFO] [stdout] 161 | | SELECT device_mac_address [INFO] [stdout] 162 | | FROM devices [INFO] [stdout] ... | [INFO] [stdout] 166 | | query_packet.device_mac_address() [INFO] [stdout] 167 | | ) [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/api_endpoints/data_queries.rs:203:30 [INFO] [stdout] | [INFO] [stdout] 203 | let measurements_query = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 204 | | Measurements, [INFO] [stdout] 205 | | r#" [INFO] [stdout] 206 | | SELECT * FROM measurements [INFO] [stdout] ... | [INFO] [stdout] 215 | | date [INFO] [stdout] 216 | | ) [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/api_endpoints/device_endpoints.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 58 | | r#" [INFO] [stdout] 59 | | INSERT INTO measurements (time, device_mac_address, is_charging, frequency, voltage, current, battery_percentage) [INFO] [stdout] 60 | | VALUES ($1, $2, $3, $4, $5, $6, $7) [INFO] [stdout] ... | [INFO] [stdout] 68 | | controller_packet.battery_percentage() [INFO] [stdout] 69 | | ) [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/api_endpoints/device_endpoints.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | let check_query = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 103 | | r#" [INFO] [stdout] 104 | | SELECT * [INFO] [stdout] 105 | | FROM devices [INFO] [stdout] ... | [INFO] [stdout] 108 | | controller_packet.device_mac_address() [INFO] [stdout] 109 | | ) [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/api_endpoints/user_endpoints.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let query = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 59 | | r#" [INFO] [stdout] 60 | | INSERT INTO Users (user_type, user_email, user_password, user_first_name, user_last_name, user_organization) [INFO] [stdout] 61 | | VALUES ($1, $2, $3, $4, $5, $6) [INFO] [stdout] ... | [INFO] [stdout] 68 | | params.user_organization() [INFO] [stdout] 69 | | ) [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/api_endpoints/user_endpoints.rs:196:24 [INFO] [stdout] | [INFO] [stdout] 196 | let insert_query = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 197 | | r#" [INFO] [stdout] 198 | | INSERT INTO devices ( user_id, device_mac_address, ip_address ) [INFO] [stdout] 199 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 203 | | client_ip [INFO] [stdout] 204 | | ) [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/api_endpoints/user_endpoints.rs:277:29 [INFO] [stdout] | [INFO] [stdout] 277 | let user_device_check = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 278 | | r#" [INFO] [stdout] 279 | | SELECT user_id, device_mac_address [INFO] [stdout] 280 | | FROM devices [INFO] [stdout] ... | [INFO] [stdout] 284 | | register_params.device_mac_address() [INFO] [stdout] 285 | | ) [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/api_endpoints/user_endpoints.rs:300:31 [INFO] [stdout] | [INFO] [stdout] 300 | let remove_device_query = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 301 | | r#" [INFO] [stdout] 302 | | DELETE FROM measurements [INFO] [stdout] 303 | | WHERE device_mac_address = $1 [INFO] [stdout] 304 | | "#, [INFO] [stdout] 305 | | register_params.device_mac_address() [INFO] [stdout] 306 | | ) [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/api_endpoints/user_endpoints.rs:323:31 [INFO] [stdout] | [INFO] [stdout] 323 | let remove_device_query = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 324 | | r#" [INFO] [stdout] 325 | | DELETE FROM devices [INFO] [stdout] 326 | | WHERE user_id = $1 AND device_mac_address = $2 [INFO] [stdout] ... | [INFO] [stdout] 329 | | register_params.device_mac_address() [INFO] [stdout] 330 | | ) [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/api_endpoints/user_endpoints.rs:378:24 [INFO] [stdout] | [INFO] [stdout] 378 | let device_query = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 379 | | Devices, [INFO] [stdout] 380 | | r#" [INFO] [stdout] 381 | | SELECT device_mac_address, ip_address [INFO] [stdout] ... | [INFO] [stdout] 385 | | user_id [INFO] [stdout] 386 | | ) [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/api_endpoints/user_endpoints.rs:429:18 [INFO] [stdout] | [INFO] [stdout] 429 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 430 | | r#" [INFO] [stdout] 431 | | SELECT * [INFO] [stdout] 432 | | FROM users [INFO] [stdout] ... | [INFO] [stdout] 435 | | reset_params.user_email() [INFO] [stdout] 436 | | ) [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/api_endpoints/user_endpoints.rs:464:18 [INFO] [stdout] | [INFO] [stdout] 464 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 465 | | r#" [INFO] [stdout] 466 | | INSERT INTO passwordcodes(user_id, user_email, reset_code) [INFO] [stdout] 467 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 471 | | reset_code [INFO] [stdout] 472 | | ) [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/api_endpoints/user_endpoints.rs:598:18 [INFO] [stdout] | [INFO] [stdout] 598 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 599 | | r#" [INFO] [stdout] 600 | | SELECT * [INFO] [stdout] 601 | | FROM passwordcodes [INFO] [stdout] ... | [INFO] [stdout] 608 | | reset_params.reset_code() [INFO] [stdout] 609 | | ) [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/helper_functions/helper_functions.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 70 | | r#" [INFO] [stdout] 71 | | SELECT key_data [INFO] [stdout] 72 | | FROM apikeys [INFO] [stdout] ... | [INFO] [stdout] 75 | | hashed_key [INFO] [stdout] 76 | | ) [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/api_endpoints/user_endpoints.rs:636:24 [INFO] [stdout] | [INFO] [stdout] 636 | let update_query = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 637 | | r#" [INFO] [stdout] 638 | | UPDATE users [INFO] [stdout] 639 | | SET user_password = $1 [INFO] [stdout] ... | [INFO] [stdout] 644 | | user_id [INFO] [stdout] 645 | | ) [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/api_endpoints/user_endpoints.rs:702:24 [INFO] [stdout] | [INFO] [stdout] 702 | let update_query = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 703 | | r#" [INFO] [stdout] 704 | | UPDATE users [INFO] [stdout] 705 | | SET user_password = $1 [INFO] [stdout] ... | [INFO] [stdout] 710 | | user_id [INFO] [stdout] 711 | | ) [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/api_endpoints/user_endpoints.rs:755:24 [INFO] [stdout] | [INFO] [stdout] 755 | let update_query = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 756 | | r#" [INFO] [stdout] 757 | | UPDATE users [INFO] [stdout] 758 | | SET user_first_name = $1 [INFO] [stdout] ... | [INFO] [stdout] 763 | | user_id [INFO] [stdout] 764 | | ) [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/api_endpoints/user_endpoints.rs:782:25 [INFO] [stdout] | [INFO] [stdout] 782 | let new_user_info = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 783 | | User, [INFO] [stdout] 784 | | r#"SELECT user_id, user_type, user_email, user_first_name, user_last_name, user_organization [INFO] [stdout] 785 | | FROM Users [INFO] [stdout] ... | [INFO] [stdout] 788 | | user_id [INFO] [stdout] 789 | | ) [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/api_endpoints/user_endpoints.rs:838:24 [INFO] [stdout] | [INFO] [stdout] 838 | let update_query = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 839 | | r#" [INFO] [stdout] 840 | | UPDATE users [INFO] [stdout] 841 | | SET user_last_name = $1 [INFO] [stdout] ... | [INFO] [stdout] 846 | | user_id [INFO] [stdout] 847 | | ) [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/api_endpoints/user_endpoints.rs:863:25 [INFO] [stdout] | [INFO] [stdout] 863 | let new_user_info = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 864 | | User, [INFO] [stdout] 865 | | r#"SELECT user_id, user_type, user_email, user_first_name, user_last_name, user_organization [INFO] [stdout] 866 | | FROM Users [INFO] [stdout] ... | [INFO] [stdout] 869 | | user_id [INFO] [stdout] 870 | | ) [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/api_endpoints/user_endpoints.rs:919:24 [INFO] [stdout] | [INFO] [stdout] 919 | let update_query = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 920 | | r#" [INFO] [stdout] 921 | | UPDATE users [INFO] [stdout] 922 | | SET user_organization = $1 [INFO] [stdout] ... | [INFO] [stdout] 927 | | user_id [INFO] [stdout] 928 | | ) [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/api_endpoints/user_endpoints.rs:944:25 [INFO] [stdout] | [INFO] [stdout] 944 | let new_user_info = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 945 | | User, [INFO] [stdout] 946 | | r#"SELECT user_id, user_type, user_email, user_first_name, user_last_name, user_organization [INFO] [stdout] 947 | | FROM Users [INFO] [stdout] ... | [INFO] [stdout] 950 | | user_id [INFO] [stdout] 951 | | ) [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/api_endpoints/user_endpoints.rs:1009:24 [INFO] [stdout] | [INFO] [stdout] 1009 | let device_query = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1010 | | Devices, [INFO] [stdout] 1011 | | r#" [INFO] [stdout] 1012 | | SELECT device_mac_address, ip_address [INFO] [stdout] ... | [INFO] [stdout] 1016 | | user_id [INFO] [stdout] 1017 | | ) [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/helper_functions/helper_functions.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | let result = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 110 | | User, [INFO] [stdout] 111 | | "SELECT user_id, user_type, user_email, user_first_name, user_last_name, user_organization [INFO] [stdout] 112 | | FROM users [INFO] [stdout] ... | [INFO] [stdout] 115 | | hashed_password [INFO] [stdout] 116 | | ) [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/helper_functions/helper_functions.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | let key_query = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 132 | | r#" [INFO] [stdout] 133 | | SELECT key_data, user_type [INFO] [stdout] 134 | | FROM apikeys [INFO] [stdout] ... | [INFO] [stdout] 137 | | hashed_key [INFO] [stdout] 138 | | ) [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/api_endpoints/admin_endpoints.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | let all_users_query = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 68 | | User, [INFO] [stdout] 69 | | r#" [INFO] [stdout] 70 | | SELECT user_id, user_type, user_email, user_first_name, user_last_name, user_organization [INFO] [stdout] 71 | | FROM users [INFO] [stdout] 72 | | "# [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_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/api_endpoints/admin_endpoints.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | let all_devices_query = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 114 | | DeviceList, [INFO] [stdout] 115 | | r#" [INFO] [stdout] 116 | | SELECT device_id, user_id, device_mac_address [INFO] [stdout] 117 | | FROM devices [INFO] [stdout] 118 | | "# [INFO] [stdout] 119 | | ) [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/api_endpoints/admin_endpoints.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 159 | let user_devices_query = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 160 | | DeviceList, [INFO] [stdout] 161 | | r#" [INFO] [stdout] 162 | | SELECT device_id, user_id, device_mac_address [INFO] [stdout] ... | [INFO] [stdout] 166 | | params.user_id() [INFO] [stdout] 167 | | ) [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/api_endpoints/data_queries.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | let device_query = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 71 | | r#" [INFO] [stdout] 72 | | SELECT device_mac_address [INFO] [stdout] 73 | | FROM devices [INFO] [stdout] ... | [INFO] [stdout] 77 | | query_packet.device_mac_address() [INFO] [stdout] 78 | | ) [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/api_endpoints/data_queries.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | let measurements_query = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 96 | | Measurements, [INFO] [stdout] 97 | | r#" [INFO] [stdout] 98 | | SELECT * FROM measurements [INFO] [stdout] ... | [INFO] [stdout] 105 | | query_packet.time_seconds() [INFO] [stdout] 106 | | ) [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/api_endpoints/data_queries.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | let device_query = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 160 | | r#" [INFO] [stdout] 161 | | SELECT device_mac_address [INFO] [stdout] 162 | | FROM devices [INFO] [stdout] ... | [INFO] [stdout] 166 | | query_packet.device_mac_address() [INFO] [stdout] 167 | | ) [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/api_endpoints/data_queries.rs:203:30 [INFO] [stdout] | [INFO] [stdout] 203 | let measurements_query = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 204 | | Measurements, [INFO] [stdout] 205 | | r#" [INFO] [stdout] 206 | | SELECT * FROM measurements [INFO] [stdout] ... | [INFO] [stdout] 215 | | date [INFO] [stdout] 216 | | ) [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/api_endpoints/device_endpoints.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 58 | | r#" [INFO] [stdout] 59 | | INSERT INTO measurements (time, device_mac_address, is_charging, frequency, voltage, current, battery_percentage) [INFO] [stdout] 60 | | VALUES ($1, $2, $3, $4, $5, $6, $7) [INFO] [stdout] ... | [INFO] [stdout] 68 | | controller_packet.battery_percentage() [INFO] [stdout] 69 | | ) [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/api_endpoints/device_endpoints.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | let check_query = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 103 | | r#" [INFO] [stdout] 104 | | SELECT * [INFO] [stdout] 105 | | FROM devices [INFO] [stdout] ... | [INFO] [stdout] 108 | | controller_packet.device_mac_address() [INFO] [stdout] 109 | | ) [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/api_endpoints/user_endpoints.rs:1047:36 [INFO] [stdout] | [INFO] [stdout] 1047 | let delete_reset_codes_query = sqlx::query!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 1048 | | r#" [INFO] [stdout] 1049 | | DELETE FROM passwordcodes [INFO] [stdout] 1050 | | WHERE user_id = $1 [INFO] [stdout] 1051 | | "#, [INFO] [stdout] 1052 | | user_id [INFO] [stdout] 1053 | | ) [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/api_endpoints/user_endpoints.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let query = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 59 | | r#" [INFO] [stdout] 60 | | INSERT INTO Users (user_type, user_email, user_password, user_first_name, user_last_name, user_organization) [INFO] [stdout] 61 | | VALUES ($1, $2, $3, $4, $5, $6) [INFO] [stdout] ... | [INFO] [stdout] 68 | | params.user_organization() [INFO] [stdout] 69 | | ) [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/api_endpoints/user_endpoints.rs:1083:24 [INFO] [stdout] | [INFO] [stdout] 1083 | let delete_query = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1084 | | r#" [INFO] [stdout] 1085 | | DELETE FROM users [INFO] [stdout] 1086 | | WHERE user_id = $1 [INFO] [stdout] 1087 | | "#, [INFO] [stdout] 1088 | | user_id [INFO] [stdout] 1089 | | ) [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/api_endpoints/user_endpoints.rs:196:24 [INFO] [stdout] | [INFO] [stdout] 196 | let insert_query = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 197 | | r#" [INFO] [stdout] 198 | | INSERT INTO devices ( user_id, device_mac_address, ip_address ) [INFO] [stdout] 199 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 203 | | client_ip [INFO] [stdout] 204 | | ) [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/api_endpoints/user_endpoints.rs:277:29 [INFO] [stdout] | [INFO] [stdout] 277 | let user_device_check = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 278 | | r#" [INFO] [stdout] 279 | | SELECT user_id, device_mac_address [INFO] [stdout] 280 | | FROM devices [INFO] [stdout] ... | [INFO] [stdout] 284 | | register_params.device_mac_address() [INFO] [stdout] 285 | | ) [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/api_endpoints/user_endpoints.rs:300:31 [INFO] [stdout] | [INFO] [stdout] 300 | let remove_device_query = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 301 | | r#" [INFO] [stdout] 302 | | DELETE FROM measurements [INFO] [stdout] 303 | | WHERE device_mac_address = $1 [INFO] [stdout] 304 | | "#, [INFO] [stdout] 305 | | register_params.device_mac_address() [INFO] [stdout] 306 | | ) [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/api_endpoints/user_endpoints.rs:323:31 [INFO] [stdout] | [INFO] [stdout] 323 | let remove_device_query = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 324 | | r#" [INFO] [stdout] 325 | | DELETE FROM devices [INFO] [stdout] 326 | | WHERE user_id = $1 AND device_mac_address = $2 [INFO] [stdout] ... | [INFO] [stdout] 329 | | register_params.device_mac_address() [INFO] [stdout] 330 | | ) [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/api_endpoints/user_endpoints.rs:378:24 [INFO] [stdout] | [INFO] [stdout] 378 | let device_query = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 379 | | Devices, [INFO] [stdout] 380 | | r#" [INFO] [stdout] 381 | | SELECT device_mac_address, ip_address [INFO] [stdout] ... | [INFO] [stdout] 385 | | user_id [INFO] [stdout] 386 | | ) [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/api_endpoints/user_endpoints.rs:429:18 [INFO] [stdout] | [INFO] [stdout] 429 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 430 | | r#" [INFO] [stdout] 431 | | SELECT * [INFO] [stdout] 432 | | FROM users [INFO] [stdout] ... | [INFO] [stdout] 435 | | reset_params.user_email() [INFO] [stdout] 436 | | ) [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/api_endpoints/user_endpoints.rs:464:18 [INFO] [stdout] | [INFO] [stdout] 464 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 465 | | r#" [INFO] [stdout] 466 | | INSERT INTO passwordcodes(user_id, user_email, reset_code) [INFO] [stdout] 467 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 471 | | reset_code [INFO] [stdout] 472 | | ) [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/api_endpoints/user_endpoints.rs:598:18 [INFO] [stdout] | [INFO] [stdout] 598 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 599 | | r#" [INFO] [stdout] 600 | | SELECT * [INFO] [stdout] 601 | | FROM passwordcodes [INFO] [stdout] ... | [INFO] [stdout] 608 | | reset_params.reset_code() [INFO] [stdout] 609 | | ) [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/api_endpoints/user_endpoints.rs:636:24 [INFO] [stdout] | [INFO] [stdout] 636 | let update_query = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 637 | | r#" [INFO] [stdout] 638 | | UPDATE users [INFO] [stdout] 639 | | SET user_password = $1 [INFO] [stdout] ... | [INFO] [stdout] 644 | | user_id [INFO] [stdout] 645 | | ) [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/api_endpoints/user_endpoints.rs:702:24 [INFO] [stdout] | [INFO] [stdout] 702 | let update_query = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 703 | | r#" [INFO] [stdout] 704 | | UPDATE users [INFO] [stdout] 705 | | SET user_password = $1 [INFO] [stdout] ... | [INFO] [stdout] 710 | | user_id [INFO] [stdout] 711 | | ) [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/api_endpoints/user_endpoints.rs:755:24 [INFO] [stdout] | [INFO] [stdout] 755 | let update_query = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 756 | | r#" [INFO] [stdout] 757 | | UPDATE users [INFO] [stdout] 758 | | SET user_first_name = $1 [INFO] [stdout] ... | [INFO] [stdout] 763 | | user_id [INFO] [stdout] 764 | | ) [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/api_endpoints/user_endpoints.rs:782:25 [INFO] [stdout] | [INFO] [stdout] 782 | let new_user_info = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 783 | | User, [INFO] [stdout] 784 | | r#"SELECT user_id, user_type, user_email, user_first_name, user_last_name, user_organization [INFO] [stdout] 785 | | FROM Users [INFO] [stdout] ... | [INFO] [stdout] 788 | | user_id [INFO] [stdout] 789 | | ) [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/api_endpoints/user_endpoints.rs:838:24 [INFO] [stdout] | [INFO] [stdout] 838 | let update_query = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 839 | | r#" [INFO] [stdout] 840 | | UPDATE users [INFO] [stdout] 841 | | SET user_last_name = $1 [INFO] [stdout] ... | [INFO] [stdout] 846 | | user_id [INFO] [stdout] 847 | | ) [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/api_endpoints/user_endpoints.rs:863:25 [INFO] [stdout] | [INFO] [stdout] 863 | let new_user_info = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 864 | | User, [INFO] [stdout] 865 | | r#"SELECT user_id, user_type, user_email, user_first_name, user_last_name, user_organization [INFO] [stdout] 866 | | FROM Users [INFO] [stdout] ... | [INFO] [stdout] 869 | | user_id [INFO] [stdout] 870 | | ) [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/api_endpoints/user_endpoints.rs:919:24 [INFO] [stdout] | [INFO] [stdout] 919 | let update_query = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 920 | | r#" [INFO] [stdout] 921 | | UPDATE users [INFO] [stdout] 922 | | SET user_organization = $1 [INFO] [stdout] ... | [INFO] [stdout] 927 | | user_id [INFO] [stdout] 928 | | ) [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/api_endpoints/user_endpoints.rs:944:25 [INFO] [stdout] | [INFO] [stdout] 944 | let new_user_info = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 945 | | User, [INFO] [stdout] 946 | | r#"SELECT user_id, user_type, user_email, user_first_name, user_last_name, user_organization [INFO] [stdout] 947 | | FROM Users [INFO] [stdout] ... | [INFO] [stdout] 950 | | user_id [INFO] [stdout] 951 | | ) [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/api_endpoints/user_endpoints.rs:1009:24 [INFO] [stdout] | [INFO] [stdout] 1009 | let device_query = sqlx::query_as!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1010 | | Devices, [INFO] [stdout] 1011 | | r#" [INFO] [stdout] 1012 | | SELECT device_mac_address, ip_address [INFO] [stdout] ... | [INFO] [stdout] 1016 | | user_id [INFO] [stdout] 1017 | | ) [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/api_endpoints/user_endpoints.rs:1047:36 [INFO] [stdout] | [INFO] [stdout] 1047 | let delete_reset_codes_query = sqlx::query!( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 1048 | | r#" [INFO] [stdout] 1049 | | DELETE FROM passwordcodes [INFO] [stdout] 1050 | | WHERE user_id = $1 [INFO] [stdout] 1051 | | "#, [INFO] [stdout] 1052 | | user_id [INFO] [stdout] 1053 | | ) [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/api_endpoints/user_endpoints.rs:1083:24 [INFO] [stdout] | [INFO] [stdout] 1083 | let delete_query = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 1084 | | r#" [INFO] [stdout] 1085 | | DELETE FROM users [INFO] [stdout] 1086 | | WHERE user_id = $1 [INFO] [stdout] 1087 | | "#, [INFO] [stdout] 1088 | | user_id [INFO] [stdout] 1089 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeviceList` and `User` [INFO] [stdout] --> src/api_endpoints/admin_endpoints.rs:22:74 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::structs::structs::{AdminGenericPacket, AdminUserDevicePacket, DeviceList, User}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Measurements` [INFO] [stdout] --> src/api_endpoints/data_queries.rs:23:72 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::structs::structs::{ DataQueryByDatePacket, DataQueryPacket, Measurements }; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Devices` and `User` [INFO] [stdout] --> src/api_endpoints/user_endpoints.rs:28:51 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::structs::structs::{ DeviceQueryPacket, Devices, NewUserParams, PasswordResetCodePacket, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | PasswordResetPacket, PasswordUpdatePacket, RegisterDevicePacket, [INFO] [stdout] 30 | UpdateUserNamePacket, UpdateUserOrgPacket, User, UserDeletePacket, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeviceList` and `User` [INFO] [stdout] --> src/api_endpoints/admin_endpoints.rs:22:74 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::structs::structs::{AdminGenericPacket, AdminUserDevicePacket, DeviceList, User}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Measurements` [INFO] [stdout] --> src/api_endpoints/data_queries.rs:23:72 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::structs::structs::{ DataQueryByDatePacket, DataQueryPacket, Measurements }; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Devices` and `User` [INFO] [stdout] --> src/api_endpoints/user_endpoints.rs:28:51 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::structs::structs::{ DeviceQueryPacket, Devices, NewUserParams, PasswordResetCodePacket, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | PasswordResetPacket, PasswordUpdatePacket, RegisterDevicePacket, [INFO] [stdout] 30 | UpdateUserNamePacket, UpdateUserOrgPacket, User, UserDeletePacket, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grid-aware-server` (bin "grid-aware-server" test) due to 32 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `grid-aware-server` (bin "grid-aware-server") due to 32 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b8323267a29cbe4e52f5b53199dbd93e93814151617a8c5a0bcf51489cda7b41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8323267a29cbe4e52f5b53199dbd93e93814151617a8c5a0bcf51489cda7b41", kill_on_drop: false }` [INFO] [stdout] b8323267a29cbe4e52f5b53199dbd93e93814151617a8c5a0bcf51489cda7b41