[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] 18bebadcb55459cba29620643a3912ecc785e705
[INFO] checking Nerixyz/rewards against beta-2021-10-15 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNerixyz%2Frewards" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Nerixyz/rewards on toolchain beta-2021-10-15
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "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-8/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-2021-10-15" "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/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]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4bcd89563f2eea93c86fa6285946e64a014458967b435d01a1a2ca97149ec4b1
[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" "4bcd89563f2eea93c86fa6285946e64a014458967b435d01a1a2ca97149ec4b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4bcd89563f2eea93c86fa6285946e64a014458967b435d01a1a2ca97149ec4b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bcd89563f2eea93c86fa6285946e64a014458967b435d01a1a2ca97149ec4b1", kill_on_drop: false }`
[INFO] [stdout] 4bcd89563f2eea93c86fa6285946e64a014458967b435d01a1a2ca97149ec4b1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "check" "--frozen" "--all" "--all-targets" "--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] da5037b70b0cd87aa5727ccf1514604037d5d442de11e0930b200cf48fc588f7
[INFO] running `Command { std: "docker" "start" "-a" "da5037b70b0cd87aa5727ccf1514604037d5d442de11e0930b200cf48fc588f7", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]     Checking futures-io v0.3.16
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling openssl v0.10.34
[INFO] [stderr]    Compiling once_cell v1.7.2
[INFO] [stderr]    Compiling pin-project-lite v0.2.6
[INFO] [stderr]     Checking httpdate v1.0.0
[INFO] [stderr]    Compiling zstd-safe v3.1.0+zstd.1.4.9
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]    Compiling slab v0.4.3
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling cpufeatures v0.1.4
[INFO] [stderr]    Compiling metrics v0.16.0
[INFO] [stderr]    Compiling subtle v2.4.0
[INFO] [stderr]    Compiling semver v1.0.3
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]     Checking endian-type v0.1.2
[INFO] [stderr]     Checking sketches-ddsketch v0.1.2
[INFO] [stderr]    Compiling git_info v0.1.2
[INFO] [stderr]     Checking http-range v0.1.4
[INFO] [stderr]     Checking zeroize v1.3.0
[INFO] [stderr]    Compiling tokio v1.9.0
[INFO] [stderr]    Compiling twitch_oauth2 v0.5.2 (https://github.com/emilgardis/twitch_api2?rev=71a4c0f#71a4c0f7)
[INFO] [stderr]    Compiling twitch_api2 v0.6.0-rc.1 (https://github.com/emilgardis/twitch_api2?rev=71a4c0f#71a4c0f7)
[INFO] [stderr]     Checking input_buffer v0.4.0
[INFO] [stderr]    Compiling twitch_oauth2 v0.5.1
[INFO] [stderr]     Checking nibble_vec v0.1.0
[INFO] [stderr]    Compiling instant v0.1.9
[INFO] [stderr]     Checking itertools v0.10.0
[INFO] [stderr]    Compiling tinyvec v1.2.0
[INFO] [stderr]    Compiling libc v0.2.99
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking http-body v0.4.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]     Checking parking_lot_core v0.8.3
[INFO] [stderr]     Checking signal-hook-registry v1.3.0
[INFO] [stderr]     Checking socket2 v0.4.0
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking terminal_size v0.1.17
[INFO] [stderr]     Checking mio v0.7.11
[INFO] [stderr]     Checking actix-service v2.0.0
[INFO] [stderr]     Checking raw-cpuid v9.1.0
[INFO] [stderr]     Checking stringprep v0.1.2
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]     Checking crossbeam-queue v0.3.1
[INFO] [stderr]    Compiling t1ha v0.1.0
[INFO] [stderr]     Checking radix_trie v0.2.1
[INFO] [stderr]     Checking dashmap v4.0.2
[INFO] [stderr]     Checking rand_core v0.6.2
[INFO] [stderr]     Checking ahash v0.7.2
[INFO] [stderr]     Checking dirs v3.0.2
[INFO] [stderr]     Checking ordered-float v2.5.1
[INFO] [stderr]     Checking flate2 v1.0.20
[INFO] [stderr]     Checking crossbeam-epoch v0.9.5
[INFO] [stderr]     Checking crypto-mac v0.11.1
[INFO] [stderr]    Compiling crypto-mac v0.10.0
[INFO] [stderr]     Checking nom v5.1.2
[INFO] [stderr]     Checking parking_lot v0.11.1
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling jobserver v0.1.22
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling dirs-sys v0.3.6
[INFO] [stderr]    Compiling futures-macro v0.3.16
[INFO] [stderr]    Compiling thiserror-impl v1.0.26
[INFO] [stderr]    Compiling actix-macros v0.2.1
[INFO] [stderr]    Compiling async-trait v0.1.50
[INFO] [stderr]    Compiling displaydoc v0.2.3
[INFO] [stderr]    Compiling aliri_braid_impl v0.1.9
[INFO] [stderr]    Compiling enum_dispatch v0.3.7
[INFO] [stderr]    Compiling async-stream-impl v0.3.2
[INFO] [stderr]    Compiling typed-builder v0.9.0
[INFO] [stderr]    Compiling serde_repr v0.1.7
[INFO] [stderr]    Compiling actix_derive v0.6.0
[INFO] [stderr]    Compiling dotenv_codegen_implementation v0.15.0
[INFO] [stderr]     Checking console v0.14.1
[INFO] [stderr]     Checking pem v0.8.3
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]    Compiling metrics-macros v0.4.0
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]    Compiling md-5 v0.9.1
[INFO] [stderr]    Compiling sha2 v0.9.5
[INFO] [stderr]    Compiling sha-1 v0.9.6
[INFO] [stderr]    Compiling sqlformat v0.1.6
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking hmac v0.11.0
[INFO] [stderr]    Compiling hmac v0.10.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.17
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking quanta v0.7.2
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]     Checking rand v0.8.3
[INFO] [stderr]     Checking dotenv_codegen v0.15.0
[INFO] [stderr]     Checking futures-util v0.3.16
[INFO] [stderr]     Checking async-stream v0.3.2
[INFO] [stderr]     Checking time v0.2.27
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling rewards v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking hashlink v0.7.0
[INFO] [stderr]     Checking thiserror v1.0.26
[INFO] [stderr]     Checking aliri_braid v0.1.9
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]     Checking metrics-util v0.8.0
[INFO] [stderr]     Checking postgres-protocol v0.6.1
[INFO] [stderr]     Checking tempfile v3.2.0
[INFO] [stderr]     Checking cookie v0.14.4
[INFO] [stderr]     Checking cookie v0.15.0
[INFO] [stderr]     Checking dialoguer v0.8.0
[INFO] [stderr]    Compiling openssl-sys v0.9.63
[INFO] [stderr]    Compiling zstd-sys v1.5.0+zstd.1.4.9
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling native-tls v0.2.7
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.0
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking actix-router v0.2.7
[INFO] [stderr]     Checking serde_path_to_error v0.1.4
[INFO] [stderr]     Checking config v0.11.0
[INFO] [stderr]     Checking toml v0.5.8
[INFO] [stderr]     Checking serde_qs v0.8.3
[INFO] [stderr]     Checking futures-executor v0.3.16
[INFO] [stderr]     Checking local-channel v0.1.2
[INFO] [stderr]     Checking tokio-util v0.6.7
[INFO] [stderr]     Checking actix-rt v2.2.0
[INFO] [stderr]     Checking tokio-stream v0.1.7
[INFO] [stderr]     Checking combine v4.6.0
[INFO] [stderr]     Checking uptimer v0.1.0 (https://github.com/Nerixyz/uptimer.git?rev=04002e9#04002e9d)
[INFO] [stderr]     Checking publicsuffix v1.5.6
[INFO] [stderr]     Checking deadpool v0.8.2
[INFO] [stderr]     Checking futures v0.3.16
[INFO] [stderr]     Checking postgres-types v0.2.1
[INFO] [stderr]     Checking actix-server v2.0.0-beta.5
[INFO] [stderr]     Checking simple_asn1 v0.4.1
[INFO] [stderr]     Checking cookie_store v0.12.0
[INFO] [stderr]     Checking h2 v0.3.3
[INFO] [stderr]     Checking actix-codec v0.4.0
[INFO] [stderr]     Checking actix v0.12.0
[INFO] [stderr]     Checking brotli2 v0.3.2
[INFO] [stderr]     Checking actix-tls v3.0.0-beta.5
[INFO] [stderr]     Checking tokio-postgres v0.7.2
[INFO] [stderr]     Checking jsonwebtoken v7.2.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking tungstenite v0.13.0
[INFO] [stderr]     Checking sqlx-rt v0.5.5
[INFO] [stderr]     Checking sqlx-core v0.5.5
[INFO] [stderr]     Checking async-tungstenite v0.13.1
[INFO] [stderr]     Checking deadpool-postgres v0.9.0
[INFO] [stderr]     Checking hyper v0.14.7
[INFO] [stderr]     Checking redis v0.20.2
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking metrics-exporter-prometheus v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.4
[INFO] [stderr]     Checking oauth2 v4.0.0
[INFO] [stderr]     Checking twitch-irc v3.0.1
[INFO] [stderr]    Compiling sqlx-macros v0.5.5
[INFO] [stderr]     Checking deadpool-redis v0.8.1
[INFO] [stderr]     Checking setup v0.1.0 (/opt/rustwide/workdir/setup)
[INFO] [stderr]     Checking sqlx v0.5.5
[INFO] [stderr]     Checking zstd v0.7.0+zstd.1.4.9
[INFO] [stderr]     Checking actix-http v3.0.0-beta.8
[INFO] [stderr]     Checking actix-web v4.0.0-beta.8
[INFO] [stderr]     Checking twitch-pubsub v0.2.0 (https://github.com/Nerixyz/twitch-pubsub-rs?rev=835841b#835841b1)
[INFO] [stderr]     Checking errors v0.1.0 (https://github.com/Nerixyz/nerix-utils-rs?tag=eventsub-v0.1.0#71c860fa)
[INFO] [stderr]     Checking actix-files v0.6.0-beta.6
[INFO] [stderr]     Checking errors v0.1.1 (https://github.com/Nerixyz/nerix-utils-rs?tag=errors-v0.1.1#7743a1b1)
[INFO] [stderr]     Checking actix-metrics v0.2.1 (https://github.com/Nerixyz/nerix-utils-rs?tag=actix-metrics-v0.1.0#71c860fa)
[INFO] [stderr]     Checking actix-cors v0.6.0-beta.2
[INFO] [stderr]     Checking eventsub v0.1.0 (https://github.com/Nerixyz/nerix-utils-rs?tag=eventsub-v0.1.0#71c860fa)
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/models/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]   --> src/models/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<ConfigValue>"
[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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]    --> src/models/reward.rs:104:28
[INFO] [stdout]     |
[INFO] [stdout] 104 |           let reward: Self = sqlx::query_as!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 105 | |             Reward,
[INFO] [stdout] 106 | |             r#"
[INFO] [stdout] 107 | |             SELECT id, user_id, data as "data: Json<RewardData>", live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 111 | |             id
[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]    --> src/models/reward.rs:121:34
[INFO] [stdout]     |
[INFO] [stdout] 121 |           let rewards: Vec<Self> = sqlx::query_as!(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 122 | |             Reward,
[INFO] [stdout] 123 | |             r#"
[INFO] [stdout] 124 | |             SELECT id, user_id, data as "data: Json<RewardData>", live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 128 | |             user_id
[INFO] [stdout] 129 | |         )
[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]    --> src/models/reward.rs:138:23
[INFO] [stdout]     |
[INFO] [stdout] 138 |           let rewards = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 139 | |             LiveReward,
[INFO] [stdout] 140 | |             "
[INFO] [stdout] 141 | |             SELECT id, user_id, live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 145 | |             user_id
[INFO] [stdout] 146 | |         )
[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]    --> src/models/reward.rs:158:23
[INFO] [stdout]     |
[INFO] [stdout] 158 |           let rewards = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 159 | |             LiveReward,
[INFO] [stdout] 160 | |             "
[INFO] [stdout] 161 | |             SELECT id, user_id, live_delay
[INFO] [stdout] ...   |
[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]    --> src/models/reward.rs:175:23
[INFO] [stdout]     |
[INFO] [stdout] 175 |           let rewards = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 176 | |             LiveRewardAT,
[INFO] [stdout] 177 | |             r#"
[INFO] [stdout] 178 | |             SELECT rewards.id as "id!", user_id as "user_id!", live_delay as "live_delay!", access_token as "access_token!"
[INFO] [stdout] ...   |
[INFO] [stdout] 182 | |             "#
[INFO] [stdout] 183 | |         )
[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]    --> src/models/reward.rs:193:17
[INFO] [stdout]     |
[INFO] [stdout] 193 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 194 | |             "INSERT INTO rewards (id, user_id, data, live_delay) VALUES ($1, $2, $3, $4)",
[INFO] [stdout] 195 | |             self.id,
[INFO] [stdout] 196 | |             self.user_id,
[INFO] [stdout] 197 | |             Json(&self.data) as _,
[INFO] [stdout] 198 | |             self.live_delay
[INFO] [stdout] 199 | |         )
[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]    --> src/models/reward.rs:210:17
[INFO] [stdout]     |
[INFO] [stdout] 210 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 211 | |             "UPDATE rewards SET data=$2, live_delay = $3 WHERE id=$1",
[INFO] [stdout] 212 | |             self.id,
[INFO] [stdout] 213 | |             Json(self.data.clone()) as _,
[INFO] [stdout] 214 | |             self.live_delay
[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: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> src/models/reward.rs:230:17
[INFO] [stdout]     |
[INFO] [stdout] 230 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 231 | |             "UPDATE rewards SET unpause_at = $2 WHERE id=$1",
[INFO] [stdout] 232 | |             id,
[INFO] [stdout] 233 | |             unpause_at
[INFO] [stdout] 234 | |         )
[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]    --> src/models/reward.rs:245:17
[INFO] [stdout]     |
[INFO] [stdout] 245 |         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]    --> src/models/reward.rs:267:9
[INFO] [stdout]     |
[INFO] [stdout] 267 | /         sqlx::query_as!(
[INFO] [stdout] 268 | |             RewardToUpdate,
[INFO] [stdout] 269 | |             "
[INFO] [stdout] 270 | |             SELECT u.id as broadcaster_id, access_token, refresh_token, rewards.id as reward_id
[INFO] [stdout] ...   |
[INFO] [stdout] 273 | |         "
[INFO] [stdout] 274 | |         )
[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]   --> src/models/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]   --> src/models/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<ConfigValue>"
[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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]    --> src/models/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]    --> src/models/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]    --> src/models/slot.rs:131:26
[INFO] [stdout]     |
[INFO] [stdout] 131 |           let occupation = sqlx::query_as!(SlotOccupation,
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 132 | |             "
[INFO] [stdout] 133 | |             SELECT count(*) as available, (SELECT count(*) FROM slots WHERE user_id = $1) as total FROM slots
[INFO] [stdout] 134 | |             WHERE user_id = $1 and emote_id is null and expires is null
[INFO] [stdout] 135 | |         ",
[INFO] [stdout] 136 | |             user_id
[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]    --> src/models/slot.rs:145:22
[INFO] [stdout]     |
[INFO] [stdout] 145 |           let emotes = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 146 | |             "
[INFO] [stdout] 147 | |             SELECT name FROM slots
[INFO] [stdout] 148 | |             WHERE user_id = $1 and emote_id is not null and name is not null
[INFO] [stdout] 149 | |         ",
[INFO] [stdout] 150 | |             user_id
[INFO] [stdout] 151 | |         )
[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]    --> src/models/slot.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 | /         sqlx::query!(
[INFO] [stdout] 160 | |             "UPDATE slots SET emote_id = $2, expires = $3, name = $4, added_by = $5, added_at = $6 WHERE id = $1",
[INFO] [stdout] 161 | |             self.id,
[INFO] [stdout] 162 | |             self.emote_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 166 | |             self.added_at,
[INFO] [stdout] 167 | |         )
[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]    --> src/models/slot.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 176 | /         sqlx::query!(
[INFO] [stdout] 177 | |             "UPDATE slots SET emote_id = null, expires = null, name = null, added_by = null, added_at = null WHERE id = $1",
[INFO] [stdout] 178 | |             id
[INFO] [stdout] 179 | |         )
[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]    --> src/models/slot.rs:188:9
[INFO] [stdout]     |
[INFO] [stdout] 188 |         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]   --> src/models/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]   --> src/models/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]   --> src/models/spotify.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |         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]   --> src/models/spotify.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |         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]   --> src/models/spotify.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | /         sqlx::query!(
[INFO] [stdout] 41 | |             "
[INFO] [stdout] 42 | |             INSERT INTO spotify (user_id, access_token, refresh_token)
[INFO] [stdout] 43 | |             VALUES ($1, $2, $3)
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |             token.refresh_token
[INFO] [stdout] 48 | |         )
[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]   --> src/models/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 | |             token.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]   --> src/models/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]   --> src/models/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]    --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/swap_emote.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |             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]    --> src/models/swap_emote.rs:111:22
[INFO] [stdout]     |
[INFO] [stdout] 111 |           let emotes = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 112 | |             "SELECT name FROM swap_emotes WHERE user_id = $1 AND platform = $2",
[INFO] [stdout] 113 | |             user_id,
[INFO] [stdout] 114 | |             platform as _
[INFO] [stdout] 115 | |         )
[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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]    --> src/models/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]    --> src/models/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]    --> src/models/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]    --> src/models/reward.rs:104:28
[INFO] [stdout]     |
[INFO] [stdout] 104 |           let reward: Self = sqlx::query_as!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 105 | |             Reward,
[INFO] [stdout] 106 | |             r#"
[INFO] [stdout] 107 | |             SELECT id, user_id, data as "data: Json<RewardData>", live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 111 | |             id
[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]    --> src/models/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]    --> src/models/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]    --> src/models/reward.rs:121:34
[INFO] [stdout]     |
[INFO] [stdout] 121 |           let rewards: Vec<Self> = sqlx::query_as!(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 122 | |             Reward,
[INFO] [stdout] 123 | |             r#"
[INFO] [stdout] 124 | |             SELECT id, user_id, data as "data: Json<RewardData>", live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 128 | |             user_id
[INFO] [stdout] 129 | |         )
[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]    --> src/models/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]    --> src/models/reward.rs:138:23
[INFO] [stdout]     |
[INFO] [stdout] 138 |           let rewards = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 139 | |             LiveReward,
[INFO] [stdout] 140 | |             "
[INFO] [stdout] 141 | |             SELECT id, user_id, live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 145 | |             user_id
[INFO] [stdout] 146 | |         )
[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]    --> src/models/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]    --> src/models/reward.rs:158:23
[INFO] [stdout]     |
[INFO] [stdout] 158 |           let rewards = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 159 | |             LiveReward,
[INFO] [stdout] 160 | |             "
[INFO] [stdout] 161 | |             SELECT id, user_id, live_delay
[INFO] [stdout] ...   |
[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]    --> src/models/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: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> src/models/reward.rs:175:23
[INFO] [stdout]     |
[INFO] [stdout] 175 |           let rewards = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 176 | |             LiveRewardAT,
[INFO] [stdout] 177 | |             r#"
[INFO] [stdout] 178 | |             SELECT rewards.id as "id!", user_id as "user_id!", live_delay as "live_delay!", access_token as "access_token!"
[INFO] [stdout] ...   |
[INFO] [stdout] 182 | |             "#
[INFO] [stdout] 183 | |         )
[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]    --> src/models/reward.rs:193:17
[INFO] [stdout]     |
[INFO] [stdout] 193 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 194 | |             "INSERT INTO rewards (id, user_id, data, live_delay) VALUES ($1, $2, $3, $4)",
[INFO] [stdout] 195 | |             self.id,
[INFO] [stdout] 196 | |             self.user_id,
[INFO] [stdout] 197 | |             Json(&self.data) as _,
[INFO] [stdout] 198 | |             self.live_delay
[INFO] [stdout] 199 | |         )
[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]    --> src/models/reward.rs:210:17
[INFO] [stdout]     |
[INFO] [stdout] 210 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 211 | |             "UPDATE rewards SET data=$2, live_delay = $3 WHERE id=$1",
[INFO] [stdout] 212 | |             self.id,
[INFO] [stdout] 213 | |             Json(self.data.clone()) as _,
[INFO] [stdout] 214 | |             self.live_delay
[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: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> src/models/reward.rs:230:17
[INFO] [stdout]     |
[INFO] [stdout] 230 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 231 | |             "UPDATE rewards SET unpause_at = $2 WHERE id=$1",
[INFO] [stdout] 232 | |             id,
[INFO] [stdout] 233 | |             unpause_at
[INFO] [stdout] 234 | |         )
[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]    --> src/models/reward.rs:245:17
[INFO] [stdout]     |
[INFO] [stdout] 245 |         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]    --> src/models/reward.rs:267:9
[INFO] [stdout]     |
[INFO] [stdout] 267 | /         sqlx::query_as!(
[INFO] [stdout] 268 | |             RewardToUpdate,
[INFO] [stdout] 269 | |             "
[INFO] [stdout] 270 | |             SELECT u.id as broadcaster_id, access_token, refresh_token, rewards.id as reward_id
[INFO] [stdout] ...   |
[INFO] [stdout] 273 | |         "
[INFO] [stdout] 274 | |         )
[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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]    --> src/models/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]    --> src/models/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]    --> src/models/slot.rs:131:26
[INFO] [stdout]     |
[INFO] [stdout] 131 |           let occupation = sqlx::query_as!(SlotOccupation,
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 132 | |             "
[INFO] [stdout] 133 | |             SELECT count(*) as available, (SELECT count(*) FROM slots WHERE user_id = $1) as total FROM slots
[INFO] [stdout] 134 | |             WHERE user_id = $1 and emote_id is null and expires is null
[INFO] [stdout] 135 | |         ",
[INFO] [stdout] 136 | |             user_id
[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]    --> src/models/slot.rs:145:22
[INFO] [stdout]     |
[INFO] [stdout] 145 |           let emotes = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 146 | |             "
[INFO] [stdout] 147 | |             SELECT name FROM slots
[INFO] [stdout] 148 | |             WHERE user_id = $1 and emote_id is not null and name is not null
[INFO] [stdout] 149 | |         ",
[INFO] [stdout] 150 | |             user_id
[INFO] [stdout] 151 | |         )
[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]    --> src/models/slot.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 | /         sqlx::query!(
[INFO] [stdout] 160 | |             "UPDATE slots SET emote_id = $2, expires = $3, name = $4, added_by = $5, added_at = $6 WHERE id = $1",
[INFO] [stdout] 161 | |             self.id,
[INFO] [stdout] 162 | |             self.emote_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 166 | |             self.added_at,
[INFO] [stdout] 167 | |         )
[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]    --> src/models/slot.rs:176:9
[INFO] [stdout]     |
[INFO] [stdout] 176 | /         sqlx::query!(
[INFO] [stdout] 177 | |             "UPDATE slots SET emote_id = null, expires = null, name = null, added_by = null, added_at = null WHERE id = $1",
[INFO] [stdout] 178 | |             id
[INFO] [stdout] 179 | |         )
[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]    --> src/models/slot.rs:188:9
[INFO] [stdout]     |
[INFO] [stdout] 188 |         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]   --> src/models/spotify.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |         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]   --> src/models/spotify.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |         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]   --> src/models/spotify.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | /         sqlx::query!(
[INFO] [stdout] 41 | |             "
[INFO] [stdout] 42 | |             INSERT INTO spotify (user_id, access_token, refresh_token)
[INFO] [stdout] 43 | |             VALUES ($1, $2, $3)
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |             token.refresh_token
[INFO] [stdout] 48 | |         )
[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]   --> src/models/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 | |             token.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]   --> src/models/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]   --> src/models/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]    --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/swap_emote.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |             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]    --> src/models/swap_emote.rs:111:22
[INFO] [stdout]     |
[INFO] [stdout] 111 |           let emotes = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 112 | |             "SELECT name FROM swap_emotes WHERE user_id = $1 AND platform = $2",
[INFO] [stdout] 113 | |             user_id,
[INFO] [stdout] 114 | |             platform as _
[INFO] [stdout] 115 | |         )
[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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]   --> src/models/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]    --> src/models/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]    --> src/models/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]    --> src/models/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]    --> src/models/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]    --> src/models/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]    --> src/models/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]    --> src/models/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]    --> src/models/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 65 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rewards` due to 66 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 65 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "da5037b70b0cd87aa5727ccf1514604037d5d442de11e0930b200cf48fc588f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da5037b70b0cd87aa5727ccf1514604037d5d442de11e0930b200cf48fc588f7", kill_on_drop: false }`
[INFO] [stdout] da5037b70b0cd87aa5727ccf1514604037d5d442de11e0930b200cf48fc588f7
