[INFO] cloning repository https://github.com/Nerixyz/rewards [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nerixyz/rewards" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNerixyz%2Frewards", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNerixyz%2Frewards'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd6376c08f9dfe744826cd3d4e8a60b562a3d811 [INFO] testing Nerixyz/rewards against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNerixyz%2Frewards" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nerixyz/rewards on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nerixyz/rewards [INFO] finished tweaking git repo https://github.com/Nerixyz/rewards [INFO] tweaked toml for git repo https://github.com/Nerixyz/rewards written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Nerixyz/rewards already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/Nerixyz/nerix-utils-rs` [INFO] [stderr] Updating git repository `https://github.com/Nerixyz/twitch-pubsub-rs` [INFO] [stderr] Updating git repository `https://github.com/emilgardis/twitch_api2` [INFO] [stderr] Updating git submodule `https://github.com/Emilgardis/twitch_oauth2` [INFO] [stderr] Updating git repository `https://github.com/Nerixyz/uptimer.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deadpool-postgres v0.10.1 [INFO] [stderr] Downloaded cookie_store v0.15.1 [INFO] [stderr] Downloaded askama_escape v0.10.2 [INFO] [stderr] Downloaded hmac v0.12.0 [INFO] [stderr] Downloaded actix-cors v0.6.0-beta.10 [INFO] [stderr] Downloaded enum_dispatch v0.3.8 [INFO] [stderr] Downloaded atomic-shim v0.2.0 [INFO] [stderr] Downloaded windows v0.12.0 [INFO] [stderr] Downloaded metrics-util v0.10.2 [INFO] [stderr] Downloaded actix-files v0.6.0-beta.16 [INFO] [stderr] Downloaded deadpool v0.9.2 [INFO] [stderr] Downloaded deadpool-redis v0.10.2 [INFO] [stderr] Downloaded git_info v0.1.2 [INFO] [stderr] Downloaded aliri_braid_impl v0.1.9 [INFO] [stderr] Downloaded typed-builder v0.9.1 [INFO] [stderr] Downloaded md-5 v0.10.0 [INFO] [stderr] Downloaded metrics-exporter-prometheus v0.7.0 [INFO] [stderr] Downloaded metrics v0.17.1 [INFO] [stderr] Downloaded deadpool-runtime v0.1.2 [INFO] [stderr] Downloaded windows_gen v0.12.0 [INFO] [stderr] Downloaded windows_macros v0.12.0 [INFO] [stderr] Downloaded twitch_oauth2 v0.5.2 [INFO] [stderr] Downloaded t1ha v0.1.0 [INFO] [stderr] Downloaded async-tungstenite v0.13.1 [INFO] [stderr] Downloaded actix-http v3.0.0-rc.2 [INFO] [stderr] Downloaded metrics-macros v0.4.1 [INFO] [stderr] Downloaded metrics v0.16.0 [INFO] [stderr] Downloaded aliri_braid v0.1.9 [INFO] [stderr] Downloaded publicsuffix v2.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fec9ec48638df7556b69d60477b0757d9e4453572be2fb8bee364073e1b9fd1f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fec9ec48638df7556b69d60477b0757d9e4453572be2fb8bee364073e1b9fd1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fec9ec48638df7556b69d60477b0757d9e4453572be2fb8bee364073e1b9fd1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fec9ec48638df7556b69d60477b0757d9e4453572be2fb8bee364073e1b9fd1f", kill_on_drop: false }` [INFO] [stdout] fec9ec48638df7556b69d60477b0757d9e4453572be2fb8bee364073e1b9fd1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 15d3e99834d793059f09d81cc265ee321c76e10c398a4cebb27f4a514e4ddfa7 [INFO] running `Command { std: "docker" "start" "-a" "15d3e99834d793059f09d81cc265ee321c76e10c398a4cebb27f4a514e4ddfa7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling zstd-safe v4.1.4+zstd.1.5.2 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling psl-types v2.0.10 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling metrics v0.17.1 [INFO] [stderr] Compiling semver v1.0.5 [INFO] [stderr] Compiling metrics v0.16.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling git_info v0.1.2 [INFO] [stderr] Compiling sketches-ddsketch v0.1.2 [INFO] [stderr] Compiling atomic-shim v0.2.0 [INFO] [stderr] Compiling askama_escape v0.10.2 [INFO] [stderr] Compiling http-range v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling raw-cpuid v10.2.0 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling brotli v3.3.3 [INFO] [stderr] Compiling t1ha v0.1.0 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling tracing v0.1.30 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling digest v0.10.2 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling sha2 v0.10.1 [INFO] [stderr] Compiling hmac v0.12.0 [INFO] [stderr] Compiling md-5 v0.10.0 [INFO] [stderr] Compiling rewards v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling publicsuffix v2.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling postgres-protocol v0.6.3 [INFO] [stderr] Compiling postgres-types v0.2.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling actix-rt v2.6.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling metrics-macros v0.4.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling aliri_braid_impl v0.1.9 [INFO] [stderr] Compiling displaydoc v0.2.3 [INFO] [stderr] Compiling typed-builder v0.9.1 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling enum_dispatch v0.3.8 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling actix_derive v0.6.0 [INFO] [stderr] Compiling dotenv_codegen_implementation v0.15.0 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling aliri_braid v0.1.9 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling dotenv_codegen v0.15.0 [INFO] [stderr] Compiling metrics-util v0.10.2 [INFO] [stderr] Compiling sqlx-rt v0.5.10 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling deadpool-runtime v0.1.2 [INFO] [stderr] Compiling uptimer v0.1.0 (https://github.com/Nerixyz/uptimer.git?rev=04002e9#04002e9d) [INFO] [stderr] Compiling deadpool v0.9.2 [INFO] [stderr] Compiling async-tungstenite v0.13.1 [INFO] [stderr] Compiling actix-server v2.0.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling actix-codec v0.4.2 [INFO] [stderr] Compiling combine v4.6.3 [INFO] [stderr] Compiling tokio-postgres v0.7.5 [INFO] [stderr] Compiling actix v0.12.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-router v0.5.0-rc.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.7 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling cookie_store v0.15.1 [INFO] [stderr] Compiling sqlx-core v0.5.10 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling zstd v0.10.0+zstd.1.5.2 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-rc.2 [INFO] [stderr] Compiling deadpool-postgres v0.10.1 [INFO] [stderr] Compiling actix-http v3.0.0-rc.2 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling actix-web v4.0.0-rc.3 [INFO] [stderr] Compiling redis v0.21.5 [INFO] [stderr] Compiling sqlx-macros v0.5.10 [INFO] [stderr] Compiling actix-metrics v0.3.1 (https://github.com/Nerixyz/nerix-utils-rs?tag=actix-metrics-v0.3.1#31029ae3) [INFO] [stderr] Compiling actix-cors v0.6.0-beta.10 [INFO] [stderr] Compiling actix-files v0.6.0-beta.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.7.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling deadpool-redis v0.10.2 [INFO] [stderr] Compiling twitch_oauth2 v0.6.0 (https://github.com/emilgardis/twitch_api2?rev=7194ec0#7194ec06) [INFO] [stderr] Compiling twitch-irc v3.0.1 [INFO] [stderr] Compiling twitch_api2 v0.6.0-rc.3 (https://github.com/emilgardis/twitch_api2?rev=7194ec0#7194ec06) [INFO] [stderr] Compiling sqlx v0.5.10 [INFO] [stderr] Compiling errors v0.2.1 (https://github.com/Nerixyz/nerix-utils-rs?tag=errors-v0.2.1#31029ae3) [INFO] [stderr] Compiling config v0.1.0 (/opt/rustwide/workdir/config) [INFO] [stderr] Compiling twitch-pubsub v0.2.0 (https://github.com/Nerixyz/twitch-pubsub-rs?rev=754297b#754297b6) [INFO] [stderr] Compiling models v0.1.0 (/opt/rustwide/workdir/models) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/banned_emote.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let result = sqlx::query_scalar!( [INFO] [stdout] | __________________^ [INFO] [stdout] 13 | | "SELECT 1 FROM banned_emotes WHERE channel_id = $1 AND emote_id = $2 and platform = $3", [INFO] [stdout] 14 | | channel_id, [INFO] [stdout] 15 | | emote_id, [INFO] [stdout] 16 | | platform as _ [INFO] [stdout] 17 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/banned_emote.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / sqlx::query!( [INFO] [stdout] 31 | | "INSERT INTO banned_emotes (channel_id, emote_id, platform) VALUES ($1, $2, $3)", [INFO] [stdout] 32 | | channel_id, [INFO] [stdout] 33 | | emote_id, [INFO] [stdout] 34 | | platform as _ [INFO] [stdout] 35 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/banned_emote.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / sqlx::query_scalar!( [INFO] [stdout] 49 | | "DELETE FROM banned_emotes WHERE channel_id = $1 AND emote_id = $2 and platform = $3", [INFO] [stdout] 50 | | channel_id, [INFO] [stdout] 51 | | emote_id, [INFO] [stdout] 52 | | platform as _ [INFO] [stdout] 53 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/config.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 23 | | "UPDATE config SET value = $2 WHERE key = $1", [INFO] [stdout] 24 | | self.key, [INFO] [stdout] 25 | | Json(&self.value) as _ [INFO] [stdout] 26 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/config.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | let entry: Self = sqlx::query_as!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 46 | | ConfigEntry, [INFO] [stdout] 47 | | r#" [INFO] [stdout] 48 | | SELECT key, value as "value: Json" [INFO] [stdout] ... | [INFO] [stdout] 52 | | key [INFO] [stdout] 53 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/discord.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let settings = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 18 | | DiscordUserSettings, [INFO] [stdout] 19 | | "SELECT * FROM discord_settings WHERE user_id = $1", [INFO] [stdout] 20 | | user_id [INFO] [stdout] 21 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/discord.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | let url = sqlx::query_scalar!( [INFO] [stdout] | _______________^ [INFO] [stdout] 31 | | "SELECT url FROM discord_settings WHERE user_id = $1 AND log_emotes = true", [INFO] [stdout] 32 | | user_id [INFO] [stdout] 33 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/discord.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / sqlx::query_scalar!( [INFO] [stdout] 43 | | "INSERT INTO discord_settings (user_id, url) VALUES ($1, $2) ON CONFLICT (user_id) DO UPDATE SET url = excluded.url", [INFO] [stdout] 44 | | user_id, url [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/discord.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | sqlx::query_scalar!("DELETE FROM discord_settings WHERE user_id = $1", user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/editor.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | let editors = sqlx::query_scalar!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 10 | | // language=PostgreSQL [INFO] [stdout] 11 | | " [INFO] [stdout] 12 | | SELECT editor_id [INFO] [stdout] ... | [INFO] [stdout] 16 | | broadcaster_id [INFO] [stdout] 17 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/editor.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | let broadcasters = sqlx::query_scalar!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 26 | | // language=PostgreSQL [INFO] [stdout] 27 | | " [INFO] [stdout] 28 | | SELECT broadcaster_id [INFO] [stdout] ... | [INFO] [stdout] 32 | | editor_id [INFO] [stdout] 33 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/editor.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let user = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 46 | | User, [INFO] [stdout] 47 | | // language=PostgreSQL [INFO] [stdout] 48 | | " [INFO] [stdout] ... | [INFO] [stdout] 55 | | broadcaster_id, [INFO] [stdout] 56 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/editor.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 69 | | // language=PostgreSQL [INFO] [stdout] 70 | | " [INFO] [stdout] 71 | | INSERT INTO editors [INFO] [stdout] ... | [INFO] [stdout] 77 | | broadcaster_id [INFO] [stdout] 78 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/editor.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 91 | | // language=PostgreSQL [INFO] [stdout] 92 | | " [INFO] [stdout] 93 | | DELETE FROM editors [INFO] [stdout] ... | [INFO] [stdout] 97 | | editor_name [INFO] [stdout] 98 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/log_entry.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | let logs = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 16 | | Self, [INFO] [stdout] 17 | | "SELECT date, content FROM logs WHERE user_id = $1 ORDER BY date desc", [INFO] [stdout] 18 | | id [INFO] [stdout] 19 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/log_entry.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | / sqlx::query!( [INFO] [stdout] 29 | | "INSERT INTO logs (user_id, date, content) VALUES ($1, $2, $3)", [INFO] [stdout] 30 | | id, [INFO] [stdout] 31 | | Utc::now(), [INFO] [stdout] 32 | | content [INFO] [stdout] 33 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/reward.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | let reward: Self = sqlx::query_as!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 98 | | Reward, [INFO] [stdout] 99 | | r#" [INFO] [stdout] 100 | | SELECT id, user_id, data as "data: Json", live_delay [INFO] [stdout] ... | [INFO] [stdout] 104 | | id [INFO] [stdout] 105 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/reward.rs:114:34 [INFO] [stdout] | [INFO] [stdout] 114 | let rewards: Vec = sqlx::query_as!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 115 | | Reward, [INFO] [stdout] 116 | | r#" [INFO] [stdout] 117 | | SELECT id, user_id, data as "data: Json", live_delay [INFO] [stdout] ... | [INFO] [stdout] 121 | | user_id [INFO] [stdout] 122 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/reward.rs:131:23 [INFO] [stdout] | [INFO] [stdout] 131 | let rewards = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 132 | | LiveReward, [INFO] [stdout] 133 | | " [INFO] [stdout] 134 | | SELECT id, user_id, live_delay [INFO] [stdout] ... | [INFO] [stdout] 138 | | user_id [INFO] [stdout] 139 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/reward.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | let rewards = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 152 | | LiveReward, [INFO] [stdout] 153 | | " [INFO] [stdout] 154 | | SELECT id, user_id, live_delay [INFO] [stdout] ... | [INFO] [stdout] 158 | | user_id [INFO] [stdout] 159 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/reward.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | let rewards = sqlx::query_as!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 169 | | LiveRewardAT, [INFO] [stdout] 170 | | r#" [INFO] [stdout] 171 | | SELECT rewards.id as "id!", user_id as "user_id!", live_delay as "live_delay!", access_token as "access_token!" [INFO] [stdout] ... | [INFO] [stdout] 175 | | "# [INFO] [stdout] 176 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/reward.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 187 | | "INSERT INTO rewards (id, user_id, data, live_delay) VALUES ($1, $2, $3, $4)", [INFO] [stdout] 188 | | self.id, [INFO] [stdout] 189 | | self.user_id, [INFO] [stdout] 190 | | Json(&self.data) as _, [INFO] [stdout] 191 | | self.live_delay [INFO] [stdout] 192 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/reward.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 204 | | "UPDATE rewards SET data=$2, live_delay = $3 WHERE id=$1", [INFO] [stdout] 205 | | self.id, [INFO] [stdout] 206 | | Json(self.data.clone()) as _, [INFO] [stdout] 207 | | self.live_delay [INFO] [stdout] 208 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/reward.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 224 | | "UPDATE rewards SET unpause_at = $2 WHERE id=$1", [INFO] [stdout] 225 | | id, [INFO] [stdout] 226 | | unpause_at [INFO] [stdout] 227 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/reward.rs:238:17 [INFO] [stdout] | [INFO] [stdout] 238 | let _ = sqlx::query!("DELETE FROM rewards WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/reward.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | / sqlx::query_as!( [INFO] [stdout] 261 | | RewardToUpdate, [INFO] [stdout] 262 | | " [INFO] [stdout] 263 | | SELECT u.id as broadcaster_id, access_token, refresh_token, rewards.id as reward_id [INFO] [stdout] ... | [INFO] [stdout] 266 | | " [INFO] [stdout] 267 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/slot.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / sqlx::query!( [INFO] [stdout] 35 | | "INSERT INTO slots (user_id, reward_id, platform) VALUES ($1, $2, $3)", [INFO] [stdout] 36 | | user_id, [INFO] [stdout] 37 | | reward_id, [INFO] [stdout] 38 | | platform as _, [INFO] [stdout] 39 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/slot.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | let available = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 53 | | Self, [INFO] [stdout] 54 | | r#" [INFO] [stdout] 55 | | SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots [INFO] [stdout] ... | [INFO] [stdout] 59 | | user_id [INFO] [stdout] 60 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/slot.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | let n_available = sqlx::query_scalar!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 73 | | " [INFO] [stdout] 74 | | SELECT count(*) FROM slots [INFO] [stdout] 75 | | WHERE reward_id = $1 and user_id = $2 and emote_id is null and expires is null [INFO] [stdout] ... | [INFO] [stdout] 78 | | user_id [INFO] [stdout] 79 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/slot.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | let all = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 92 | | Self, [INFO] [stdout] 93 | | r#" [INFO] [stdout] 94 | | SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots [INFO] [stdout] ... | [INFO] [stdout] 98 | | user_id [INFO] [stdout] 99 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/slot.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | let pending = sqlx::query_as!(Self, r#" [INFO] [stdout] | _______________________^ [INFO] [stdout] 108 | | SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots [INFO] [stdout] 109 | | WHERE emote_id is not null AND expires is not null AND expires < (now() + '1 minute'::interval) [INFO] [stdout] 110 | | "#).fetch_all(pool).await?; [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/slot.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | let slot = sqlx::query_as!(Self, r#" [INFO] [stdout] | ____________________^ [INFO] [stdout] 122 | | SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots [INFO] [stdout] 123 | | WHERE user_id = $1 AND lower(name) = lower($2) [INFO] [stdout] 124 | | "#, user_id, name).fetch_optional(pool).await?; [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/slot.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | let slot = sqlx::query_as!(Self, r#" [INFO] [stdout] | ____________________^ [INFO] [stdout] 137 | | SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots [INFO] [stdout] 138 | | WHERE user_id = $1 AND emote_id = $2 and platform = $3 [INFO] [stdout] 139 | | "#, user_id, emote_id, platform as _).fetch_optional(pool).await?; [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/slot.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 146 | let occupation = sqlx::query_as!(SlotOccupation, [INFO] [stdout] | __________________________^ [INFO] [stdout] 147 | | " [INFO] [stdout] 148 | | SELECT count(*) as available, (SELECT count(*) FROM slots WHERE user_id = $1) as total FROM slots [INFO] [stdout] 149 | | WHERE user_id = $1 and emote_id is null and expires is null [INFO] [stdout] 150 | | ", [INFO] [stdout] 151 | | user_id [INFO] [stdout] 152 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/slot.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | let emotes = sqlx::query_scalar!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 161 | | " [INFO] [stdout] 162 | | SELECT name FROM slots [INFO] [stdout] 163 | | WHERE user_id = $1 and emote_id is not null and name is not null [INFO] [stdout] 164 | | ", [INFO] [stdout] 165 | | user_id [INFO] [stdout] 166 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/slot.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | / sqlx::query!( [INFO] [stdout] 175 | | "UPDATE slots SET emote_id = $2, expires = $3, name = $4, added_by = $5, added_at = $6 WHERE id = $1", [INFO] [stdout] 176 | | self.id, [INFO] [stdout] 177 | | self.emote_id, [INFO] [stdout] ... | [INFO] [stdout] 181 | | self.added_at, [INFO] [stdout] 182 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/slot.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / sqlx::query!( [INFO] [stdout] 192 | | "UPDATE slots SET emote_id = null, expires = null, name = null, added_by = null, added_at = null WHERE id = $1", [INFO] [stdout] 193 | | id [INFO] [stdout] 194 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/slot.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | sqlx::query!("DELETE FROM slots WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/spotify.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let data = sqlx::query_as!(Self, "SELECT * FROM spotify WHERE user_id=$1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/spotify.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | let data = sqlx::query_as!(Self, "SELECT * FROM spotify") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/spotify.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / sqlx::query!( [INFO] [stdout] 45 | | " [INFO] [stdout] 46 | | INSERT INTO spotify (user_id, access_token, refresh_token) [INFO] [stdout] 47 | | VALUES ($1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 51 | | refresh_token [INFO] [stdout] 52 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/spotify.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / sqlx::query!( [INFO] [stdout] 61 | | "UPDATE spotify SET access_token=$2 WHERE user_id=$1", [INFO] [stdout] 62 | | id, [INFO] [stdout] 63 | | access_token [INFO] [stdout] 64 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/spotify.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | sqlx::query!("DELETE FROM spotify WHERE user_id = $1", id,) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/spotify.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | let data = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 85 | | Self, [INFO] [stdout] 86 | | "SELECT only_while_live FROM spotify WHERE user_id=$1", [INFO] [stdout] 87 | | id [INFO] [stdout] 88 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/spotify.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | / sqlx::query_as!( [INFO] [stdout] 98 | | Self, [INFO] [stdout] 99 | | "UPDATE spotify SET only_while_live = $2 WHERE user_id = $1", [INFO] [stdout] 100 | | user_id, [INFO] [stdout] 101 | | self.only_while_live [INFO] [stdout] 102 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/swap_emote.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | let emote = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 25 | | Self, [INFO] [stdout] 26 | | r#" [INFO] [stdout] 27 | | SELECT id, user_id, emote_id, platform as "platform: _", name, added_by, added_at [INFO] [stdout] ... | [INFO] [stdout] 33 | | platform as _ [INFO] [stdout] 34 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/swap_emote.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | ... sqlx::query!("INSERT INTO swap_emotes (user_id, emote_id, platform, name, added_by, added_at) VALUES ($1, $2, $3, $4, $5, now())", user_id, emote_id, platform as _, name, added_by).ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/swap_emote.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | sqlx::query!("DELETE FROM swap_emotes WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/swap_emote.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | let count = sqlx::query_scalar!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 68 | | " [INFO] [stdout] 69 | | SELECT count(*) [INFO] [stdout] 70 | | FROM swap_emotes [INFO] [stdout] ... | [INFO] [stdout] 73 | | platform as _ [INFO] [stdout] 74 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/swap_emote.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let emote = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 83 | | Self, [INFO] [stdout] 84 | | r#" [INFO] [stdout] 85 | | SELECT id, user_id, emote_id, platform as "platform: _", name, added_by, added_at [INFO] [stdout] ... | [INFO] [stdout] 89 | | name [INFO] [stdout] 90 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/swap_emote.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let emote = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 104 | | Self, [INFO] [stdout] 105 | | r#" [INFO] [stdout] 106 | | SELECT id, user_id, emote_id, platform as "platform: _", name, added_by, added_at [INFO] [stdout] ... | [INFO] [stdout] 111 | | platform as _ [INFO] [stdout] 112 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/swap_emote.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | sqlx::query_scalar!("SELECT name FROM swap_emotes WHERE user_id = $1", user_id,) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/swap_emote.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | let emotes = sqlx::query_scalar!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 134 | | "SELECT name FROM swap_emotes WHERE user_id = $1 AND platform = $2", [INFO] [stdout] 135 | | user_id, [INFO] [stdout] 136 | | platform as _ [INFO] [stdout] 137 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/timed_mode.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | let id = sqlx::query_scalar!( [INFO] [stdout] | __________________^ [INFO] [stdout] 42 | | "INSERT INTO timed_modes (user_id, mode, end_ts) VALUES ($1, $2, $3) RETURNING id", [INFO] [stdout] 43 | | user_id, [INFO] [stdout] 44 | | mode as _, [INFO] [stdout] 45 | | end [INFO] [stdout] 46 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/timed_mode.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let modes = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 56 | | Self, [INFO] [stdout] 57 | | r#" [INFO] [stdout] 58 | | SELECT timed_modes.id as "id!", user_id as "user_id!", end_ts as "end_ts!", mode as "mode!: Mode", name as "user_name!" [INFO] [stdout] ... | [INFO] [stdout] 61 | | "# [INFO] [stdout] 62 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/timed_mode.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | sqlx::query!("DELETE FROM timed_modes WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/user.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | ...User = sqlx::query_as!(User, "SELECT id, access_token, refresh_token, scopes, name, eventsub_id FROM users WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/user.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | let users = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 43 | | User, [INFO] [stdout] 44 | | "SELECT id, access_token, refresh_token, scopes, name, eventsub_id FROM users" [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/user.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let names = sqlx::query_scalar!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 54 | | // language=PostgreSQL [INFO] [stdout] 55 | | "SELECT name FROM users" [INFO] [stdout] 56 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/user.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | let ids = sqlx::query_scalar!("SELECT id FROM users WHERE eventsub_id IS null") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/user.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | let data = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 75 | | UserBttvData, [INFO] [stdout] 76 | | "SELECT id, bttv_id FROM users WHERE id = $1", [INFO] [stdout] 77 | | user_id [INFO] [stdout] 78 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/user.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | let data = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 88 | | UserSevenTvData, [INFO] [stdout] 89 | | "SELECT id, name, seventv_id FROM users WHERE id = $1", [INFO] [stdout] 90 | | user_id [INFO] [stdout] 91 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/user.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 102 | | " [INFO] [stdout] 103 | | INSERT [INFO] [stdout] 104 | | INTO users (id, access_token, refresh_token, scopes, name) [INFO] [stdout] ... | [INFO] [stdout] 113 | | self.name [INFO] [stdout] 114 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/user.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 131 | | "UPDATE users SET access_token = $2, refresh_token = $3 WHERE id = $1", [INFO] [stdout] 132 | | id, [INFO] [stdout] 133 | | access_token, [INFO] [stdout] 134 | | refresh_token [INFO] [stdout] 135 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/user.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let _ = sqlx::query_scalar!( [INFO] [stdout] | _________________^ [INFO] [stdout] 146 | | "UPDATE users SET bttv_id = $2 WHERE id = $1", [INFO] [stdout] 147 | | user_id, [INFO] [stdout] 148 | | bttv_id [INFO] [stdout] 149 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/user.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | let _ = sqlx::query_scalar!( [INFO] [stdout] | _________________^ [INFO] [stdout] 159 | | "UPDATE users SET seventv_id = $2 WHERE id = $1", [INFO] [stdout] 160 | | user_id, [INFO] [stdout] 161 | | seventv_id [INFO] [stdout] 162 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/user.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let _ = sqlx::query!("DELETE FROM users WHERE id = $1", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/user.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 183 | | "UPDATE users SET eventsub_id = $2 WHERE id = $1", [INFO] [stdout] 184 | | user_id, [INFO] [stdout] 185 | | eventsub_id [INFO] [stdout] 186 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/user.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | let _ = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 195 | | "UPDATE users SET eventsub_id = null WHERE eventsub_id = $1", [INFO] [stdout] 196 | | eventsub_id [INFO] [stdout] 197 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> models/src/user.rs:207:22 [INFO] [stdout] | [INFO] [stdout] 207 | let old_id = sqlx::query_scalar!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 208 | | " [INFO] [stdout] 209 | | UPDATE users [INFO] [stdout] 210 | | SET eventsub_id = null [INFO] [stdout] ... | [INFO] [stdout] 214 | | user_id [INFO] [stdout] 215 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 70 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `models` due to 71 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "15d3e99834d793059f09d81cc265ee321c76e10c398a4cebb27f4a514e4ddfa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15d3e99834d793059f09d81cc265ee321c76e10c398a4cebb27f4a514e4ddfa7", kill_on_drop: false }` [INFO] [stdout] 15d3e99834d793059f09d81cc265ee321c76e10c398a4cebb27f4a514e4ddfa7