[INFO] cloning repository https://github.com/KevinXuxuxu/xnote2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KevinXuxuxu/xnote2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinXuxuxu%2Fxnote2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinXuxuxu%2Fxnote2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69e8293a7f0a62161f1ed6161593e36dfb232da3 [INFO] checking KevinXuxuxu/xnote2 against try#f27166d4c64dc29edc5ea3214357f191edf8b635 for pr-148329 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinXuxuxu%2Fxnote2" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KevinXuxuxu/xnote2 [INFO] finished tweaking git repo https://github.com/KevinXuxuxu/xnote2 [INFO] tweaked toml for git repo https://github.com/KevinXuxuxu/xnote2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KevinXuxuxu/xnote2 on toolchain f27166d4c64dc29edc5ea3214357f191edf8b635 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KevinXuxuxu/xnote2 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" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.5.16 [INFO] [stderr] Downloaded actix-http v3.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8059e5c3bb44d4f4b6715619e4820119086e875f4420900b6fbb3625e95dc54d [INFO] running `Command { std: "docker" "start" "-a" "8059e5c3bb44d4f4b6715619e4820119086e875f4420900b6fbb3625e95dc54d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8059e5c3bb44d4f4b6715619e4820119086e875f4420900b6fbb3625e95dc54d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8059e5c3bb44d4f4b6715619e4820119086e875f4420900b6fbb3625e95dc54d", kill_on_drop: false }` [INFO] [stdout] 8059e5c3bb44d4f4b6715619e4820119086e875f4420900b6fbb3625e95dc54d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8654a08c9630b9fbc3ec9686e61062bce89b22da715d57535a665d56ee802737 [INFO] running `Command { std: "docker" "start" "-a" "8654a08c9630b9fbc3ec9686e61062bce89b22da715d57535a665d56ee802737", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Checking tokio v1.47.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking brotli v8.0.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking sdd v3.0.10 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Checking scc v2.3.4 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking actix-http v3.11.0 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Checking actix-files v0.6.6 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking xnote v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/activities.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | let activity_exists = sqlx::query!("SELECT id FROM activity WHERE id = $1", activity_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/activities.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | let activity_exists = sqlx::query!("SELECT id FROM activity WHERE id = $1", activity_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/activities.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | let event_count = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 160 | | "SELECT COUNT(*) as count FROM event WHERE activity = $1", [INFO] [stdout] 161 | | activity_id [INFO] [stdout] 162 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/activities.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | let event_count = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 160 | | "SELECT COUNT(*) as count FROM event WHERE activity = $1", [INFO] [stdout] 161 | | activity_id [INFO] [stdout] 162 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/activities.rs:187:11 [INFO] [stdout] | [INFO] [stdout] 187 | match sqlx::query!("DELETE FROM activity WHERE id = $1", activity_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/activities.rs:187:11 [INFO] [stdout] | [INFO] [stdout] 187 | match sqlx::query!("DELETE FROM activity WHERE id = $1", activity_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/activity_types.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | let activity_count = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 58 | | "SELECT COUNT(*) as count FROM activity WHERE type = $1", [INFO] [stdout] 59 | | activity_type_name [INFO] [stdout] 60 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/activity_types.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 85 | | "DELETE FROM activity_type WHERE name = $1", [INFO] [stdout] 86 | | activity_type_name [INFO] [stdout] 87 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/activity_types.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | let activity_count = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 58 | | "SELECT COUNT(*) as count FROM activity WHERE type = $1", [INFO] [stdout] 59 | | activity_type_name [INFO] [stdout] 60 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/activity_types.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 85 | | "DELETE FROM activity_type WHERE name = $1", [INFO] [stdout] 86 | | activity_type_name [INFO] [stdout] 87 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/daily_summary.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let summaries = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 39 | | r#" [INFO] [stdout] 40 | | WITH date_range AS ( [INFO] [stdout] 41 | | SELECT generate_series($1::date, $2::date, '1 day'::interval)::date AS date [INFO] [stdout] ... | [INFO] [stdout] 222 | | end_date [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/drink_options.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 34 | | "INSERT INTO drink_option (name) VALUES ($1)", [INFO] [stdout] 35 | | drink_option.name [INFO] [stdout] 36 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/drink_options.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | let drink_count = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 64 | | "SELECT COUNT(*) as count FROM drink WHERE name = $1", [INFO] [stdout] 65 | | drink_option_name [INFO] [stdout] 66 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/daily_summary.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let summaries = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 39 | | r#" [INFO] [stdout] 40 | | WITH date_range AS ( [INFO] [stdout] 41 | | SELECT generate_series($1::date, $2::date, '1 day'::interval)::date AS date [INFO] [stdout] ... | [INFO] [stdout] 222 | | end_date [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/drink_options.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 91 | | "DELETE FROM drink_option WHERE name = $1", [INFO] [stdout] 92 | | drink_option_name [INFO] [stdout] 93 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/drink_options.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 34 | | "INSERT INTO drink_option (name) VALUES ($1)", [INFO] [stdout] 35 | | drink_option.name [INFO] [stdout] 36 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/drink_options.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | let drink_count = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 64 | | "SELECT COUNT(*) as count FROM drink WHERE name = $1", [INFO] [stdout] 65 | | drink_option_name [INFO] [stdout] 66 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/drink_options.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 91 | | "DELETE FROM drink_option WHERE name = $1", [INFO] [stdout] 92 | | drink_option_name [INFO] [stdout] 93 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/drinks.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | let drink_result = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 53 | | r#" [INFO] [stdout] 54 | | INSERT INTO drink (date, name) [INFO] [stdout] 55 | | VALUES ($1, $2) [INFO] [stdout] ... | [INFO] [stdout] 59 | | drink_data.name [INFO] [stdout] 60 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/drinks.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | if let Err(e) = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 80 | | "INSERT INTO drink_people (drink, people) VALUES ($1, $2)", [INFO] [stdout] 81 | | drink_id, [INFO] [stdout] 82 | | person_id [INFO] [stdout] 83 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/drinks.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | let drink_result = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 53 | | r#" [INFO] [stdout] 54 | | INSERT INTO drink (date, name) [INFO] [stdout] 55 | | VALUES ($1, $2) [INFO] [stdout] ... | [INFO] [stdout] 59 | | drink_data.name [INFO] [stdout] 60 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/drinks.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | if let Err(e) = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 80 | | "INSERT INTO drink_people (drink, people) VALUES ($1, $2)", [INFO] [stdout] 81 | | drink_id, [INFO] [stdout] 82 | | person_id [INFO] [stdout] 83 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/drinks.rs:148:23 [INFO] [stdout] | [INFO] [stdout] 148 | let drink_query = sqlx::query!("SELECT id, name, date FROM drink WHERE id = $1", drink_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/events.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | let event_result = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 55 | | r#" [INFO] [stdout] 56 | | INSERT INTO event (date, activity, measure, location, notes) [INFO] [stdout] 57 | | VALUES ($1, $2, $3, $4, $5) [INFO] [stdout] ... | [INFO] [stdout] 64 | | event_data.notes [INFO] [stdout] 65 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/drinks.rs:148:23 [INFO] [stdout] | [INFO] [stdout] 148 | let drink_query = sqlx::query!("SELECT id, name, date FROM drink WHERE id = $1", drink_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/events.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | if let Err(e) = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 85 | | "INSERT INTO event_people (event, people) VALUES ($1, $2)", [INFO] [stdout] 86 | | event_id, [INFO] [stdout] 87 | | person_id [INFO] [stdout] 88 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/events.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | let event_result = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 55 | | r#" [INFO] [stdout] 56 | | INSERT INTO event (date, activity, measure, location, notes) [INFO] [stdout] 57 | | VALUES ($1, $2, $3, $4, $5) [INFO] [stdout] ... | [INFO] [stdout] 64 | | event_data.notes [INFO] [stdout] 65 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/events.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | if let Err(e) = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 181 | | r#" [INFO] [stdout] 182 | | UPDATE event [INFO] [stdout] 183 | | SET date = $1, activity = $2, measure = $3, location = $4, notes = $5 [INFO] [stdout] ... | [INFO] [stdout] 191 | | event_id [INFO] [stdout] 192 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/events.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | if let Err(e) = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 85 | | "INSERT INTO event_people (event, people) VALUES ($1, $2)", [INFO] [stdout] 86 | | event_id, [INFO] [stdout] 87 | | person_id [INFO] [stdout] 88 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/events.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let _ = sqlx::query!("DELETE FROM event_people WHERE event = $1", event_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/events.rs:210:25 [INFO] [stdout] | [INFO] [stdout] 210 | if let Err(e) = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 211 | | "INSERT INTO event_people (event, people) VALUES ($1, $2)", [INFO] [stdout] 212 | | event_id, [INFO] [stdout] 213 | | person_id [INFO] [stdout] 214 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/handlers/events.rs:255:11 [INFO] [stdout] | [INFO] [stdout] 255 | match sqlx::query!("SELECT id FROM event WHERE id = $1", event_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/events.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | if let Err(e) = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 181 | | r#" [INFO] [stdout] 182 | | UPDATE event [INFO] [stdout] 183 | | SET date = $1, activity = $2, measure = $3, location = $4, notes = $5 [INFO] [stdout] ... | [INFO] [stdout] 191 | | event_id [INFO] [stdout] 192 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/events.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | if let Err(e) = sqlx::query!("DELETE FROM event_people WHERE event = $1", event_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/events.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let _ = sqlx::query!("DELETE FROM event_people WHERE event = $1", event_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/events.rs:210:25 [INFO] [stdout] | [INFO] [stdout] 210 | if let Err(e) = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 211 | | "INSERT INTO event_people (event, people) VALUES ($1, $2)", [INFO] [stdout] 212 | | event_id, [INFO] [stdout] 213 | | person_id [INFO] [stdout] 214 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/handlers/events.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | if let Err(e) = sqlx::query!("DELETE FROM event WHERE id = $1", event_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/events.rs:323:23 [INFO] [stdout] | [INFO] [stdout] 323 | let event_query = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 324 | | r#" [INFO] [stdout] 325 | | SELECT [INFO] [stdout] 326 | | e.id, e.date, e.measure, e.location, e.notes, [INFO] [stdout] ... | [INFO] [stdout] 332 | | event_id [INFO] [stdout] 333 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/events.rs:255:11 [INFO] [stdout] | [INFO] [stdout] 255 | match sqlx::query!("SELECT id FROM event WHERE id = $1", event_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/events.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | if let Err(e) = sqlx::query!("DELETE FROM event_people WHERE event = $1", event_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/events.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | if let Err(e) = sqlx::query!("DELETE FROM event WHERE id = $1", event_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/events.rs:323:23 [INFO] [stdout] | [INFO] [stdout] 323 | let event_query = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 324 | | r#" [INFO] [stdout] 325 | | SELECT [INFO] [stdout] 326 | | e.id, e.date, e.measure, e.location, e.notes, [INFO] [stdout] ... | [INFO] [stdout] 332 | | event_id [INFO] [stdout] 333 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/meals.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | let meal_result = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 57 | | r#"INSERT INTO meal (date, "time", notes) VALUES ($1, $2, $3) RETURNING id"#, [INFO] [stdout] 58 | | meal_data.date, [INFO] [stdout] 59 | | meal_data.time, [INFO] [stdout] 60 | | meal_data.notes [INFO] [stdout] 61 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/meals.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | / sqlx::query!( [INFO] [stdout] 83 | | "INSERT INTO meal_recipe (meal, recipe, type) VALUES ($1, $2, $3)", [INFO] [stdout] 84 | | meal_id, [INFO] [stdout] 85 | | recipe_id, [INFO] [stdout] 86 | | meal_type [INFO] [stdout] 87 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/meals.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | / sqlx::query!( [INFO] [stdout] 96 | | "INSERT INTO meal_product (meal, product, type) VALUES ($1, $2, $3)", [INFO] [stdout] 97 | | meal_id, [INFO] [stdout] 98 | | product_id, [INFO] [stdout] 99 | | meal_type [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/meals.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | / sqlx::query!( [INFO] [stdout] 109 | | "INSERT INTO meal_restaurant (meal, restaurant, type) VALUES ($1, $2, $3)", [INFO] [stdout] 110 | | meal_id, [INFO] [stdout] 111 | | restaurant_id, [INFO] [stdout] 112 | | meal_type [INFO] [stdout] 113 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/handlers/meals.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | if let Err(e) = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 130 | | "INSERT INTO meal_people (meal, people) VALUES ($1, $2)", [INFO] [stdout] 131 | | meal_id, [INFO] [stdout] 132 | | person_id [INFO] [stdout] 133 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/handlers/meals.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | let meal_result = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 57 | | r#"INSERT INTO meal (date, "time", notes) VALUES ($1, $2, $3) RETURNING id"#, [INFO] [stdout] 58 | | meal_data.date, [INFO] [stdout] 59 | | meal_data.time, [INFO] [stdout] 60 | | meal_data.notes [INFO] [stdout] 61 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/meals.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | / sqlx::query!( [INFO] [stdout] 83 | | "INSERT INTO meal_recipe (meal, recipe, type) VALUES ($1, $2, $3)", [INFO] [stdout] 84 | | meal_id, [INFO] [stdout] 85 | | recipe_id, [INFO] [stdout] 86 | | meal_type [INFO] [stdout] 87 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/meals.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | / sqlx::query!( [INFO] [stdout] 96 | | "INSERT INTO meal_product (meal, product, type) VALUES ($1, $2, $3)", [INFO] [stdout] 97 | | meal_id, [INFO] [stdout] 98 | | product_id, [INFO] [stdout] 99 | | meal_type [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/meals.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | / sqlx::query!( [INFO] [stdout] 109 | | "INSERT INTO meal_restaurant (meal, restaurant, type) VALUES ($1, $2, $3)", [INFO] [stdout] 110 | | meal_id, [INFO] [stdout] 111 | | restaurant_id, [INFO] [stdout] 112 | | meal_type [INFO] [stdout] 113 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/handlers/meals.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | if let Err(e) = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 227 | | r#"UPDATE meal SET date = $1, "time" = $2, notes = $3 WHERE id = $4"#, [INFO] [stdout] 228 | | meal_data.date, [INFO] [stdout] 229 | | meal_data.time, [INFO] [stdout] 230 | | meal_data.notes, [INFO] [stdout] 231 | | meal_id [INFO] [stdout] 232 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/meals.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | if let Err(e) = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 130 | | "INSERT INTO meal_people (meal, people) VALUES ($1, $2)", [INFO] [stdout] 131 | | meal_id, [INFO] [stdout] 132 | | person_id [INFO] [stdout] 133 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [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/handlers/meals.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | let _ = sqlx::query!("DELETE FROM meal_recipe WHERE meal = $1", meal_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/meals.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let _ = sqlx::query!("DELETE FROM meal_product WHERE meal = $1", meal_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/meals.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | let _ = sqlx::query!("DELETE FROM meal_restaurant WHERE meal = $1", meal_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/meals.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | / sqlx::query!( [INFO] [stdout] 262 | | "INSERT INTO meal_recipe (meal, recipe, type) VALUES ($1, $2, $3)", [INFO] [stdout] 263 | | meal_id, [INFO] [stdout] 264 | | recipe_id, [INFO] [stdout] 265 | | meal_type [INFO] [stdout] 266 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/meals.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | / sqlx::query!( [INFO] [stdout] 275 | | "INSERT INTO meal_product (meal, product, type) VALUES ($1, $2, $3)", [INFO] [stdout] 276 | | meal_id, [INFO] [stdout] 277 | | product_id, [INFO] [stdout] 278 | | meal_type [INFO] [stdout] 279 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/meals.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | / sqlx::query!( [INFO] [stdout] 288 | | "INSERT INTO meal_restaurant (meal, restaurant, type) VALUES ($1, $2, $3)", [INFO] [stdout] 289 | | meal_id, [INFO] [stdout] 290 | | restaurant_id, [INFO] [stdout] 291 | | meal_type [INFO] [stdout] 292 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/handlers/meals.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | if let Err(e) = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 227 | | r#"UPDATE meal SET date = $1, "time" = $2, notes = $3 WHERE id = $4"#, [INFO] [stdout] 228 | | meal_data.date, [INFO] [stdout] 229 | | meal_data.time, [INFO] [stdout] 230 | | meal_data.notes, [INFO] [stdout] 231 | | meal_id [INFO] [stdout] 232 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/meals.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | let _ = sqlx::query!("DELETE FROM meal_people WHERE meal = $1", meal_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/meals.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | let _ = sqlx::query!("DELETE FROM meal_recipe WHERE meal = $1", meal_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/meals.rs:313:25 [INFO] [stdout] | [INFO] [stdout] 313 | if let Err(e) = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 314 | | "INSERT INTO meal_people (meal, people) VALUES ($1, $2)", [INFO] [stdout] 315 | | meal_id, [INFO] [stdout] 316 | | person_id [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/meals.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let _ = sqlx::query!("DELETE FROM meal_product WHERE meal = $1", meal_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/meals.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | let _ = sqlx::query!("DELETE FROM meal_restaurant WHERE meal = $1", meal_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/meals.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | / sqlx::query!( [INFO] [stdout] 262 | | "INSERT INTO meal_recipe (meal, recipe, type) VALUES ($1, $2, $3)", [INFO] [stdout] 263 | | meal_id, [INFO] [stdout] 264 | | recipe_id, [INFO] [stdout] 265 | | meal_type [INFO] [stdout] 266 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/meals.rs:358:11 [INFO] [stdout] | [INFO] [stdout] 358 | match sqlx::query!("SELECT id FROM meal WHERE id = $1", meal_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/meals.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | / sqlx::query!( [INFO] [stdout] 275 | | "INSERT INTO meal_product (meal, product, type) VALUES ($1, $2, $3)", [INFO] [stdout] 276 | | meal_id, [INFO] [stdout] 277 | | product_id, [INFO] [stdout] 278 | | meal_type [INFO] [stdout] 279 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/meals.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | / sqlx::query!( [INFO] [stdout] 288 | | "INSERT INTO meal_restaurant (meal, restaurant, type) VALUES ($1, $2, $3)", [INFO] [stdout] 289 | | meal_id, [INFO] [stdout] 290 | | restaurant_id, [INFO] [stdout] 291 | | meal_type [INFO] [stdout] 292 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/handlers/meals.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | let _ = sqlx::query!("DELETE FROM meal_people WHERE meal = $1", meal_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/meals.rs:406:21 [INFO] [stdout] | [INFO] [stdout] 406 | if let Err(e) = sqlx::query!("DELETE FROM meal WHERE id = $1", meal_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/meals.rs:313:25 [INFO] [stdout] | [INFO] [stdout] 313 | if let Err(e) = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 314 | | "INSERT INTO meal_people (meal, people) VALUES ($1, $2)", [INFO] [stdout] 315 | | meal_id, [INFO] [stdout] 316 | | person_id [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/meals.rs:436:22 [INFO] [stdout] | [INFO] [stdout] 436 | let meal_query = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 437 | | r#"SELECT id, date, "time", notes FROM meal WHERE id = $1"#, [INFO] [stdout] 438 | | meal_id [INFO] [stdout] 439 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/meals.rs:358:11 [INFO] [stdout] | [INFO] [stdout] 358 | match sqlx::query!("SELECT id FROM meal WHERE id = $1", meal_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/meals.rs:459:30 [INFO] [stdout] | [INFO] [stdout] 459 | let food_source_result = sqlx::query!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 460 | | r#" [INFO] [stdout] 461 | | SELECT [INFO] [stdout] 462 | | CASE [INFO] [stdout] ... | [INFO] [stdout] 480 | | meal_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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/meals.rs:406:21 [INFO] [stdout] | [INFO] [stdout] 406 | if let Err(e) = sqlx::query!("DELETE FROM meal WHERE id = $1", meal_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/meals.rs:436:22 [INFO] [stdout] | [INFO] [stdout] 436 | let meal_query = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 437 | | r#"SELECT id, date, "time", notes FROM meal WHERE id = $1"#, [INFO] [stdout] 438 | | meal_id [INFO] [stdout] 439 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/meals.rs:459:30 [INFO] [stdout] | [INFO] [stdout] 459 | let food_source_result = sqlx::query!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 460 | | r#" [INFO] [stdout] 461 | | SELECT [INFO] [stdout] 462 | | CASE [INFO] [stdout] ... | [INFO] [stdout] 480 | | meal_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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/meals.rs:590:33 [INFO] [stdout] | [INFO] [stdout] 590 | let meal_exists = match sqlx::query!("SELECT id FROM meal WHERE id = $1", meal_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/meals.rs:644:25 [INFO] [stdout] | [INFO] [stdout] 644 | if let Err(e) = sqlx::query!("DELETE FROM meal WHERE id = $1", meal_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/meals.rs:590:33 [INFO] [stdout] | [INFO] [stdout] 590 | let meal_exists = match sqlx::query!("SELECT id FROM meal WHERE id = $1", meal_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/meals.rs:644:25 [INFO] [stdout] | [INFO] [stdout] 644 | if let Err(e) = sqlx::query!("DELETE FROM meal WHERE id = $1", meal_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/people.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 52 | | "INSERT INTO people (name, notes) VALUES ($1, $2) RETURNING id", [INFO] [stdout] 53 | | person_data.name, [INFO] [stdout] 54 | | person_data.notes [INFO] [stdout] 55 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/people.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | / sqlx::query!( [INFO] [stdout] 104 | | "UPDATE people SET name = $1, notes = $2 WHERE id = $3", [INFO] [stdout] 105 | | name, [INFO] [stdout] 106 | | notes, [INFO] [stdout] 107 | | person_id [INFO] [stdout] 108 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/handlers/people.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 52 | | "INSERT INTO people (name, notes) VALUES ($1, $2) RETURNING id", [INFO] [stdout] 53 | | person_data.name, [INFO] [stdout] 54 | | person_data.notes [INFO] [stdout] 55 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/people.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | / sqlx::query!( [INFO] [stdout] 114 | | "UPDATE people SET name = $1 WHERE id = $2", [INFO] [stdout] 115 | | name, [INFO] [stdout] 116 | | person_id [INFO] [stdout] 117 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/handlers/people.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | / sqlx::query!( [INFO] [stdout] 123 | | "UPDATE people SET notes = $1 WHERE id = $2", [INFO] [stdout] 124 | | notes, [INFO] [stdout] 125 | | person_id [INFO] [stdout] 126 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/people.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | / sqlx::query!( [INFO] [stdout] 104 | | "UPDATE people SET name = $1, notes = $2 WHERE id = $3", [INFO] [stdout] 105 | | name, [INFO] [stdout] 106 | | notes, [INFO] [stdout] 107 | | person_id [INFO] [stdout] 108 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/handlers/people.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | / sqlx::query!( [INFO] [stdout] 114 | | "UPDATE people SET name = $1 WHERE id = $2", [INFO] [stdout] 115 | | name, [INFO] [stdout] 116 | | person_id [INFO] [stdout] 117 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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/handlers/people.rs:172:11 [INFO] [stdout] | [INFO] [stdout] 172 | match sqlx::query!("SELECT id FROM people WHERE id = $1", person_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/people.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | / sqlx::query!( [INFO] [stdout] 123 | | "UPDATE people SET notes = $1 WHERE id = $2", [INFO] [stdout] 124 | | notes, [INFO] [stdout] 125 | | person_id [INFO] [stdout] 126 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/people.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | if let Err(e) = sqlx::query!("DELETE FROM people WHERE id = $1", person_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/people.rs:172:11 [INFO] [stdout] | [INFO] [stdout] 172 | match sqlx::query!("SELECT id FROM people WHERE id = $1", person_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/people.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | if let Err(e) = sqlx::query!("DELETE FROM people WHERE id = $1", person_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/products.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | let product_exists = sqlx::query!("SELECT id FROM product WHERE id = $1", product_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/products.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | let meal_count = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 139 | | "SELECT COUNT(*) as count FROM meal_product WHERE product = $1", [INFO] [stdout] 140 | | product_id [INFO] [stdout] 141 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/products.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | let product_exists = sqlx::query!("SELECT id FROM product WHERE id = $1", product_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/products.rs:166:11 [INFO] [stdout] | [INFO] [stdout] 166 | match sqlx::query!("DELETE FROM product WHERE id = $1", product_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/products.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | let meal_count = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 139 | | "SELECT COUNT(*) as count FROM meal_product WHERE product = $1", [INFO] [stdout] 140 | | product_id [INFO] [stdout] 141 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/products.rs:166:11 [INFO] [stdout] | [INFO] [stdout] 166 | match sqlx::query!("DELETE FROM product WHERE id = $1", product_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/recipes.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | let recipe_exists = sqlx::query!("SELECT id FROM recipe WHERE id = $1", recipe_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/recipes.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | let meal_count = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 180 | | "SELECT COUNT(*) as count FROM meal_recipe WHERE recipe = $1", [INFO] [stdout] 181 | | recipe_id [INFO] [stdout] 182 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/recipes.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | let recipe_exists = sqlx::query!("SELECT id FROM recipe WHERE id = $1", recipe_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/recipes.rs:207:11 [INFO] [stdout] | [INFO] [stdout] 207 | match sqlx::query!("DELETE FROM recipe WHERE id = $1", recipe_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/recipes.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | let meal_count = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 180 | | "SELECT COUNT(*) as count FROM meal_recipe WHERE recipe = $1", [INFO] [stdout] 181 | | recipe_id [INFO] [stdout] 182 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [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/handlers/recipes.rs:207:11 [INFO] [stdout] | [INFO] [stdout] 207 | match sqlx::query!("DELETE FROM recipe WHERE id = $1", recipe_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/restaurants.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | let restaurant_exists = sqlx::query!("SELECT id FROM restaurant WHERE id = $1", restaurant_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/restaurants.rs:183:22 [INFO] [stdout] | [INFO] [stdout] 183 | let meal_count = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 184 | | "SELECT COUNT(*) as count FROM meal_restaurant WHERE restaurant = $1", [INFO] [stdout] 185 | | restaurant_id [INFO] [stdout] 186 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/restaurants.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | let restaurant_exists = sqlx::query!("SELECT id FROM restaurant WHERE id = $1", restaurant_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/restaurants.rs:211:11 [INFO] [stdout] | [INFO] [stdout] 211 | match sqlx::query!("DELETE FROM restaurant WHERE id = $1", restaurant_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/handlers/restaurants.rs:183:22 [INFO] [stdout] | [INFO] [stdout] 183 | let meal_count = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 184 | | "SELECT COUNT(*) as count FROM meal_restaurant WHERE restaurant = $1", [INFO] [stdout] 185 | | restaurant_id [INFO] [stdout] 186 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/handlers/restaurants.rs:211:11 [INFO] [stdout] | [INFO] [stdout] 211 | match sqlx::query!("DELETE FROM restaurant WHERE id = $1", restaurant_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/activities.rs:192:16 [INFO] [stdout] | [INFO] [stdout] 192 | if result.rows_affected() > 0 { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/activities.rs:207:36 [INFO] [stdout] | [INFO] [stdout] 207 | let error_message = if e.to_string().contains("foreign key") { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/activities.rs:192:16 [INFO] [stdout] | [INFO] [stdout] 192 | if result.rows_affected() > 0 { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/activities.rs:207:36 [INFO] [stdout] | [INFO] [stdout] 207 | let error_message = if e.to_string().contains("foreign key") { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/activity_types.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | if result.rows_affected() > 0 { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/activity_types.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | if result.rows_affected() > 0 { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/daily_summary.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let summaries = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | let result = summaries [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `summaries` an explicit type [INFO] [stdout] | [INFO] [stdout] 38 | let summaries: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/daily_summary.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let summaries = sqlx::query!( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | let result = summaries [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `summaries` an explicit type [INFO] [stdout] | [INFO] [stdout] 38 | let summaries: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/drink_options.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | if e.to_string().contains("duplicate key") { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/drink_options.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | if result.rows_affected() > 0 { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/drink_options.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | if e.to_string().contains("duplicate key") { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/drink_options.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | let error_message = if e.to_string().contains("foreign key") { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/drink_options.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | if result.rows_affected() > 0 { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/drink_options.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | let error_message = if e.to_string().contains("foreign key") { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> src/handlers/people.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let result = match (&person_data.name, &person_data.notes) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | if query_result.rows_affected() == 0 { [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 101 | let result: Result<_, E> = match (&person_data.name, &person_data.notes) { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> src/handlers/people.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let result = match (&person_data.name, &person_data.notes) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | if query_result.rows_affected() == 0 { [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 101 | let result: Result<_, E> = match (&person_data.name, &person_data.notes) { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/products.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | if result.rows_affected() > 0 { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/products.rs:186:36 [INFO] [stdout] | [INFO] [stdout] 186 | let error_message = if e.to_string().contains("foreign key") { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/products.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | if result.rows_affected() > 0 { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/products.rs:186:36 [INFO] [stdout] | [INFO] [stdout] 186 | let error_message = if e.to_string().contains("foreign key") { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/recipes.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | if result.rows_affected() > 0 { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/recipes.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | if result.rows_affected() > 0 { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/recipes.rs:227:36 [INFO] [stdout] | [INFO] [stdout] 227 | let error_message = if e.to_string().contains("foreign key") { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/recipes.rs:227:36 [INFO] [stdout] | [INFO] [stdout] 227 | let error_message = if e.to_string().contains("foreign key") { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/restaurants.rs:216:16 [INFO] [stdout] | [INFO] [stdout] 216 | if result.rows_affected() > 0 { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/restaurants.rs:231:36 [INFO] [stdout] | [INFO] [stdout] 231 | let error_message = if e.to_string().contains("foreign key") { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/restaurants.rs:216:16 [INFO] [stdout] | [INFO] [stdout] 216 | if result.rows_affected() > 0 { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers/restaurants.rs:231:36 [INFO] [stdout] | [INFO] [stdout] 231 | let error_message = if e.to_string().contains("foreign key") { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xnote` (lib test) due to 70 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xnote` (lib) due to 70 previous errors [INFO] running `Command { std: "docker" "inspect" "8654a08c9630b9fbc3ec9686e61062bce89b22da715d57535a665d56ee802737", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8654a08c9630b9fbc3ec9686e61062bce89b22da715d57535a665d56ee802737", kill_on_drop: false }` [INFO] [stdout] 8654a08c9630b9fbc3ec9686e61062bce89b22da715d57535a665d56ee802737