[INFO] cloning repository https://github.com/webmentordev/axum-nuxt-inventory-system
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/webmentordev/axum-nuxt-inventory-system" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebmentordev%2Faxum-nuxt-inventory-system", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebmentordev%2Faxum-nuxt-inventory-system'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0b14c5d88854bcf1b899698ec8f08270a3228940
[INFO] checking webmentordev/axum-nuxt-inventory-system against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebmentordev%2Faxum-nuxt-inventory-system" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/webmentordev/axum-nuxt-inventory-system
[INFO] finished tweaking git repo https://github.com/webmentordev/axum-nuxt-inventory-system
[INFO] tweaked toml for git repo https://github.com/webmentordev/axum-nuxt-inventory-system written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/webmentordev/axum-nuxt-inventory-system on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/webmentordev/axum-nuxt-inventory-system 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 75b11a75b730708b4e0d5dc5a6b32fee5715a5282fec72e131918541eb0904a8
[INFO] running `Command { std: "docker" "start" "75b11a75b730708b4e0d5dc5a6b32fee5715a5282fec72e131918541eb0904a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "75b11a75b730708b4e0d5dc5a6b32fee5715a5282fec72e131918541eb0904a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "75b11a75b730708b4e0d5dc5a6b32fee5715a5282fec72e131918541eb0904a8" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "75b11a75b730708b4e0d5dc5a6b32fee5715a5282fec72e131918541eb0904a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "75b11a75b730708b4e0d5dc5a6b32fee5715a5282fec72e131918541eb0904a8" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]    Compiling zeroize_derive v1.5.0
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling typenum v1.20.1
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.22
[INFO] [stderr]     Checking log v0.4.33
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking mio v1.2.2
[INFO] [stderr]     Checking hybrid-array v0.4.14
[INFO] [stderr]     Checking zeroize v1.9.0
[INFO] [stderr]    Compiling cc v1.4.3
[INFO] [stderr]     Checking der v0.7.10
[INFO] [stderr]    Compiling litemap v0.8.3
[INFO] [stderr]    Compiling writeable v0.6.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking arrayvec v0.7.8
[INFO] [stderr]     Checking crypto-common v0.2.2
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking block-buffer v0.12.1
[INFO] [stderr]     Checking crossbeam-epoch v0.9.21
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling cmov v0.5.4
[INFO] [stderr]     Checking crossbeam-deque v0.8.8
[INFO] [stderr]    Compiling ctutils v0.4.2
[INFO] [stderr]     Checking digest v0.11.3
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]    Compiling icu_properties_data v2.3.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.3.0
[INFO] [stderr]    Compiling equator-macro v0.4.2
[INFO] [stderr]    Compiling futures-core v0.3.34
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking bitflags v2.13.1
[INFO] [stderr]     Checking futures-util v0.3.34
[INFO] [stderr]     Checking tinyvec v1.12.0
[INFO] [stderr]     Checking rayon-core v1.13.0
[INFO] [stderr]     Checking equator v0.4.2
[INFO] [stderr]     Checking getrandom v0.4.3
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking aligned-vec v0.6.4
[INFO] [stderr]     Checking unicode-normalization v0.1.25
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking chacha20 v0.10.1
[INFO] [stderr]     Checking hmac v0.13.0
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking ff v0.13.1
[INFO] [stderr]    Compiling socket2 v0.6.5
[INFO] [stderr]    Compiling rand_core v0.10.1
[INFO] [stderr]    Compiling bytes v1.12.1
[INFO] [stderr]    Compiling rust_decimal v1.42.1
[INFO] [stderr]    Compiling thiserror v2.0.20
[INFO] [stderr]    Compiling futures-sink v0.3.34
[INFO] [stderr]    Compiling foldhash v0.2.0
[INFO] [stderr]    Compiling cpufeatures v0.3.0
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]     Checking rand v0.10.2
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking v_frame v0.3.9
[INFO] [stderr]    Compiling tokio v1.53.1
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking sha2 v0.11.0
[INFO] [stderr]     Checking md-5 v0.11.0
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]     Checking as-slice v0.2.1
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]     Checking bytemuck v1.25.2
[INFO] [stderr]    Compiling futures-task v0.3.34
[INFO] [stderr]    Compiling built v0.8.1
[INFO] [stderr]     Checking spin v0.9.9
[INFO] [stderr]    Compiling futures-io v0.3.34
[INFO] [stderr]    Compiling av-scenechange v0.14.1
[INFO] [stderr]     Checking postgres-protocol v0.6.12
[INFO] [stderr]    Compiling rav1e v0.8.1
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling zerovec-derive v0.11.4
[INFO] [stderr]    Compiling displaydoc v0.2.7
[INFO] [stderr]    Compiling thiserror-impl v2.0.20
[INFO] [stderr]    Compiling tokio-macros v2.7.2
[INFO] [stderr]    Compiling zerotrie v0.2.5
[INFO] [stderr]    Compiling zerovec v0.11.7
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]     Checking tinystr v0.8.4
[INFO] [stderr]     Checking potential_utf v0.1.6
[INFO] [stderr]     Checking icu_locale_core v2.3.0
[INFO] [stderr]     Checking icu_collections v2.3.0
[INFO] [stderr]    Compiling chrono v0.4.45
[INFO] [stderr]    Compiling tokio-stream v0.1.19
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]     Checking icu_provider v2.3.0
[INFO] [stderr]     Checking icu_properties v2.3.0
[INFO] [stderr]    Compiling event-listener v5.4.2
[INFO] [stderr]     Checking serde v1.0.229
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]     Checking either v1.17.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking icu_normalizer v2.3.0
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking aligned v0.4.3
[INFO] [stderr]    Compiling crossbeam-queue v0.3.13
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]    Compiling hashlink v0.11.1
[INFO] [stderr]     Checking crc32fast v1.5.2
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking miniz_oxide v0.9.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rustls-pki-types v1.15.1
[INFO] [stderr]     Checking no_std_io2 v0.9.4
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling profiling-procmacros v1.0.18
[INFO] [stderr]    Compiling pulp v0.22.3
[INFO] [stderr]    Compiling pastey v0.1.1
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling uuid v1.24.1
[INFO] [stderr]     Checking y4m v0.8.0
[INFO] [stderr]     Checking quick-error v2.0.1
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]     Checking profiling v1.0.18
[INFO] [stderr]     Checking flate2 v1.1.10
[INFO] [stderr]     Checking bitstream-io v4.10.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling hkdf v0.13.0
[INFO] [stderr]    Compiling sqlx-core v0.9.0
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking av1-grain v0.2.5
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]     Checking maybe-rayon v0.1.1
[INFO] [stderr]     Checking postgres-types v0.2.14
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]    Compiling futures-channel v0.3.34
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking raw-cpuid v11.6.0
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]     Checking imgref v1.12.3
[INFO] [stderr]    Compiling glob v0.3.4
[INFO] [stderr]     Checking pulp-wasm-simd-flag v0.1.1
[INFO] [stderr]     Checking reborrow v0.5.5
[INFO] [stderr]     Checking weezl v0.1.12
[INFO] [stderr]    Compiling rustls v0.23.45
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]     Checking zune-core v0.5.3
[INFO] [stderr]    Compiling whoami v2.1.3
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]     Checking zune-jpeg v0.5.15
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling libwebp-sys v0.9.6
[INFO] [stderr]     Checking loop9 v0.1.5
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking rustls-webpki v0.103.15
[INFO] [stderr]     Checking rand v0.8.7
[INFO] [stderr]     Checking primeorder v0.13.6
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking avif-serialize v0.8.9
[INFO] [stderr]     Checking num-iter v0.1.46
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling sqlx-postgres v0.9.0
[INFO] [stderr]     Checking lebe v0.5.3
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking bit_field v0.10.3
[INFO] [stderr]     Checking rgb v0.8.53
[INFO] [stderr]     Checking fax v0.2.7
[INFO] [stderr]     Checking num-bigint-dig v0.8.6
[INFO] [stderr]     Checking tiff v0.11.3
[INFO] [stderr]     Checking gif v0.14.2
[INFO] [stderr]     Checking hyper v1.11.0
[INFO] [stderr]     Checking image-webp v0.2.4
[INFO] [stderr]     Checking png v0.18.1
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking pkcs1 v0.7.5
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking rsa v0.9.10
[INFO] [stderr]     Checking email-encoding v0.4.2
[INFO] [stderr]     Checking multer v3.1.0
[INFO] [stderr]     Checking ed25519-dalek v2.2.0
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking exr v1.74.2
[INFO] [stderr]     Checking ravif v0.13.0
[INFO] [stderr]     Checking p256 v0.13.2
[INFO] [stderr]     Checking p384 v0.13.1
[INFO] [stderr]     Checking tokio-util v0.7.19
[INFO] [stderr]     Checking webpki-roots v1.0.9
[INFO] [stderr]    Compiling async-trait v0.1.92
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking tokio-rustls v0.26.6
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking quoted_printable v0.5.2
[INFO] [stderr]     Checking email_address v0.2.9
[INFO] [stderr]     Checking http-range-header v0.4.2
[INFO] [stderr]     Checking tower-http v0.7.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.9.0
[INFO] [stderr]     Checking axum v0.8.9
[INFO] [stderr]     Checking lettre v0.11.23
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking jsonwebtoken v11.0.0
[INFO] [stderr]     Checking image v0.25.10
[INFO] [stderr]    Compiling sqlx-macros v0.9.0
[INFO] [stderr]     Checking sqlx v0.9.0
[INFO] [stderr]     Checking webp v0.3.1
[INFO] [stderr]     Checking inventory 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/auth.rs:94:17
[INFO] [stdout]    |
[INFO] [stdout] 94 |       let users = sqlx::query_as!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 95 | |         User,
[INFO] [stdout] 96 | |         r#"SELECT id, name, email, password_hash, is_admin, is_active, last_login_at, created_at, updated_at
[INFO] [stdout] 97 | |            FROM users
[INFO] [stdout] 98 | |            ORDER BY created_at DESC"#
[INFO] [stdout] 99 | |     )
[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/auth.rs:136:5
[INFO] [stdout]     |
[INFO] [stdout] 136 |     sqlx::query!("LOCK TABLE users IN SHARE ROW EXCLUSIVE MODE")
[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/auth.rs:141:26
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let existing_count = sqlx::query_scalar!("SELECT COUNT(*) FROM users")
[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/auth.rs:149:16
[INFO] [stdout]     |
[INFO] [stdout] 149 |       let user = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 150 | |         User,
[INFO] [stdout] 151 | |         r#"INSERT INTO users (name, email, password_hash, is_admin)
[INFO] [stdout] 152 | |            VALUES ($1, $2, $3, $4)
[INFO] [stdout] ...   |
[INFO] [stdout] 157 | |         is_admin
[INFO] [stdout] 158 | |     )
[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/auth.rs:183:16
[INFO] [stdout]     |
[INFO] [stdout] 183 |       let user = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 184 | |         User,
[INFO] [stdout] 185 | |         r#"SELECT id, name, email, password_hash, is_admin, is_active, last_login_at, created_at, updated_at
[INFO] [stdout] 186 | |            FROM users
[INFO] [stdout] 187 | |            WHERE LOWER(email) = $1"#,
[INFO] [stdout] 188 | |         email
[INFO] [stdout] 189 | |     )
[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/auth.rs:206:22
[INFO] [stdout]     |
[INFO] [stdout] 206 |       let auth_state = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 207 | |         "SELECT token_version, email_verified_at FROM users WHERE id = $1",
[INFO] [stdout] 208 | |         user.id
[INFO] [stdout] 209 | |     )
[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/auth.rs:224:5
[INFO] [stdout]     |
[INFO] [stdout] 224 | /     sqlx::query!(
[INFO] [stdout] 225 | |         "UPDATE users SET last_login_at = NOW() WHERE id = $1",
[INFO] [stdout] 226 | |         user.id
[INFO] [stdout] 227 | |     )
[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/auth.rs:260:16
[INFO] [stdout]     |
[INFO] [stdout] 260 |       let user = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 261 | |         User,
[INFO] [stdout] 262 | |         r#"SELECT id, name, email, password_hash, is_admin, is_active, last_login_at, created_at, updated_at
[INFO] [stdout] 263 | |            FROM users
[INFO] [stdout] 264 | |            WHERE id = $1"#,
[INFO] [stdout] 265 | |         uuid
[INFO] [stdout] 266 | |     )
[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/auth.rs:276:14
[INFO] [stdout]     |
[INFO] [stdout] 276 |       let id = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 277 | |         r#"SELECT id FROM users
[INFO] [stdout] 278 | |            WHERE is_admin = TRUE
[INFO] [stdout] 279 | |            ORDER BY created_at ASC
[INFO] [stdout] 280 | |            LIMIT 1"#
[INFO] [stdout] 281 | |     )
[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/auth.rs:309:16
[INFO] [stdout]     |
[INFO] [stdout] 309 |       let user = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 310 | |         User,
[INFO] [stdout] 311 | |         r#"UPDATE users
[INFO] [stdout] 312 | |            SET name = COALESCE($1, name),
[INFO] [stdout] ...   |
[INFO] [stdout] 327 | |         uuid
[INFO] [stdout] 328 | |     )
[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/auth.rs:357:18
[INFO] [stdout]     |
[INFO] [stdout] 357 |     let result = sqlx::query!("DELETE FROM users WHERE id = $1", uuid)
[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/dashboard/audit_logs.rs:41:16
[INFO] [stdout]    |
[INFO] [stdout] 41 |       let logs = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 42 | |         AuditLog,
[INFO] [stdout] 43 | |         r#"SELECT id, user_id, action, entity_type, entity_id, status, details, created_at
[INFO] [stdout] 44 | |            FROM audit_logs
[INFO] [stdout] ...  |
[INFO] [stdout] 56 | |         offset
[INFO] [stdout] 57 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/dashboard/barcodes.rs:70:20
[INFO] [stdout]    |
[INFO] [stdout] 70 |       let barcodes = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 71 | |         Barcode,
[INFO] [stdout] 72 | |         r#"SELECT
[INFO] [stdout] 73 | |                b.id,
[INFO] [stdout] ...  |
[INFO] [stdout] 83 | |            ORDER BY b.created_at DESC"#
[INFO] [stdout] 84 | |     )
[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/dashboard/barcodes.rs:104:19
[INFO] [stdout]     |
[INFO] [stdout] 104 |       let barcode = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 105 | |         Barcode,
[INFO] [stdout] 106 | |         r#"INSERT INTO barcodes (product_id, code, type)
[INFO] [stdout] 107 | |            VALUES ($1, $2, $3)
[INFO] [stdout] ...   |
[INFO] [stdout] 119 | |         payload.barcode_type as BarcodeType
[INFO] [stdout] 120 | |     )
[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/dashboard/barcodes.rs:164:23
[INFO] [stdout]     |
[INFO] [stdout] 164 |           let attempt = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 165 | |             Barcode,
[INFO] [stdout] 166 | |             r#"INSERT INTO barcodes (product_id, code, type)
[INFO] [stdout] 167 | |                VALUES ($1, $2, $3)
[INFO] [stdout] ...   |
[INFO] [stdout] 179 | |             entry.barcode_type as BarcodeType
[INFO] [stdout] 180 | |         )
[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/dashboard/barcodes.rs:207:19
[INFO] [stdout]     |
[INFO] [stdout] 207 |       let barcode = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 208 | |         Barcode,
[INFO] [stdout] 209 | |         r#"SELECT
[INFO] [stdout] 210 | |                b.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 221 | |         uuid
[INFO] [stdout] 222 | |     )
[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/dashboard/barcodes.rs:236:19
[INFO] [stdout]     |
[INFO] [stdout] 236 |       let barcode = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 237 | |         Barcode,
[INFO] [stdout] 238 | |         r#"UPDATE barcodes b
[INFO] [stdout] 239 | |            SET product_id = COALESCE($1, b.product_id),
[INFO] [stdout] ...   |
[INFO] [stdout] 253 | |         uuid
[INFO] [stdout] 254 | |     )
[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/dashboard/barcodes.rs:267:18
[INFO] [stdout]     |
[INFO] [stdout] 267 |     let result = sqlx::query!("DELETE FROM barcodes WHERE id = $1", uuid)
[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/dashboard/brands.rs:66:16
[INFO] [stdout]    |
[INFO] [stdout] 66 |       let rows = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 67 | |         BrandRow,
[INFO] [stdout] 68 | |         r#"SELECT b.id, b.name, b.slug, b.description, b.is_active, b.created_at, b.updated_at,
[INFO] [stdout] 69 | |                   COUNT(p.id) as "products_count!"
[INFO] [stdout] ...  |
[INFO] [stdout] 73 | |            ORDER BY b.created_at DESC"#
[INFO] [stdout] 74 | |     )
[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/dashboard/brands.rs:81:19
[INFO] [stdout]    |
[INFO] [stdout] 81 |       let uploads = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 82 | |         Upload,
[INFO] [stdout] 83 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 84 | |            FROM uploads
[INFO] [stdout] 85 | |            WHERE brand_id = ANY($1)"#,
[INFO] [stdout] 86 | |         &ids
[INFO] [stdout] 87 | |     )
[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/dashboard/brands.rs:123:15
[INFO] [stdout]     |
[INFO] [stdout] 123 |       let row = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 124 | |         BrandRow,
[INFO] [stdout] 125 | |         r#"SELECT b.id, b.name, b.slug, b.description, b.is_active, b.created_at, b.updated_at,
[INFO] [stdout] 126 | |                   COUNT(p.id) as "products_count!"
[INFO] [stdout] ...   |
[INFO] [stdout] 131 | |         uuid
[INFO] [stdout] 132 | |     )
[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/dashboard/brands.rs:138:19
[INFO] [stdout]     |
[INFO] [stdout] 138 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 139 | |         Upload,
[INFO] [stdout] 140 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 141 | |            FROM uploads
[INFO] [stdout] 142 | |            WHERE brand_id = $1"#,
[INFO] [stdout] 143 | |         uuid
[INFO] [stdout] 144 | |     )
[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/dashboard/brands.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 |       let brand = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 172 | |         Brand,
[INFO] [stdout] 173 | |         r#"INSERT INTO brands (name, slug, description)
[INFO] [stdout] 174 | |            VALUES ($1, $2, $3)
[INFO] [stdout] ...   |
[INFO] [stdout] 178 | |         payload.description
[INFO] [stdout] 179 | |     )
[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/dashboard/brands.rs:211:17
[INFO] [stdout]     |
[INFO] [stdout] 211 |       let brand = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 212 | |         Brand,
[INFO] [stdout] 213 | |         r#"UPDATE brands
[INFO] [stdout] 214 | |            SET name = COALESCE($1, name),
[INFO] [stdout] ...   |
[INFO] [stdout] 225 | |         uuid
[INFO] [stdout] 226 | |     )
[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/dashboard/brands.rs:260:18
[INFO] [stdout]     |
[INFO] [stdout] 260 |     let result = sqlx::query!("DELETE FROM brands WHERE id = $1", uuid)
[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/auth.rs:94:17
[INFO] [stdout]    |
[INFO] [stdout] 94 |       let users = sqlx::query_as!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 95 | |         User,
[INFO] [stdout] 96 | |         r#"SELECT id, name, email, password_hash, is_admin, is_active, last_login_at, created_at, updated_at
[INFO] [stdout] 97 | |            FROM users
[INFO] [stdout] 98 | |            ORDER BY created_at DESC"#
[INFO] [stdout] 99 | |     )
[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/auth.rs:136:5
[INFO] [stdout]     |
[INFO] [stdout] 136 |     sqlx::query!("LOCK TABLE users IN SHARE ROW EXCLUSIVE MODE")
[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/auth.rs:141:26
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let existing_count = sqlx::query_scalar!("SELECT COUNT(*) FROM users")
[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/auth.rs:149:16
[INFO] [stdout]     |
[INFO] [stdout] 149 |       let user = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 150 | |         User,
[INFO] [stdout] 151 | |         r#"INSERT INTO users (name, email, password_hash, is_admin)
[INFO] [stdout] 152 | |            VALUES ($1, $2, $3, $4)
[INFO] [stdout] ...   |
[INFO] [stdout] 157 | |         is_admin
[INFO] [stdout] 158 | |     )
[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/auth.rs:183:16
[INFO] [stdout]     |
[INFO] [stdout] 183 |       let user = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 184 | |         User,
[INFO] [stdout] 185 | |         r#"SELECT id, name, email, password_hash, is_admin, is_active, last_login_at, created_at, updated_at
[INFO] [stdout] 186 | |            FROM users
[INFO] [stdout] 187 | |            WHERE LOWER(email) = $1"#,
[INFO] [stdout] 188 | |         email
[INFO] [stdout] 189 | |     )
[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/auth.rs:206:22
[INFO] [stdout]     |
[INFO] [stdout] 206 |       let auth_state = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 207 | |         "SELECT token_version, email_verified_at FROM users WHERE id = $1",
[INFO] [stdout] 208 | |         user.id
[INFO] [stdout] 209 | |     )
[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/dashboard/categories.rs:73:16
[INFO] [stdout]    |
[INFO] [stdout] 73 |       let rows = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 74 | |         CategoryRow,
[INFO] [stdout] 75 | |         r#"SELECT c.id, c.name, c.slug, c.description, c.is_active, c.is_featured, c.created_at, c.updated_at,
[INFO] [stdout] 76 | |                   COUNT(DISTINCT p.id) as "products_count!",
[INFO] [stdout] ...  |
[INFO] [stdout] 82 | |            ORDER BY c.created_at DESC"#
[INFO] [stdout] 83 | |     )
[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/dashboard/categories.rs:90:19
[INFO] [stdout]    |
[INFO] [stdout] 90 |       let uploads = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 91 | |     Upload,
[INFO] [stdout] 92 | |     r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 93 | |        FROM uploads
[INFO] [stdout] 94 | |        WHERE category_id = ANY($1)"#,
[INFO] [stdout] 95 | |     &ids
[INFO] [stdout] 96 | | )
[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/auth.rs:224:5
[INFO] [stdout]     |
[INFO] [stdout] 224 | /     sqlx::query!(
[INFO] [stdout] 225 | |         "UPDATE users SET last_login_at = NOW() WHERE id = $1",
[INFO] [stdout] 226 | |         user.id
[INFO] [stdout] 227 | |     )
[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/dashboard/categories.rs:134:15
[INFO] [stdout]     |
[INFO] [stdout] 134 |       let row = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 135 | |         CategoryRow,
[INFO] [stdout] 136 | |         r#"SELECT c.id, c.name, c.slug, c.description, c.is_active, c.is_featured, c.created_at, c.updated_at,
[INFO] [stdout] 137 | |                   COUNT(DISTINCT p.id) as "products_count!",
[INFO] [stdout] ...   |
[INFO] [stdout] 144 | |         uuid
[INFO] [stdout] 145 | |     )
[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/auth.rs:260:16
[INFO] [stdout]     |
[INFO] [stdout] 260 |       let user = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 261 | |         User,
[INFO] [stdout] 262 | |         r#"SELECT id, name, email, password_hash, is_admin, is_active, last_login_at, created_at, updated_at
[INFO] [stdout] 263 | |            FROM users
[INFO] [stdout] 264 | |            WHERE id = $1"#,
[INFO] [stdout] 265 | |         uuid
[INFO] [stdout] 266 | |     )
[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/auth.rs:276:14
[INFO] [stdout]     |
[INFO] [stdout] 276 |       let id = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 277 | |         r#"SELECT id FROM users
[INFO] [stdout] 278 | |            WHERE is_admin = TRUE
[INFO] [stdout] 279 | |            ORDER BY created_at ASC
[INFO] [stdout] 280 | |            LIMIT 1"#
[INFO] [stdout] 281 | |     )
[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/dashboard/categories.rs:151:19
[INFO] [stdout]     |
[INFO] [stdout] 151 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 152 | |     Upload,
[INFO] [stdout] 153 | |     r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 154 | |        FROM uploads
[INFO] [stdout] 155 | |        WHERE category_id = $1"#,
[INFO] [stdout] 156 | |     uuid
[INFO] [stdout] 157 | | )
[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/auth.rs:309:16
[INFO] [stdout]     |
[INFO] [stdout] 309 |       let user = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 310 | |         User,
[INFO] [stdout] 311 | |         r#"UPDATE users
[INFO] [stdout] 312 | |            SET name = COALESCE($1, name),
[INFO] [stdout] ...   |
[INFO] [stdout] 327 | |         uuid
[INFO] [stdout] 328 | |     )
[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/auth.rs:357:18
[INFO] [stdout]     |
[INFO] [stdout] 357 |     let result = sqlx::query!("DELETE FROM users WHERE id = $1", uuid)
[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/dashboard/categories.rs:184:20
[INFO] [stdout]     |
[INFO] [stdout] 184 |       let category = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 185 | |         Category,
[INFO] [stdout] 186 | |         r#"INSERT INTO categories (name, slug, description)
[INFO] [stdout] 187 | |            VALUES ($1, $2, $3)
[INFO] [stdout] ...   |
[INFO] [stdout] 191 | |         payload.description,
[INFO] [stdout] 192 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/dashboard/categories.rs:224:20
[INFO] [stdout]     |
[INFO] [stdout] 224 |       let category = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 225 | |         Category,
[INFO] [stdout] 226 | |         r#"UPDATE categories
[INFO] [stdout] 227 | |            SET name = COALESCE($1, name),
[INFO] [stdout] ...   |
[INFO] [stdout] 240 | |         uuid,
[INFO] [stdout] 241 | |     )
[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/dashboard/categories.rs:276:18
[INFO] [stdout]     |
[INFO] [stdout] 276 |     let result = sqlx::query!("DELETE FROM categories WHERE id = $1", uuid)
[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/dashboard/contacts.rs:36:19
[INFO] [stdout]    |
[INFO] [stdout] 36 |       let contact = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 37 | |         Contact,
[INFO] [stdout] 38 | |         r#"INSERT INTO contacts (name, email, subject, message)
[INFO] [stdout] 39 | |            VALUES ($1, $2, $3, $4)
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |         payload.message
[INFO] [stdout] 45 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/dashboard/contacts.rs:54:20
[INFO] [stdout]    |
[INFO] [stdout] 54 |       let contacts = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 55 | |         Contact,
[INFO] [stdout] 56 | |         r#"SELECT id, name, email, subject, message, created_at
[INFO] [stdout] 57 | |            FROM contacts
[INFO] [stdout] 58 | |            ORDER BY created_at DESC"#
[INFO] [stdout] 59 | |     )
[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/dashboard/contacts.rs:72:18
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let result = sqlx::query!("DELETE FROM contacts WHERE id = $1", uuid)
[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/dashboard/audit_logs.rs:41:16
[INFO] [stdout]    |
[INFO] [stdout] 41 |       let logs = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 42 | |         AuditLog,
[INFO] [stdout] 43 | |         r#"SELECT id, user_id, action, entity_type, entity_id, status, details, created_at
[INFO] [stdout] 44 | |            FROM audit_logs
[INFO] [stdout] ...  |
[INFO] [stdout] 56 | |         offset
[INFO] [stdout] 57 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/dashboard/barcodes.rs:70:20
[INFO] [stdout]    |
[INFO] [stdout] 70 |       let barcodes = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 71 | |         Barcode,
[INFO] [stdout] 72 | |         r#"SELECT
[INFO] [stdout] 73 | |                b.id,
[INFO] [stdout] ...  |
[INFO] [stdout] 83 | |            ORDER BY b.created_at DESC"#
[INFO] [stdout] 84 | |     )
[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/dashboard/barcodes.rs:104:19
[INFO] [stdout]     |
[INFO] [stdout] 104 |       let barcode = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 105 | |         Barcode,
[INFO] [stdout] 106 | |         r#"INSERT INTO barcodes (product_id, code, type)
[INFO] [stdout] 107 | |            VALUES ($1, $2, $3)
[INFO] [stdout] ...   |
[INFO] [stdout] 119 | |         payload.barcode_type as BarcodeType
[INFO] [stdout] 120 | |     )
[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/dashboard/barcodes.rs:164:23
[INFO] [stdout]     |
[INFO] [stdout] 164 |           let attempt = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 165 | |             Barcode,
[INFO] [stdout] 166 | |             r#"INSERT INTO barcodes (product_id, code, type)
[INFO] [stdout] 167 | |                VALUES ($1, $2, $3)
[INFO] [stdout] ...   |
[INFO] [stdout] 179 | |             entry.barcode_type as BarcodeType
[INFO] [stdout] 180 | |         )
[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/dashboard/barcodes.rs:207:19
[INFO] [stdout]     |
[INFO] [stdout] 207 |       let barcode = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 208 | |         Barcode,
[INFO] [stdout] 209 | |         r#"SELECT
[INFO] [stdout] 210 | |                b.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 221 | |         uuid
[INFO] [stdout] 222 | |     )
[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/dashboard/barcodes.rs:236:19
[INFO] [stdout]     |
[INFO] [stdout] 236 |       let barcode = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 237 | |         Barcode,
[INFO] [stdout] 238 | |         r#"UPDATE barcodes b
[INFO] [stdout] 239 | |            SET product_id = COALESCE($1, b.product_id),
[INFO] [stdout] ...   |
[INFO] [stdout] 253 | |         uuid
[INFO] [stdout] 254 | |     )
[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/dashboard/barcodes.rs:267:18
[INFO] [stdout]     |
[INFO] [stdout] 267 |     let result = sqlx::query!("DELETE FROM barcodes WHERE id = $1", uuid)
[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/dashboard/orders.rs:191:16
[INFO] [stdout]     |
[INFO] [stdout] 191 |       let rows = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 192 | |         r#"SELECT order_item_id as "order_item_id!", code
[INFO] [stdout] 193 | |            FROM barcodes
[INFO] [stdout] 194 | |            WHERE order_item_id = ANY($1)
[INFO] [stdout] 195 | |            ORDER BY code ASC"#,
[INFO] [stdout] 196 | |         item_ids
[INFO] [stdout] 197 | |     )
[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/dashboard/orders.rs:213:16
[INFO] [stdout]     |
[INFO] [stdout] 213 |       let rows = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 214 | |         r#"SELECT code FROM barcodes WHERE order_item_id = $1 ORDER BY code ASC"#,
[INFO] [stdout] 215 | |         item_id
[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` (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/dashboard/orders.rs:235:15
[INFO] [stdout]     |
[INFO] [stdout] 235 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 236 | |         "SELECT product_id, is_sold FROM barcodes WHERE code = $1",
[INFO] [stdout] 237 | |         code
[INFO] [stdout] 238 | |     )
[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/dashboard/orders.rs:269:16
[INFO] [stdout]     |
[INFO] [stdout] 269 |       let rows = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 270 | |         r#"SELECT o.id, o.user_id, o.order_number, o.customer_name, o.customer_email, o.customer_phone,
[INFO] [stdout] 271 | |                   o.shipping_address, o.status as "status: OrderStatus", o.subtotal, o.tax_amount,
[INFO] [stdout] 272 | |                   o.shipping_amount, o.total_amount, o.notes, o.created_at, o.updated_at,
[INFO] [stdout] ...   |
[INFO] [stdout] 278 | |            ORDER BY o.created_at DESC"#
[INFO] [stdout] 279 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/dashboard/orders.rs:316:17
[INFO] [stdout]     |
[INFO] [stdout] 316 |       let order = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 317 | |         Order,
[INFO] [stdout] 318 | |         r#"SELECT id, user_id, order_number, customer_name, customer_email, customer_phone,
[INFO] [stdout] 319 | |                   shipping_address, status as "status: OrderStatus", subtotal, tax_amount,
[INFO] [stdout] ...   |
[INFO] [stdout] 323 | |         uuid
[INFO] [stdout] 324 | |     )
[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/dashboard/orders.rs:330:17
[INFO] [stdout]     |
[INFO] [stdout] 330 |       let items = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 331 | |         OrderItem,
[INFO] [stdout] 332 | |         r#"SELECT id, order_id, product_id, product_name, product_sku, unit_price, quantity, line_total,
[INFO] [stdout] 333 | |                   status as "status: OrderItemStatus", created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 337 | |         uuid
[INFO] [stdout] 338 | |     )
[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/dashboard/orders.rs:376:17
[INFO] [stdout]     |
[INFO] [stdout] 376 |       let order = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 377 | |         Order,
[INFO] [stdout] 378 | |         r#"SELECT id, user_id, order_number, customer_name, customer_email, customer_phone,
[INFO] [stdout] 379 | |                   shipping_address, status as "status: OrderStatus", subtotal, tax_amount,
[INFO] [stdout] ...   |
[INFO] [stdout] 383 | |         order_uuid
[INFO] [stdout] 384 | |     )
[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/dashboard/orders.rs:390:16
[INFO] [stdout]     |
[INFO] [stdout] 390 |       let item = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 391 | |         OrderItem,
[INFO] [stdout] 392 | |         r#"SELECT id, order_id, product_id, product_name, product_sku, unit_price, quantity, line_total,
[INFO] [stdout] 393 | |                   status as "status: OrderItemStatus", created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 397 | |         order_uuid
[INFO] [stdout] 398 | |     )
[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/dashboard/orders.rs:428:17
[INFO] [stdout]     |
[INFO] [stdout] 428 |       let order = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 429 | |         Order,
[INFO] [stdout] 430 | |         r#"SELECT id, order_number, user_id, customer_name, customer_email, customer_phone,
[INFO] [stdout] 431 | |                   shipping_address, status as "status: OrderStatus", subtotal, tax_amount,
[INFO] [stdout] ...   |
[INFO] [stdout] 435 | |         uuid
[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_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/dashboard/orders.rs:442:17
[INFO] [stdout]     |
[INFO] [stdout] 442 |       let items = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 443 | |         OrderItem,
[INFO] [stdout] 444 | |         r#"SELECT id, order_id, product_id, product_name, product_sku, unit_price, quantity, line_total,
[INFO] [stdout] 445 | |                   status as "status: OrderItemStatus", created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 449 | |         uuid
[INFO] [stdout] 450 | |     )
[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/dashboard/orders.rs:486:23
[INFO] [stdout]     |
[INFO] [stdout] 486 |           let attempt = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 487 | |             Order,
[INFO] [stdout] 488 | |             r#"INSERT INTO orders (order_number, user_id, customer_name, customer_email, customer_phone,
[INFO] [stdout] 489 | |                                     shipping_address, notes, status, subtotal, tax_amount, shipping_amount, total_amount)
[INFO] [stdout] ...   |
[INFO] [stdout] 501 | |             status as OrderStatus
[INFO] [stdout] 502 | |         )
[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/dashboard/orders.rs:540:17
[INFO] [stdout]     |
[INFO] [stdout] 540 |       let order = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 541 | |         Order,
[INFO] [stdout] 542 | |         r#"UPDATE orders
[INFO] [stdout] 543 | |            SET user_id = COALESCE($1, user_id),
[INFO] [stdout] ...   |
[INFO] [stdout] 562 | |         uuid
[INFO] [stdout] 563 | |     )
[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/dashboard/orders.rs:588:18
[INFO] [stdout]     |
[INFO] [stdout] 588 |     let result = sqlx::query!("DELETE FROM orders WHERE id = $1", uuid)
[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/dashboard/orders.rs:627:5
[INFO] [stdout]     |
[INFO] [stdout] 627 |     sqlx::query!("SELECT id FROM orders WHERE id = $1 FOR UPDATE", uuid)
[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/dashboard/orders.rs:659:23
[INFO] [stdout]     |
[INFO] [stdout] 659 |           let product = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 660 | |             r#"SELECT name, sku, selling_price, quantity_in_stock
[INFO] [stdout] 661 | |                FROM products
[INFO] [stdout] 662 | |                WHERE id = $1
[INFO] [stdout] 663 | |                FOR UPDATE"#,
[INFO] [stdout] 664 | |             item.product_id
[INFO] [stdout] 665 | |         )
[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/dashboard/orders.rs:677:27
[INFO] [stdout]     |
[INFO] [stdout] 677 |               let barcode = sqlx::query!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 678 | |                 r#"SELECT id, product_id, is_sold FROM barcodes WHERE code = $1 FOR UPDATE"#,
[INFO] [stdout] 679 | |                 code
[INFO] [stdout] 680 | |             )
[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/dashboard/orders.rs:699:9
[INFO] [stdout]     |
[INFO] [stdout] 699 | /         sqlx::query!(
[INFO] [stdout] 700 | |             "UPDATE products SET quantity_in_stock = quantity_in_stock - $1 WHERE id = $2",
[INFO] [stdout] 701 | |             item.quantity,
[INFO] [stdout] 702 | |             item.product_id
[INFO] [stdout] 703 | |         )
[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/dashboard/orders.rs:708:26
[INFO] [stdout]     |
[INFO] [stdout] 708 |           let order_item = sqlx::query_as!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 709 | |             OrderItem,
[INFO] [stdout] 710 | |             r#"INSERT INTO order_items (order_id, product_id, product_name, product_sku, unit_price, quantity, line_total)
[INFO] [stdout] 711 | |                VALUES ($1, $2, $3, $4, $5, $6, $7)
[INFO] [stdout] ...   |
[INFO] [stdout] 720 | |             line_total
[INFO] [stdout] 721 | |         )
[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/dashboard/orders.rs:727:13
[INFO] [stdout]     |
[INFO] [stdout] 727 | /             sqlx::query!(
[INFO] [stdout] 728 | |                 "UPDATE barcodes SET is_sold = true, order_item_id = $1 WHERE id = $2",
[INFO] [stdout] 729 | |                 order_item.id,
[INFO] [stdout] 730 | |                 barcode_id
[INFO] [stdout] 731 | |             )
[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/dashboard/orders.rs:743:17
[INFO] [stdout]     |
[INFO] [stdout] 743 |       let order = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 744 | |         Order,
[INFO] [stdout] 745 | |         r#"UPDATE orders
[INFO] [stdout] 746 | |            SET subtotal = subtotal + $1,
[INFO] [stdout] ...   |
[INFO] [stdout] 754 | |         uuid
[INFO] [stdout] 755 | |     )
[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/dashboard/orders.rs:803:5
[INFO] [stdout]     |
[INFO] [stdout] 803 |     sqlx::query!("SELECT id FROM orders WHERE id = $1 FOR UPDATE", order_uuid)
[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/dashboard/orders.rs:809:20
[INFO] [stdout]     |
[INFO] [stdout] 809 |       let existing = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 810 | |         OrderItem,
[INFO] [stdout] 811 | |         r#"SELECT id, order_id, product_id, product_name, product_sku, unit_price, quantity, line_total,
[INFO] [stdout] 812 | |                   status as "status: OrderItemStatus", created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 817 | |         order_uuid
[INFO] [stdout] 818 | |     )
[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/dashboard/brands.rs:66:16
[INFO] [stdout]    |
[INFO] [stdout] 66 |       let rows = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 67 | |         BrandRow,
[INFO] [stdout] 68 | |         r#"SELECT b.id, b.name, b.slug, b.description, b.is_active, b.created_at, b.updated_at,
[INFO] [stdout] 69 | |                   COUNT(p.id) as "products_count!"
[INFO] [stdout] ...  |
[INFO] [stdout] 73 | |            ORDER BY b.created_at DESC"#
[INFO] [stdout] 74 | |     )
[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/dashboard/orders.rs:835:5
[INFO] [stdout]     |
[INFO] [stdout] 835 | /     sqlx::query!(
[INFO] [stdout] 836 | |         "UPDATE barcodes SET is_sold = false, order_item_id = NULL WHERE order_item_id = $1",
[INFO] [stdout] 837 | |         item_uuid
[INFO] [stdout] 838 | |     )
[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/dashboard/orders.rs:844:9
[INFO] [stdout]     |
[INFO] [stdout] 844 | /         sqlx::query!(
[INFO] [stdout] 845 | |             "UPDATE products SET quantity_in_stock = quantity_in_stock + $1 WHERE id = $2",
[INFO] [stdout] 846 | |             existing.quantity,
[INFO] [stdout] 847 | |             existing.product_id
[INFO] [stdout] 848 | |         )
[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/dashboard/brands.rs:81:19
[INFO] [stdout]    |
[INFO] [stdout] 81 |       let uploads = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 82 | |         Upload,
[INFO] [stdout] 83 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 84 | |            FROM uploads
[INFO] [stdout] 85 | |            WHERE brand_id = ANY($1)"#,
[INFO] [stdout] 86 | |         &ids
[INFO] [stdout] 87 | |     )
[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/dashboard/brands.rs:123:15
[INFO] [stdout]     |
[INFO] [stdout] 123 |       let row = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 124 | |         BrandRow,
[INFO] [stdout] 125 | |         r#"SELECT b.id, b.name, b.slug, b.description, b.is_active, b.created_at, b.updated_at,
[INFO] [stdout] 126 | |                   COUNT(p.id) as "products_count!"
[INFO] [stdout] ...   |
[INFO] [stdout] 131 | |         uuid
[INFO] [stdout] 132 | |     )
[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/dashboard/brands.rs:138:19
[INFO] [stdout]     |
[INFO] [stdout] 138 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 139 | |         Upload,
[INFO] [stdout] 140 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 141 | |            FROM uploads
[INFO] [stdout] 142 | |            WHERE brand_id = $1"#,
[INFO] [stdout] 143 | |         uuid
[INFO] [stdout] 144 | |     )
[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/dashboard/brands.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 |       let brand = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 172 | |         Brand,
[INFO] [stdout] 173 | |         r#"INSERT INTO brands (name, slug, description)
[INFO] [stdout] 174 | |            VALUES ($1, $2, $3)
[INFO] [stdout] ...   |
[INFO] [stdout] 178 | |         payload.description
[INFO] [stdout] 179 | |     )
[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/dashboard/brands.rs:211:17
[INFO] [stdout]     |
[INFO] [stdout] 211 |       let brand = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 212 | |         Brand,
[INFO] [stdout] 213 | |         r#"UPDATE brands
[INFO] [stdout] 214 | |            SET name = COALESCE($1, name),
[INFO] [stdout] ...   |
[INFO] [stdout] 225 | |         uuid
[INFO] [stdout] 226 | |     )
[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/dashboard/brands.rs:260:18
[INFO] [stdout]     |
[INFO] [stdout] 260 |     let result = sqlx::query!("DELETE FROM brands WHERE id = $1", uuid)
[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/dashboard/orders.rs:853:23
[INFO] [stdout]     |
[INFO] [stdout] 853 |           let product = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 854 | |             r#"SELECT name, sku, selling_price, quantity_in_stock
[INFO] [stdout] 855 | |                FROM products
[INFO] [stdout] 856 | |                WHERE id = $1
[INFO] [stdout] 857 | |                FOR UPDATE"#,
[INFO] [stdout] 858 | |             new_product_id
[INFO] [stdout] 859 | |         )
[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/dashboard/orders.rs:869:9
[INFO] [stdout]     |
[INFO] [stdout] 869 | /         sqlx::query!(
[INFO] [stdout] 870 | |             "UPDATE products SET quantity_in_stock = quantity_in_stock - $1 WHERE id = $2",
[INFO] [stdout] 871 | |             new_quantity,
[INFO] [stdout] 872 | |             new_product_id
[INFO] [stdout] 873 | |         )
[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/dashboard/orders.rs:883:27
[INFO] [stdout]     |
[INFO] [stdout] 883 |               let product = sqlx::query!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 884 | |                 "SELECT quantity_in_stock FROM products WHERE id = $1 FOR UPDATE",
[INFO] [stdout] 885 | |                 existing.product_id
[INFO] [stdout] 886 | |             )
[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/dashboard/orders.rs:896:13
[INFO] [stdout]     |
[INFO] [stdout] 896 | /             sqlx::query!(
[INFO] [stdout] 897 | |                 "UPDATE products SET quantity_in_stock = quantity_in_stock - $1 WHERE id = $2",
[INFO] [stdout] 898 | |                 delta,
[INFO] [stdout] 899 | |                 existing.product_id
[INFO] [stdout] 900 | |             )
[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/dashboard/orders.rs:916:24
[INFO] [stdout]     |
[INFO] [stdout] 916 |       let updated_item = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 917 | |         OrderItem,
[INFO] [stdout] 918 | |         r#"UPDATE order_items
[INFO] [stdout] 919 | |            SET product_id = $1,
[INFO] [stdout] ...   |
[INFO] [stdout] 934 | |         item_uuid
[INFO] [stdout] 935 | |     )
[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/dashboard/orders.rs:940:5
[INFO] [stdout]     |
[INFO] [stdout] 940 | /     sqlx::query!(
[INFO] [stdout] 941 | |         r#"UPDATE orders
[INFO] [stdout] 942 | |            SET subtotal = subtotal + $1,
[INFO] [stdout] 943 | |                total_amount = total_amount + $1,
[INFO] [stdout] ...   |
[INFO] [stdout] 947 | |         order_uuid
[INFO] [stdout] 948 | |     )
[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/dashboard/orders.rs:983:5
[INFO] [stdout]     |
[INFO] [stdout] 983 |     sqlx::query!("SELECT id FROM orders WHERE id = $1 FOR UPDATE", order_uuid)
[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/dashboard/orders.rs:989:16
[INFO] [stdout]     |
[INFO] [stdout] 989 |       let item = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 990 | |         OrderItem,
[INFO] [stdout] 991 | |         r#"SELECT id, order_id, product_id, product_name, product_sku, unit_price, quantity, line_total,
[INFO] [stdout] 992 | |                   status as "status: OrderItemStatus", created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 997 | |         order_uuid
[INFO] [stdout] 998 | |     )
[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/dashboard/orders.rs:1004:5
[INFO] [stdout]      |
[INFO] [stdout] 1004 | /     sqlx::query!(
[INFO] [stdout] 1005 | |         "UPDATE barcodes SET is_sold = false, order_item_id = NULL WHERE order_item_id = $1",
[INFO] [stdout] 1006 | |         item_uuid
[INFO] [stdout] 1007 | |     )
[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/dashboard/orders.rs:1012:5
[INFO] [stdout]      |
[INFO] [stdout] 1012 |     sqlx::query!("DELETE FROM order_items WHERE id = $1", item_uuid)
[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/dashboard/categories.rs:73:16
[INFO] [stdout]    |
[INFO] [stdout] 73 |       let rows = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 74 | |         CategoryRow,
[INFO] [stdout] 75 | |         r#"SELECT c.id, c.name, c.slug, c.description, c.is_active, c.is_featured, c.created_at, c.updated_at,
[INFO] [stdout] 76 | |                   COUNT(DISTINCT p.id) as "products_count!",
[INFO] [stdout] ...  |
[INFO] [stdout] 82 | |            ORDER BY c.created_at DESC"#
[INFO] [stdout] 83 | |     )
[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/dashboard/categories.rs:90:19
[INFO] [stdout]    |
[INFO] [stdout] 90 |       let uploads = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 91 | |     Upload,
[INFO] [stdout] 92 | |     r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 93 | |        FROM uploads
[INFO] [stdout] 94 | |        WHERE category_id = ANY($1)"#,
[INFO] [stdout] 95 | |     &ids
[INFO] [stdout] 96 | | )
[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/dashboard/categories.rs:134:15
[INFO] [stdout]     |
[INFO] [stdout] 134 |       let row = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 135 | |         CategoryRow,
[INFO] [stdout] 136 | |         r#"SELECT c.id, c.name, c.slug, c.description, c.is_active, c.is_featured, c.created_at, c.updated_at,
[INFO] [stdout] 137 | |                   COUNT(DISTINCT p.id) as "products_count!",
[INFO] [stdout] ...   |
[INFO] [stdout] 144 | |         uuid
[INFO] [stdout] 145 | |     )
[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/dashboard/categories.rs:151:19
[INFO] [stdout]     |
[INFO] [stdout] 151 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 152 | |     Upload,
[INFO] [stdout] 153 | |     r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 154 | |        FROM uploads
[INFO] [stdout] 155 | |        WHERE category_id = $1"#,
[INFO] [stdout] 156 | |     uuid
[INFO] [stdout] 157 | | )
[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/dashboard/categories.rs:184:20
[INFO] [stdout]     |
[INFO] [stdout] 184 |       let category = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 185 | |         Category,
[INFO] [stdout] 186 | |         r#"INSERT INTO categories (name, slug, description)
[INFO] [stdout] 187 | |            VALUES ($1, $2, $3)
[INFO] [stdout] ...   |
[INFO] [stdout] 191 | |         payload.description,
[INFO] [stdout] 192 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/dashboard/categories.rs:224:20
[INFO] [stdout]     |
[INFO] [stdout] 224 |       let category = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 225 | |         Category,
[INFO] [stdout] 226 | |         r#"UPDATE categories
[INFO] [stdout] 227 | |            SET name = COALESCE($1, name),
[INFO] [stdout] ...   |
[INFO] [stdout] 240 | |         uuid,
[INFO] [stdout] 241 | |     )
[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/dashboard/categories.rs:276:18
[INFO] [stdout]     |
[INFO] [stdout] 276 |     let result = sqlx::query!("DELETE FROM categories WHERE id = $1", uuid)
[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/dashboard/orders.rs:1017:5
[INFO] [stdout]      |
[INFO] [stdout] 1017 | /     sqlx::query!(
[INFO] [stdout] 1018 | |         "UPDATE products SET quantity_in_stock = quantity_in_stock + $1 WHERE id = $2",
[INFO] [stdout] 1019 | |         item.quantity,
[INFO] [stdout] 1020 | |         item.product_id
[INFO] [stdout] 1021 | |     )
[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/dashboard/orders.rs:1026:5
[INFO] [stdout]      |
[INFO] [stdout] 1026 | /     sqlx::query!(
[INFO] [stdout] 1027 | |         r#"UPDATE orders
[INFO] [stdout] 1028 | |            SET subtotal = subtotal - $1,
[INFO] [stdout] 1029 | |                total_amount = total_amount - $1,
[INFO] [stdout] ...    |
[INFO] [stdout] 1033 | |         order_uuid
[INFO] [stdout] 1034 | |     )
[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/dashboard/orders.rs:1077:5
[INFO] [stdout]      |
[INFO] [stdout] 1077 |     sqlx::query!("SELECT id FROM orders WHERE id = $1 FOR UPDATE", order_uuid)
[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/dashboard/orders.rs:1083:20
[INFO] [stdout]      |
[INFO] [stdout] 1083 |       let existing = sqlx::query_as!(
[INFO] [stdout]      |  ____________________^
[INFO] [stdout] 1084 | |         OrderItem,
[INFO] [stdout] 1085 | |         r#"SELECT id, order_id, product_id, product_name, product_sku, unit_price, quantity, line_total,
[INFO] [stdout] 1086 | |                   status as "status: OrderItemStatus", created_at
[INFO] [stdout] ...    |
[INFO] [stdout] 1091 | |         order_uuid
[INFO] [stdout] 1092 | |     )
[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/dashboard/orders.rs:1102:24
[INFO] [stdout]      |
[INFO] [stdout] 1102 |       let updated_item = sqlx::query_as!(
[INFO] [stdout]      |  ________________________^
[INFO] [stdout] 1103 | |         OrderItem,
[INFO] [stdout] 1104 | |         r#"UPDATE order_items
[INFO] [stdout] 1105 | |            SET status = $1
[INFO] [stdout] ...    |
[INFO] [stdout] 1110 | |         item_uuid
[INFO] [stdout] 1111 | |     )
[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/dashboard/orders.rs:1117:9
[INFO] [stdout]      |
[INFO] [stdout] 1117 | /         sqlx::query!(
[INFO] [stdout] 1118 | |             "UPDATE products SET quantity_in_stock = quantity_in_stock + $1 WHERE id = $2",
[INFO] [stdout] 1119 | |             existing.quantity,
[INFO] [stdout] 1120 | |             existing.product_id
[INFO] [stdout] 1121 | |         )
[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/dashboard/orders.rs:1126:9
[INFO] [stdout]      |
[INFO] [stdout] 1126 | /         sqlx::query!(
[INFO] [stdout] 1127 | |             "UPDATE barcodes SET is_sold = false WHERE order_item_id = $1",
[INFO] [stdout] 1128 | |             item_uuid
[INFO] [stdout] 1129 | |         )
[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/dashboard/orders.rs:1139:9
[INFO] [stdout]      |
[INFO] [stdout] 1139 | /         sqlx::query!(
[INFO] [stdout] 1140 | |             r#"UPDATE orders
[INFO] [stdout] 1141 | |                SET subtotal = subtotal - $1,
[INFO] [stdout] 1142 | |                    total_amount = total_amount - $1,
[INFO] [stdout] ...    |
[INFO] [stdout] 1146 | |             order_uuid
[INFO] [stdout] 1147 | |         )
[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/dashboard/contacts.rs:36:19
[INFO] [stdout]    |
[INFO] [stdout] 36 |       let contact = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 37 | |         Contact,
[INFO] [stdout] 38 | |         r#"INSERT INTO contacts (name, email, subject, message)
[INFO] [stdout] 39 | |            VALUES ($1, $2, $3, $4)
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |         payload.message
[INFO] [stdout] 45 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/dashboard/policies.rs:49:20
[INFO] [stdout]    |
[INFO] [stdout] 49 |       let policies = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 50 | |         Policy,
[INFO] [stdout] 51 | |         r#"SELECT id, name, slug, seo_title, seo_description, content,
[INFO] [stdout] 52 | |                   is_active, sort_order, created_at, updated_at
[INFO] [stdout] 53 | |            FROM policies
[INFO] [stdout] 54 | |            ORDER BY sort_order ASC"#
[INFO] [stdout] 55 | |     )
[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/dashboard/contacts.rs:54:20
[INFO] [stdout]    |
[INFO] [stdout] 54 |       let contacts = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 55 | |         Contact,
[INFO] [stdout] 56 | |         r#"SELECT id, name, email, subject, message, created_at
[INFO] [stdout] 57 | |            FROM contacts
[INFO] [stdout] 58 | |            ORDER BY created_at DESC"#
[INFO] [stdout] 59 | |     )
[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/dashboard/contacts.rs:72:18
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let result = sqlx::query!("DELETE FROM contacts WHERE id = $1", uuid)
[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/dashboard/policies.rs:72:18
[INFO] [stdout]    |
[INFO] [stdout] 72 |       let policy = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 73 | |         Policy,
[INFO] [stdout] 74 | |         r#"INSERT INTO policies (name, slug, seo_title, seo_description, content, is_active, sort_order)
[INFO] [stdout] 75 | |            VALUES ($1, $2, $3, $4, $5, $6, $7)
[INFO] [stdout] ...  |
[INFO] [stdout] 84 | |         sort_order
[INFO] [stdout] 85 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/dashboard/policies.rs:117:18
[INFO] [stdout]     |
[INFO] [stdout] 117 |       let policy = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 118 | |         Policy,
[INFO] [stdout] 119 | |         r#"UPDATE policies
[INFO] [stdout] 120 | |            SET name = COALESCE($1, name),
[INFO] [stdout] ...   |
[INFO] [stdout] 138 | |         uuid
[INFO] [stdout] 139 | |     )
[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/dashboard/policies.rs:169:18
[INFO] [stdout]     |
[INFO] [stdout] 169 |     let result = sqlx::query!("DELETE FROM policies WHERE id = $1", uuid)
[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/dashboard/products.rs:180:20
[INFO] [stdout]     |
[INFO] [stdout] 180 |       let products = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 181 | |         ProductOption,
[INFO] [stdout] 182 | |         r#"SELECT id, name, slug, sku, is_active, quantity_in_stock
[INFO] [stdout] 183 | |            FROM products
[INFO] [stdout] 184 | |            ORDER BY name ASC"#
[INFO] [stdout] 185 | |     )
[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/dashboard/products.rs:196:20
[INFO] [stdout]     |
[INFO] [stdout] 196 |       let products = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 197 | |         Product,
[INFO] [stdout] 198 | |         r#"SELECT id, category_id, sub_category_id, brand_id, name, slug, sku, brand, model, description, content,
[INFO] [stdout] 199 | |                   warranty_months,
[INFO] [stdout] ...   |
[INFO] [stdout] 205 | |            ORDER BY created_at DESC"#
[INFO] [stdout] 206 | |     )
[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/dashboard/products.rs:213:20
[INFO] [stdout]     |
[INFO] [stdout] 213 |       let seo_rows = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 214 | |         ProductSeo,
[INFO] [stdout] 215 | |         r#"SELECT id, product_id, meta_title, meta_description, meta_keywords,
[INFO] [stdout] 216 | |                   og_title, og_description, og_image_url, canonical_url, focus_keyword,
[INFO] [stdout] ...   |
[INFO] [stdout] 220 | |         &product_ids
[INFO] [stdout] 221 | |     )
[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/dashboard/products.rs:226:43
[INFO] [stdout]     |
[INFO] [stdout] 226 |       let spec_counts: HashMap<Uuid, i64> = sqlx::query!(
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 227 | |         r#"SELECT product_id, COUNT(*) AS "count!"
[INFO] [stdout] 228 | |            FROM product_specifications
[INFO] [stdout] 229 | |            WHERE product_id = ANY($1)
[INFO] [stdout] 230 | |            GROUP BY product_id"#,
[INFO] [stdout] 231 | |         &product_ids
[INFO] [stdout] 232 | |     )
[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/dashboard/products.rs:256:19
[INFO] [stdout]     |
[INFO] [stdout] 256 |       let product = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 257 | |         Product,
[INFO] [stdout] 258 | |         r#"SELECT id, category_id, sub_category_id, brand_id, name, slug, sku, brand, model, description, content,
[INFO] [stdout] 259 | |                   warranty_months,
[INFO] [stdout] ...   |
[INFO] [stdout] 266 | |         uuid
[INFO] [stdout] 267 | |     )
[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/dashboard/products.rs:273:15
[INFO] [stdout]     |
[INFO] [stdout] 273 |       let seo = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 274 | |         ProductSeo,
[INFO] [stdout] 275 | |         r#"SELECT id, product_id, meta_title, meta_description, meta_keywords,
[INFO] [stdout] 276 | |                   og_title, og_description, og_image_url, canonical_url, focus_keyword,
[INFO] [stdout] ...   |
[INFO] [stdout] 280 | |         uuid
[INFO] [stdout] 281 | |     )
[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/dashboard/products.rs:286:29
[INFO] [stdout]     |
[INFO] [stdout] 286 |       let total_specs_count = sqlx::query_scalar!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 287 | |         r#"SELECT COUNT(*) AS "count!" FROM product_specifications WHERE product_id = $1"#,
[INFO] [stdout] 288 | |         uuid
[INFO] [stdout] 289 | |     )
[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/dashboard/products.rs:313:19
[INFO] [stdout]     |
[INFO] [stdout] 313 |       let product = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 314 | |         Product,
[INFO] [stdout] 315 | |         r#"INSERT INTO products (
[INFO] [stdout] 316 | |                category_id, sub_category_id, brand_id, name, slug, sku, brand, model, description, content,
[INFO] [stdout] ...   |
[INFO] [stdout] 354 | |         payload.image_url
[INFO] [stdout] 355 | |     )
[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/dashboard/products.rs:389:19
[INFO] [stdout]     |
[INFO] [stdout] 389 |       let product = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 390 | |         Product,
[INFO] [stdout] 391 | |         r#"UPDATE products
[INFO] [stdout] 392 | |            SET category_id = COALESCE($1, category_id),
[INFO] [stdout] ...   |
[INFO] [stdout] 440 | |         uuid
[INFO] [stdout] 441 | |     )
[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/dashboard/orders.rs:191:16
[INFO] [stdout]     |
[INFO] [stdout] 191 |       let rows = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 192 | |         r#"SELECT order_item_id as "order_item_id!", code
[INFO] [stdout] 193 | |            FROM barcodes
[INFO] [stdout] 194 | |            WHERE order_item_id = ANY($1)
[INFO] [stdout] 195 | |            ORDER BY code ASC"#,
[INFO] [stdout] 196 | |         item_ids
[INFO] [stdout] 197 | |     )
[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/dashboard/orders.rs:213:16
[INFO] [stdout]     |
[INFO] [stdout] 213 |       let rows = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 214 | |         r#"SELECT code FROM barcodes WHERE order_item_id = $1 ORDER BY code ASC"#,
[INFO] [stdout] 215 | |         item_id
[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` (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/dashboard/orders.rs:235:15
[INFO] [stdout]     |
[INFO] [stdout] 235 |       let row = sqlx::query!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 236 | |         "SELECT product_id, is_sold FROM barcodes WHERE code = $1",
[INFO] [stdout] 237 | |         code
[INFO] [stdout] 238 | |     )
[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/dashboard/orders.rs:269:16
[INFO] [stdout]     |
[INFO] [stdout] 269 |       let rows = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 270 | |         r#"SELECT o.id, o.user_id, o.order_number, o.customer_name, o.customer_email, o.customer_phone,
[INFO] [stdout] 271 | |                   o.shipping_address, o.status as "status: OrderStatus", o.subtotal, o.tax_amount,
[INFO] [stdout] 272 | |                   o.shipping_amount, o.total_amount, o.notes, o.created_at, o.updated_at,
[INFO] [stdout] ...   |
[INFO] [stdout] 278 | |            ORDER BY o.created_at DESC"#
[INFO] [stdout] 279 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/dashboard/orders.rs:316:17
[INFO] [stdout]     |
[INFO] [stdout] 316 |       let order = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 317 | |         Order,
[INFO] [stdout] 318 | |         r#"SELECT id, user_id, order_number, customer_name, customer_email, customer_phone,
[INFO] [stdout] 319 | |                   shipping_address, status as "status: OrderStatus", subtotal, tax_amount,
[INFO] [stdout] ...   |
[INFO] [stdout] 323 | |         uuid
[INFO] [stdout] 324 | |     )
[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/dashboard/orders.rs:330:17
[INFO] [stdout]     |
[INFO] [stdout] 330 |       let items = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 331 | |         OrderItem,
[INFO] [stdout] 332 | |         r#"SELECT id, order_id, product_id, product_name, product_sku, unit_price, quantity, line_total,
[INFO] [stdout] 333 | |                   status as "status: OrderItemStatus", created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 337 | |         uuid
[INFO] [stdout] 338 | |     )
[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/dashboard/orders.rs:376:17
[INFO] [stdout]     |
[INFO] [stdout] 376 |       let order = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 377 | |         Order,
[INFO] [stdout] 378 | |         r#"SELECT id, user_id, order_number, customer_name, customer_email, customer_phone,
[INFO] [stdout] 379 | |                   shipping_address, status as "status: OrderStatus", subtotal, tax_amount,
[INFO] [stdout] ...   |
[INFO] [stdout] 383 | |         order_uuid
[INFO] [stdout] 384 | |     )
[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/dashboard/orders.rs:390:16
[INFO] [stdout]     |
[INFO] [stdout] 390 |       let item = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 391 | |         OrderItem,
[INFO] [stdout] 392 | |         r#"SELECT id, order_id, product_id, product_name, product_sku, unit_price, quantity, line_total,
[INFO] [stdout] 393 | |                   status as "status: OrderItemStatus", created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 397 | |         order_uuid
[INFO] [stdout] 398 | |     )
[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/dashboard/products_seo.rs:120:16
[INFO] [stdout]     |
[INFO] [stdout] 120 |       let rows = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 121 | |         ProductSeoRow,
[INFO] [stdout] 122 | |         r#"SELECT ps.id, ps.product_id, ps.meta_title, ps.meta_description, ps.meta_keywords,
[INFO] [stdout] 123 | |                   ps.og_title, ps.og_description, ps.og_image_url, ps.canonical_url, ps.focus_keyword,
[INFO] [stdout] ...   |
[INFO] [stdout] 128 | |            ORDER BY ps.created_at DESC"#
[INFO] [stdout] 129 | |     )
[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/dashboard/orders.rs:428:17
[INFO] [stdout]     |
[INFO] [stdout] 428 |       let order = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 429 | |         Order,
[INFO] [stdout] 430 | |         r#"SELECT id, order_number, user_id, customer_name, customer_email, customer_phone,
[INFO] [stdout] 431 | |                   shipping_address, status as "status: OrderStatus", subtotal, tax_amount,
[INFO] [stdout] ...   |
[INFO] [stdout] 435 | |         uuid
[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_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/dashboard/products_seo.rs:143:15
[INFO] [stdout]     |
[INFO] [stdout] 143 |       let row = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 144 | |         ProductSeoRow,
[INFO] [stdout] 145 | |         r#"SELECT ps.id, ps.product_id, ps.meta_title, ps.meta_description, ps.meta_keywords,
[INFO] [stdout] 146 | |                   ps.og_title, ps.og_description, ps.og_image_url, ps.canonical_url, ps.focus_keyword,
[INFO] [stdout] ...   |
[INFO] [stdout] 152 | |         uuid
[INFO] [stdout] 153 | |     )
[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/dashboard/orders.rs:442:17
[INFO] [stdout]     |
[INFO] [stdout] 442 |       let items = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 443 | |         OrderItem,
[INFO] [stdout] 444 | |         r#"SELECT id, order_id, product_id, product_name, product_sku, unit_price, quantity, line_total,
[INFO] [stdout] 445 | |                   status as "status: OrderItemStatus", created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 449 | |         uuid
[INFO] [stdout] 450 | |     )
[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/dashboard/products_seo.rs:167:15
[INFO] [stdout]     |
[INFO] [stdout] 167 |       let row = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 168 | |         ProductSeoRow,
[INFO] [stdout] 169 | |         r#"INSERT INTO products_seo (
[INFO] [stdout] 170 | |                product_id, meta_title, meta_description, meta_keywords,
[INFO] [stdout] ...   |
[INFO] [stdout] 189 | |         payload.focus_keyword
[INFO] [stdout] 190 | |     )
[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/dashboard/orders.rs:486:23
[INFO] [stdout]     |
[INFO] [stdout] 486 |           let attempt = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 487 | |             Order,
[INFO] [stdout] 488 | |             r#"INSERT INTO orders (order_number, user_id, customer_name, customer_email, customer_phone,
[INFO] [stdout] 489 | |                                     shipping_address, notes, status, subtotal, tax_amount, shipping_amount, total_amount)
[INFO] [stdout] ...   |
[INFO] [stdout] 501 | |             status as OrderStatus
[INFO] [stdout] 502 | |         )
[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/dashboard/products_seo.rs:223:15
[INFO] [stdout]     |
[INFO] [stdout] 223 |       let row = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 224 | |         ProductSeoRow,
[INFO] [stdout] 225 | |         r#"UPDATE products_seo ps
[INFO] [stdout] 226 | |            SET meta_title = COALESCE($1, meta_title),
[INFO] [stdout] ...   |
[INFO] [stdout] 250 | |         uuid
[INFO] [stdout] 251 | |     )
[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/dashboard/orders.rs:540:17
[INFO] [stdout]     |
[INFO] [stdout] 540 |       let order = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 541 | |         Order,
[INFO] [stdout] 542 | |         r#"UPDATE orders
[INFO] [stdout] 543 | |            SET user_id = COALESCE($1, user_id),
[INFO] [stdout] ...   |
[INFO] [stdout] 562 | |         uuid
[INFO] [stdout] 563 | |     )
[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/dashboard/products_seo.rs:276:18
[INFO] [stdout]     |
[INFO] [stdout] 276 |     let result = sqlx::query!("DELETE FROM products_seo WHERE id = $1", uuid)
[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/dashboard/orders.rs:588:18
[INFO] [stdout]     |
[INFO] [stdout] 588 |     let result = sqlx::query!("DELETE FROM orders WHERE id = $1", uuid)
[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/dashboard/orders.rs:627:5
[INFO] [stdout]     |
[INFO] [stdout] 627 |     sqlx::query!("SELECT id FROM orders WHERE id = $1 FOR UPDATE", uuid)
[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/dashboard/orders.rs:659:23
[INFO] [stdout]     |
[INFO] [stdout] 659 |           let product = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 660 | |             r#"SELECT name, sku, selling_price, quantity_in_stock
[INFO] [stdout] 661 | |                FROM products
[INFO] [stdout] 662 | |                WHERE id = $1
[INFO] [stdout] 663 | |                FOR UPDATE"#,
[INFO] [stdout] 664 | |             item.product_id
[INFO] [stdout] 665 | |         )
[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/dashboard/orders.rs:677:27
[INFO] [stdout]     |
[INFO] [stdout] 677 |               let barcode = sqlx::query!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 678 | |                 r#"SELECT id, product_id, is_sold FROM barcodes WHERE code = $1 FOR UPDATE"#,
[INFO] [stdout] 679 | |                 code
[INFO] [stdout] 680 | |             )
[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/dashboard/orders.rs:699:9
[INFO] [stdout]     |
[INFO] [stdout] 699 | /         sqlx::query!(
[INFO] [stdout] 700 | |             "UPDATE products SET quantity_in_stock = quantity_in_stock - $1 WHERE id = $2",
[INFO] [stdout] 701 | |             item.quantity,
[INFO] [stdout] 702 | |             item.product_id
[INFO] [stdout] 703 | |         )
[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/dashboard/orders.rs:708:26
[INFO] [stdout]     |
[INFO] [stdout] 708 |           let order_item = sqlx::query_as!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 709 | |             OrderItem,
[INFO] [stdout] 710 | |             r#"INSERT INTO order_items (order_id, product_id, product_name, product_sku, unit_price, quantity, line_total)
[INFO] [stdout] 711 | |                VALUES ($1, $2, $3, $4, $5, $6, $7)
[INFO] [stdout] ...   |
[INFO] [stdout] 720 | |             line_total
[INFO] [stdout] 721 | |         )
[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/dashboard/orders.rs:727:13
[INFO] [stdout]     |
[INFO] [stdout] 727 | /             sqlx::query!(
[INFO] [stdout] 728 | |                 "UPDATE barcodes SET is_sold = true, order_item_id = $1 WHERE id = $2",
[INFO] [stdout] 729 | |                 order_item.id,
[INFO] [stdout] 730 | |                 barcode_id
[INFO] [stdout] 731 | |             )
[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/dashboard/orders.rs:743:17
[INFO] [stdout]     |
[INFO] [stdout] 743 |       let order = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 744 | |         Order,
[INFO] [stdout] 745 | |         r#"UPDATE orders
[INFO] [stdout] 746 | |            SET subtotal = subtotal + $1,
[INFO] [stdout] ...   |
[INFO] [stdout] 754 | |         uuid
[INFO] [stdout] 755 | |     )
[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/dashboard/orders.rs:803:5
[INFO] [stdout]     |
[INFO] [stdout] 803 |     sqlx::query!("SELECT id FROM orders WHERE id = $1 FOR UPDATE", order_uuid)
[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/dashboard/orders.rs:809:20
[INFO] [stdout]     |
[INFO] [stdout] 809 |       let existing = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 810 | |         OrderItem,
[INFO] [stdout] 811 | |         r#"SELECT id, order_id, product_id, product_name, product_sku, unit_price, quantity, line_total,
[INFO] [stdout] 812 | |                   status as "status: OrderItemStatus", created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 817 | |         order_uuid
[INFO] [stdout] 818 | |     )
[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/dashboard/orders.rs:835:5
[INFO] [stdout]     |
[INFO] [stdout] 835 | /     sqlx::query!(
[INFO] [stdout] 836 | |         "UPDATE barcodes SET is_sold = false, order_item_id = NULL WHERE order_item_id = $1",
[INFO] [stdout] 837 | |         item_uuid
[INFO] [stdout] 838 | |     )
[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/dashboard/orders.rs:844:9
[INFO] [stdout]     |
[INFO] [stdout] 844 | /         sqlx::query!(
[INFO] [stdout] 845 | |             "UPDATE products SET quantity_in_stock = quantity_in_stock + $1 WHERE id = $2",
[INFO] [stdout] 846 | |             existing.quantity,
[INFO] [stdout] 847 | |             existing.product_id
[INFO] [stdout] 848 | |         )
[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/dashboard/orders.rs:853:23
[INFO] [stdout]     |
[INFO] [stdout] 853 |           let product = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 854 | |             r#"SELECT name, sku, selling_price, quantity_in_stock
[INFO] [stdout] 855 | |                FROM products
[INFO] [stdout] 856 | |                WHERE id = $1
[INFO] [stdout] 857 | |                FOR UPDATE"#,
[INFO] [stdout] 858 | |             new_product_id
[INFO] [stdout] 859 | |         )
[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/dashboard/orders.rs:869:9
[INFO] [stdout]     |
[INFO] [stdout] 869 | /         sqlx::query!(
[INFO] [stdout] 870 | |             "UPDATE products SET quantity_in_stock = quantity_in_stock - $1 WHERE id = $2",
[INFO] [stdout] 871 | |             new_quantity,
[INFO] [stdout] 872 | |             new_product_id
[INFO] [stdout] 873 | |         )
[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/dashboard/orders.rs:883:27
[INFO] [stdout]     |
[INFO] [stdout] 883 |               let product = sqlx::query!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 884 | |                 "SELECT quantity_in_stock FROM products WHERE id = $1 FOR UPDATE",
[INFO] [stdout] 885 | |                 existing.product_id
[INFO] [stdout] 886 | |             )
[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/dashboard/orders.rs:896:13
[INFO] [stdout]     |
[INFO] [stdout] 896 | /             sqlx::query!(
[INFO] [stdout] 897 | |                 "UPDATE products SET quantity_in_stock = quantity_in_stock - $1 WHERE id = $2",
[INFO] [stdout] 898 | |                 delta,
[INFO] [stdout] 899 | |                 existing.product_id
[INFO] [stdout] 900 | |             )
[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/dashboard/orders.rs:916:24
[INFO] [stdout]     |
[INFO] [stdout] 916 |       let updated_item = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 917 | |         OrderItem,
[INFO] [stdout] 918 | |         r#"UPDATE order_items
[INFO] [stdout] 919 | |            SET product_id = $1,
[INFO] [stdout] ...   |
[INFO] [stdout] 934 | |         item_uuid
[INFO] [stdout] 935 | |     )
[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/dashboard/orders.rs:940:5
[INFO] [stdout]     |
[INFO] [stdout] 940 | /     sqlx::query!(
[INFO] [stdout] 941 | |         r#"UPDATE orders
[INFO] [stdout] 942 | |            SET subtotal = subtotal + $1,
[INFO] [stdout] 943 | |                total_amount = total_amount + $1,
[INFO] [stdout] ...   |
[INFO] [stdout] 947 | |         order_uuid
[INFO] [stdout] 948 | |     )
[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/dashboard/orders.rs:983:5
[INFO] [stdout]     |
[INFO] [stdout] 983 |     sqlx::query!("SELECT id FROM orders WHERE id = $1 FOR UPDATE", order_uuid)
[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/dashboard/orders.rs:989:16
[INFO] [stdout]     |
[INFO] [stdout] 989 |       let item = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 990 | |         OrderItem,
[INFO] [stdout] 991 | |         r#"SELECT id, order_id, product_id, product_name, product_sku, unit_price, quantity, line_total,
[INFO] [stdout] 992 | |                   status as "status: OrderItemStatus", created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 997 | |         order_uuid
[INFO] [stdout] 998 | |     )
[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/dashboard/orders.rs:1004:5
[INFO] [stdout]      |
[INFO] [stdout] 1004 | /     sqlx::query!(
[INFO] [stdout] 1005 | |         "UPDATE barcodes SET is_sold = false, order_item_id = NULL WHERE order_item_id = $1",
[INFO] [stdout] 1006 | |         item_uuid
[INFO] [stdout] 1007 | |     )
[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/dashboard/orders.rs:1012:5
[INFO] [stdout]      |
[INFO] [stdout] 1012 |     sqlx::query!("DELETE FROM order_items WHERE id = $1", item_uuid)
[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/dashboard/orders.rs:1017:5
[INFO] [stdout]      |
[INFO] [stdout] 1017 | /     sqlx::query!(
[INFO] [stdout] 1018 | |         "UPDATE products SET quantity_in_stock = quantity_in_stock + $1 WHERE id = $2",
[INFO] [stdout] 1019 | |         item.quantity,
[INFO] [stdout] 1020 | |         item.product_id
[INFO] [stdout] 1021 | |     )
[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/dashboard/orders.rs:1026:5
[INFO] [stdout]      |
[INFO] [stdout] 1026 | /     sqlx::query!(
[INFO] [stdout] 1027 | |         r#"UPDATE orders
[INFO] [stdout] 1028 | |            SET subtotal = subtotal - $1,
[INFO] [stdout] 1029 | |                total_amount = total_amount - $1,
[INFO] [stdout] ...    |
[INFO] [stdout] 1033 | |         order_uuid
[INFO] [stdout] 1034 | |     )
[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/dashboard/orders.rs:1077:5
[INFO] [stdout]      |
[INFO] [stdout] 1077 |     sqlx::query!("SELECT id FROM orders WHERE id = $1 FOR UPDATE", order_uuid)
[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/dashboard/orders.rs:1083:20
[INFO] [stdout]      |
[INFO] [stdout] 1083 |       let existing = sqlx::query_as!(
[INFO] [stdout]      |  ____________________^
[INFO] [stdout] 1084 | |         OrderItem,
[INFO] [stdout] 1085 | |         r#"SELECT id, order_id, product_id, product_name, product_sku, unit_price, quantity, line_total,
[INFO] [stdout] 1086 | |                   status as "status: OrderItemStatus", created_at
[INFO] [stdout] ...    |
[INFO] [stdout] 1091 | |         order_uuid
[INFO] [stdout] 1092 | |     )
[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/dashboard/orders.rs:1102:24
[INFO] [stdout]      |
[INFO] [stdout] 1102 |       let updated_item = sqlx::query_as!(
[INFO] [stdout]      |  ________________________^
[INFO] [stdout] 1103 | |         OrderItem,
[INFO] [stdout] 1104 | |         r#"UPDATE order_items
[INFO] [stdout] 1105 | |            SET status = $1
[INFO] [stdout] ...    |
[INFO] [stdout] 1110 | |         item_uuid
[INFO] [stdout] 1111 | |     )
[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/dashboard/orders.rs:1117:9
[INFO] [stdout]      |
[INFO] [stdout] 1117 | /         sqlx::query!(
[INFO] [stdout] 1118 | |             "UPDATE products SET quantity_in_stock = quantity_in_stock + $1 WHERE id = $2",
[INFO] [stdout] 1119 | |             existing.quantity,
[INFO] [stdout] 1120 | |             existing.product_id
[INFO] [stdout] 1121 | |         )
[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/dashboard/orders.rs:1126:9
[INFO] [stdout]      |
[INFO] [stdout] 1126 | /         sqlx::query!(
[INFO] [stdout] 1127 | |             "UPDATE barcodes SET is_sold = false WHERE order_item_id = $1",
[INFO] [stdout] 1128 | |             item_uuid
[INFO] [stdout] 1129 | |         )
[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/dashboard/orders.rs:1139:9
[INFO] [stdout]      |
[INFO] [stdout] 1139 | /         sqlx::query!(
[INFO] [stdout] 1140 | |             r#"UPDATE orders
[INFO] [stdout] 1141 | |                SET subtotal = subtotal - $1,
[INFO] [stdout] 1142 | |                    total_amount = total_amount - $1,
[INFO] [stdout] ...    |
[INFO] [stdout] 1146 | |             order_uuid
[INFO] [stdout] 1147 | |         )
[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/dashboard/specifications.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |       let specs = sqlx::query_as!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 73 | |         ProductSpecification,
[INFO] [stdout] 74 | |         r#"SELECT id, product_id, group_name, key, value, unit, sort_order,
[INFO] [stdout] 75 | |                   is_highlighted, is_filterable, is_active, created_at, updated_at
[INFO] [stdout] 76 | |            FROM product_specifications
[INFO] [stdout] 77 | |            ORDER BY created_at DESC, sort_order ASC"#
[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_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/dashboard/specifications.rs:108:20
[INFO] [stdout]     |
[INFO] [stdout] 108 |           let spec = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 109 | |             ProductSpecification,
[INFO] [stdout] 110 | |             r#"INSERT INTO product_specifications
[INFO] [stdout] 111 | |                    (product_id, group_name, key, value, unit, sort_order,
[INFO] [stdout] ...   |
[INFO] [stdout] 124 | |             item.is_active.unwrap_or(true)
[INFO] [stdout] 125 | |         )
[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/dashboard/specifications.rs:150:16
[INFO] [stdout]     |
[INFO] [stdout] 150 |       let spec = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 151 | |         ProductSpecification,
[INFO] [stdout] 152 | |         r#"UPDATE product_specifications
[INFO] [stdout] 153 | |            SET group_name = COALESCE($2, group_name),
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |         body.is_active
[INFO] [stdout] 174 | |     )
[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/dashboard/stats.rs:23:25
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let uploads_count = sqlx::query_scalar!("SELECT COUNT(*) FROM uploads")
[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/dashboard/stats.rs:29:26
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let products_count = sqlx::query_scalar!("SELECT COUNT(*) FROM products")
[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/dashboard/stats.rs:35:24
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let orders_count = sqlx::query_scalar!("SELECT COUNT(*) FROM orders")
[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/dashboard/stats.rs:41:28
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let categories_count = sqlx::query_scalar!("SELECT COUNT(*) FROM categories")
[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/dashboard/stats.rs:47:32
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let sub_categories_count = sqlx::query_scalar!("SELECT COUNT(*) FROM sub_categories")
[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/dashboard/stats.rs:53:26
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let contacts_count = sqlx::query_scalar!("SELECT COUNT(*) FROM contacts")
[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/dashboard/stats.rs:59:24
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let brands_count = sqlx::query_scalar!("SELECT COUNT(*) FROM brands")
[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/dashboard/stats.rs:65:26
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let barcodes_count = sqlx::query_scalar!("SELECT COUNT(*) FROM barcodes")
[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/dashboard/stats.rs:71:23
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let users_count = sqlx::query_scalar!("SELECT COUNT(*) FROM users")
[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/dashboard/stats.rs:77:29
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let admin_users_count = sqlx::query_scalar!("SELECT COUNT(*) FROM users WHERE is_admin = TRUE")
[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/dashboard/policies.rs:49:20
[INFO] [stdout]    |
[INFO] [stdout] 49 |       let policies = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 50 | |         Policy,
[INFO] [stdout] 51 | |         r#"SELECT id, name, slug, seo_title, seo_description, content,
[INFO] [stdout] 52 | |                   is_active, sort_order, created_at, updated_at
[INFO] [stdout] 53 | |            FROM policies
[INFO] [stdout] 54 | |            ORDER BY sort_order ASC"#
[INFO] [stdout] 55 | |     )
[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/dashboard/policies.rs:72:18
[INFO] [stdout]    |
[INFO] [stdout] 72 |       let policy = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 73 | |         Policy,
[INFO] [stdout] 74 | |         r#"INSERT INTO policies (name, slug, seo_title, seo_description, content, is_active, sort_order)
[INFO] [stdout] 75 | |            VALUES ($1, $2, $3, $4, $5, $6, $7)
[INFO] [stdout] ...  |
[INFO] [stdout] 84 | |         sort_order
[INFO] [stdout] 85 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/dashboard/policies.rs:117:18
[INFO] [stdout]     |
[INFO] [stdout] 117 |       let policy = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 118 | |         Policy,
[INFO] [stdout] 119 | |         r#"UPDATE policies
[INFO] [stdout] 120 | |            SET name = COALESCE($1, name),
[INFO] [stdout] ...   |
[INFO] [stdout] 138 | |         uuid
[INFO] [stdout] 139 | |     )
[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/dashboard/policies.rs:169:18
[INFO] [stdout]     |
[INFO] [stdout] 169 |     let result = sqlx::query!("DELETE FROM policies WHERE id = $1", uuid)
[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/dashboard/sub_categories.rs:106:16
[INFO] [stdout]     |
[INFO] [stdout] 106 |       let rows = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 107 | |         SubCategoryRow,
[INFO] [stdout] 108 | |         r#"SELECT sc.id, sc.name, sc.slug, sc.description, sc.is_active, sc.created_at, sc.updated_at,
[INFO] [stdout] 109 | |                 COUNT(DISTINCT p.id) as "products_count!",
[INFO] [stdout] ...   |
[INFO] [stdout] 118 | |            ORDER BY sc.created_at DESC"#
[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/dashboard/sub_categories.rs:126:19
[INFO] [stdout]     |
[INFO] [stdout] 126 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 127 | |         Upload,
[INFO] [stdout] 128 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 129 | |            FROM uploads
[INFO] [stdout] 130 | |            WHERE sub_category_id = ANY($1)"#,
[INFO] [stdout] 131 | |         &ids
[INFO] [stdout] 132 | |     )
[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/dashboard/sub_categories.rs:160:15
[INFO] [stdout]     |
[INFO] [stdout] 160 |       let row = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 161 | |         SubCategoryRow,
[INFO] [stdout] 162 | |         r#"SELECT sc.id, sc.name, sc.slug, sc.description, sc.is_active, sc.created_at, sc.updated_at,
[INFO] [stdout] 163 | |                 COUNT(DISTINCT p.id) as "products_count!",
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |         uuid
[INFO] [stdout] 174 | |     )
[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/dashboard/sub_categories.rs:180:19
[INFO] [stdout]     |
[INFO] [stdout] 180 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 181 | |         Upload,
[INFO] [stdout] 182 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 183 | |            FROM uploads
[INFO] [stdout] 184 | |            WHERE sub_category_id = $1"#,
[INFO] [stdout] 185 | |         uuid
[INFO] [stdout] 186 | |     )
[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/dashboard/sub_categories.rs:202:16
[INFO] [stdout]     |
[INFO] [stdout] 202 |       let rows = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 203 | |         SubCategoryRow,
[INFO] [stdout] 204 | |         r#"SELECT sc.id, sc.name, sc.slug, sc.description, sc.is_active, sc.created_at, sc.updated_at,
[INFO] [stdout] 205 | |                   COUNT(DISTINCT p.id) as "products_count!",
[INFO] [stdout] ...   |
[INFO] [stdout] 216 | |         category_id
[INFO] [stdout] 217 | |     )
[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/dashboard/sub_categories.rs:224:19
[INFO] [stdout]     |
[INFO] [stdout] 224 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 225 | |         Upload,
[INFO] [stdout] 226 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 227 | |            FROM uploads
[INFO] [stdout] 228 | |            WHERE sub_category_id = ANY($1)"#,
[INFO] [stdout] 229 | |         &ids
[INFO] [stdout] 230 | |     )
[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/dashboard/sub_categories.rs:261:24
[INFO] [stdout]     |
[INFO] [stdout] 261 |       let sub_category = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 262 | |         SubCategory,
[INFO] [stdout] 263 | |         r#"INSERT INTO sub_categories (category_id, name, slug, description)
[INFO] [stdout] 264 | |            VALUES ($1, $2, $3, $4)
[INFO] [stdout] ...   |
[INFO] [stdout] 269 | |         payload.description
[INFO] [stdout] 270 | |     )
[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/dashboard/sub_categories.rs:305:24
[INFO] [stdout]     |
[INFO] [stdout] 305 |       let sub_category = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 306 | |         SubCategory,
[INFO] [stdout] 307 | |         r#"UPDATE sub_categories
[INFO] [stdout] 308 | |            SET name = COALESCE($1, name),
[INFO] [stdout] ...   |
[INFO] [stdout] 321 | |         payload.category_id,
[INFO] [stdout] 322 | |     )
[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/dashboard/sub_categories.rs:351:18
[INFO] [stdout]     |
[INFO] [stdout] 351 |     let result = sqlx::query!("DELETE FROM sub_categories WHERE id = $1", uuid)
[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/dashboard/uploads.rs:126:20
[INFO] [stdout]     |
[INFO] [stdout] 126 |       let products = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 127 | |         MiniProduct,
[INFO] [stdout] 128 | |         "SELECT id, name FROM products WHERE id = ANY($1)",
[INFO] [stdout] 129 | |         &product_ids
[INFO] [stdout] 130 | |     )
[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/dashboard/uploads.rs:135:22
[INFO] [stdout]     |
[INFO] [stdout] 135 |       let categories = sqlx::query_as!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 136 | |         MiniCategory,
[INFO] [stdout] 137 | |         "SELECT id, name FROM categories WHERE id = ANY($1)",
[INFO] [stdout] 138 | |         &category_ids
[INFO] [stdout] 139 | |     )
[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/dashboard/uploads.rs:144:26
[INFO] [stdout]     |
[INFO] [stdout] 144 |       let sub_categories = sqlx::query_as!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 145 | |         MiniSubCategory,
[INFO] [stdout] 146 | |         "SELECT id, name FROM sub_categories WHERE id = ANY($1)",
[INFO] [stdout] 147 | |         &sub_category_ids
[INFO] [stdout] 148 | |     )
[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/dashboard/uploads.rs:153:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |       let brands = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 154 | |         MiniBrand,
[INFO] [stdout] 155 | |         "SELECT id, name FROM brands WHERE id = ANY($1)",
[INFO] [stdout] 156 | |         &brand_ids
[INFO] [stdout] 157 | |     )
[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/dashboard/uploads.rs:275:19
[INFO] [stdout]     |
[INFO] [stdout] 275 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 276 | |         Upload,
[INFO] [stdout] 277 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 278 | |            FROM uploads
[INFO] [stdout] 279 | |            ORDER BY created_at DESC"#
[INFO] [stdout] 280 | |     )
[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/dashboard/uploads.rs:295:18
[INFO] [stdout]     |
[INFO] [stdout] 295 |       let upload = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 296 | |         Upload,
[INFO] [stdout] 297 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 298 | |            FROM uploads
[INFO] [stdout] 299 | |            WHERE id = $1"#,
[INFO] [stdout] 300 | |         uuid
[INFO] [stdout] 301 | |     )
[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/dashboard/uploads.rs:423:18
[INFO] [stdout]     |
[INFO] [stdout] 423 |       let upload = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 424 | |         Upload,
[INFO] [stdout] 425 | |         r#"INSERT INTO uploads (product_id, category_id, sub_category_id, brand_id, name, file_path, file_type)
[INFO] [stdout] 426 | |            VALUES ($1, $2, $3, $4, $5, $6, $7)
[INFO] [stdout] ...   |
[INFO] [stdout] 434 | |         file_type
[INFO] [stdout] 435 | |     )
[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/dashboard/uploads.rs:472:20
[INFO] [stdout]     |
[INFO] [stdout] 472 |       let existing = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 473 | |         Upload,
[INFO] [stdout] 474 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 475 | |            FROM uploads
[INFO] [stdout] 476 | |            WHERE id = $1"#,
[INFO] [stdout] 477 | |         uuid
[INFO] [stdout] 478 | |     )
[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/dashboard/uploads.rs:596:18
[INFO] [stdout]     |
[INFO] [stdout] 596 |       let upload = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 597 | |         Upload,
[INFO] [stdout] 598 | |         r#"UPDATE uploads
[INFO] [stdout] 599 | |            SET product_id = $1,
[INFO] [stdout] ...   |
[INFO] [stdout] 615 | |         uuid
[INFO] [stdout] 616 | |     )
[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/dashboard/uploads.rs:652:18
[INFO] [stdout]     |
[INFO] [stdout] 652 |       let upload = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 653 | |         Upload,
[INFO] [stdout] 654 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 655 | |            FROM uploads
[INFO] [stdout] 656 | |            WHERE id = $1"#,
[INFO] [stdout] 657 | |         uuid
[INFO] [stdout] 658 | |     )
[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/dashboard/uploads.rs:664:5
[INFO] [stdout]     |
[INFO] [stdout] 664 |     sqlx::query!("DELETE FROM uploads WHERE id = $1", uuid)
[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/middleware.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 |       let user = sqlx::query!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 30 | |         "SELECT token_version, is_active, is_admin FROM users WHERE id = $1",
[INFO] [stdout] 31 | |         claims.sub
[INFO] [stdout] 32 | |     )
[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/public/account.rs:104:16
[INFO] [stdout]     |
[INFO] [stdout] 104 |       let user = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 105 | |         "SELECT id, is_active FROM users WHERE LOWER(email) = $1",
[INFO] [stdout] 106 | |         email
[INFO] [stdout] 107 | |     )
[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/public/account.rs:188:17
[INFO] [stdout]     |
[INFO] [stdout] 188 |       let email = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 189 | |         r#"UPDATE users
[INFO] [stdout] 190 | |            SET password_hash = $1,
[INFO] [stdout] 191 | |                token_version = token_version + 1,
[INFO] [stdout] ...   |
[INFO] [stdout] 197 | |         user_id
[INFO] [stdout] 198 | |     )
[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/public/account.rs:203:5
[INFO] [stdout]     |
[INFO] [stdout] 203 | /     sqlx::query!(
[INFO] [stdout] 204 | |         "DELETE FROM user_tokens WHERE user_id = $1 AND purpose = $2 AND used_at IS NULL",
[INFO] [stdout] 205 | |         user_id,
[INFO] [stdout] 206 | |         PASSWORD_RESET
[INFO] [stdout] 207 | |     )
[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/public/account.rs:240:5
[INFO] [stdout]     |
[INFO] [stdout] 240 | /     sqlx::query!(
[INFO] [stdout] 241 | |         "UPDATE users SET email_verified_at = COALESCE(email_verified_at, NOW()), updated_at = NOW() WHERE id = $1",
[INFO] [stdout] 242 | |         user_id
[INFO] [stdout] 243 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/public/account.rs:264:20
[INFO] [stdout]     |
[INFO] [stdout] 264 |           let user = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 265 | |             "SELECT id, email FROM users WHERE LOWER(email) = $1 AND is_active = TRUE AND email_verified_at IS NULL",
[INFO] [stdout] 266 | |             email
[INFO] [stdout] 267 | |         )
[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/public/barcodes.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 |       let exists = sqlx::query_scalar!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 26 | |         r#"SELECT EXISTS(SELECT 1 FROM barcodes WHERE code = $1) as "exists!""#,
[INFO] [stdout] 27 | |         code
[INFO] [stdout] 28 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/public/brands.rs:36:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |       let brands = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 37 | |         PublicBrandListItem,
[INFO] [stdout] 38 | |         r#"SELECT name, slug
[INFO] [stdout] 39 | |            FROM brands
[INFO] [stdout] 40 | |            WHERE is_active = TRUE
[INFO] [stdout] 41 | |            ORDER BY name ASC"#
[INFO] [stdout] 42 | |     )
[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/public/brands.rs:58:17
[INFO] [stdout]    |
[INFO] [stdout] 58 |       let brand = sqlx::query_as!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 59 | |         BrandDetailRow,
[INFO] [stdout] 60 | |         r#"SELECT id, name, slug, description
[INFO] [stdout] 61 | |            FROM brands
[INFO] [stdout] 62 | |            WHERE slug = $1 AND is_active = TRUE"#,
[INFO] [stdout] 63 | |         slug
[INFO] [stdout] 64 | |     )
[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/public/brands.rs:70:24
[INFO] [stdout]    |
[INFO] [stdout] 70 |       let mut products = sqlx::query_as!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 71 | |         PublicProductRow,
[INFO] [stdout] 72 | |         r#"SELECT id, name, slug, sku, brand_id, category_id as "category_id!", sub_category_id, model, description, content, imag...
[INFO] [stdout] 73 | |                   warranty_months,
[INFO] [stdout] ...  |
[INFO] [stdout] 81 | |         offset
[INFO] [stdout] 82 | |     )
[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/public/brands.rs:92:19
[INFO] [stdout]    |
[INFO] [stdout] 92 |       let uploads = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 93 | |         Upload,
[INFO] [stdout] 94 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 95 | |            FROM uploads
[INFO] [stdout] ...  |
[INFO] [stdout] 98 | |         &product_ids
[INFO] [stdout] 99 | |     )
[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/dashboard/products.rs:180:20
[INFO] [stdout]     |
[INFO] [stdout] 180 |       let products = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 181 | |         ProductOption,
[INFO] [stdout] 182 | |         r#"SELECT id, name, slug, sku, is_active, quantity_in_stock
[INFO] [stdout] 183 | |            FROM products
[INFO] [stdout] 184 | |            ORDER BY name ASC"#
[INFO] [stdout] 185 | |     )
[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/dashboard/products.rs:196:20
[INFO] [stdout]     |
[INFO] [stdout] 196 |       let products = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 197 | |         Product,
[INFO] [stdout] 198 | |         r#"SELECT id, category_id, sub_category_id, brand_id, name, slug, sku, brand, model, description, content,
[INFO] [stdout] 199 | |                   warranty_months,
[INFO] [stdout] ...   |
[INFO] [stdout] 205 | |            ORDER BY created_at DESC"#
[INFO] [stdout] 206 | |     )
[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/dashboard/products.rs:213:20
[INFO] [stdout]     |
[INFO] [stdout] 213 |       let seo_rows = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 214 | |         ProductSeo,
[INFO] [stdout] 215 | |         r#"SELECT id, product_id, meta_title, meta_description, meta_keywords,
[INFO] [stdout] 216 | |                   og_title, og_description, og_image_url, canonical_url, focus_keyword,
[INFO] [stdout] ...   |
[INFO] [stdout] 220 | |         &product_ids
[INFO] [stdout] 221 | |     )
[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/dashboard/products.rs:226:43
[INFO] [stdout]     |
[INFO] [stdout] 226 |       let spec_counts: HashMap<Uuid, i64> = sqlx::query!(
[INFO] [stdout]     |  ___________________________________________^
[INFO] [stdout] 227 | |         r#"SELECT product_id, COUNT(*) AS "count!"
[INFO] [stdout] 228 | |            FROM product_specifications
[INFO] [stdout] 229 | |            WHERE product_id = ANY($1)
[INFO] [stdout] 230 | |            GROUP BY product_id"#,
[INFO] [stdout] 231 | |         &product_ids
[INFO] [stdout] 232 | |     )
[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/dashboard/products.rs:256:19
[INFO] [stdout]     |
[INFO] [stdout] 256 |       let product = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 257 | |         Product,
[INFO] [stdout] 258 | |         r#"SELECT id, category_id, sub_category_id, brand_id, name, slug, sku, brand, model, description, content,
[INFO] [stdout] 259 | |                   warranty_months,
[INFO] [stdout] ...   |
[INFO] [stdout] 266 | |         uuid
[INFO] [stdout] 267 | |     )
[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/public/categories.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 | /         sqlx::query_as!(
[INFO] [stdout] 73 | |             CategoryRow,
[INFO] [stdout] 74 | |             r#"SELECT id, name, slug, is_featured
[INFO] [stdout] 75 | |                FROM categories
[INFO] [stdout] ...  |
[INFO] [stdout] 79 | |             limit
[INFO] [stdout] 80 | |         )
[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/dashboard/products.rs:273:15
[INFO] [stdout]     |
[INFO] [stdout] 273 |       let seo = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 274 | |         ProductSeo,
[INFO] [stdout] 275 | |         r#"SELECT id, product_id, meta_title, meta_description, meta_keywords,
[INFO] [stdout] 276 | |                   og_title, og_description, og_image_url, canonical_url, focus_keyword,
[INFO] [stdout] ...   |
[INFO] [stdout] 280 | |         uuid
[INFO] [stdout] 281 | |     )
[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/public/categories.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 | /         sqlx::query_as!(
[INFO] [stdout] 86 | |             CategoryRow,
[INFO] [stdout] 87 | |             r#"SELECT id, name, slug, is_featured
[INFO] [stdout] 88 | |                FROM categories
[INFO] [stdout] ...  |
[INFO] [stdout] 92 | |             limit
[INFO] [stdout] 93 | |         )
[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/dashboard/products.rs:286:29
[INFO] [stdout]     |
[INFO] [stdout] 286 |       let total_specs_count = sqlx::query_scalar!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 287 | |         r#"SELECT COUNT(*) AS "count!" FROM product_specifications WHERE product_id = $1"#,
[INFO] [stdout] 288 | |         uuid
[INFO] [stdout] 289 | |     )
[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/public/categories.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 | /         sqlx::query_as!(
[INFO] [stdout] 104 | |             SubCategoryRow,
[INFO] [stdout] 105 | |             r#"SELECT c.slug as category_slug, sc.name, sc.slug
[INFO] [stdout] 106 | |                FROM sub_categories sc
[INFO] [stdout] ...   |
[INFO] [stdout] 109 | |                ORDER BY sc.name ASC"#
[INFO] [stdout] 110 | |         )
[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/public/categories.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 120 | /         sqlx::query_as!(
[INFO] [stdout] 121 | |             Upload,
[INFO] [stdout] 122 | |             r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 123 | |                FROM uploads
[INFO] [stdout] 124 | |                WHERE category_id = ANY($1)"#,
[INFO] [stdout] 125 | |             &ids
[INFO] [stdout] 126 | |         )
[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/dashboard/products.rs:313:19
[INFO] [stdout]     |
[INFO] [stdout] 313 |       let product = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 314 | |         Product,
[INFO] [stdout] 315 | |         r#"INSERT INTO products (
[INFO] [stdout] 316 | |                category_id, sub_category_id, brand_id, name, slug, sku, brand, model, description, content,
[INFO] [stdout] ...   |
[INFO] [stdout] 354 | |         payload.image_url
[INFO] [stdout] 355 | |     )
[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/public/categories.rs:186:20
[INFO] [stdout]     |
[INFO] [stdout] 186 |       let category = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 187 | |         CategoryDetailRow,
[INFO] [stdout] 188 | |         r#"SELECT id, name, slug, description
[INFO] [stdout] 189 | |            FROM categories
[INFO] [stdout] 190 | |            WHERE slug = $1 AND is_active = TRUE"#,
[INFO] [stdout] 191 | |         slug
[INFO] [stdout] 192 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/public/categories.rs:198:24
[INFO] [stdout]     |
[INFO] [stdout] 198 |       let mut products = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 199 | |         PublicProductRow,
[INFO] [stdout] 200 | |         r#"SELECT id, name, slug, sku, brand_id, category_id as "category_id!", sub_category_id, model, description, content, ima...
[INFO] [stdout] 201 | |                   warranty_months,
[INFO] [stdout] ...   |
[INFO] [stdout] 209 | |         offset
[INFO] [stdout] 210 | |     )
[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/public/categories.rs:220:19
[INFO] [stdout]     |
[INFO] [stdout] 220 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 221 | |         Upload,
[INFO] [stdout] 222 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 223 | |            FROM uploads
[INFO] [stdout] ...   |
[INFO] [stdout] 226 | |         &product_ids
[INFO] [stdout] 227 | |     )
[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/dashboard/products.rs:389:19
[INFO] [stdout]     |
[INFO] [stdout] 389 |       let product = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 390 | |         Product,
[INFO] [stdout] 391 | |         r#"UPDATE products
[INFO] [stdout] 392 | |            SET category_id = COALESCE($1, category_id),
[INFO] [stdout] ...   |
[INFO] [stdout] 440 | |         uuid
[INFO] [stdout] 441 | |     )
[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/dashboard/products_seo.rs:120:16
[INFO] [stdout]     |
[INFO] [stdout] 120 |       let rows = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 121 | |         ProductSeoRow,
[INFO] [stdout] 122 | |         r#"SELECT ps.id, ps.product_id, ps.meta_title, ps.meta_description, ps.meta_keywords,
[INFO] [stdout] 123 | |                   ps.og_title, ps.og_description, ps.og_image_url, ps.canonical_url, ps.focus_keyword,
[INFO] [stdout] ...   |
[INFO] [stdout] 128 | |            ORDER BY ps.created_at DESC"#
[INFO] [stdout] 129 | |     )
[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/public/orders.rs:136:23
[INFO] [stdout]     |
[INFO] [stdout] 136 |           let product = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 137 | |             r#"SELECT id, name, sku, selling_price, quantity_in_stock, shipping_cost, tax
[INFO] [stdout] 138 | |                FROM products
[INFO] [stdout] 139 | |                WHERE slug = $1 AND sku = $2 AND is_active = true
[INFO] [stdout] ...   |
[INFO] [stdout] 142 | |             item.sku
[INFO] [stdout] 143 | |         )
[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/dashboard/products_seo.rs:143:15
[INFO] [stdout]     |
[INFO] [stdout] 143 |       let row = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 144 | |         ProductSeoRow,
[INFO] [stdout] 145 | |         r#"SELECT ps.id, ps.product_id, ps.meta_title, ps.meta_description, ps.meta_keywords,
[INFO] [stdout] 146 | |                   ps.og_title, ps.og_description, ps.og_image_url, ps.canonical_url, ps.focus_keyword,
[INFO] [stdout] ...   |
[INFO] [stdout] 152 | |         uuid
[INFO] [stdout] 153 | |     )
[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/public/orders.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 | /         sqlx::query!(
[INFO] [stdout] 174 | |             "UPDATE products SET quantity_in_stock = quantity_in_stock - $1 WHERE id = $2",
[INFO] [stdout] 175 | |             item.quantity,
[INFO] [stdout] 176 | |             product.id
[INFO] [stdout] 177 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/dashboard/products_seo.rs:167:15
[INFO] [stdout]     |
[INFO] [stdout] 167 |       let row = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 168 | |         ProductSeoRow,
[INFO] [stdout] 169 | |         r#"INSERT INTO products_seo (
[INFO] [stdout] 170 | |                product_id, meta_title, meta_description, meta_keywords,
[INFO] [stdout] ...   |
[INFO] [stdout] 189 | |         payload.focus_keyword
[INFO] [stdout] 190 | |     )
[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/public/orders.rs:189:23
[INFO] [stdout]     |
[INFO] [stdout] 189 |           let attempt = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 190 | |             Order,
[INFO] [stdout] 191 | |             r#"INSERT INTO orders (order_number, user_id, customer_name, customer_email, customer_phone,
[INFO] [stdout] 192 | |                                     shipping_address, notes, status, subtotal, tax_amount, shipping_amount, total_amount)
[INFO] [stdout] ...   |
[INFO] [stdout] 207 | |             total_amount
[INFO] [stdout] 208 | |         )
[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/dashboard/products_seo.rs:223:15
[INFO] [stdout]     |
[INFO] [stdout] 223 |       let row = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 224 | |         ProductSeoRow,
[INFO] [stdout] 225 | |         r#"UPDATE products_seo ps
[INFO] [stdout] 226 | |            SET meta_title = COALESCE($1, meta_title),
[INFO] [stdout] ...   |
[INFO] [stdout] 250 | |         uuid
[INFO] [stdout] 251 | |     )
[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/public/orders.rs:230:26
[INFO] [stdout]     |
[INFO] [stdout] 230 |           let order_item = sqlx::query_as!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 231 | |             OrderItem,
[INFO] [stdout] 232 | |             r#"INSERT INTO order_items (order_id, product_id, product_name, product_sku, unit_price, quantity, line_total)
[INFO] [stdout] 233 | |                VALUES ($1, $2, $3, $4, $5, $6, $7)
[INFO] [stdout] ...   |
[INFO] [stdout] 242 | |             line_total
[INFO] [stdout] 243 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/dashboard/products_seo.rs:276:18
[INFO] [stdout]     |
[INFO] [stdout] 276 |     let result = sqlx::query!("DELETE FROM products_seo WHERE id = $1", uuid)
[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/public/orders.rs:271:17
[INFO] [stdout]     |
[INFO] [stdout] 271 |       let order = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 272 | |         Order,
[INFO] [stdout] 273 | |         r#"SELECT id, order_number, user_id, customer_name, customer_email, customer_phone,
[INFO] [stdout] 274 | |                   shipping_address, status as "status: OrderStatus", subtotal, tax_amount,
[INFO] [stdout] ...   |
[INFO] [stdout] 278 | |         order_number
[INFO] [stdout] 279 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/dashboard/specifications.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |       let specs = sqlx::query_as!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 73 | |         ProductSpecification,
[INFO] [stdout] 74 | |         r#"SELECT id, product_id, group_name, key, value, unit, sort_order,
[INFO] [stdout] 75 | |                   is_highlighted, is_filterable, is_active, created_at, updated_at
[INFO] [stdout] 76 | |            FROM product_specifications
[INFO] [stdout] 77 | |            ORDER BY created_at DESC, sort_order ASC"#
[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_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/public/orders.rs:285:17
[INFO] [stdout]     |
[INFO] [stdout] 285 |       let items = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 286 | |         OrderItem,
[INFO] [stdout] 287 | |         r#"SELECT id, order_id, product_id, product_name, product_sku, unit_price, quantity, line_total,
[INFO] [stdout] 288 | |                   status as "status: OrderItemStatus", created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 292 | |         order.id
[INFO] [stdout] 293 | |     )
[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/public/orders.rs:310:18
[INFO] [stdout]     |
[INFO] [stdout] 310 |       let orders = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 311 | |         Order,
[INFO] [stdout] 312 | |         r#"SELECT id, order_number, user_id, customer_name, customer_email, customer_phone,
[INFO] [stdout] 313 | |                   shipping_address, status as "status: OrderStatus", subtotal, tax_amount,
[INFO] [stdout] ...   |
[INFO] [stdout] 318 | |         claims.sub
[INFO] [stdout] 319 | |     )
[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/dashboard/specifications.rs:108:20
[INFO] [stdout]     |
[INFO] [stdout] 108 |           let spec = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 109 | |             ProductSpecification,
[INFO] [stdout] 110 | |             r#"INSERT INTO product_specifications
[INFO] [stdout] 111 | |                    (product_id, group_name, key, value, unit, sort_order,
[INFO] [stdout] ...   |
[INFO] [stdout] 124 | |             item.is_active.unwrap_or(true)
[INFO] [stdout] 125 | |         )
[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/public/orders.rs:327:21
[INFO] [stdout]     |
[INFO] [stdout] 327 |           let items = sqlx::query_as!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 328 | |             OrderItem,
[INFO] [stdout] 329 | |             r#"SELECT id, order_id, product_id, product_name, product_sku, unit_price, quantity, line_total,
[INFO] [stdout] 330 | |                       status as "status: OrderItemStatus", created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 334 | |             order.id
[INFO] [stdout] 335 | |         )
[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/public/policies.rs:22:18
[INFO] [stdout]    |
[INFO] [stdout] 22 |       let policy = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 23 | |         Policy,
[INFO] [stdout] 24 | |         r#"SELECT id, name, slug, seo_title, seo_description, content,
[INFO] [stdout] 25 | |                   is_active, sort_order, created_at, updated_at
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | |         slug
[INFO] [stdout] 29 | |     )
[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/dashboard/specifications.rs:150:16
[INFO] [stdout]     |
[INFO] [stdout] 150 |       let spec = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 151 | |         ProductSpecification,
[INFO] [stdout] 152 | |         r#"UPDATE product_specifications
[INFO] [stdout] 153 | |            SET group_name = COALESCE($2, group_name),
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |         body.is_active
[INFO] [stdout] 174 | |     )
[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/dashboard/stats.rs:23:25
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let uploads_count = sqlx::query_scalar!("SELECT COUNT(*) FROM uploads")
[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/public/policies.rs:41:20
[INFO] [stdout]    |
[INFO] [stdout] 41 |       let policies = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 42 | |         PolicyListItem,
[INFO] [stdout] 43 | |         r#"SELECT name, slug, sort_order
[INFO] [stdout] 44 | |            FROM policies
[INFO] [stdout] 45 | |            WHERE is_active = TRUE
[INFO] [stdout] 46 | |            ORDER BY sort_order ASC"#
[INFO] [stdout] 47 | |     )
[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/dashboard/stats.rs:29:26
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let products_count = sqlx::query_scalar!("SELECT COUNT(*) FROM products")
[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/dashboard/stats.rs:35:24
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let orders_count = sqlx::query_scalar!("SELECT COUNT(*) FROM orders")
[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/public/products.rs:212:16
[INFO] [stdout]     |
[INFO] [stdout] 212 |       let rows = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 213 | |         SearchProductRow,
[INFO] [stdout] 214 | |         r#"SELECT p.id, p.name, p.slug, p.sku, p.brand_id, p.category_id as "category_id!",
[INFO] [stdout] 215 | |                   p.sub_category_id, p.model, p.description, p.content,
[INFO] [stdout] ...   |
[INFO] [stdout] 255 | |         offset
[INFO] [stdout] 256 | |     )
[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/dashboard/stats.rs:41:28
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let categories_count = sqlx::query_scalar!("SELECT COUNT(*) FROM categories")
[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/dashboard/stats.rs:47:32
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let sub_categories_count = sqlx::query_scalar!("SELECT COUNT(*) FROM sub_categories")
[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/dashboard/stats.rs:53:26
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let contacts_count = sqlx::query_scalar!("SELECT COUNT(*) FROM contacts")
[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/public/products.rs:261:17
[INFO] [stdout]     |
[INFO] [stdout] 261 |       let total = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 262 | |         r#"SELECT COUNT(*) as "count!"
[INFO] [stdout] 263 | |            FROM products p
[INFO] [stdout] 264 | |            LEFT JOIN brands b ON b.id = p.brand_id
[INFO] [stdout] ...   |
[INFO] [stdout] 289 | |         req.in_stock_only,
[INFO] [stdout] 290 | |     )
[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/public/products.rs:297:19
[INFO] [stdout]     |
[INFO] [stdout] 297 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 298 | |         Upload,
[INFO] [stdout] 299 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 300 | |            FROM uploads
[INFO] [stdout] ...   |
[INFO] [stdout] 303 | |         &product_ids
[INFO] [stdout] 304 | |     )
[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/public/products.rs:344:18
[INFO] [stdout]     |
[INFO] [stdout] 344 |       let brands = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 345 | |         BrandRow,
[INFO] [stdout] 346 | |         r#"SELECT id, name, slug
[INFO] [stdout] 347 | |            FROM brands
[INFO] [stdout] 348 | |            WHERE id = ANY($1)"#,
[INFO] [stdout] 349 | |         brand_ids
[INFO] [stdout] 350 | |     )
[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/public/products.rs:355:19
[INFO] [stdout]     |
[INFO] [stdout] 355 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 356 | |         Upload,
[INFO] [stdout] 357 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 358 | |            FROM uploads
[INFO] [stdout] 359 | |            WHERE brand_id = ANY($1)"#,
[INFO] [stdout] 360 | |         brand_ids
[INFO] [stdout] 361 | |     )
[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/public/products.rs:435:16
[INFO] [stdout]     |
[INFO] [stdout] 435 |       let rows = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 436 | |         PublicProductRow,
[INFO] [stdout] 437 | |         r#"SELECT id, name, slug, sku, brand_id, category_id as "category_id!", sub_category_id, model, description, content, ima...
[INFO] [stdout] 438 | |                   warranty_months,
[INFO] [stdout] ...   |
[INFO] [stdout] 445 | |         SUGGESTED_PRODUCTS_LIMIT
[INFO] [stdout] 446 | |     )
[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/public/products.rs:453:19
[INFO] [stdout]     |
[INFO] [stdout] 453 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 454 | |         Upload,
[INFO] [stdout] 455 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 456 | |            FROM uploads
[INFO] [stdout] ...   |
[INFO] [stdout] 459 | |         &product_ids
[INFO] [stdout] 460 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/dashboard/stats.rs:59:24
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let brands_count = sqlx::query_scalar!("SELECT COUNT(*) FROM brands")
[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/dashboard/stats.rs:65:26
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let barcodes_count = sqlx::query_scalar!("SELECT COUNT(*) FROM barcodes")
[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/dashboard/stats.rs:71:23
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let users_count = sqlx::query_scalar!("SELECT COUNT(*) FROM users")
[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/dashboard/stats.rs:77:29
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let admin_users_count = sqlx::query_scalar!("SELECT COUNT(*) FROM users WHERE is_admin = TRUE")
[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/public/products.rs:493:24
[INFO] [stdout]     |
[INFO] [stdout] 493 |       let mut products = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 494 | |         PublicProductRow,
[INFO] [stdout] 495 | |         r#"SELECT id, name, slug, sku, brand_id, category_id as "category_id!", sub_category_id, model, description, content, ima...
[INFO] [stdout] 496 | |                   warranty_months,
[INFO] [stdout] ...   |
[INFO] [stdout] 503 | |         offset
[INFO] [stdout] 504 | |     )
[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/public/products.rs:514:19
[INFO] [stdout]     |
[INFO] [stdout] 514 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 515 | |         Upload,
[INFO] [stdout] 516 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 517 | |            FROM uploads
[INFO] [stdout] ...   |
[INFO] [stdout] 520 | |         &product_ids
[INFO] [stdout] 521 | |     )
[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/public/products.rs:563:16
[INFO] [stdout]     |
[INFO] [stdout] 563 |       let rows = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 564 | |         Row,
[INFO] [stdout] 565 | |         r#"SELECT id, name, slug FROM categories WHERE id = ANY($1)"#,
[INFO] [stdout] 566 | |         ids
[INFO] [stdout] 567 | |     )
[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/public/products.rs:596:16
[INFO] [stdout]     |
[INFO] [stdout] 596 |       let rows = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 597 | |         Row,
[INFO] [stdout] 598 | |         r#"SELECT id, name, slug FROM sub_categories WHERE id = ANY($1)"#,
[INFO] [stdout] 599 | |         ids
[INFO] [stdout] 600 | |     )
[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/public/products.rs:623:13
[INFO] [stdout]     |
[INFO] [stdout] 623 |       let p = sqlx::query_as!(
[INFO] [stdout]     |  _____________^
[INFO] [stdout] 624 | |         PublicProductRow,
[INFO] [stdout] 625 | |         r#"SELECT id, name, slug, sku, brand_id, category_id as "category_id!", sub_category_id, model, description, content, ima...
[INFO] [stdout] 626 | |                 warranty_months,
[INFO] [stdout] ...   |
[INFO] [stdout] 630 | |         slug
[INFO] [stdout] 631 | |     )
[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/public/products.rs:637:15
[INFO] [stdout]     |
[INFO] [stdout] 637 |       let seo = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 638 | |         PublicProductSeo,
[INFO] [stdout] 639 | |         r#"SELECT meta_title, meta_description, meta_keywords, og_title, og_description, og_image_url, canonical_url, focus_keyword
[INFO] [stdout] 640 | |            FROM products_seo
[INFO] [stdout] 641 | |            WHERE product_id = $1"#,
[INFO] [stdout] 642 | |         p.id
[INFO] [stdout] 643 | |     )
[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/public/products.rs:648:19
[INFO] [stdout]     |
[INFO] [stdout] 648 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 649 | |         Upload,
[INFO] [stdout] 650 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 651 | |            FROM uploads
[INFO] [stdout] ...   |
[INFO] [stdout] 654 | |         p.id
[INFO] [stdout] 655 | |     )
[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/public/products.rs:663:20
[INFO] [stdout]     |
[INFO] [stdout] 663 |       let category = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 664 | |         CategoryMiniRow,
[INFO] [stdout] 665 | |         r#"SELECT name, slug FROM categories WHERE id = $1"#,
[INFO] [stdout] 666 | |         p.category_id
[INFO] [stdout] 667 | |     )
[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/public/products.rs:677:9
[INFO] [stdout]     |
[INFO] [stdout] 677 | /         sqlx::query_as!(
[INFO] [stdout] 678 | |             CategoryMiniRow,
[INFO] [stdout] 679 | |             r#"SELECT name, slug FROM sub_categories WHERE id = $1"#,
[INFO] [stdout] 680 | |             sub_category_id
[INFO] [stdout] 681 | |         )
[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/public/products.rs:695:21
[INFO] [stdout]     |
[INFO] [stdout] 695 |       let spec_rows = sqlx::query_as!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 696 | |         SpecificationRow,
[INFO] [stdout] 697 | |         r#"SELECT group_name, key, value, unit, is_highlighted
[INFO] [stdout] 698 | |            FROM product_specifications
[INFO] [stdout] ...   |
[INFO] [stdout] 701 | |         product_id
[INFO] [stdout] 702 | |     )
[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/public/products.rs:741:20
[INFO] [stdout]     |
[INFO] [stdout] 741 |       let products = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 742 | |         PublicProductRow,
[INFO] [stdout] 743 | |         r#"SELECT id, name, slug, sku, brand_id, category_id as "category_id!", sub_category_id, model, description, content, ima...
[INFO] [stdout] 744 | |                   warranty_months,
[INFO] [stdout] ...   |
[INFO] [stdout] 750 | |         limit
[INFO] [stdout] 751 | |     )
[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/public/products.rs:758:19
[INFO] [stdout]     |
[INFO] [stdout] 758 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 759 | |         Upload,
[INFO] [stdout] 760 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 761 | |            FROM uploads
[INFO] [stdout] ...   |
[INFO] [stdout] 764 | |         &product_ids
[INFO] [stdout] 765 | |     )
[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/public/products.rs:807:20
[INFO] [stdout]     |
[INFO] [stdout] 807 |       let products = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 808 | |         PublicProductRow,
[INFO] [stdout] 809 | |         r#"SELECT id, name, slug, sku, brand_id, category_id as "category_id!", sub_category_id, model, description, content, ima...
[INFO] [stdout] 810 | |                   warranty_months,
[INFO] [stdout] ...   |
[INFO] [stdout] 814 | |         &slugs
[INFO] [stdout] 815 | |     )
[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/public/products.rs:822:19
[INFO] [stdout]     |
[INFO] [stdout] 822 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 823 | |         Upload,
[INFO] [stdout] 824 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 825 | |            FROM uploads
[INFO] [stdout] ...   |
[INFO] [stdout] 828 | |         &product_ids
[INFO] [stdout] 829 | |     )
[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/public/sub_categories.rs:36:26
[INFO] [stdout]    |
[INFO] [stdout] 36 |       let sub_categories = sqlx::query_as!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 37 | |         PublicSubCategoryListItem,
[INFO] [stdout] 38 | |         r#"SELECT name, slug
[INFO] [stdout] 39 | |            FROM sub_categories
[INFO] [stdout] 40 | |            WHERE is_active = TRUE
[INFO] [stdout] 41 | |            ORDER BY name ASC"#
[INFO] [stdout] 42 | |     )
[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/public/sub_categories.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 |       let sub_category = sqlx::query_as!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 59 | |         SubCategoryDetailRow,
[INFO] [stdout] 60 | |         r#"SELECT id, name, slug, description
[INFO] [stdout] 61 | |            FROM sub_categories
[INFO] [stdout] 62 | |            WHERE slug = $1 AND is_active = TRUE"#,
[INFO] [stdout] 63 | |         slug
[INFO] [stdout] 64 | |     )
[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/public/sub_categories.rs:70:24
[INFO] [stdout]    |
[INFO] [stdout] 70 |       let mut products = sqlx::query_as!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 71 | |         PublicProductRow,
[INFO] [stdout] 72 | |         r#"SELECT id, name, slug, sku, brand_id, category_id as "category_id!", sub_category_id, model, description, content, imag...
[INFO] [stdout] 73 | |                   warranty_months,
[INFO] [stdout] ...  |
[INFO] [stdout] 81 | |         offset
[INFO] [stdout] 82 | |     )
[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/public/sub_categories.rs:92:19
[INFO] [stdout]    |
[INFO] [stdout] 92 |       let uploads = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 93 | |         Upload,
[INFO] [stdout] 94 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 95 | |            FROM uploads
[INFO] [stdout] ...  |
[INFO] [stdout] 98 | |         &product_ids
[INFO] [stdout] 99 | |     )
[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/tokens.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | /     sqlx::query!(
[INFO] [stdout] 34 | |         "DELETE FROM user_tokens WHERE user_id = $1 AND purpose = $2 AND used_at IS NULL",
[INFO] [stdout] 35 | |         user_id,
[INFO] [stdout] 36 | |         purpose
[INFO] [stdout] 37 | |     )
[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/tokens.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | /     sqlx::query!(
[INFO] [stdout] 42 | |         "INSERT INTO user_tokens (user_id, token_hash, purpose, expires_at) VALUES ($1, $2, $3, $4)",
[INFO] [stdout] 43 | |         user_id,
[INFO] [stdout] 44 | |         token_hash,
[INFO] [stdout] 45 | |         purpose,
[INFO] [stdout] 46 | |         expires_at
[INFO] [stdout] 47 | |     )
[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/dashboard/sub_categories.rs:106:16
[INFO] [stdout]     |
[INFO] [stdout] 106 |       let rows = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 107 | |         SubCategoryRow,
[INFO] [stdout] 108 | |         r#"SELECT sc.id, sc.name, sc.slug, sc.description, sc.is_active, sc.created_at, sc.updated_at,
[INFO] [stdout] 109 | |                 COUNT(DISTINCT p.id) as "products_count!",
[INFO] [stdout] ...   |
[INFO] [stdout] 118 | |            ORDER BY sc.created_at DESC"#
[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/tokens.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | /     sqlx::query_scalar!(
[INFO] [stdout] 64 | |         r#"UPDATE user_tokens
[INFO] [stdout] 65 | |            SET used_at = NOW()
[INFO] [stdout] 66 | |            WHERE token_hash = $1
[INFO] [stdout] ...  |
[INFO] [stdout] 72 | |         purpose
[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_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/dashboard/sub_categories.rs:126:19
[INFO] [stdout]     |
[INFO] [stdout] 126 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 127 | |         Upload,
[INFO] [stdout] 128 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 129 | |            FROM uploads
[INFO] [stdout] 130 | |            WHERE sub_category_id = ANY($1)"#,
[INFO] [stdout] 131 | |         &ids
[INFO] [stdout] 132 | |     )
[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/tokens.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | /     sqlx::query_scalar!(
[INFO] [stdout] 84 | |         r#"SELECT EXISTS(
[INFO] [stdout] 85 | |                SELECT 1 FROM user_tokens
[INFO] [stdout] 86 | |                WHERE user_id = $1
[INFO] [stdout] ...  |
[INFO] [stdout] 92 | |         purpose
[INFO] [stdout] 93 | |     )
[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/dashboard/sub_categories.rs:160:15
[INFO] [stdout]     |
[INFO] [stdout] 160 |       let row = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 161 | |         SubCategoryRow,
[INFO] [stdout] 162 | |         r#"SELECT sc.id, sc.name, sc.slug, sc.description, sc.is_active, sc.created_at, sc.updated_at,
[INFO] [stdout] 163 | |                 COUNT(DISTINCT p.id) as "products_count!",
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |         uuid
[INFO] [stdout] 174 | |     )
[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/utils.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |       let _ = sqlx::query!(
[INFO] [stdout]    |  _____________^
[INFO] [stdout] 80 | |         r#"INSERT INTO audit_logs (user_id, action, entity_type, entity_id, status, details)
[INFO] [stdout] 81 | |            VALUES ($1, $2, $3, $4, $5, $6)"#,
[INFO] [stdout] 82 | |         user_id,
[INFO] [stdout] ...  |
[INFO] [stdout] 87 | |         details
[INFO] [stdout] 88 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/dashboard/sub_categories.rs:180:19
[INFO] [stdout]     |
[INFO] [stdout] 180 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 181 | |         Upload,
[INFO] [stdout] 182 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 183 | |            FROM uploads
[INFO] [stdout] 184 | |            WHERE sub_category_id = $1"#,
[INFO] [stdout] 185 | |         uuid
[INFO] [stdout] 186 | |     )
[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/dashboard/sub_categories.rs:202:16
[INFO] [stdout]     |
[INFO] [stdout] 202 |       let rows = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 203 | |         SubCategoryRow,
[INFO] [stdout] 204 | |         r#"SELECT sc.id, sc.name, sc.slug, sc.description, sc.is_active, sc.created_at, sc.updated_at,
[INFO] [stdout] 205 | |                   COUNT(DISTINCT p.id) as "products_count!",
[INFO] [stdout] ...   |
[INFO] [stdout] 216 | |         category_id
[INFO] [stdout] 217 | |     )
[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/dashboard/sub_categories.rs:224:19
[INFO] [stdout]     |
[INFO] [stdout] 224 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 225 | |         Upload,
[INFO] [stdout] 226 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 227 | |            FROM uploads
[INFO] [stdout] 228 | |            WHERE sub_category_id = ANY($1)"#,
[INFO] [stdout] 229 | |         &ids
[INFO] [stdout] 230 | |     )
[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/dashboard/sub_categories.rs:261:24
[INFO] [stdout]     |
[INFO] [stdout] 261 |       let sub_category = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 262 | |         SubCategory,
[INFO] [stdout] 263 | |         r#"INSERT INTO sub_categories (category_id, name, slug, description)
[INFO] [stdout] 264 | |            VALUES ($1, $2, $3, $4)
[INFO] [stdout] ...   |
[INFO] [stdout] 269 | |         payload.description
[INFO] [stdout] 270 | |     )
[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/dashboard/sub_categories.rs:305:24
[INFO] [stdout]     |
[INFO] [stdout] 305 |       let sub_category = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 306 | |         SubCategory,
[INFO] [stdout] 307 | |         r#"UPDATE sub_categories
[INFO] [stdout] 308 | |            SET name = COALESCE($1, name),
[INFO] [stdout] ...   |
[INFO] [stdout] 321 | |         payload.category_id,
[INFO] [stdout] 322 | |     )
[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/dashboard/sub_categories.rs:351:18
[INFO] [stdout]     |
[INFO] [stdout] 351 |     let result = sqlx::query!("DELETE FROM sub_categories WHERE id = $1", uuid)
[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/dashboard/uploads.rs:126:20
[INFO] [stdout]     |
[INFO] [stdout] 126 |       let products = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 127 | |         MiniProduct,
[INFO] [stdout] 128 | |         "SELECT id, name FROM products WHERE id = ANY($1)",
[INFO] [stdout] 129 | |         &product_ids
[INFO] [stdout] 130 | |     )
[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/dashboard/uploads.rs:135:22
[INFO] [stdout]     |
[INFO] [stdout] 135 |       let categories = sqlx::query_as!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 136 | |         MiniCategory,
[INFO] [stdout] 137 | |         "SELECT id, name FROM categories WHERE id = ANY($1)",
[INFO] [stdout] 138 | |         &category_ids
[INFO] [stdout] 139 | |     )
[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/dashboard/uploads.rs:144:26
[INFO] [stdout]     |
[INFO] [stdout] 144 |       let sub_categories = sqlx::query_as!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 145 | |         MiniSubCategory,
[INFO] [stdout] 146 | |         "SELECT id, name FROM sub_categories WHERE id = ANY($1)",
[INFO] [stdout] 147 | |         &sub_category_ids
[INFO] [stdout] 148 | |     )
[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/dashboard/uploads.rs:153:18
[INFO] [stdout]     |
[INFO] [stdout] 153 |       let brands = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 154 | |         MiniBrand,
[INFO] [stdout] 155 | |         "SELECT id, name FROM brands WHERE id = ANY($1)",
[INFO] [stdout] 156 | |         &brand_ids
[INFO] [stdout] 157 | |     )
[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/dashboard/uploads.rs:275:19
[INFO] [stdout]     |
[INFO] [stdout] 275 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 276 | |         Upload,
[INFO] [stdout] 277 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 278 | |            FROM uploads
[INFO] [stdout] 279 | |            ORDER BY created_at DESC"#
[INFO] [stdout] 280 | |     )
[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/dashboard/uploads.rs:295:18
[INFO] [stdout]     |
[INFO] [stdout] 295 |       let upload = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 296 | |         Upload,
[INFO] [stdout] 297 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 298 | |            FROM uploads
[INFO] [stdout] 299 | |            WHERE id = $1"#,
[INFO] [stdout] 300 | |         uuid
[INFO] [stdout] 301 | |     )
[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/dashboard/uploads.rs:423:18
[INFO] [stdout]     |
[INFO] [stdout] 423 |       let upload = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 424 | |         Upload,
[INFO] [stdout] 425 | |         r#"INSERT INTO uploads (product_id, category_id, sub_category_id, brand_id, name, file_path, file_type)
[INFO] [stdout] 426 | |            VALUES ($1, $2, $3, $4, $5, $6, $7)
[INFO] [stdout] ...   |
[INFO] [stdout] 434 | |         file_type
[INFO] [stdout] 435 | |     )
[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/dashboard/uploads.rs:472:20
[INFO] [stdout]     |
[INFO] [stdout] 472 |       let existing = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 473 | |         Upload,
[INFO] [stdout] 474 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 475 | |            FROM uploads
[INFO] [stdout] 476 | |            WHERE id = $1"#,
[INFO] [stdout] 477 | |         uuid
[INFO] [stdout] 478 | |     )
[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/dashboard/uploads.rs:596:18
[INFO] [stdout]     |
[INFO] [stdout] 596 |       let upload = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 597 | |         Upload,
[INFO] [stdout] 598 | |         r#"UPDATE uploads
[INFO] [stdout] 599 | |            SET product_id = $1,
[INFO] [stdout] ...   |
[INFO] [stdout] 615 | |         uuid
[INFO] [stdout] 616 | |     )
[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/dashboard/uploads.rs:652:18
[INFO] [stdout]     |
[INFO] [stdout] 652 |       let upload = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 653 | |         Upload,
[INFO] [stdout] 654 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 655 | |            FROM uploads
[INFO] [stdout] 656 | |            WHERE id = $1"#,
[INFO] [stdout] 657 | |         uuid
[INFO] [stdout] 658 | |     )
[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/dashboard/uploads.rs:664:5
[INFO] [stdout]     |
[INFO] [stdout] 664 |     sqlx::query!("DELETE FROM uploads WHERE id = $1", uuid)
[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/middleware.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 |       let user = sqlx::query!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 30 | |         "SELECT token_version, is_active, is_admin FROM users WHERE id = $1",
[INFO] [stdout] 31 | |         claims.sub
[INFO] [stdout] 32 | |     )
[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/public/account.rs:104:16
[INFO] [stdout]     |
[INFO] [stdout] 104 |       let user = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 105 | |         "SELECT id, is_active FROM users WHERE LOWER(email) = $1",
[INFO] [stdout] 106 | |         email
[INFO] [stdout] 107 | |     )
[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/public/account.rs:188:17
[INFO] [stdout]     |
[INFO] [stdout] 188 |       let email = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 189 | |         r#"UPDATE users
[INFO] [stdout] 190 | |            SET password_hash = $1,
[INFO] [stdout] 191 | |                token_version = token_version + 1,
[INFO] [stdout] ...   |
[INFO] [stdout] 197 | |         user_id
[INFO] [stdout] 198 | |     )
[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/public/account.rs:203:5
[INFO] [stdout]     |
[INFO] [stdout] 203 | /     sqlx::query!(
[INFO] [stdout] 204 | |         "DELETE FROM user_tokens WHERE user_id = $1 AND purpose = $2 AND used_at IS NULL",
[INFO] [stdout] 205 | |         user_id,
[INFO] [stdout] 206 | |         PASSWORD_RESET
[INFO] [stdout] 207 | |     )
[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/public/account.rs:240:5
[INFO] [stdout]     |
[INFO] [stdout] 240 | /     sqlx::query!(
[INFO] [stdout] 241 | |         "UPDATE users SET email_verified_at = COALESCE(email_verified_at, NOW()), updated_at = NOW() WHERE id = $1",
[INFO] [stdout] 242 | |         user_id
[INFO] [stdout] 243 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/public/account.rs:264:20
[INFO] [stdout]     |
[INFO] [stdout] 264 |           let user = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 265 | |             "SELECT id, email FROM users WHERE LOWER(email) = $1 AND is_active = TRUE AND email_verified_at IS NULL",
[INFO] [stdout] 266 | |             email
[INFO] [stdout] 267 | |         )
[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/public/barcodes.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 |       let exists = sqlx::query_scalar!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 26 | |         r#"SELECT EXISTS(SELECT 1 FROM barcodes WHERE code = $1) as "exists!""#,
[INFO] [stdout] 27 | |         code
[INFO] [stdout] 28 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/public/brands.rs:36:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |       let brands = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 37 | |         PublicBrandListItem,
[INFO] [stdout] 38 | |         r#"SELECT name, slug
[INFO] [stdout] 39 | |            FROM brands
[INFO] [stdout] 40 | |            WHERE is_active = TRUE
[INFO] [stdout] 41 | |            ORDER BY name ASC"#
[INFO] [stdout] 42 | |     )
[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/public/brands.rs:58:17
[INFO] [stdout]    |
[INFO] [stdout] 58 |       let brand = sqlx::query_as!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 59 | |         BrandDetailRow,
[INFO] [stdout] 60 | |         r#"SELECT id, name, slug, description
[INFO] [stdout] 61 | |            FROM brands
[INFO] [stdout] 62 | |            WHERE slug = $1 AND is_active = TRUE"#,
[INFO] [stdout] 63 | |         slug
[INFO] [stdout] 64 | |     )
[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/public/brands.rs:70:24
[INFO] [stdout]    |
[INFO] [stdout] 70 |       let mut products = sqlx::query_as!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 71 | |         PublicProductRow,
[INFO] [stdout] 72 | |         r#"SELECT id, name, slug, sku, brand_id, category_id as "category_id!", sub_category_id, model, description, content, imag...
[INFO] [stdout] 73 | |                   warranty_months,
[INFO] [stdout] ...  |
[INFO] [stdout] 81 | |         offset
[INFO] [stdout] 82 | |     )
[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/public/brands.rs:92:19
[INFO] [stdout]    |
[INFO] [stdout] 92 |       let uploads = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 93 | |         Upload,
[INFO] [stdout] 94 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 95 | |            FROM uploads
[INFO] [stdout] ...  |
[INFO] [stdout] 98 | |         &product_ids
[INFO] [stdout] 99 | |     )
[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/public/categories.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 | /         sqlx::query_as!(
[INFO] [stdout] 73 | |             CategoryRow,
[INFO] [stdout] 74 | |             r#"SELECT id, name, slug, is_featured
[INFO] [stdout] 75 | |                FROM categories
[INFO] [stdout] ...  |
[INFO] [stdout] 79 | |             limit
[INFO] [stdout] 80 | |         )
[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/public/categories.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 | /         sqlx::query_as!(
[INFO] [stdout] 86 | |             CategoryRow,
[INFO] [stdout] 87 | |             r#"SELECT id, name, slug, is_featured
[INFO] [stdout] 88 | |                FROM categories
[INFO] [stdout] ...  |
[INFO] [stdout] 92 | |             limit
[INFO] [stdout] 93 | |         )
[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/public/categories.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 | /         sqlx::query_as!(
[INFO] [stdout] 104 | |             SubCategoryRow,
[INFO] [stdout] 105 | |             r#"SELECT c.slug as category_slug, sc.name, sc.slug
[INFO] [stdout] 106 | |                FROM sub_categories sc
[INFO] [stdout] ...   |
[INFO] [stdout] 109 | |                ORDER BY sc.name ASC"#
[INFO] [stdout] 110 | |         )
[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/public/categories.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 120 | /         sqlx::query_as!(
[INFO] [stdout] 121 | |             Upload,
[INFO] [stdout] 122 | |             r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 123 | |                FROM uploads
[INFO] [stdout] 124 | |                WHERE category_id = ANY($1)"#,
[INFO] [stdout] 125 | |             &ids
[INFO] [stdout] 126 | |         )
[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/public/categories.rs:186:20
[INFO] [stdout]     |
[INFO] [stdout] 186 |       let category = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 187 | |         CategoryDetailRow,
[INFO] [stdout] 188 | |         r#"SELECT id, name, slug, description
[INFO] [stdout] 189 | |            FROM categories
[INFO] [stdout] 190 | |            WHERE slug = $1 AND is_active = TRUE"#,
[INFO] [stdout] 191 | |         slug
[INFO] [stdout] 192 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/public/categories.rs:198:24
[INFO] [stdout]     |
[INFO] [stdout] 198 |       let mut products = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 199 | |         PublicProductRow,
[INFO] [stdout] 200 | |         r#"SELECT id, name, slug, sku, brand_id, category_id as "category_id!", sub_category_id, model, description, content, ima...
[INFO] [stdout] 201 | |                   warranty_months,
[INFO] [stdout] ...   |
[INFO] [stdout] 209 | |         offset
[INFO] [stdout] 210 | |     )
[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/public/categories.rs:220:19
[INFO] [stdout]     |
[INFO] [stdout] 220 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 221 | |         Upload,
[INFO] [stdout] 222 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 223 | |            FROM uploads
[INFO] [stdout] ...   |
[INFO] [stdout] 226 | |         &product_ids
[INFO] [stdout] 227 | |     )
[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/public/orders.rs:136:23
[INFO] [stdout]     |
[INFO] [stdout] 136 |           let product = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 137 | |             r#"SELECT id, name, sku, selling_price, quantity_in_stock, shipping_cost, tax
[INFO] [stdout] 138 | |                FROM products
[INFO] [stdout] 139 | |                WHERE slug = $1 AND sku = $2 AND is_active = true
[INFO] [stdout] ...   |
[INFO] [stdout] 142 | |             item.sku
[INFO] [stdout] 143 | |         )
[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/public/orders.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 | /         sqlx::query!(
[INFO] [stdout] 174 | |             "UPDATE products SET quantity_in_stock = quantity_in_stock - $1 WHERE id = $2",
[INFO] [stdout] 175 | |             item.quantity,
[INFO] [stdout] 176 | |             product.id
[INFO] [stdout] 177 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/public/orders.rs:189:23
[INFO] [stdout]     |
[INFO] [stdout] 189 |           let attempt = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 190 | |             Order,
[INFO] [stdout] 191 | |             r#"INSERT INTO orders (order_number, user_id, customer_name, customer_email, customer_phone,
[INFO] [stdout] 192 | |                                     shipping_address, notes, status, subtotal, tax_amount, shipping_amount, total_amount)
[INFO] [stdout] ...   |
[INFO] [stdout] 207 | |             total_amount
[INFO] [stdout] 208 | |         )
[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/public/orders.rs:230:26
[INFO] [stdout]     |
[INFO] [stdout] 230 |           let order_item = sqlx::query_as!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 231 | |             OrderItem,
[INFO] [stdout] 232 | |             r#"INSERT INTO order_items (order_id, product_id, product_name, product_sku, unit_price, quantity, line_total)
[INFO] [stdout] 233 | |                VALUES ($1, $2, $3, $4, $5, $6, $7)
[INFO] [stdout] ...   |
[INFO] [stdout] 242 | |             line_total
[INFO] [stdout] 243 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/public/orders.rs:271:17
[INFO] [stdout]     |
[INFO] [stdout] 271 |       let order = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 272 | |         Order,
[INFO] [stdout] 273 | |         r#"SELECT id, order_number, user_id, customer_name, customer_email, customer_phone,
[INFO] [stdout] 274 | |                   shipping_address, status as "status: OrderStatus", subtotal, tax_amount,
[INFO] [stdout] ...   |
[INFO] [stdout] 278 | |         order_number
[INFO] [stdout] 279 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/public/orders.rs:285:17
[INFO] [stdout]     |
[INFO] [stdout] 285 |       let items = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 286 | |         OrderItem,
[INFO] [stdout] 287 | |         r#"SELECT id, order_id, product_id, product_name, product_sku, unit_price, quantity, line_total,
[INFO] [stdout] 288 | |                   status as "status: OrderItemStatus", created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 292 | |         order.id
[INFO] [stdout] 293 | |     )
[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/public/orders.rs:310:18
[INFO] [stdout]     |
[INFO] [stdout] 310 |       let orders = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 311 | |         Order,
[INFO] [stdout] 312 | |         r#"SELECT id, order_number, user_id, customer_name, customer_email, customer_phone,
[INFO] [stdout] 313 | |                   shipping_address, status as "status: OrderStatus", subtotal, tax_amount,
[INFO] [stdout] ...   |
[INFO] [stdout] 318 | |         claims.sub
[INFO] [stdout] 319 | |     )
[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/public/orders.rs:327:21
[INFO] [stdout]     |
[INFO] [stdout] 327 |           let items = sqlx::query_as!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 328 | |             OrderItem,
[INFO] [stdout] 329 | |             r#"SELECT id, order_id, product_id, product_name, product_sku, unit_price, quantity, line_total,
[INFO] [stdout] 330 | |                       status as "status: OrderItemStatus", created_at
[INFO] [stdout] ...   |
[INFO] [stdout] 334 | |             order.id
[INFO] [stdout] 335 | |         )
[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/public/policies.rs:22:18
[INFO] [stdout]    |
[INFO] [stdout] 22 |       let policy = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 23 | |         Policy,
[INFO] [stdout] 24 | |         r#"SELECT id, name, slug, seo_title, seo_description, content,
[INFO] [stdout] 25 | |                   is_active, sort_order, created_at, updated_at
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | |         slug
[INFO] [stdout] 29 | |     )
[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/public/policies.rs:41:20
[INFO] [stdout]    |
[INFO] [stdout] 41 |       let policies = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 42 | |         PolicyListItem,
[INFO] [stdout] 43 | |         r#"SELECT name, slug, sort_order
[INFO] [stdout] 44 | |            FROM policies
[INFO] [stdout] 45 | |            WHERE is_active = TRUE
[INFO] [stdout] 46 | |            ORDER BY sort_order ASC"#
[INFO] [stdout] 47 | |     )
[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/public/products.rs:212:16
[INFO] [stdout]     |
[INFO] [stdout] 212 |       let rows = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 213 | |         SearchProductRow,
[INFO] [stdout] 214 | |         r#"SELECT p.id, p.name, p.slug, p.sku, p.brand_id, p.category_id as "category_id!",
[INFO] [stdout] 215 | |                   p.sub_category_id, p.model, p.description, p.content,
[INFO] [stdout] ...   |
[INFO] [stdout] 255 | |         offset
[INFO] [stdout] 256 | |     )
[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/public/products.rs:261:17
[INFO] [stdout]     |
[INFO] [stdout] 261 |       let total = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 262 | |         r#"SELECT COUNT(*) as "count!"
[INFO] [stdout] 263 | |            FROM products p
[INFO] [stdout] 264 | |            LEFT JOIN brands b ON b.id = p.brand_id
[INFO] [stdout] ...   |
[INFO] [stdout] 289 | |         req.in_stock_only,
[INFO] [stdout] 290 | |     )
[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/public/products.rs:297:19
[INFO] [stdout]     |
[INFO] [stdout] 297 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 298 | |         Upload,
[INFO] [stdout] 299 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 300 | |            FROM uploads
[INFO] [stdout] ...   |
[INFO] [stdout] 303 | |         &product_ids
[INFO] [stdout] 304 | |     )
[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/public/products.rs:344:18
[INFO] [stdout]     |
[INFO] [stdout] 344 |       let brands = sqlx::query_as!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 345 | |         BrandRow,
[INFO] [stdout] 346 | |         r#"SELECT id, name, slug
[INFO] [stdout] 347 | |            FROM brands
[INFO] [stdout] 348 | |            WHERE id = ANY($1)"#,
[INFO] [stdout] 349 | |         brand_ids
[INFO] [stdout] 350 | |     )
[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/public/products.rs:355:19
[INFO] [stdout]     |
[INFO] [stdout] 355 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 356 | |         Upload,
[INFO] [stdout] 357 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 358 | |            FROM uploads
[INFO] [stdout] 359 | |            WHERE brand_id = ANY($1)"#,
[INFO] [stdout] 360 | |         brand_ids
[INFO] [stdout] 361 | |     )
[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/public/products.rs:435:16
[INFO] [stdout]     |
[INFO] [stdout] 435 |       let rows = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 436 | |         PublicProductRow,
[INFO] [stdout] 437 | |         r#"SELECT id, name, slug, sku, brand_id, category_id as "category_id!", sub_category_id, model, description, content, ima...
[INFO] [stdout] 438 | |                   warranty_months,
[INFO] [stdout] ...   |
[INFO] [stdout] 445 | |         SUGGESTED_PRODUCTS_LIMIT
[INFO] [stdout] 446 | |     )
[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/public/products.rs:453:19
[INFO] [stdout]     |
[INFO] [stdout] 453 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 454 | |         Upload,
[INFO] [stdout] 455 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 456 | |            FROM uploads
[INFO] [stdout] ...   |
[INFO] [stdout] 459 | |         &product_ids
[INFO] [stdout] 460 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_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/public/products.rs:493:24
[INFO] [stdout]     |
[INFO] [stdout] 493 |       let mut products = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 494 | |         PublicProductRow,
[INFO] [stdout] 495 | |         r#"SELECT id, name, slug, sku, brand_id, category_id as "category_id!", sub_category_id, model, description, content, ima...
[INFO] [stdout] 496 | |                   warranty_months,
[INFO] [stdout] ...   |
[INFO] [stdout] 503 | |         offset
[INFO] [stdout] 504 | |     )
[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/public/products.rs:514:19
[INFO] [stdout]     |
[INFO] [stdout] 514 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 515 | |         Upload,
[INFO] [stdout] 516 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 517 | |            FROM uploads
[INFO] [stdout] ...   |
[INFO] [stdout] 520 | |         &product_ids
[INFO] [stdout] 521 | |     )
[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/public/products.rs:563:16
[INFO] [stdout]     |
[INFO] [stdout] 563 |       let rows = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 564 | |         Row,
[INFO] [stdout] 565 | |         r#"SELECT id, name, slug FROM categories WHERE id = ANY($1)"#,
[INFO] [stdout] 566 | |         ids
[INFO] [stdout] 567 | |     )
[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/public/products.rs:596:16
[INFO] [stdout]     |
[INFO] [stdout] 596 |       let rows = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 597 | |         Row,
[INFO] [stdout] 598 | |         r#"SELECT id, name, slug FROM sub_categories WHERE id = ANY($1)"#,
[INFO] [stdout] 599 | |         ids
[INFO] [stdout] 600 | |     )
[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/public/products.rs:623:13
[INFO] [stdout]     |
[INFO] [stdout] 623 |       let p = sqlx::query_as!(
[INFO] [stdout]     |  _____________^
[INFO] [stdout] 624 | |         PublicProductRow,
[INFO] [stdout] 625 | |         r#"SELECT id, name, slug, sku, brand_id, category_id as "category_id!", sub_category_id, model, description, content, ima...
[INFO] [stdout] 626 | |                 warranty_months,
[INFO] [stdout] ...   |
[INFO] [stdout] 630 | |         slug
[INFO] [stdout] 631 | |     )
[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/public/products.rs:637:15
[INFO] [stdout]     |
[INFO] [stdout] 637 |       let seo = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 638 | |         PublicProductSeo,
[INFO] [stdout] 639 | |         r#"SELECT meta_title, meta_description, meta_keywords, og_title, og_description, og_image_url, canonical_url, focus_keyword
[INFO] [stdout] 640 | |            FROM products_seo
[INFO] [stdout] 641 | |            WHERE product_id = $1"#,
[INFO] [stdout] 642 | |         p.id
[INFO] [stdout] 643 | |     )
[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/public/products.rs:648:19
[INFO] [stdout]     |
[INFO] [stdout] 648 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 649 | |         Upload,
[INFO] [stdout] 650 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 651 | |            FROM uploads
[INFO] [stdout] ...   |
[INFO] [stdout] 654 | |         p.id
[INFO] [stdout] 655 | |     )
[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/public/products.rs:663:20
[INFO] [stdout]     |
[INFO] [stdout] 663 |       let category = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 664 | |         CategoryMiniRow,
[INFO] [stdout] 665 | |         r#"SELECT name, slug FROM categories WHERE id = $1"#,
[INFO] [stdout] 666 | |         p.category_id
[INFO] [stdout] 667 | |     )
[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/public/products.rs:677:9
[INFO] [stdout]     |
[INFO] [stdout] 677 | /         sqlx::query_as!(
[INFO] [stdout] 678 | |             CategoryMiniRow,
[INFO] [stdout] 679 | |             r#"SELECT name, slug FROM sub_categories WHERE id = $1"#,
[INFO] [stdout] 680 | |             sub_category_id
[INFO] [stdout] 681 | |         )
[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/public/products.rs:695:21
[INFO] [stdout]     |
[INFO] [stdout] 695 |       let spec_rows = sqlx::query_as!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 696 | |         SpecificationRow,
[INFO] [stdout] 697 | |         r#"SELECT group_name, key, value, unit, is_highlighted
[INFO] [stdout] 698 | |            FROM product_specifications
[INFO] [stdout] ...   |
[INFO] [stdout] 701 | |         product_id
[INFO] [stdout] 702 | |     )
[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/public/products.rs:741:20
[INFO] [stdout]     |
[INFO] [stdout] 741 |       let products = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 742 | |         PublicProductRow,
[INFO] [stdout] 743 | |         r#"SELECT id, name, slug, sku, brand_id, category_id as "category_id!", sub_category_id, model, description, content, ima...
[INFO] [stdout] 744 | |                   warranty_months,
[INFO] [stdout] ...   |
[INFO] [stdout] 750 | |         limit
[INFO] [stdout] 751 | |     )
[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/public/products.rs:758:19
[INFO] [stdout]     |
[INFO] [stdout] 758 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 759 | |         Upload,
[INFO] [stdout] 760 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 761 | |            FROM uploads
[INFO] [stdout] ...   |
[INFO] [stdout] 764 | |         &product_ids
[INFO] [stdout] 765 | |     )
[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/public/products.rs:807:20
[INFO] [stdout]     |
[INFO] [stdout] 807 |       let products = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 808 | |         PublicProductRow,
[INFO] [stdout] 809 | |         r#"SELECT id, name, slug, sku, brand_id, category_id as "category_id!", sub_category_id, model, description, content, ima...
[INFO] [stdout] 810 | |                   warranty_months,
[INFO] [stdout] ...   |
[INFO] [stdout] 814 | |         &slugs
[INFO] [stdout] 815 | |     )
[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/public/products.rs:822:19
[INFO] [stdout]     |
[INFO] [stdout] 822 |       let uploads = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 823 | |         Upload,
[INFO] [stdout] 824 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 825 | |            FROM uploads
[INFO] [stdout] ...   |
[INFO] [stdout] 828 | |         &product_ids
[INFO] [stdout] 829 | |     )
[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: `dashboard::uploads::Upload`
[INFO] [stdout]  --> src/public/brands.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{AppState, dashboard::uploads::Upload, public::products::*};
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[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/public/sub_categories.rs:36:26
[INFO] [stdout]    |
[INFO] [stdout] 36 |       let sub_categories = sqlx::query_as!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 37 | |         PublicSubCategoryListItem,
[INFO] [stdout] 38 | |         r#"SELECT name, slug
[INFO] [stdout] 39 | |            FROM sub_categories
[INFO] [stdout] 40 | |            WHERE is_active = TRUE
[INFO] [stdout] 41 | |            ORDER BY name ASC"#
[INFO] [stdout] 42 | |     )
[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: `dashboard::uploads::Upload`
[INFO] [stdout]  --> src/public/sub_categories.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{AppState, dashboard::uploads::Upload, public::products::*};
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[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/public/sub_categories.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 |       let sub_category = sqlx::query_as!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 59 | |         SubCategoryDetailRow,
[INFO] [stdout] 60 | |         r#"SELECT id, name, slug, description
[INFO] [stdout] 61 | |            FROM sub_categories
[INFO] [stdout] 62 | |            WHERE slug = $1 AND is_active = TRUE"#,
[INFO] [stdout] 63 | |         slug
[INFO] [stdout] 64 | |     )
[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/public/sub_categories.rs:70:24
[INFO] [stdout]    |
[INFO] [stdout] 70 |       let mut products = sqlx::query_as!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 71 | |         PublicProductRow,
[INFO] [stdout] 72 | |         r#"SELECT id, name, slug, sku, brand_id, category_id as "category_id!", sub_category_id, model, description, content, imag...
[INFO] [stdout] 73 | |                   warranty_months,
[INFO] [stdout] ...  |
[INFO] [stdout] 81 | |         offset
[INFO] [stdout] 82 | |     )
[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/public/sub_categories.rs:92:19
[INFO] [stdout]    |
[INFO] [stdout] 92 |       let uploads = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 93 | |         Upload,
[INFO] [stdout] 94 | |         r#"SELECT id, product_id, category_id, sub_category_id, brand_id, name, file_path, file_type, created_at
[INFO] [stdout] 95 | |            FROM uploads
[INFO] [stdout] ...  |
[INFO] [stdout] 98 | |         &product_ids
[INFO] [stdout] 99 | |     )
[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/tokens.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | /     sqlx::query!(
[INFO] [stdout] 34 | |         "DELETE FROM user_tokens WHERE user_id = $1 AND purpose = $2 AND used_at IS NULL",
[INFO] [stdout] 35 | |         user_id,
[INFO] [stdout] 36 | |         purpose
[INFO] [stdout] 37 | |     )
[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/tokens.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | /     sqlx::query!(
[INFO] [stdout] 42 | |         "INSERT INTO user_tokens (user_id, token_hash, purpose, expires_at) VALUES ($1, $2, $3, $4)",
[INFO] [stdout] 43 | |         user_id,
[INFO] [stdout] 44 | |         token_hash,
[INFO] [stdout] 45 | |         purpose,
[INFO] [stdout] 46 | |         expires_at
[INFO] [stdout] 47 | |     )
[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/tokens.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | /     sqlx::query_scalar!(
[INFO] [stdout] 64 | |         r#"UPDATE user_tokens
[INFO] [stdout] 65 | |            SET used_at = NOW()
[INFO] [stdout] 66 | |            WHERE token_hash = $1
[INFO] [stdout] ...  |
[INFO] [stdout] 72 | |         purpose
[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_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/tokens.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | /     sqlx::query_scalar!(
[INFO] [stdout] 84 | |         r#"SELECT EXISTS(
[INFO] [stdout] 85 | |                SELECT 1 FROM user_tokens
[INFO] [stdout] 86 | |                WHERE user_id = $1
[INFO] [stdout] ...  |
[INFO] [stdout] 92 | |         purpose
[INFO] [stdout] 93 | |     )
[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/utils.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |       let _ = sqlx::query!(
[INFO] [stdout]    |  _____________^
[INFO] [stdout] 80 | |         r#"INSERT INTO audit_logs (user_id, action, entity_type, entity_id, status, details)
[INFO] [stdout] 81 | |            VALUES ($1, $2, $3, $4, $5, $6)"#,
[INFO] [stdout] 82 | |         user_id,
[INFO] [stdout] ...  |
[INFO] [stdout] 87 | |         details
[INFO] [stdout] 88 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dashboard::uploads::Upload`
[INFO] [stdout]  --> src/public/brands.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{AppState, dashboard::uploads::Upload, public::products::*};
[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: `dashboard::uploads::Upload`
[INFO] [stdout]  --> src/public/sub_categories.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::{AppState, dashboard::uploads::Upload, public::products::*};
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> src/dashboard/orders.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |     Ok(rows.into_iter().map(|r| r.code).collect())
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout]     = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> src/dashboard/orders.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |     Ok(rows.into_iter().map(|r| r.code).collect())
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout]     = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `!` is not an iterator
[INFO] [stdout]    --> src/dashboard/orders.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |     Ok(rows.into_iter().map(|r| r.code).collect())
[INFO] [stdout]     |             ^^^^^^^^^ `!` is not an iterator
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `!: Iterator`
[INFO] [stdout]             which is required by `!: IntoIterator`
[INFO] [stdout]             `&!: Iterator`
[INFO] [stdout]             which is required by `&!: IntoIterator`
[INFO] [stdout]             `!: Iterator`
[INFO] [stdout]             which is required by `&mut !: IntoIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `!` is not an iterator
[INFO] [stdout]    --> src/dashboard/orders.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |     Ok(rows.into_iter().map(|r| r.code).collect())
[INFO] [stdout]     |             ^^^^^^^^^ `!` is not an iterator
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `!: Iterator`
[INFO] [stdout]             which is required by `!: IntoIterator`
[INFO] [stdout]             `&!: Iterator`
[INFO] [stdout]             which is required by `&!: IntoIterator`
[INFO] [stdout]             `!: Iterator`
[INFO] [stdout]             which is required by `&mut !: IntoIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]    --> src/dashboard/uploads.rs:168:18
[INFO] [stdout]     |
[INFO] [stdout] 168 |                 .cloned();
[INFO] [stdout]     |                  ^^^^^^ multiple `cloned` found
[INFO] [stdout]     |
[INFO] [stdout]     = note: candidate #1 is defined in an impl for the type `std::option::Option<&T>`
[INFO] [stdout]     = note: candidate #2 is defined in an impl for the type `std::option::Option<&mut T>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]    --> src/dashboard/uploads.rs:172:18
[INFO] [stdout]     |
[INFO] [stdout] 172 |                 .cloned();
[INFO] [stdout]     |                  ^^^^^^ multiple `cloned` found
[INFO] [stdout]     |
[INFO] [stdout]     = note: candidate #1 is defined in an impl for the type `std::option::Option<&T>`
[INFO] [stdout]     = note: candidate #2 is defined in an impl for the type `std::option::Option<&mut T>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]    --> src/dashboard/uploads.rs:176:18
[INFO] [stdout]     |
[INFO] [stdout] 176 |                 .cloned();
[INFO] [stdout]     |                  ^^^^^^ multiple `cloned` found
[INFO] [stdout]     |
[INFO] [stdout]     = note: candidate #1 is defined in an impl for the type `std::option::Option<&T>`
[INFO] [stdout]     = note: candidate #2 is defined in an impl for the type `std::option::Option<&mut T>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]    --> src/dashboard/uploads.rs:180:18
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 .cloned();
[INFO] [stdout]     |                  ^^^^^^ multiple `cloned` found
[INFO] [stdout]     |
[INFO] [stdout]     = note: candidate #1 is defined in an impl for the type `std::option::Option<&T>`
[INFO] [stdout]     = note: candidate #2 is defined in an impl for the type `std::option::Option<&mut T>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]    --> src/dashboard/uploads.rs:168:18
[INFO] [stdout]     |
[INFO] [stdout] 168 |                 .cloned();
[INFO] [stdout]     |                  ^^^^^^ multiple `cloned` found
[INFO] [stdout]     |
[INFO] [stdout]     = note: candidate #1 is defined in an impl for the type `std::option::Option<&T>`
[INFO] [stdout]     = note: candidate #2 is defined in an impl for the type `std::option::Option<&mut T>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]    --> src/dashboard/uploads.rs:172:18
[INFO] [stdout]     |
[INFO] [stdout] 172 |                 .cloned();
[INFO] [stdout]     |                  ^^^^^^ multiple `cloned` found
[INFO] [stdout]     |
[INFO] [stdout]     = note: candidate #1 is defined in an impl for the type `std::option::Option<&T>`
[INFO] [stdout]     = note: candidate #2 is defined in an impl for the type `std::option::Option<&mut T>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]    --> src/dashboard/uploads.rs:176:18
[INFO] [stdout]     |
[INFO] [stdout] 176 |                 .cloned();
[INFO] [stdout]     |                  ^^^^^^ multiple `cloned` found
[INFO] [stdout]     |
[INFO] [stdout]     = note: candidate #1 is defined in an impl for the type `std::option::Option<&T>`
[INFO] [stdout]     = note: candidate #2 is defined in an impl for the type `std::option::Option<&mut T>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0034]: multiple applicable items in scope
[INFO] [stdout]    --> src/dashboard/uploads.rs:180:18
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 .cloned();
[INFO] [stdout]     |                  ^^^^^^ multiple `cloned` found
[INFO] [stdout]     |
[INFO] [stdout]     = note: candidate #1 is defined in an impl for the type `std::option::Option<&T>`
[INFO] [stdout]     = note: candidate #2 is defined in an impl for the type `std::option::Option<&mut T>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0034, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0034`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `inventory` (bin "inventory" test) due to 191 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0034, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0034`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `inventory` (bin "inventory") due to 191 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "75b11a75b730708b4e0d5dc5a6b32fee5715a5282fec72e131918541eb0904a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75b11a75b730708b4e0d5dc5a6b32fee5715a5282fec72e131918541eb0904a8", kill_on_drop: false }`
[INFO] [stdout] 75b11a75b730708b4e0d5dc5a6b32fee5715a5282fec72e131918541eb0904a8
