[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] 559a2d99c63fa37953b9b8422d96627677b6759e
[INFO] documenting Nerixyz/rewards against beta-2023-04-20 for beta-1.70-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNerixyz%2Frewards" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Nerixyz/rewards on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "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-7-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded postgres-types v0.2.4
[INFO] [stderr]   Downloaded aliri_braid_impl v0.2.4
[INFO] [stderr]   Downloaded postgres-protocol v0.6.4
[INFO] [stderr]   Downloaded tokio-postgres v0.7.7
[INFO] [stderr]   Downloaded async-trait v0.1.59
[INFO] [stderr]   Downloaded jsonwebtoken v8.1.1
[INFO] [stderr]   Downloaded sqlformat v0.2.0
[INFO] [stderr]   Downloaded atoi v1.0.0
[INFO] [stderr]   Downloaded sqlx-rt v0.6.2
[INFO] [stderr]   Downloaded serde_path_to_error v0.1.8
[INFO] [stderr]   Downloaded serde_repr v0.1.9
[INFO] [stderr]   Downloaded serde_derive v1.0.148
[INFO] [stderr]   Downloaded actix-web-codegen v4.1.0
[INFO] [stderr]   Downloaded askama_escape v0.10.3
[INFO] [stderr]   Downloaded deadpool-redis v0.10.2
[INFO] [stderr]   Downloaded whoami v1.2.3
[INFO] [stderr]   Downloaded actix-web-prom v0.6.0
[INFO] [stderr]   Downloaded typed-builder v0.10.0
[INFO] [stderr]   Downloaded actix_derive v0.6.0
[INFO] [stderr]   Downloaded actix-cors v0.6.4
[INFO] [stderr]   Downloaded actix v0.13.0
[INFO] [stderr]   Downloaded serde_qs v0.10.1
[INFO] [stderr]   Downloaded sqlx-core v0.6.2
[INFO] [stderr]   Downloaded bytestring v1.2.0
[INFO] [stderr]   Downloaded redis v0.21.6
[INFO] [stderr]   Downloaded sqlx v0.6.2
[INFO] [stderr]   Downloaded actix-http v3.2.2
[INFO] [stderr]   Downloaded protobuf v2.28.0
[INFO] [stderr]   Downloaded prometheus v0.13.3
[INFO] [stderr]   Downloaded actix-web v4.2.1
[INFO] [stderr]   Downloaded twitch-irc v5.0.0
[INFO] [stderr]   Downloaded actix-files v0.6.2
[INFO] [stderr]   Downloaded dotenvy v0.15.6
[INFO] [stderr]   Downloaded futures-intrusive v0.4.2
[INFO] [stderr]   Downloaded twitch_oauth2 v0.8.0
[INFO] [stderr]   Downloaded aliri_braid v0.2.4
[INFO] [stderr]   Downloaded deadpool-postgres v0.10.3
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.35.0
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.35.0
[INFO] [stderr]   Downloaded windows_i686_msvc v0.35.0
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.35.0
[INFO] [stderr]   Downloaded windows_i686_gnu v0.35.0
[INFO] [stderr]   Downloaded git_info v0.1.2
[INFO] [stderr]   Downloaded sqlx-macros v0.6.2
[INFO] [stderr]   Downloaded windows v0.35.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 792d99daf6b451bec845234288652cf9085a7ca3bc463115b72ba2d1418c4b5e
[INFO] running `Command { std: "docker" "start" "-a" "792d99daf6b451bec845234288652cf9085a7ca3bc463115b72ba2d1418c4b5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "792d99daf6b451bec845234288652cf9085a7ca3bc463115b72ba2d1418c4b5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "792d99daf6b451bec845234288652cf9085a7ca3bc463115b72ba2d1418c4b5e", kill_on_drop: false }`
[INFO] [stdout] 792d99daf6b451bec845234288652cf9085a7ca3bc463115b72ba2d1418c4b5e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c6ebcfcb3819759e28f62f725ae2238317fb760e43d2539c82673bb5127d69d9
[INFO] running `Command { std: "docker" "start" "-a" "c6ebcfcb3819759e28f62f725ae2238317fb760e43d2539c82673bb5127d69d9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.138
[INFO] [stderr]    Compiling proc-macro2 v1.0.47
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling syn v1.0.105
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]     Checking once_cell v1.16.0
[INFO] [stderr]     Checking bytes v1.3.0
[INFO] [stderr]     Checking smallvec v1.10.0
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling parking_lot_core v0.9.5
[INFO] [stderr]    Compiling tokio v1.22.0
[INFO] [stderr]     Checking futures-sink v0.3.25
[INFO] [stderr]    Compiling serde_derive v1.0.148
[INFO] [stderr]     Checking itoa v1.0.4
[INFO] [stderr]    Compiling serde v1.0.148
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]     Checking futures-io v0.3.25
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]     Checking percent-encoding v2.2.0
[INFO] [stderr]     Checking tracing-core v0.1.30
[INFO] [stderr]    Compiling openssl v0.10.43
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]    Compiling thiserror v1.0.37
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking form_urlencoded v1.1.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling serde_json v1.0.89
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]     Checking ryu v1.0.11
[INFO] [stderr]     Checking cpufeatures v0.2.5
[INFO] [stderr]    Compiling jobserver v0.1.25
[INFO] [stderr]     Checking socket2 v0.4.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking mio v0.8.5
[INFO] [stderr]     Checking num_cpus v1.14.0
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking block-buffer v0.10.3
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling cc v1.0.77
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking digest v0.10.6
[INFO] [stderr]    Compiling time-core v0.1.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling time-macros v0.2.6
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling cookie v0.16.1
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.14
[INFO] [stderr]    Compiling paste v1.0.9
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling async-trait v0.1.59
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]     Checking url v2.3.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]     Checking sha1 v0.10.5
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.8
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4
[INFO] [stderr]     Checking local-waker v0.1.3
[INFO] [stderr]    Compiling openssl-sys v0.9.78
[INFO] [stderr]    Compiling zstd-sys v2.0.4+zstd.1.5.2
[INFO] [stderr]     Checking alloc-stdlib v0.2.2
[INFO] [stderr]     Checking stringprep v0.1.2
[INFO] [stderr]     Checking time v0.3.17
[INFO] [stderr]     Checking md-5 v0.10.5
[INFO] [stderr]     Checking sha2 v0.10.6
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]     Checking regex-syntax v0.6.28
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking miniz_oxide v0.6.2
[INFO] [stderr]     Checking brotli-decompressor v2.3.2
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]    Compiling bytestring v1.2.0
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking psl-types v2.0.11
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking publicsuffix v2.2.3
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]     Checking flate2 v1.0.25
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]     Checking regex v1.7.0
[INFO] [stderr]     Checking brotli v3.3.4
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking iana-time-zone v0.1.53
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling crc-catalog v2.1.0
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]    Compiling crc v3.0.0
[INFO] [stderr]    Compiling chrono v0.4.23
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling futures-intrusive v0.4.2
[INFO] [stderr]    Compiling hkdf v0.12.3
[INFO] [stderr]    Compiling hashlink v0.8.1
[INFO] [stderr]    Compiling atoi v1.0.0
[INFO] [stderr]    Compiling sqlformat v0.2.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling unicode-segmentation v1.10.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling whoami v1.2.3
[INFO] [stderr]    Compiling tokio-stream v0.1.11
[INFO] [stderr]    Compiling dotenvy v0.15.6
[INFO] [stderr]     Checking ipnet v2.5.1
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling prometheus v0.13.3
[INFO] [stderr]    Compiling semver v1.0.14
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]     Checking siphasher v0.3.10
[INFO] [stderr]    Compiling anyhow v1.0.66
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking sha-1 v0.10.1
[INFO] [stderr]     Checking phf_shared v0.11.1
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking retain_mut v0.1.9
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]     Checking phf v0.11.1
[INFO] [stderr]     Checking postgres-protocol v0.6.4
[INFO] [stderr]    Compiling git_info v0.1.2
[INFO] [stderr]     Checking crossbeam-channel v0.5.6
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking pem v1.1.0
[INFO] [stderr]    Compiling tokio-macros v1.8.2
[INFO] [stderr]    Compiling futures-macro v0.3.25
[INFO] [stderr]    Compiling tracing-attributes v0.1.23
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.37
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling aliri_braid_impl v0.2.4
[INFO] [stderr]    Compiling actix-macros v0.2.3
[INFO] [stderr]    Compiling serde_repr v0.1.9
[INFO] [stderr]    Compiling displaydoc v0.2.3
[INFO] [stderr]    Compiling enum_dispatch v0.3.8
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]     Checking postgres-types v0.2.4
[INFO] [stderr]    Compiling rewards v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling dotenv_codegen_implementation v0.15.0
[INFO] [stderr]    Compiling async-stream-impl v0.3.3
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling actix_derive v0.6.0
[INFO] [stderr]     Checking askama_escape v0.10.3
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking http-range v0.1.5
[INFO] [stderr]     Checking aliri_braid v0.2.4
[INFO] [stderr]     Checking simple_asn1 v0.6.2
[INFO] [stderr]     Checking env_logger v0.9.3
[INFO] [stderr]     Checking dotenv_codegen v0.15.0
[INFO] [stderr]     Checking uptimer v0.2.0 (https://github.com/Nerixyz/uptimer.git#98ab6e2a)
[INFO] [stderr]     Checking async-stream v0.3.3
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]     Checking tungstenite v0.17.3
[INFO] [stderr]     Checking local-channel v0.1.3
[INFO] [stderr]     Checking futures-executor v0.3.25
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]     Checking futures v0.3.25
[INFO] [stderr]    Compiling sqlx-rt v0.6.2
[INFO] [stderr]     Checking tokio-util v0.7.4
[INFO] [stderr]     Checking actix-rt v2.7.0
[INFO] [stderr]     Checking deadpool-runtime v0.1.2
[INFO] [stderr]     Checking deadpool v0.9.5
[INFO] [stderr]     Checking actix-server v2.1.1
[INFO] [stderr]     Checking async-tungstenite v0.17.2
[INFO] [stderr]     Checking h2 v0.3.15
[INFO] [stderr]     Checking actix-codec v0.5.0
[INFO] [stderr]     Checking combine v4.6.6
[INFO] [stderr]     Checking tokio-postgres v0.7.7
[INFO] [stderr]     Checking actix v0.13.0
[INFO] [stderr]     Checking zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking actix-router v0.5.1
[INFO] [stderr]     Checking twitch_types v0.3.9 (https://github.com/twitch-rs/twitch_api.git#3a19c190)
[INFO] [stderr]     Checking serde_path_to_error v0.1.8
[INFO] [stderr]     Checking toml v0.5.9
[INFO] [stderr]     Checking serde_qs v0.10.1
[INFO] [stderr]     Checking deadpool-postgres v0.10.3
[INFO] [stderr]     Checking cookie_store v0.16.1
[INFO] [stderr]     Checking jsonwebtoken v8.1.1
[INFO] [stderr]     Checking sqlx-core v0.6.2
[INFO] [stderr]    Compiling actix-web-codegen v4.1.0
[INFO] [stderr]     Checking hyper v0.14.23
[INFO] [stderr]     Checking actix-http v3.2.2
[INFO] [stderr]     Checking redis v0.21.6
[INFO] [stderr]     Checking actix-web v4.2.1
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.13
[INFO] [stderr]     Checking twitch_oauth2 v0.9.0 (https://github.com/twitch-rs/twitch_api.git#3a19c190)
[INFO] [stderr]     Checking twitch-irc v5.0.0
[INFO] [stderr]     Checking deadpool-redis v0.10.2
[INFO] [stderr]     Checking twitch_api v0.7.0-rc.2 (https://github.com/twitch-rs/twitch_api.git#3a19c190)
[INFO] [stderr]     Checking actix-cors v0.6.4
[INFO] [stderr]     Checking actix-files v0.6.2
[INFO] [stderr]     Checking actix-web-prom v0.6.0
[INFO] [stderr]    Compiling sqlx-macros v0.6.2
[INFO] [stderr]     Checking sqlx v0.6.2
[INFO] [stderr]     Checking config v0.1.0 (/opt/rustwide/workdir/config)
[INFO] [stderr]     Checking errors v0.2.2 (https://github.com/Nerixyz/nerix-utils-rs?tag=errors-v0.2.2#58a82ec0)
[INFO] [stderr]     Checking models v0.1.0 (/opt/rustwide/workdir/models)
[INFO] [stderr]     Checking twitch-pubsub v0.2.0 (https://github.com/Nerixyz/twitch-pubsub-rs#c7c19389)
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/banned_emote.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 |       let result = sqlx::query_scalar!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 13 | |         "SELECT 1 FROM banned_emotes WHERE channel_id = $1 AND emote_id = $2 and platform = $3",
[INFO] [stdout] 14 | |         channel_id,
[INFO] [stdout] 15 | |         emote_id,
[INFO] [stdout] 16 | |         platform as _
[INFO] [stdout] 17 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/banned_emote.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | /     sqlx::query!(
[INFO] [stdout] 31 | |         "INSERT INTO banned_emotes (channel_id, emote_id, platform) VALUES ($1, $2, $3)",
[INFO] [stdout] 32 | |         channel_id,
[INFO] [stdout] 33 | |         emote_id,
[INFO] [stdout] 34 | |         platform as _
[INFO] [stdout] 35 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/banned_emote.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | /     sqlx::query_scalar!(
[INFO] [stdout] 49 | |         "DELETE FROM banned_emotes WHERE channel_id = $1 AND emote_id = $2 and platform = $3",
[INFO] [stdout] 50 | |         channel_id,
[INFO] [stdout] 51 | |         emote_id,
[INFO] [stdout] 52 | |         platform as _
[INFO] [stdout] 53 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/config.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |           let _ = sqlx::query!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 23 | |             "UPDATE config SET value = $2 WHERE key = $1",
[INFO] [stdout] 24 | |             self.key,
[INFO] [stdout] 25 | |             Json(&self.value) as _
[INFO] [stdout] 26 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/config.rs:48:27
[INFO] [stdout]    |
[INFO] [stdout] 48 |           let entry: Self = sqlx::query_as!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 49 | |             ConfigEntry,
[INFO] [stdout] 50 | |             r#"
[INFO] [stdout] 51 | |             SELECT key, value as "value: Json<ConfigValue>"
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | |             key
[INFO] [stdout] 56 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/discord.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |       let settings = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 18 | |         DiscordUserSettings,
[INFO] [stdout] 19 | |         "SELECT * FROM discord_settings WHERE user_id = $1",
[INFO] [stdout] 20 | |         user_id
[INFO] [stdout] 21 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/discord.rs:33:15
[INFO] [stdout]    |
[INFO] [stdout] 33 |       let url = sqlx::query_scalar!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 34 | |         "SELECT url FROM discord_settings WHERE user_id = $1 AND log_emotes = true",
[INFO] [stdout] 35 | |         user_id
[INFO] [stdout] 36 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/discord.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | /     sqlx::query_scalar!(
[INFO] [stdout] 50 | |         "INSERT INTO discord_settings (user_id, url) VALUES ($1, $2) ON CONFLICT (user_id) DO UPDATE SET url = excluded.url",
[INFO] [stdout] 51 | |         user_id, url
[INFO] [stdout] 52 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/discord.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | /     sqlx::query_scalar!(
[INFO] [stdout] 65 | |         "DELETE FROM discord_settings WHERE user_id = $1",
[INFO] [stdout] 66 | |         user_id
[INFO] [stdout] 67 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/editor.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 |           let editors = sqlx::query_scalar!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 13 | |             // language=PostgreSQL
[INFO] [stdout] 14 | |             "
[INFO] [stdout] 15 | |                 SELECT editor_id
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | |             broadcaster_id
[INFO] [stdout] 20 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/editor.rs:31:28
[INFO] [stdout]    |
[INFO] [stdout] 31 |           let broadcasters = sqlx::query_scalar!(
[INFO] [stdout]    |  ____________________________^
[INFO] [stdout] 32 | |             // language=PostgreSQL
[INFO] [stdout] 33 | |             "
[INFO] [stdout] 34 | |                 SELECT broadcaster_id
[INFO] [stdout] ...  |
[INFO] [stdout] 38 | |             editor_id
[INFO] [stdout] 39 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/editor.rs:51:20
[INFO] [stdout]    |
[INFO] [stdout] 51 |           let user = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 52 | |             User,
[INFO] [stdout] 53 | |             // language=PostgreSQL
[INFO] [stdout] 54 | |             "
[INFO] [stdout] ...  |
[INFO] [stdout] 61 | |             broadcaster_id,
[INFO] [stdout] 62 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/editor.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |           let _ = sqlx::query!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 75 | |             // language=PostgreSQL
[INFO] [stdout] 76 | |             "
[INFO] [stdout] 77 | |             INSERT INTO editors
[INFO] [stdout] ...  |
[INFO] [stdout] 83 | |             broadcaster_id
[INFO] [stdout] 84 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/editor.rs:95:17
[INFO] [stdout]     |
[INFO] [stdout] 95  |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 96  | |             // language=PostgreSQL
[INFO] [stdout] 97  | |             "
[INFO] [stdout] 98  | |             INSERT INTO editors
[INFO] [stdout] ...   |
[INFO] [stdout] 104 | |             broadcaster_name
[INFO] [stdout] 105 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/editor.rs:117:17
[INFO] [stdout]     |
[INFO] [stdout] 117 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 118 | |             // language=PostgreSQL
[INFO] [stdout] 119 | |             "
[INFO] [stdout] 120 | |             DELETE FROM editors
[INFO] [stdout] ...   |
[INFO] [stdout] 124 | |             editor_name
[INFO] [stdout] 125 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/editor.rs:139:17
[INFO] [stdout]     |
[INFO] [stdout] 139 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 140 | |             // language=PostgreSQL
[INFO] [stdout] 141 | |             "
[INFO] [stdout] 142 | |             DELETE FROM editors
[INFO] [stdout] ...   |
[INFO] [stdout] 146 | |             editor_id
[INFO] [stdout] 147 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/log_entry.rs:15:20
[INFO] [stdout]    |
[INFO] [stdout] 15 |           let logs = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 16 | |             Self,
[INFO] [stdout] 17 | |             "SELECT date, content FROM logs WHERE user_id = $1 ORDER BY date desc",
[INFO] [stdout] 18 | |             id
[INFO] [stdout] 19 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/log_entry.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 | /         sqlx::query!(
[INFO] [stdout] 33 | |             "INSERT INTO logs (user_id, date, content) VALUES ($1, $2, $3)",
[INFO] [stdout] 34 | |             id,
[INFO] [stdout] 35 | |             Utc::now(),
[INFO] [stdout] 36 | |             content
[INFO] [stdout] 37 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:131:28
[INFO] [stdout]     |
[INFO] [stdout] 131 |           let reward: Self = sqlx::query_as!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 132 | |             Reward,
[INFO] [stdout] 133 | |             r#"
[INFO] [stdout] 134 | |             SELECT id, user_id, data as "data: Json<RewardData>", live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 138 | |             id
[INFO] [stdout] 139 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:151:34
[INFO] [stdout]     |
[INFO] [stdout] 151 |           let rewards: Vec<Self> = sqlx::query_as!(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 152 | |             Reward,
[INFO] [stdout] 153 | |             r#"
[INFO] [stdout] 154 | |             SELECT id, user_id, data as "data: Json<RewardData>", live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 158 | |             user_id.as_ref()
[INFO] [stdout] 159 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:173:41
[INFO] [stdout]     |
[INFO] [stdout] 173 |           let data: Vec<RewardDataOnly> = sqlx::query_as!(
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 174 | |             RewardDataOnly,
[INFO] [stdout] 175 | |             r#"
[INFO] [stdout] 176 | |             SELECT data as "data: Json<RewardData>"
[INFO] [stdout] ...   |
[INFO] [stdout] 181 | |             reward_type
[INFO] [stdout] 182 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:206:23
[INFO] [stdout]     |
[INFO] [stdout] 206 |           let rewards = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 207 | |             LiveReward,
[INFO] [stdout] 208 | |             "
[INFO] [stdout] 209 | |             SELECT id, user_id, live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 213 | |             user_id
[INFO] [stdout] 214 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:226:23
[INFO] [stdout]     |
[INFO] [stdout] 226 |           let rewards = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 227 | |             LiveReward,
[INFO] [stdout] 228 | |             "
[INFO] [stdout] 229 | |             SELECT id, user_id, live_delay
[INFO] [stdout] ...   |
[INFO] [stdout] 233 | |             user_id
[INFO] [stdout] 234 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:245:23
[INFO] [stdout]     |
[INFO] [stdout] 245 |           let rewards = sqlx::query_as!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 246 | |             LiveRewardAT,
[INFO] [stdout] 247 | |             r#"
[INFO] [stdout] 248 | |             SELECT rewards.id as "id!", user_id as "user_id!", live_delay as "live_delay!", access_token as "access_token!"
[INFO] [stdout] ...   |
[INFO] [stdout] 252 | |             "#
[INFO] [stdout] 253 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:263:17
[INFO] [stdout]     |
[INFO] [stdout] 263 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 264 | |             "INSERT INTO rewards (id, user_id, data, live_delay) VALUES ($1, $2, $3, $4)",
[INFO] [stdout] 265 | |             self.id,
[INFO] [stdout] 266 | |             self.user_id,
[INFO] [stdout] 267 | |             Json(&self.data) as _,
[INFO] [stdout] 268 | |             self.live_delay
[INFO] [stdout] 269 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:280:17
[INFO] [stdout]     |
[INFO] [stdout] 280 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 281 | |             "UPDATE rewards SET data=$2, live_delay = $3 WHERE id=$1",
[INFO] [stdout] 282 | |             self.id,
[INFO] [stdout] 283 | |             Json(self.data.clone()) as _,
[INFO] [stdout] 284 | |             self.live_delay
[INFO] [stdout] 285 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:300:17
[INFO] [stdout]     |
[INFO] [stdout] 300 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 301 | |             "UPDATE rewards SET unpause_at = $2 WHERE id=$1",
[INFO] [stdout] 302 | |             id,
[INFO] [stdout] 303 | |             unpause_at
[INFO] [stdout] 304 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:315:17
[INFO] [stdout]     |
[INFO] [stdout] 315 |         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` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/reward.rs:337:9
[INFO] [stdout]     |
[INFO] [stdout] 337 | /         sqlx::query_as!(
[INFO] [stdout] 338 | |             RewardToUpdate,
[INFO] [stdout] 339 | |             "
[INFO] [stdout] 340 | |             SELECT u.id as broadcaster_id, access_token, refresh_token, rewards.id as reward_id
[INFO] [stdout] ...   |
[INFO] [stdout] 343 | |         "
[INFO] [stdout] 344 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/slot.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | /         sqlx::query!(
[INFO] [stdout] 35 | |             "INSERT INTO slots (user_id, reward_id, platform) VALUES ($1, $2, $3)",
[INFO] [stdout] 36 | |             user_id,
[INFO] [stdout] 37 | |             reward_id,
[INFO] [stdout] 38 | |             platform as _,
[INFO] [stdout] 39 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/slot.rs:52:25
[INFO] [stdout]    |
[INFO] [stdout] 52 |           let available = sqlx::query_as!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 53 | |             Self,
[INFO] [stdout] 54 | |             r#"
[INFO] [stdout] 55 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] ...  |
[INFO] [stdout] 59 | |             user_id
[INFO] [stdout] 60 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/slot.rs:72:27
[INFO] [stdout]    |
[INFO] [stdout] 72 |           let n_available = sqlx::query_scalar!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 73 | |             "
[INFO] [stdout] 74 | |             SELECT count(*) FROM slots
[INFO] [stdout] 75 | |             WHERE reward_id = $1 and user_id = $2 and emote_id is null and expires is null
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |             user_id
[INFO] [stdout] 79 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/slot.rs:91:27
[INFO] [stdout]    |
[INFO] [stdout] 91 |           let n_available = sqlx::query_scalar!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 92 | |             "
[INFO] [stdout] 93 | |             SELECT count(*) FROM slots
[INFO] [stdout] 94 | |             WHERE platform = $1 and user_id = $2 and emote_id is null and expires is null
[INFO] [stdout] ...  |
[INFO] [stdout] 97 | |             user_id
[INFO] [stdout] 98 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:110:19
[INFO] [stdout]     |
[INFO] [stdout] 110 |           let all = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 111 | |             Self,
[INFO] [stdout] 112 | |             r#"
[INFO] [stdout] 113 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] ...   |
[INFO] [stdout] 117 | |             user_id
[INFO] [stdout] 118 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:126:23
[INFO] [stdout]     |
[INFO] [stdout] 126 |           let pending = sqlx::query_as!(Self, r#"
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 127 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] 128 | |             WHERE emote_id is not null AND expires is not null AND expires < (now() + '1 minute'::interval)
[INFO] [stdout] 129 | |         "#).fetch_all(pool).await?;
[INFO] [stdout]     | |___________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:140:20
[INFO] [stdout]     |
[INFO] [stdout] 140 |           let slot = sqlx::query_as!(Self, r#"
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 141 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] 142 | |             WHERE user_id = $1 AND lower(name) = lower($2)
[INFO] [stdout] 143 | |         "#, 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` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:155:20
[INFO] [stdout]     |
[INFO] [stdout] 155 |           let slot = sqlx::query_as!(Self, r#"
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 156 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] 157 | |             WHERE user_id = $1 AND emote_id = $2 and platform = $3
[INFO] [stdout] 158 | |         "#, user_id, emote_id, platform as _).fetch_optional(pool).await?;
[INFO] [stdout]     | |_____________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:168:26
[INFO] [stdout]     |
[INFO] [stdout] 168 |           let occupation = sqlx::query_as!(SlotOccupation,
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 169 | |             "
[INFO] [stdout] 170 | |             SELECT count(*) as available, (SELECT count(*) FROM slots WHERE user_id = $1) as total FROM slots
[INFO] [stdout] 171 | |             WHERE user_id = $1 and emote_id is null and expires is null
[INFO] [stdout] 172 | |         ",
[INFO] [stdout] 173 | |             user_id
[INFO] [stdout] 174 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:185:22
[INFO] [stdout]     |
[INFO] [stdout] 185 |           let emotes = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 186 | |             "
[INFO] [stdout] 187 | |             SELECT name FROM slots
[INFO] [stdout] 188 | |             WHERE user_id = $1 and emote_id is not null and name is not null
[INFO] [stdout] 189 | |         ",
[INFO] [stdout] 190 | |             user_id
[INFO] [stdout] 191 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:202:22
[INFO] [stdout]     |
[INFO] [stdout] 202 |           let emotes = sqlx::query_as!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 203 | |             Self,
[INFO] [stdout] 204 | |             r#"
[INFO] [stdout] 205 | |             SELECT id, user_id, emote_id, expires, reward_id, platform as "platform: _", name, added_at, added_by FROM slots
[INFO] [stdout] ...   |
[INFO] [stdout] 208 | |             user_id
[INFO] [stdout] 209 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:217:9
[INFO] [stdout]     |
[INFO] [stdout] 217 | /         sqlx::query!(
[INFO] [stdout] 218 | |             "UPDATE slots SET emote_id = $2, expires = $3, name = $4, added_by = $5, added_at = $6 WHERE id = $1",
[INFO] [stdout] 219 | |             self.id,
[INFO] [stdout] 220 | |             self.emote_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 224 | |             self.added_at,
[INFO] [stdout] 225 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 234 | /         sqlx::query!(
[INFO] [stdout] 235 | |             "UPDATE slots SET emote_id = null, expires = null, name = null, added_by = null, added_at = null WHERE id = $1",
[INFO] [stdout] 236 | |             id
[INFO] [stdout] 237 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/slot.rs:246:9
[INFO] [stdout]     |
[INFO] [stdout] 246 |         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` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |             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` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/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` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | /         sqlx::query!(
[INFO] [stdout] 46 | |             "
[INFO] [stdout] 47 | |             INSERT INTO spotify (user_id, access_token, refresh_token)
[INFO] [stdout] 48 | |             VALUES ($1, $2, $3)
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |             refresh_token
[INFO] [stdout] 53 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 | /         sqlx::query!(
[INFO] [stdout] 66 | |             "UPDATE spotify SET access_token=$2 WHERE user_id=$1",
[INFO] [stdout] 67 | |             id,
[INFO] [stdout] 68 | |             access_token
[INFO] [stdout] 69 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         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` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/spotify.rs:89:20
[INFO] [stdout]    |
[INFO] [stdout] 89 |           let data = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 90 | |             Self,
[INFO] [stdout] 91 | |             "SELECT only_while_live FROM spotify WHERE user_id=$1",
[INFO] [stdout] 92 | |             id
[INFO] [stdout] 93 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/spotify.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 | /         sqlx::query_as!(
[INFO] [stdout] 103 | |             Self,
[INFO] [stdout] 104 | |             "UPDATE spotify SET only_while_live = $2 WHERE user_id = $1",
[INFO] [stdout] 105 | |             user_id,
[INFO] [stdout] 106 | |             self.only_while_live
[INFO] [stdout] 107 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/swap_emote.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 |           let emote = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 25 | |             Self,
[INFO] [stdout] 26 | |             r#"
[INFO] [stdout] 27 | |             SELECT id, user_id, emote_id, platform as "platform: _", name, added_by, added_at
[INFO] [stdout] ...  |
[INFO] [stdout] 33 | |             platform as _
[INFO] [stdout] 34 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/swap_emote.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 | ...   sqlx::query!("INSERT INTO swap_emotes (user_id, emote_id, platform, name, added_by, added_at) VALUES ($1, $2, $3, $4, $5, now())", user_id, emote_id, platform as _, name, added_by).ex...
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/swap_emote.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         sqlx::query!("DELETE FROM swap_emotes WHERE id = $1", id)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/swap_emote.rs:67:21
[INFO] [stdout]    |
[INFO] [stdout] 67 |           let count = sqlx::query_scalar!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 68 | |             "
[INFO] [stdout] 69 | |             SELECT count(*)
[INFO] [stdout] 70 | |             FROM swap_emotes
[INFO] [stdout] ...  |
[INFO] [stdout] 73 | |             platform as _
[INFO] [stdout] 74 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/swap_emote.rs:86:21
[INFO] [stdout]    |
[INFO] [stdout] 86 |           let emote = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 87 | |             Self,
[INFO] [stdout] 88 | |             r#"
[INFO] [stdout] 89 | |             SELECT id, user_id, emote_id, platform as "platform: _", name, added_by, added_at
[INFO] [stdout] ...  |
[INFO] [stdout] 93 | |             name
[INFO] [stdout] 94 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/swap_emote.rs:107:21
[INFO] [stdout]     |
[INFO] [stdout] 107 |           let emote = sqlx::query_as!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 108 | |             Self,
[INFO] [stdout] 109 | |             r#"
[INFO] [stdout] 110 | |             SELECT id, user_id, emote_id, platform as "platform: _", name, added_by, added_at
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | |             platform as _
[INFO] [stdout] 116 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/swap_emote.rs:127:22
[INFO] [stdout]     |
[INFO] [stdout] 127 |           let emotes = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 128 | |             "SELECT name FROM swap_emotes WHERE user_id = $1",
[INFO] [stdout] 129 | |             user_id,
[INFO] [stdout] 130 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/swap_emote.rs:141:22
[INFO] [stdout]     |
[INFO] [stdout] 141 |           let emotes = sqlx::query_as!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 142 | |             Self,
[INFO] [stdout] 143 | |             r#"SELECT id, user_id, emote_id, platform as "platform: _", name, added_by, added_at FROM swap_emotes WHERE user_id = $1"#,
[INFO] [stdout] 144 | |             user_id,
[INFO] [stdout] 145 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/swap_emote.rs:157:22
[INFO] [stdout]     |
[INFO] [stdout] 157 |           let emotes = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 158 | |             "SELECT name FROM swap_emotes WHERE user_id = $1 AND platform = $2",
[INFO] [stdout] 159 | |             user_id,
[INFO] [stdout] 160 | |             platform as _
[INFO] [stdout] 161 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/timed_mode.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 46 |           let id = sqlx::query_scalar!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 47 | |             "INSERT INTO timed_modes (user_id, mode, end_ts) VALUES ($1, $2, $3) RETURNING id",
[INFO] [stdout] 48 | |             user_id,
[INFO] [stdout] 49 | |             mode as _,
[INFO] [stdout] 50 | |             end
[INFO] [stdout] 51 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/timed_mode.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 60 |           let modes = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 61 | |             Self,
[INFO] [stdout] 62 | |             r#"
[INFO] [stdout] 63 | |             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] 66 | |         "#
[INFO] [stdout] 67 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/timed_mode.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         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` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:38:26
[INFO] [stdout]    |
[INFO] [stdout] 38 | ...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` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:47:21
[INFO] [stdout]    |
[INFO] [stdout] 47 |           let users = sqlx::query_as!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 48 | |             User,
[INFO] [stdout] 49 | |             "SELECT id, access_token, refresh_token, scopes, name, eventsub_id FROM users"
[INFO] [stdout] 50 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:58:21
[INFO] [stdout]    |
[INFO] [stdout] 58 |           let names = sqlx::query_scalar!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 59 | |             // language=PostgreSQL
[INFO] [stdout] 60 | |             "SELECT name FROM users"
[INFO] [stdout] 61 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:72:19
[INFO] [stdout]    |
[INFO] [stdout] 72 |           let ids = sqlx::query_scalar!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 73 | |             "SELECT id FROM users WHERE eventsub_id IS null"
[INFO] [stdout] 74 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> models/src/user.rs:86:20
[INFO] [stdout]    |
[INFO] [stdout] 86 |           let data = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 87 | |             UserBttvData,
[INFO] [stdout] 88 | |             "SELECT id, bttv_id FROM users WHERE id = $1",
[INFO] [stdout] 89 | |             user_id
[INFO] [stdout] 90 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:102:20
[INFO] [stdout]     |
[INFO] [stdout] 102 |           let data = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 103 | |             UserSevenTvData,
[INFO] [stdout] 104 | |             "SELECT id, name, seventv_id FROM users WHERE id = $1",
[INFO] [stdout] 105 | |             user_id
[INFO] [stdout] 106 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:116:17
[INFO] [stdout]     |
[INFO] [stdout] 116 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 117 | |             "
[INFO] [stdout] 118 | |             INSERT
[INFO] [stdout] 119 | |             INTO users (id, access_token, refresh_token, scopes, name)
[INFO] [stdout] ...   |
[INFO] [stdout] 128 | |             self.name
[INFO] [stdout] 129 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:145:17
[INFO] [stdout]     |
[INFO] [stdout] 145 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 146 | |             "UPDATE users SET access_token = $2, refresh_token = $3 WHERE id = $1",
[INFO] [stdout] 147 | |             id.as_ref(),
[INFO] [stdout] 148 | |             access_token,
[INFO] [stdout] 149 | |             refresh_token
[INFO] [stdout] 150 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:164:17
[INFO] [stdout]     |
[INFO] [stdout] 164 |           let _ = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 165 | |             "UPDATE users SET bttv_id = $2 WHERE id = $1",
[INFO] [stdout] 166 | |             user_id,
[INFO] [stdout] 167 | |             bttv_id
[INFO] [stdout] 168 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:181:17
[INFO] [stdout]     |
[INFO] [stdout] 181 |           let _ = sqlx::query_scalar!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 182 | |             "UPDATE users SET seventv_id = $2 WHERE id = $1",
[INFO] [stdout] 183 | |             user_id,
[INFO] [stdout] 184 | |             seventv_id
[INFO] [stdout] 185 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:195:17
[INFO] [stdout]     |
[INFO] [stdout] 195 |         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` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:209:17
[INFO] [stdout]     |
[INFO] [stdout] 209 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 210 | |             "UPDATE users SET eventsub_id = $2 WHERE id = $1",
[INFO] [stdout] 211 | |             user_id,
[INFO] [stdout] 212 | |             eventsub_id
[INFO] [stdout] 213 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:224:17
[INFO] [stdout]     |
[INFO] [stdout] 224 |           let _ = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 225 | |             "UPDATE users SET eventsub_id = null WHERE eventsub_id = $1",
[INFO] [stdout] 226 | |             eventsub_id
[INFO] [stdout] 227 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> models/src/user.rs:237:22
[INFO] [stdout]     |
[INFO] [stdout] 237 |           let old_id = sqlx::query_scalar!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 238 | |             "
[INFO] [stdout] 239 | |             UPDATE users
[INFO] [stdout] 240 | |             SET eventsub_id = null
[INFO] [stdout] ...   |
[INFO] [stdout] 244 | |             user_id
[INFO] [stdout] 245 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 76 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `models` (lib) due to 77 previous errors
[INFO] running `Command { std: "docker" "inspect" "c6ebcfcb3819759e28f62f725ae2238317fb760e43d2539c82673bb5127d69d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6ebcfcb3819759e28f62f725ae2238317fb760e43d2539c82673bb5127d69d9", kill_on_drop: false }`
[INFO] [stdout] c6ebcfcb3819759e28f62f725ae2238317fb760e43d2539c82673bb5127d69d9
