[INFO] fetching crate openleadr-vtn 0.0.3...
[INFO] checking openleadr-vtn-0.0.3 against try#31561a63598a0f21fc74c024747ef1310fdd2eb2 for pr-133536
[INFO] extracting crate openleadr-vtn 0.0.3 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate openleadr-vtn 0.0.3 on toolchain 31561a63598a0f21fc74c024747ef1310fdd2eb2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate openleadr-vtn 0.0.3
[INFO] finished tweaking crates.io crate openleadr-vtn 0.0.3
[INFO] tweaked toml for crates.io crate openleadr-vtn 0.0.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate crates.io crate openleadr-vtn 0.0.3 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" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7bd1b66a90259f952b9e9a79176b8b2c4dde823a50b27bc06b64df8af7c46155
[INFO] running `Command { std: "docker" "start" "-a" "7bd1b66a90259f952b9e9a79176b8b2c4dde823a50b27bc06b64df8af7c46155", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7bd1b66a90259f952b9e9a79176b8b2c4dde823a50b27bc06b64df8af7c46155", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7bd1b66a90259f952b9e9a79176b8b2c4dde823a50b27bc06b64df8af7c46155", kill_on_drop: false }`
[INFO] [stdout] 7bd1b66a90259f952b9e9a79176b8b2c4dde823a50b27bc06b64df8af7c46155
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c0bebcc831bfc5fd75d870bf4a8378fbe35bf6e27b0428c7f2a5877e49c4bc3d
[INFO] running `Command { std: "docker" "start" "-a" "c0bebcc831bfc5fd75d870bf4a8378fbe35bf6e27b0428c7f2a5877e49c4bc3d", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking hashbrown v0.15.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]    Compiling cc v1.1.30
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]     Checking unicode-bidi v0.3.17
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]     Checking litemap v0.7.3
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]     Checking writeable v0.5.5
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking indexmap v2.6.0
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking rustls-pki-types v1.10.0
[INFO] [stderr]    Compiling bytes v1.7.2
[INFO] [stderr]    Compiling allocator-api2 v0.2.18
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling tokio v1.41.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]     Checking icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling rustix v0.38.37
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]     Checking icu_properties_data v1.5.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]    Compiling rustls v0.23.18
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking sync_wrapper v1.0.1
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]     Checking utf16_iter v1.0.5
[INFO] [stderr]     Checking write16 v1.0.0
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]    Compiling whoami v1.5.2
[INFO] [stderr]     Checking utf8_iter v1.0.4
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]     Checking icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking regex-automata v0.4.8
[INFO] [stderr]    Compiling iso_currency v0.5.1
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]    Compiling thiserror v2.0.3
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]    Compiling tempfile v3.13.0
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]     Checking rustls-native-certs v0.8.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking iso_country v0.1.4
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking headers-core v0.3.0
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]     Checking base64ct v1.6.0
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking headers v0.4.0
[INFO] [stderr]     Checking iso8601-duration v0.2.0
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking pem v3.0.4
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking ipnet v2.10.1
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking regex v1.11.0
[INFO] [stderr]     Checking uuid v1.11.0
[INFO] [stderr]     Checking sdd v3.0.4
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking scc v2.2.2
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.4
[INFO] [stderr]    Compiling yoke-derive v0.7.4
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]     Checking rustls-webpki v0.102.8
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling thiserror-impl v2.0.3
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]    Compiling serial_test_derive v3.2.0
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling validator_derive v0.19.0
[INFO] [stderr]    Compiling serde_with_macros v3.11.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking simple_asn1 v0.6.2
[INFO] [stderr]     Checking tower-http v0.6.2
[INFO] [stderr]     Checking zerofrom v0.1.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking yoke v0.7.4
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.16
[INFO] [stderr]     Checking serde_html_form v0.2.6
[INFO] [stderr]     Checking serde_with v3.11.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking serial_test v3.2.0
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking jsonwebtoken v9.3.0
[INFO] [stderr]    Compiling sqlx-core v0.8.2
[INFO] [stderr]     Checking idna v1.0.2
[INFO] [stderr]     Checking validator v0.19.0
[INFO] [stderr]     Checking openleadr-wire v0.0.3
[INFO] [stderr]    Compiling sqlx-postgres v0.8.2
[INFO] [stderr]     Checking tokio-util v0.7.12
[INFO] [stderr]     Checking tower v0.5.1
[INFO] [stderr]     Checking tokio-rustls v0.26.0
[INFO] [stderr]     Checking h2 v0.4.6
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.2
[INFO] [stderr]     Checking hyper v1.5.0
[INFO] [stderr]    Compiling sqlx-macros v0.8.2
[INFO] [stderr]     Checking hyper-util v0.1.9
[INFO] [stderr]     Checking sqlx v0.8.2
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking hyper-rustls v0.27.3
[INFO] [stderr]     Checking reqwest v0.12.9
[INFO] [stderr]     Checking axum-extra v0.9.6
[INFO] [stderr]     Checking openleadr-vtn v0.0.3 (/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/data_source/postgres/event.rs:160:32
[INFO] [stdout]     |
[INFO] [stdout] 160 |           let MaybePgId { id } = sqlx::query_as!(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 161 | |             MaybePgId,
[INFO] [stdout] 162 | |             r#"
[INFO] [stdout] 163 | |             SELECT business_id AS id FROM program WHERE id = $1
[INFO] [stdout] 164 | |             "#,
[INFO] [stdout] 165 | |             program_id
[INFO] [stdout] 166 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/event.rs:196:12
[INFO] [stdout]     |
[INFO] [stdout] 196 |   ...   Ok(sqlx::query_as!(
[INFO] [stdout]     |  __________^
[INFO] [stdout] 197 | | ...       PostgresEvent,
[INFO] [stdout] 198 | | ...       r#"
[INFO] [stdout] 199 | | ...       INSERT INTO event (id, created_date_time, modification_date_time, program_id, event_name, priority, targets, report_descriptors...
[INFO] [stdout] ...   |
[INFO] [stdout] 210 | | ...       serde_json::to_value(&new.intervals).map_err(AppError::SerdeJsonBadRequest)?,
[INFO] [stdout] 211 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/event.rs:228:12
[INFO] [stdout]     |
[INFO] [stdout] 228 |           Ok(sqlx::query_as!(
[INFO] [stdout]     |  ____________^
[INFO] [stdout] 229 | |             PostgresEvent,
[INFO] [stdout] 230 | |             r#"
[INFO] [stdout] 231 | |             SELECT e.*
[INFO] [stdout] ...   |
[INFO] [stdout] 246 | |             business_ids.as_deref(),
[INFO] [stdout] 247 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/event.rs:266:12
[INFO] [stdout]     |
[INFO] [stdout] 266 |           Ok(sqlx::query_as!(
[INFO] [stdout]     |  ____________^
[INFO] [stdout] 267 | |             PostgresEvent,
[INFO] [stdout] 268 | |             r#"
[INFO] [stdout] 269 | |             SELECT e.*
[INFO] [stdout] ...   |
[INFO] [stdout] 296 | |             pg_filter.limit
[INFO] [stdout] 297 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/event.rs:313:35
[INFO] [stdout]     |
[INFO] [stdout] 313 |           let previous_program_id = sqlx::query_as!(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 314 | |             PgId,
[INFO] [stdout] 315 | |             r#"SELECT program_id AS id FROM event WHERE id = $1"#,
[INFO] [stdout] 316 | |             id.as_str()
[INFO] [stdout] 317 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/event.rs:326:12
[INFO] [stdout]     |
[INFO] [stdout] 326 |           Ok(sqlx::query_as!(
[INFO] [stdout]     |  ____________^
[INFO] [stdout] 327 | |             PostgresEvent,
[INFO] [stdout] 328 | |             r#"
[INFO] [stdout] 329 | |             UPDATE event
[INFO] [stdout] ...   |
[INFO] [stdout] 350 | |             serde_json::to_value(&new.intervals).map_err(AppError::SerdeJsonBadRequest)?,
[INFO] [stdout] 351 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/event.rs:362:26
[INFO] [stdout]     |
[INFO] [stdout] 362 |           let program_id = sqlx::query_as!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 363 | |             PgId,
[INFO] [stdout] 364 | |             r#"SELECT program_id AS id FROM event WHERE id = $1"#,
[INFO] [stdout] 365 | |             id.as_str()
[INFO] [stdout] 366 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/event.rs:372:12
[INFO] [stdout]     |
[INFO] [stdout] 372 |           Ok(sqlx::query_as!(
[INFO] [stdout]     |  ____________^
[INFO] [stdout] 373 | |             PostgresEvent,
[INFO] [stdout] 374 | |             r#"
[INFO] [stdout] 375 | |             DELETE FROM event WHERE id = $1 RETURNING *
[INFO] [stdout] 376 | |             "#,
[INFO] [stdout] 377 | |             id.as_str()
[INFO] [stdout] 378 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/program.rs:173:32
[INFO] [stdout]     |
[INFO] [stdout] 173 |           let program: Program = sqlx::query_as!(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 174 | |             PostgresProgram,
[INFO] [stdout] 175 | |             r#"
[INFO] [stdout] 176 | |             INSERT INTO program (id,
[INFO] [stdout] ...   |
[INFO] [stdout] 224 | |             business_id,
[INFO] [stdout] 225 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/program.rs:231:33
[INFO] [stdout]     |
[INFO] [stdout] 231 |               let rows_affected = sqlx::query!(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 232 | |                 r#"
[INFO] [stdout] 233 | |                 INSERT INTO ven_program (program_id, ven_id)
[INFO] [stdout] 234 | |                     (SELECT $1, id FROM ven WHERE ven_name = ANY ($2))
[INFO] [stdout] ...   |
[INFO] [stdout] 237 | |                 &vens
[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/data_source/postgres/program.rs:258:12
[INFO] [stdout]     |
[INFO] [stdout] 258 |           Ok(sqlx::query_as!(
[INFO] [stdout]     |  ____________^
[INFO] [stdout] 259 | |             PostgresProgram,
[INFO] [stdout] 260 | |             r#"
[INFO] [stdout] 261 | |             SELECT p.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 284 | |             &user.ven_ids_string()
[INFO] [stdout] 285 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/program.rs:299:12
[INFO] [stdout]     |
[INFO] [stdout] 299 |           Ok(sqlx::query_as!(
[INFO] [stdout]     |  ____________^
[INFO] [stdout] 300 | |             PostgresProgram,
[INFO] [stdout] 301 | |             r#"
[INFO] [stdout] 302 | |             SELECT p.id AS "id!", 
[INFO] [stdout] ...   |
[INFO] [stdout] 341 | |             pg_filter.limit,
[INFO] [stdout] 342 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/program.rs:361:32
[INFO] [stdout]     |
[INFO] [stdout] 361 |           let program: Program = sqlx::query_as!(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 362 | |             PostgresProgram,
[INFO] [stdout] 363 | |             r#"
[INFO] [stdout] 364 | |             UPDATE program p
[INFO] [stdout] ...   |
[INFO] [stdout] 412 | |             business_id
[INFO] [stdout] 413 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/program.rs:419:13
[INFO] [stdout]     |
[INFO] [stdout] 419 | /             sqlx::query!(
[INFO] [stdout] 420 | |                 r#"
[INFO] [stdout] 421 | |                 DELETE FROM ven_program WHERE program_id = $1
[INFO] [stdout] 422 | |                 "#,
[INFO] [stdout] 423 | |                 program.id.as_str()
[INFO] [stdout] 424 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[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/data_source/postgres/program.rs:428:33
[INFO] [stdout]     |
[INFO] [stdout] 428 |               let rows_affected = sqlx::query!(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 429 | |                 r#"
[INFO] [stdout] 430 | |                 INSERT INTO ven_program (program_id, ven_id)
[INFO] [stdout] 431 | |                     (SELECT $1, id FROM ven WHERE ven_name = ANY($2))
[INFO] [stdout] ...   |
[INFO] [stdout] 434 | |                 &vens
[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` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/program.rs:456:12
[INFO] [stdout]     |
[INFO] [stdout] 456 |           Ok(sqlx::query_as!(
[INFO] [stdout]     |  ____________^
[INFO] [stdout] 457 | |             PostgresProgram,
[INFO] [stdout] 458 | |             r#"
[INFO] [stdout] 459 | |             DELETE FROM program p
[INFO] [stdout] ...   |
[INFO] [stdout] 480 | |             business_id,
[INFO] [stdout] 481 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/report.rs:94:30
[INFO] [stdout]     |
[INFO] [stdout] 94  |           let permitted_vens = sqlx::query_as!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 95  | |             PgId,
[INFO] [stdout] 96  | |             r#"
[INFO] [stdout] 97  | |             SELECT ven_id AS id FROM ven_program WHERE program_id = $1
[INFO] [stdout] 98  | |             "#,
[INFO] [stdout] 99  | |             new.program_id.as_str()
[INFO] [stdout] 100 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/report.rs:116:26
[INFO] [stdout]     |
[INFO] [stdout] 116 |           let program_id = sqlx::query_as!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 117 | |             PgId,
[INFO] [stdout] 118 | |             r#"
[INFO] [stdout] 119 | |             SELECT program_id AS id FROM event WHERE id = $1
[INFO] [stdout] 120 | |             "#,
[INFO] [stdout] 121 | |             new.event_id.as_str(),
[INFO] [stdout] 122 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/report.rs:132:30
[INFO] [stdout]     |
[INFO] [stdout] 132 |   ...   let report: Report = sqlx::query_as!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 133 | | ...       PostgresReport,
[INFO] [stdout] 134 | | ...       r#"
[INFO] [stdout] 135 | | ...       INSERT INTO report (id, created_date_time, modification_date_time, program_id, event_id, client_name, report_name, payload_desc...
[INFO] [stdout] ...   |
[INFO] [stdout] 144 | | ...       serde_json::to_value(new.resources).map_err(AppError::SerdeJsonBadRequest)?,
[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/data_source/postgres/report.rs:162:30
[INFO] [stdout]     |
[INFO] [stdout] 162 |           let report: Report = sqlx::query_as!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 163 | |             PostgresReport,
[INFO] [stdout] 164 | |             r#"
[INFO] [stdout] 165 | |             SELECT r.* 
[INFO] [stdout] ...   |
[INFO] [stdout] 180 | |             business_ids.as_deref()
[INFO] [stdout] 181 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/report.rs:198:23
[INFO] [stdout]     |
[INFO] [stdout] 198 |           let reports = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 199 | |             PostgresReport,
[INFO] [stdout] 200 | |             r#"
[INFO] [stdout] 201 | |             SELECT r.*
[INFO] [stdout] ...   |
[INFO] [stdout] 224 | |             filter.limit,
[INFO] [stdout] 225 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/report.rs:244:30
[INFO] [stdout]     |
[INFO] [stdout] 244 |           let report: Report = sqlx::query_as!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 245 | |             PostgresReport,
[INFO] [stdout] 246 | |             r#"
[INFO] [stdout] 247 | |             UPDATE report r
[INFO] [stdout] ...   |
[INFO] [stdout] 276 | |             serde_json::to_value(new.resources).map_err(AppError::SerdeJsonBadRequest)?,
[INFO] [stdout] 277 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/report.rs:294:30
[INFO] [stdout]     |
[INFO] [stdout] 294 |           let report: Report = sqlx::query_as!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 295 | |             PostgresReport,
[INFO] [stdout] 296 | |             r#"
[INFO] [stdout] 297 | |             DELETE FROM report r 
[INFO] [stdout] ...   |
[INFO] [stdout] 305 | |             business_ids.as_deref(),
[INFO] [stdout] 306 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/resource.rs:129:34
[INFO] [stdout]     |
[INFO] [stdout] 129 |           let resource: Resource = sqlx::query_as!(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 130 | |             PostgresResource,
[INFO] [stdout] 131 | |             r#"
[INFO] [stdout] 132 | |             INSERT INTO resource (
[INFO] [stdout] ...   |
[INFO] [stdout] 147 | |             to_json_value(new.targets)?,
[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/data_source/postgres/resource.rs:162:24
[INFO] [stdout]     |
[INFO] [stdout] 162 |           let resource = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 163 | |             PostgresResource,
[INFO] [stdout] 164 | |             r#"
[INFO] [stdout] 165 | |             SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 177 | |             ven_id.as_str(),
[INFO] [stdout] 178 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/resource.rs:195:19
[INFO] [stdout]     |
[INFO] [stdout] 195 |           let res = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 196 | |             PostgresResource,
[INFO] [stdout] 197 | |             r#"
[INFO] [stdout] 198 | |             SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 222 | |             pg_filter.limit,
[INFO] [stdout] 223 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/resource.rs:246:34
[INFO] [stdout]     |
[INFO] [stdout] 246 |           let resource: Resource = sqlx::query_as!(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 247 | |             PostgresResource,
[INFO] [stdout] 248 | |             r#"
[INFO] [stdout] 249 | |             UPDATE resource
[INFO] [stdout] ...   |
[INFO] [stdout] 263 | |             to_json_value(new.targets)?
[INFO] [stdout] 264 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/resource.rs:278:12
[INFO] [stdout]     |
[INFO] [stdout] 278 |           Ok(sqlx::query_as!(
[INFO] [stdout]     |  ____________^
[INFO] [stdout] 279 | |             PostgresResource,
[INFO] [stdout] 280 | |             r#"
[INFO] [stdout] 281 | |             DELETE FROM resource r
[INFO] [stdout] ...   |
[INFO] [stdout] 286 | |             ven_id.as_str(),
[INFO] [stdout] 287 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/resource.rs:299:9
[INFO] [stdout]     |
[INFO] [stdout] 299 | /         sqlx::query_as!(
[INFO] [stdout] 300 | |             PostgresResource,
[INFO] [stdout] 301 | |             r#"
[INFO] [stdout] 302 | |             SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 313 | |             ven_id.as_str(),
[INFO] [stdout] 314 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/resource.rs:326:9
[INFO] [stdout]     |
[INFO] [stdout] 326 | /         sqlx::query_as!(
[INFO] [stdout] 327 | |             PostgresResource,
[INFO] [stdout] 328 | |             r#"
[INFO] [stdout] 329 | |             SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 340 | |             ven_ids,
[INFO] [stdout] 341 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/user.rs:95:24
[INFO] [stdout]     |
[INFO] [stdout] 95  |           let db_entry = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 96  | |             IdAndSecret,
[INFO] [stdout] 97  | |             r#"
[INFO] [stdout] 98  | |             SELECT id,
[INFO] [stdout] ...   |
[INFO] [stdout] 104 | |             client_id,
[INFO] [stdout] 105 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/user.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 | /         sqlx::query_as!(
[INFO] [stdout] 135 | |             IntermediateUser,
[INFO] [stdout] 136 | |             r#"
[INFO] [stdout] 137 | |             SELECT u.*,
[INFO] [stdout] ...   |
[INFO] [stdout] 159 | |             "#,
[INFO] [stdout] 160 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/user.rs:176:20
[INFO] [stdout]     |
[INFO] [stdout] 176 |           let user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 177 | |             PgId,
[INFO] [stdout] 178 | |             r#"
[INFO] [stdout] 179 | |             INSERT INTO "user" (id, reference, description, created, modified)
[INFO] [stdout] ...   |
[INFO] [stdout] 184 | |             description
[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/data_source/postgres/user.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 | /         sqlx::query!(
[INFO] [stdout] 224 | |             r#"
[INFO] [stdout] 225 | |             INSERT INTO user_credentials 
[INFO] [stdout] 226 | |                 (user_id, client_id, client_secret) 
[INFO] [stdout] ...   |
[INFO] [stdout] 232 | |             &hash
[INFO] [stdout] 233 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/user.rs:248:9
[INFO] [stdout]     |
[INFO] [stdout] 248 | /         sqlx::query!(
[INFO] [stdout] 249 | |             r#"
[INFO] [stdout] 250 | |             DELETE FROM user_credentials WHERE user_id = $1 AND client_id = $2
[INFO] [stdout] 251 | |             "#,
[INFO] [stdout] 252 | |             user_id,
[INFO] [stdout] 253 | |             client_id
[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` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/user.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 | /         sqlx::query!(
[INFO] [stdout] 265 | |             r#"
[INFO] [stdout] 266 | |             DELETE FROM "user" WHERE id = $1
[INFO] [stdout] 267 | |             "#,
[INFO] [stdout] 268 | |             user_id
[INFO] [stdout] 269 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[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/data_source/postgres/user.rs:285:9
[INFO] [stdout]     |
[INFO] [stdout] 285 | /         sqlx::query!(
[INFO] [stdout] 286 | |             r#"
[INFO] [stdout] 287 | |             UPDATE "user" SET
[INFO] [stdout] 288 | |                 reference = $2,
[INFO] [stdout] ...   |
[INFO] [stdout] 295 | |             description
[INFO] [stdout] 296 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[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/data_source/postgres/user.rs:323:9
[INFO] [stdout]     |
[INFO] [stdout] 323 | /         sqlx::query!(
[INFO] [stdout] 324 | |             r#"
[INFO] [stdout] 325 | |             DELETE FROM user_ven WHERE user_id = $1 
[INFO] [stdout] 326 | |             "#,
[INFO] [stdout] 327 | |             user_id
[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` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/user.rs:332:9
[INFO] [stdout]     |
[INFO] [stdout] 332 | /         sqlx::query!(
[INFO] [stdout] 333 | |             r#"
[INFO] [stdout] 334 | |             DELETE FROM user_business WHERE user_id = $1 
[INFO] [stdout] 335 | |             "#,
[INFO] [stdout] 336 | |             user_id
[INFO] [stdout] 337 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[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/data_source/postgres/user.rs:341:9
[INFO] [stdout]     |
[INFO] [stdout] 341 | /         sqlx::query!(
[INFO] [stdout] 342 | |             r#"
[INFO] [stdout] 343 | |             DELETE FROM any_business_user WHERE user_id = $1 
[INFO] [stdout] 344 | |             "#,
[INFO] [stdout] 345 | |             user_id
[INFO] [stdout] 346 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/user.rs:350:9
[INFO] [stdout]     |
[INFO] [stdout] 350 | /         sqlx::query!(
[INFO] [stdout] 351 | |             r#"
[INFO] [stdout] 352 | |             DELETE FROM ven_manager WHERE user_id = $1 
[INFO] [stdout] 353 | |             "#,
[INFO] [stdout] 354 | |             user_id
[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` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/user.rs:359:9
[INFO] [stdout]     |
[INFO] [stdout] 359 | /         sqlx::query!(
[INFO] [stdout] 360 | |             r#"
[INFO] [stdout] 361 | |             DELETE FROM user_manager WHERE user_id = $1 
[INFO] [stdout] 362 | |             "#,
[INFO] [stdout] 363 | |             user_id
[INFO] [stdout] 364 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[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/data_source/postgres/user.rs:377:41
[INFO] [stdout]     |
[INFO] [stdout] 377 |               AuthRole::Business(b_id) => sqlx::query!(
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 378 | |                 r#"
[INFO] [stdout] 379 | |                 INSERT INTO user_business (user_id, business_id) VALUES ($1, $2)
[INFO] [stdout] 380 | |                 "#,
[INFO] [stdout] 381 | |                 user_id,
[INFO] [stdout] 382 | |                 b_id
[INFO] [stdout] 383 | |             ),
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[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/data_source/postgres/user.rs:384:38
[INFO] [stdout]     |
[INFO] [stdout] 384 |               AuthRole::AnyBusiness => sqlx::query!(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 385 | |                 r#"
[INFO] [stdout] 386 | |                 INSERT INTO any_business_user (user_id) VALUES ($1)
[INFO] [stdout] 387 | |                 "#,
[INFO] [stdout] 388 | |                 user_id
[INFO] [stdout] 389 | |             ),
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[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/data_source/postgres/user.rs:390:36
[INFO] [stdout]     |
[INFO] [stdout] 390 |               AuthRole::VEN(v_id) => sqlx::query!(
[INFO] [stdout]     |  ____________________________________^
[INFO] [stdout] 391 | |                 r#"
[INFO] [stdout] 392 | |                 INSERT INTO user_ven (user_id, ven_id) VALUES ($1, $2)
[INFO] [stdout] 393 | |                 "#,
[INFO] [stdout] 394 | |                 user_id,
[INFO] [stdout] 395 | |                 v_id.as_str()
[INFO] [stdout] 396 | |             ),
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[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/data_source/postgres/user.rs:397:37
[INFO] [stdout]     |
[INFO] [stdout] 397 |               AuthRole::VenManager => sqlx::query!(
[INFO] [stdout]     |  _____________________________________^
[INFO] [stdout] 398 | |                 r#"
[INFO] [stdout] 399 | |                 INSERT INTO ven_manager (user_id) VALUES ($1)
[INFO] [stdout] 400 | |                 "#,
[INFO] [stdout] 401 | |                 user_id
[INFO] [stdout] 402 | |             ),
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[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/data_source/postgres/user.rs:403:38
[INFO] [stdout]     |
[INFO] [stdout] 403 |               AuthRole::UserManager => sqlx::query!(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 404 | |                 r#"
[INFO] [stdout] 405 | |                 INSERT INTO user_manager (user_id) VALUES ($1)
[INFO] [stdout] 406 | |                 "#,
[INFO] [stdout] 407 | |                 user_id
[INFO] [stdout] 408 | |             ),
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[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/data_source/postgres/user.rs:420:9
[INFO] [stdout]     |
[INFO] [stdout] 420 | /         sqlx::query_as!(
[INFO] [stdout] 421 | |             IntermediateUser,
[INFO] [stdout] 422 | |             r#"
[INFO] [stdout] 423 | |             SELECT u.*,
[INFO] [stdout] ...   |
[INFO] [stdout] 445 | |             user_id
[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/data_source/postgres/ven.rs:123:24
[INFO] [stdout]     |
[INFO] [stdout] 123 |           let ven: Ven = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 124 | |             PostgresVen,
[INFO] [stdout] 125 | |             r#"
[INFO] [stdout] 126 | |             INSERT INTO ven (
[INFO] [stdout] ...   |
[INFO] [stdout] 139 | |             to_json_value(new.targets)?,
[INFO] [stdout] 140 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/ven.rs:164:24
[INFO] [stdout]     |
[INFO] [stdout] 164 |           let ven: Ven = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 165 | |             PostgresVen,
[INFO] [stdout] 166 | |             r#"
[INFO] [stdout] 167 | |             SELECT *
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |             ids.as_deref(),
[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/data_source/postgres/ven.rs:194:41
[INFO] [stdout]     |
[INFO] [stdout] 194 |           let pg_vens: Vec<PostgresVen> = sqlx::query_as!(
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 195 | |             PostgresVen,
[INFO] [stdout] 196 | |             r#"
[INFO] [stdout] 197 | |             SELECT DISTINCT
[INFO] [stdout] ...   |
[INFO] [stdout] 221 | |             pg_filter.limit,
[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/data_source/postgres/ven.rs:268:24
[INFO] [stdout]     |
[INFO] [stdout] 268 |           let ven: Ven = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 269 | |             PostgresVen,
[INFO] [stdout] 270 | |             r#"
[INFO] [stdout] 271 | |             UPDATE ven
[INFO] [stdout] ...   |
[INFO] [stdout] 282 | |             to_json_value(new.targets)?
[INFO] [stdout] 283 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/ven.rs:307:24
[INFO] [stdout]     |
[INFO] [stdout] 307 |           let ven: Ven = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 308 | |             PostgresVen,
[INFO] [stdout] 309 | |             r#"
[INFO] [stdout] 310 | |             DELETE FROM ven
[INFO] [stdout] ...   |
[INFO] [stdout] 314 | |             id.as_str(),
[INFO] [stdout] 315 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/event.rs:160:32
[INFO] [stdout]     |
[INFO] [stdout] 160 |           let MaybePgId { id } = sqlx::query_as!(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 161 | |             MaybePgId,
[INFO] [stdout] 162 | |             r#"
[INFO] [stdout] 163 | |             SELECT business_id AS id FROM program WHERE id = $1
[INFO] [stdout] 164 | |             "#,
[INFO] [stdout] 165 | |             program_id
[INFO] [stdout] 166 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/event.rs:196:12
[INFO] [stdout]     |
[INFO] [stdout] 196 |   ...   Ok(sqlx::query_as!(
[INFO] [stdout]     |  __________^
[INFO] [stdout] 197 | | ...       PostgresEvent,
[INFO] [stdout] 198 | | ...       r#"
[INFO] [stdout] 199 | | ...       INSERT INTO event (id, created_date_time, modification_date_time, program_id, event_name, priority, targets, report_descriptors...
[INFO] [stdout] ...   |
[INFO] [stdout] 210 | | ...       serde_json::to_value(&new.intervals).map_err(AppError::SerdeJsonBadRequest)?,
[INFO] [stdout] 211 | | ...   )
[INFO] [stdout]     | |_______^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/event.rs:228:12
[INFO] [stdout]     |
[INFO] [stdout] 228 |           Ok(sqlx::query_as!(
[INFO] [stdout]     |  ____________^
[INFO] [stdout] 229 | |             PostgresEvent,
[INFO] [stdout] 230 | |             r#"
[INFO] [stdout] 231 | |             SELECT e.*
[INFO] [stdout] ...   |
[INFO] [stdout] 246 | |             business_ids.as_deref(),
[INFO] [stdout] 247 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/event.rs:266:12
[INFO] [stdout]     |
[INFO] [stdout] 266 |           Ok(sqlx::query_as!(
[INFO] [stdout]     |  ____________^
[INFO] [stdout] 267 | |             PostgresEvent,
[INFO] [stdout] 268 | |             r#"
[INFO] [stdout] 269 | |             SELECT e.*
[INFO] [stdout] ...   |
[INFO] [stdout] 296 | |             pg_filter.limit
[INFO] [stdout] 297 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/event.rs:313:35
[INFO] [stdout]     |
[INFO] [stdout] 313 |           let previous_program_id = sqlx::query_as!(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 314 | |             PgId,
[INFO] [stdout] 315 | |             r#"SELECT program_id AS id FROM event WHERE id = $1"#,
[INFO] [stdout] 316 | |             id.as_str()
[INFO] [stdout] 317 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/event.rs:326:12
[INFO] [stdout]     |
[INFO] [stdout] 326 |           Ok(sqlx::query_as!(
[INFO] [stdout]     |  ____________^
[INFO] [stdout] 327 | |             PostgresEvent,
[INFO] [stdout] 328 | |             r#"
[INFO] [stdout] 329 | |             UPDATE event
[INFO] [stdout] ...   |
[INFO] [stdout] 350 | |             serde_json::to_value(&new.intervals).map_err(AppError::SerdeJsonBadRequest)?,
[INFO] [stdout] 351 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/event.rs:362:26
[INFO] [stdout]     |
[INFO] [stdout] 362 |           let program_id = sqlx::query_as!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 363 | |             PgId,
[INFO] [stdout] 364 | |             r#"SELECT program_id AS id FROM event WHERE id = $1"#,
[INFO] [stdout] 365 | |             id.as_str()
[INFO] [stdout] 366 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/event.rs:372:12
[INFO] [stdout]     |
[INFO] [stdout] 372 |           Ok(sqlx::query_as!(
[INFO] [stdout]     |  ____________^
[INFO] [stdout] 373 | |             PostgresEvent,
[INFO] [stdout] 374 | |             r#"
[INFO] [stdout] 375 | |             DELETE FROM event WHERE id = $1 RETURNING *
[INFO] [stdout] 376 | |             "#,
[INFO] [stdout] 377 | |             id.as_str()
[INFO] [stdout] 378 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/program.rs:173:32
[INFO] [stdout]     |
[INFO] [stdout] 173 |           let program: Program = sqlx::query_as!(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 174 | |             PostgresProgram,
[INFO] [stdout] 175 | |             r#"
[INFO] [stdout] 176 | |             INSERT INTO program (id,
[INFO] [stdout] ...   |
[INFO] [stdout] 224 | |             business_id,
[INFO] [stdout] 225 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/program.rs:231:33
[INFO] [stdout]     |
[INFO] [stdout] 231 |               let rows_affected = sqlx::query!(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 232 | |                 r#"
[INFO] [stdout] 233 | |                 INSERT INTO ven_program (program_id, ven_id)
[INFO] [stdout] 234 | |                     (SELECT $1, id FROM ven WHERE ven_name = ANY ($2))
[INFO] [stdout] ...   |
[INFO] [stdout] 237 | |                 &vens
[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/data_source/postgres/program.rs:258:12
[INFO] [stdout]     |
[INFO] [stdout] 258 |           Ok(sqlx::query_as!(
[INFO] [stdout]     |  ____________^
[INFO] [stdout] 259 | |             PostgresProgram,
[INFO] [stdout] 260 | |             r#"
[INFO] [stdout] 261 | |             SELECT p.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 284 | |             &user.ven_ids_string()
[INFO] [stdout] 285 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/program.rs:299:12
[INFO] [stdout]     |
[INFO] [stdout] 299 |           Ok(sqlx::query_as!(
[INFO] [stdout]     |  ____________^
[INFO] [stdout] 300 | |             PostgresProgram,
[INFO] [stdout] 301 | |             r#"
[INFO] [stdout] 302 | |             SELECT p.id AS "id!", 
[INFO] [stdout] ...   |
[INFO] [stdout] 341 | |             pg_filter.limit,
[INFO] [stdout] 342 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/program.rs:361:32
[INFO] [stdout]     |
[INFO] [stdout] 361 |           let program: Program = sqlx::query_as!(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 362 | |             PostgresProgram,
[INFO] [stdout] 363 | |             r#"
[INFO] [stdout] 364 | |             UPDATE program p
[INFO] [stdout] ...   |
[INFO] [stdout] 412 | |             business_id
[INFO] [stdout] 413 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/program.rs:419:13
[INFO] [stdout]     |
[INFO] [stdout] 419 | /             sqlx::query!(
[INFO] [stdout] 420 | |                 r#"
[INFO] [stdout] 421 | |                 DELETE FROM ven_program WHERE program_id = $1
[INFO] [stdout] 422 | |                 "#,
[INFO] [stdout] 423 | |                 program.id.as_str()
[INFO] [stdout] 424 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[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/data_source/postgres/program.rs:428:33
[INFO] [stdout]     |
[INFO] [stdout] 428 |               let rows_affected = sqlx::query!(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 429 | |                 r#"
[INFO] [stdout] 430 | |                 INSERT INTO ven_program (program_id, ven_id)
[INFO] [stdout] 431 | |                     (SELECT $1, id FROM ven WHERE ven_name = ANY($2))
[INFO] [stdout] ...   |
[INFO] [stdout] 434 | |                 &vens
[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` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/program.rs:456:12
[INFO] [stdout]     |
[INFO] [stdout] 456 |           Ok(sqlx::query_as!(
[INFO] [stdout]     |  ____________^
[INFO] [stdout] 457 | |             PostgresProgram,
[INFO] [stdout] 458 | |             r#"
[INFO] [stdout] 459 | |             DELETE FROM program p
[INFO] [stdout] ...   |
[INFO] [stdout] 480 | |             business_id,
[INFO] [stdout] 481 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/report.rs:94:30
[INFO] [stdout]     |
[INFO] [stdout] 94  |           let permitted_vens = sqlx::query_as!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 95  | |             PgId,
[INFO] [stdout] 96  | |             r#"
[INFO] [stdout] 97  | |             SELECT ven_id AS id FROM ven_program WHERE program_id = $1
[INFO] [stdout] 98  | |             "#,
[INFO] [stdout] 99  | |             new.program_id.as_str()
[INFO] [stdout] 100 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/report.rs:116:26
[INFO] [stdout]     |
[INFO] [stdout] 116 |           let program_id = sqlx::query_as!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 117 | |             PgId,
[INFO] [stdout] 118 | |             r#"
[INFO] [stdout] 119 | |             SELECT program_id AS id FROM event WHERE id = $1
[INFO] [stdout] 120 | |             "#,
[INFO] [stdout] 121 | |             new.event_id.as_str(),
[INFO] [stdout] 122 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/report.rs:132:30
[INFO] [stdout]     |
[INFO] [stdout] 132 |   ...   let report: Report = sqlx::query_as!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 133 | | ...       PostgresReport,
[INFO] [stdout] 134 | | ...       r#"
[INFO] [stdout] 135 | | ...       INSERT INTO report (id, created_date_time, modification_date_time, program_id, event_id, client_name, report_name, payload_desc...
[INFO] [stdout] ...   |
[INFO] [stdout] 144 | | ...       serde_json::to_value(new.resources).map_err(AppError::SerdeJsonBadRequest)?,
[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/data_source/postgres/report.rs:162:30
[INFO] [stdout]     |
[INFO] [stdout] 162 |           let report: Report = sqlx::query_as!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 163 | |             PostgresReport,
[INFO] [stdout] 164 | |             r#"
[INFO] [stdout] 165 | |             SELECT r.* 
[INFO] [stdout] ...   |
[INFO] [stdout] 180 | |             business_ids.as_deref()
[INFO] [stdout] 181 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/report.rs:198:23
[INFO] [stdout]     |
[INFO] [stdout] 198 |           let reports = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 199 | |             PostgresReport,
[INFO] [stdout] 200 | |             r#"
[INFO] [stdout] 201 | |             SELECT r.*
[INFO] [stdout] ...   |
[INFO] [stdout] 224 | |             filter.limit,
[INFO] [stdout] 225 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/report.rs:244:30
[INFO] [stdout]     |
[INFO] [stdout] 244 |           let report: Report = sqlx::query_as!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 245 | |             PostgresReport,
[INFO] [stdout] 246 | |             r#"
[INFO] [stdout] 247 | |             UPDATE report r
[INFO] [stdout] ...   |
[INFO] [stdout] 276 | |             serde_json::to_value(new.resources).map_err(AppError::SerdeJsonBadRequest)?,
[INFO] [stdout] 277 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/report.rs:294:30
[INFO] [stdout]     |
[INFO] [stdout] 294 |           let report: Report = sqlx::query_as!(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 295 | |             PostgresReport,
[INFO] [stdout] 296 | |             r#"
[INFO] [stdout] 297 | |             DELETE FROM report r 
[INFO] [stdout] ...   |
[INFO] [stdout] 305 | |             business_ids.as_deref(),
[INFO] [stdout] 306 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PgId` and `to_json_value`
[INFO] [stdout]  --> src/data_source/postgres/event.rs:4:42
[INFO] [stdout]   |
[INFO] [stdout] 4 |         postgres::{extract_business_ids, to_json_value, PgId, PgTargetsFilter},
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `to_json_value`
[INFO] [stdout]  --> src/data_source/postgres/program.rs:4:55
[INFO] [stdout]   |
[INFO] [stdout] 4 |         postgres::{extract_business_id, extract_vens, to_json_value, PgTargetsFilter},
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PgId` and `to_json_value`
[INFO] [stdout]  --> src/data_source/postgres/report.rs:4:42
[INFO] [stdout]   |
[INFO] [stdout] 4 |         postgres::{extract_business_ids, to_json_value, PgId},
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `to_json_value`
[INFO] [stdout]  --> src/data_source/postgres/resource.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 |         postgres::{to_json_value, PgTargetsFilter},
[INFO] [stdout]   |                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `postgres::PgId`
[INFO] [stdout]  --> src/data_source/postgres/user.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 |     data_source::{postgres::PgId, AuthInfo, AuthSource, UserDetails},
[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/data_source/postgres/resource.rs:129:34
[INFO] [stdout]     |
[INFO] [stdout] 129 |           let resource: Resource = sqlx::query_as!(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 130 | |             PostgresResource,
[INFO] [stdout] 131 | |             r#"
[INFO] [stdout] 132 | |             INSERT INTO resource (
[INFO] [stdout] ...   |
[INFO] [stdout] 147 | |             to_json_value(new.targets)?,
[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/data_source/postgres/resource.rs:162:24
[INFO] [stdout]     |
[INFO] [stdout] 162 |           let resource = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 163 | |             PostgresResource,
[INFO] [stdout] 164 | |             r#"
[INFO] [stdout] 165 | |             SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 177 | |             ven_id.as_str(),
[INFO] [stdout] 178 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the 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: `to_json_value`
[INFO] [stdout]  --> src/data_source/postgres/ven.rs:4:49
[INFO] [stdout]   |
[INFO] [stdout] 4 |         postgres::{resource::PgResourceStorage, to_json_value, PgTargetsFilter},
[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/data_source/postgres/resource.rs:195:19
[INFO] [stdout]     |
[INFO] [stdout] 195 |           let res = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 196 | |             PostgresResource,
[INFO] [stdout] 197 | |             r#"
[INFO] [stdout] 198 | |             SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 222 | |             pg_filter.limit,
[INFO] [stdout] 223 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/resource.rs:246:34
[INFO] [stdout]     |
[INFO] [stdout] 246 |           let resource: Resource = sqlx::query_as!(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 247 | |             PostgresResource,
[INFO] [stdout] 248 | |             r#"
[INFO] [stdout] 249 | |             UPDATE resource
[INFO] [stdout] ...   |
[INFO] [stdout] 263 | |             to_json_value(new.targets)?
[INFO] [stdout] 264 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/resource.rs:278:12
[INFO] [stdout]     |
[INFO] [stdout] 278 |           Ok(sqlx::query_as!(
[INFO] [stdout]     |  ____________^
[INFO] [stdout] 279 | |             PostgresResource,
[INFO] [stdout] 280 | |             r#"
[INFO] [stdout] 281 | |             DELETE FROM resource r
[INFO] [stdout] ...   |
[INFO] [stdout] 286 | |             ven_id.as_str(),
[INFO] [stdout] 287 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/resource.rs:299:9
[INFO] [stdout]     |
[INFO] [stdout] 299 | /         sqlx::query_as!(
[INFO] [stdout] 300 | |             PostgresResource,
[INFO] [stdout] 301 | |             r#"
[INFO] [stdout] 302 | |             SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 313 | |             ven_id.as_str(),
[INFO] [stdout] 314 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/resource.rs:326:9
[INFO] [stdout]     |
[INFO] [stdout] 326 | /         sqlx::query_as!(
[INFO] [stdout] 327 | |             PostgresResource,
[INFO] [stdout] 328 | |             r#"
[INFO] [stdout] 329 | |             SELECT
[INFO] [stdout] ...   |
[INFO] [stdout] 340 | |             ven_ids,
[INFO] [stdout] 341 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/user.rs:95:24
[INFO] [stdout]     |
[INFO] [stdout] 95  |           let db_entry = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 96  | |             IdAndSecret,
[INFO] [stdout] 97  | |             r#"
[INFO] [stdout] 98  | |             SELECT id,
[INFO] [stdout] ...   |
[INFO] [stdout] 104 | |             client_id,
[INFO] [stdout] 105 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/user.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 | /         sqlx::query_as!(
[INFO] [stdout] 135 | |             IntermediateUser,
[INFO] [stdout] 136 | |             r#"
[INFO] [stdout] 137 | |             SELECT u.*,
[INFO] [stdout] ...   |
[INFO] [stdout] 159 | |             "#,
[INFO] [stdout] 160 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/user.rs:176:20
[INFO] [stdout]     |
[INFO] [stdout] 176 |           let user = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 177 | |             PgId,
[INFO] [stdout] 178 | |             r#"
[INFO] [stdout] 179 | |             INSERT INTO "user" (id, reference, description, created, modified)
[INFO] [stdout] ...   |
[INFO] [stdout] 184 | |             description
[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/data_source/postgres/user.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 | /         sqlx::query!(
[INFO] [stdout] 224 | |             r#"
[INFO] [stdout] 225 | |             INSERT INTO user_credentials 
[INFO] [stdout] 226 | |                 (user_id, client_id, client_secret) 
[INFO] [stdout] ...   |
[INFO] [stdout] 232 | |             &hash
[INFO] [stdout] 233 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/user.rs:248:9
[INFO] [stdout]     |
[INFO] [stdout] 248 | /         sqlx::query!(
[INFO] [stdout] 249 | |             r#"
[INFO] [stdout] 250 | |             DELETE FROM user_credentials WHERE user_id = $1 AND client_id = $2
[INFO] [stdout] 251 | |             "#,
[INFO] [stdout] 252 | |             user_id,
[INFO] [stdout] 253 | |             client_id
[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` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/user.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 | /         sqlx::query!(
[INFO] [stdout] 265 | |             r#"
[INFO] [stdout] 266 | |             DELETE FROM "user" WHERE id = $1
[INFO] [stdout] 267 | |             "#,
[INFO] [stdout] 268 | |             user_id
[INFO] [stdout] 269 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[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/data_source/postgres/user.rs:285:9
[INFO] [stdout]     |
[INFO] [stdout] 285 | /         sqlx::query!(
[INFO] [stdout] 286 | |             r#"
[INFO] [stdout] 287 | |             UPDATE "user" SET
[INFO] [stdout] 288 | |                 reference = $2,
[INFO] [stdout] ...   |
[INFO] [stdout] 295 | |             description
[INFO] [stdout] 296 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[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/data_source/postgres/user.rs:323:9
[INFO] [stdout]     |
[INFO] [stdout] 323 | /         sqlx::query!(
[INFO] [stdout] 324 | |             r#"
[INFO] [stdout] 325 | |             DELETE FROM user_ven WHERE user_id = $1 
[INFO] [stdout] 326 | |             "#,
[INFO] [stdout] 327 | |             user_id
[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` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/user.rs:332:9
[INFO] [stdout]     |
[INFO] [stdout] 332 | /         sqlx::query!(
[INFO] [stdout] 333 | |             r#"
[INFO] [stdout] 334 | |             DELETE FROM user_business WHERE user_id = $1 
[INFO] [stdout] 335 | |             "#,
[INFO] [stdout] 336 | |             user_id
[INFO] [stdout] 337 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[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/data_source/postgres/user.rs:341:9
[INFO] [stdout]     |
[INFO] [stdout] 341 | /         sqlx::query!(
[INFO] [stdout] 342 | |             r#"
[INFO] [stdout] 343 | |             DELETE FROM any_business_user WHERE user_id = $1 
[INFO] [stdout] 344 | |             "#,
[INFO] [stdout] 345 | |             user_id
[INFO] [stdout] 346 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/user.rs:350:9
[INFO] [stdout]     |
[INFO] [stdout] 350 | /         sqlx::query!(
[INFO] [stdout] 351 | |             r#"
[INFO] [stdout] 352 | |             DELETE FROM ven_manager WHERE user_id = $1 
[INFO] [stdout] 353 | |             "#,
[INFO] [stdout] 354 | |             user_id
[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` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/user.rs:359:9
[INFO] [stdout]     |
[INFO] [stdout] 359 | /         sqlx::query!(
[INFO] [stdout] 360 | |             r#"
[INFO] [stdout] 361 | |             DELETE FROM user_manager WHERE user_id = $1 
[INFO] [stdout] 362 | |             "#,
[INFO] [stdout] 363 | |             user_id
[INFO] [stdout] 364 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[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/data_source/postgres/user.rs:377:41
[INFO] [stdout]     |
[INFO] [stdout] 377 |               AuthRole::Business(b_id) => sqlx::query!(
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 378 | |                 r#"
[INFO] [stdout] 379 | |                 INSERT INTO user_business (user_id, business_id) VALUES ($1, $2)
[INFO] [stdout] 380 | |                 "#,
[INFO] [stdout] 381 | |                 user_id,
[INFO] [stdout] 382 | |                 b_id
[INFO] [stdout] 383 | |             ),
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[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/data_source/postgres/user.rs:384:38
[INFO] [stdout]     |
[INFO] [stdout] 384 |               AuthRole::AnyBusiness => sqlx::query!(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 385 | |                 r#"
[INFO] [stdout] 386 | |                 INSERT INTO any_business_user (user_id) VALUES ($1)
[INFO] [stdout] 387 | |                 "#,
[INFO] [stdout] 388 | |                 user_id
[INFO] [stdout] 389 | |             ),
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[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/data_source/postgres/user.rs:390:36
[INFO] [stdout]     |
[INFO] [stdout] 390 |               AuthRole::VEN(v_id) => sqlx::query!(
[INFO] [stdout]     |  ____________________________________^
[INFO] [stdout] 391 | |                 r#"
[INFO] [stdout] 392 | |                 INSERT INTO user_ven (user_id, ven_id) VALUES ($1, $2)
[INFO] [stdout] 393 | |                 "#,
[INFO] [stdout] 394 | |                 user_id,
[INFO] [stdout] 395 | |                 v_id.as_str()
[INFO] [stdout] 396 | |             ),
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[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/data_source/postgres/user.rs:397:37
[INFO] [stdout]     |
[INFO] [stdout] 397 |               AuthRole::VenManager => sqlx::query!(
[INFO] [stdout]     |  _____________________________________^
[INFO] [stdout] 398 | |                 r#"
[INFO] [stdout] 399 | |                 INSERT INTO ven_manager (user_id) VALUES ($1)
[INFO] [stdout] 400 | |                 "#,
[INFO] [stdout] 401 | |                 user_id
[INFO] [stdout] 402 | |             ),
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[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/data_source/postgres/user.rs:403:38
[INFO] [stdout]     |
[INFO] [stdout] 403 |               AuthRole::UserManager => sqlx::query!(
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 404 | |                 r#"
[INFO] [stdout] 405 | |                 INSERT INTO user_manager (user_id) VALUES ($1)
[INFO] [stdout] 406 | |                 "#,
[INFO] [stdout] 407 | |                 user_id
[INFO] [stdout] 408 | |             ),
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[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/data_source/postgres/user.rs:420:9
[INFO] [stdout]     |
[INFO] [stdout] 420 | /         sqlx::query_as!(
[INFO] [stdout] 421 | |             IntermediateUser,
[INFO] [stdout] 422 | |             r#"
[INFO] [stdout] 423 | |             SELECT u.*,
[INFO] [stdout] ...   |
[INFO] [stdout] 445 | |             user_id
[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/data_source/postgres/ven.rs:123:24
[INFO] [stdout]     |
[INFO] [stdout] 123 |           let ven: Ven = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 124 | |             PostgresVen,
[INFO] [stdout] 125 | |             r#"
[INFO] [stdout] 126 | |             INSERT INTO ven (
[INFO] [stdout] ...   |
[INFO] [stdout] 139 | |             to_json_value(new.targets)?,
[INFO] [stdout] 140 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/ven.rs:164:24
[INFO] [stdout]     |
[INFO] [stdout] 164 |           let ven: Ven = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 165 | |             PostgresVen,
[INFO] [stdout] 166 | |             r#"
[INFO] [stdout] 167 | |             SELECT *
[INFO] [stdout] ...   |
[INFO] [stdout] 173 | |             ids.as_deref(),
[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/data_source/postgres/ven.rs:194:41
[INFO] [stdout]     |
[INFO] [stdout] 194 |           let pg_vens: Vec<PostgresVen> = sqlx::query_as!(
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 195 | |             PostgresVen,
[INFO] [stdout] 196 | |             r#"
[INFO] [stdout] 197 | |             SELECT DISTINCT
[INFO] [stdout] ...   |
[INFO] [stdout] 221 | |             pg_filter.limit,
[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/data_source/postgres/ven.rs:268:24
[INFO] [stdout]     |
[INFO] [stdout] 268 |           let ven: Ven = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 269 | |             PostgresVen,
[INFO] [stdout] 270 | |             r#"
[INFO] [stdout] 271 | |             UPDATE ven
[INFO] [stdout] ...   |
[INFO] [stdout] 282 | |             to_json_value(new.targets)?
[INFO] [stdout] 283 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/data_source/postgres/ven.rs:307:24
[INFO] [stdout]     |
[INFO] [stdout] 307 |           let ven: Ven = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 308 | |             PostgresVen,
[INFO] [stdout] 309 | |             r#"
[INFO] [stdout] 310 | |             DELETE FROM ven
[INFO] [stdout] ...   |
[INFO] [stdout] 314 | |             id.as_str(),
[INFO] [stdout] 315 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the 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 imports: `PgId` and `to_json_value`
[INFO] [stdout]  --> src/data_source/postgres/event.rs:4:42
[INFO] [stdout]   |
[INFO] [stdout] 4 |         postgres::{extract_business_ids, to_json_value, PgId, PgTargetsFilter},
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `to_json_value`
[INFO] [stdout]  --> src/data_source/postgres/program.rs:4:55
[INFO] [stdout]   |
[INFO] [stdout] 4 |         postgres::{extract_business_id, extract_vens, to_json_value, PgTargetsFilter},
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PgId` and `to_json_value`
[INFO] [stdout]  --> src/data_source/postgres/report.rs:4:42
[INFO] [stdout]   |
[INFO] [stdout] 4 |         postgres::{extract_business_ids, to_json_value, PgId},
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `to_json_value`
[INFO] [stdout]  --> src/data_source/postgres/resource.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 |         postgres::{to_json_value, PgTargetsFilter},
[INFO] [stdout]   |                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `postgres::PgId`
[INFO] [stdout]  --> src/data_source/postgres/user.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 |     data_source::{postgres::PgId, AuthInfo, AuthSource, UserDetails},
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `to_json_value`
[INFO] [stdout]  --> src/data_source/postgres/ven.rs:4:49
[INFO] [stdout]   |
[INFO] [stdout] 4 |         postgres::{resource::PgResourceStorage, to_json_value, PgTargetsFilter},
[INFO] [stdout]   |                                                 ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `openleadr-vtn` (lib) due to 53 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `openleadr-vtn` (lib test) due to 53 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c0bebcc831bfc5fd75d870bf4a8378fbe35bf6e27b0428c7f2a5877e49c4bc3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0bebcc831bfc5fd75d870bf4a8378fbe35bf6e27b0428c7f2a5877e49c4bc3d", kill_on_drop: false }`
[INFO] [stdout] c0bebcc831bfc5fd75d870bf4a8378fbe35bf6e27b0428c7f2a5877e49c4bc3d
