[INFO] fetching crate openleadr-vtn 0.0.4... [INFO] testing openleadr-vtn-0.0.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate openleadr-vtn 0.0.4 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate openleadr-vtn 0.0.4 [INFO] finished tweaking crates.io crate openleadr-vtn 0.0.4 [INFO] tweaked toml for crates.io crate openleadr-vtn 0.0.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate openleadr-vtn 0.0.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate openleadr-vtn 0.0.4 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator v0.19.0 [INFO] [stderr] Downloaded iso_currency v0.5.1 [INFO] [stderr] Downloaded serde_html_form v0.2.6 [INFO] [stderr] Downloaded validator_derive v0.19.0 [INFO] [stderr] Downloaded iso_country v0.1.4 [INFO] [stderr] Downloaded openleadr-wire v0.0.4 [INFO] [stderr] Downloaded quinn-udp v0.5.7 [INFO] [stderr] Downloaded sdd v3.0.4 [INFO] [stderr] Downloaded scc v2.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09800a21fa3fa3fc6eeb5984b28f85f1c2e3ea28a1294e3b583bc2cef0f433f9 [INFO] running `Command { std: "docker" "start" "-a" "09800a21fa3fa3fc6eeb5984b28f85f1c2e3ea28a1294e3b583bc2cef0f433f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09800a21fa3fa3fc6eeb5984b28f85f1c2e3ea28a1294e3b583bc2cef0f433f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09800a21fa3fa3fc6eeb5984b28f85f1c2e3ea28a1294e3b583bc2cef0f433f9", kill_on_drop: false }` [INFO] [stdout] 09800a21fa3fa3fc6eeb5984b28f85f1c2e3ea28a1294e3b583bc2cef0f433f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1e498d61b309fe909b514dbadcf1703c40823244c1057b19570b88e9cf3d00cc [INFO] running `Command { std: "docker" "start" "-a" "1e498d61b309fe909b514dbadcf1703c40823244c1057b19570b88e9cf3d00cc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling rustls v0.23.19 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling iso_currency v0.5.1 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [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] Compiling iso_country v0.1.4 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling iso8601-duration v0.2.0 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling uuid v1.12.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling validator_derive v0.19.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_html_form v0.2.6 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling validator v0.19.0 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling openleadr-wire v0.0.4 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling sqlx-postgres v0.8.3 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling hyper-rustls v0.27.3 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling axum-extra v0.9.6 [INFO] [stderr] Compiling openleadr-vtn v0.0.4 (/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 = 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] running `Command { std: "docker" "inspect" "1e498d61b309fe909b514dbadcf1703c40823244c1057b19570b88e9cf3d00cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e498d61b309fe909b514dbadcf1703c40823244c1057b19570b88e9cf3d00cc", kill_on_drop: false }` [INFO] [stdout] 1e498d61b309fe909b514dbadcf1703c40823244c1057b19570b88e9cf3d00cc