[INFO] cloning repository https://github.com/InfinityBotList/Arcadia [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/InfinityBotList/Arcadia" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInfinityBotList%2FArcadia", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInfinityBotList%2FArcadia'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7ccb7b32ad5c91316cf044e76e5312d71f36eca [INFO] checking InfinityBotList/Arcadia/b7ccb7b32ad5c91316cf044e76e5312d71f36eca against master#c5af0610196bc39c44e54f1e08bd9149bdc66929 for pr-118120 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInfinityBotList%2FArcadia" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/InfinityBotList/Arcadia on toolchain c5af0610196bc39c44e54f1e08bd9149bdc66929 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c5af0610196bc39c44e54f1e08bd9149bdc66929" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/InfinityBotList/Arcadia [INFO] finished tweaking git repo https://github.com/InfinityBotList/Arcadia [INFO] tweaked toml for git repo https://github.com/InfinityBotList/Arcadia written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/InfinityBotList/Arcadia 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" "+c5af0610196bc39c44e54f1e08bd9149bdc66929" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/serenity-rs/poise` [INFO] [stderr] Updating git repository `https://github.com/serenity-rs/serenity` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded triomphe v0.1.9 [INFO] [stderr] Downloaded typemap_rev v0.3.0 [INFO] [stderr] Downloaded thotp v0.1.11 [INFO] [stderr] Downloaded vergen v7.5.1 [INFO] [stderr] Downloaded utoipa-gen v4.1.0 [INFO] [stderr] Downloaded moka v0.11.3 [INFO] [stderr] Downloaded utoipa v4.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c5af0610196bc39c44e54f1e08bd9149bdc66929" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf0830383824d9f583dcd749fba108331b55ed3b20c83f34e313fa30246fd5e9 [INFO] running `Command { std: "docker" "start" "-a" "bf0830383824d9f583dcd749fba108331b55ed3b20c83f34e313fa30246fd5e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf0830383824d9f583dcd749fba108331b55ed3b20c83f34e313fa30246fd5e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf0830383824d9f583dcd749fba108331b55ed3b20c83f34e313fa30246fd5e9", kill_on_drop: false }` [INFO] [stdout] bf0830383824d9f583dcd749fba108331b55ed3b20c83f34e313fa30246fd5e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c5af0610196bc39c44e54f1e08bd9149bdc66929" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3afb4075e20cfcc8733db3d2167110d75a8dcbdcf13a7b019587ff0784bb868 [INFO] running `Command { std: "docker" "start" "-a" "d3afb4075e20cfcc8733db3d2167110d75a8dcbdcf13a7b019587ff0784bb868", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking zerocopy v0.7.26 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling rustls v0.21.9 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking webpki-roots v0.25.3 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling libgit2-sys v0.14.2+1.5.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Compiling sqlformat v0.2.2 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling vergen v7.5.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling enum-iterator-derive v1.2.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Compiling atomic-write-file v0.1.0 [INFO] [stderr] Compiling enum-iterator v1.4.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling sysinfo v0.27.8 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling serenity v0.12.0-rc (https://github.com/serenity-rs/serenity?branch=next#fdf9f376) [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking raw-cpuid v10.7.0 [INFO] [stderr] Compiling command_attr v0.5.0 (https://github.com/serenity-rs/serenity?branch=next#fdf9f376) [INFO] [stderr] Checking concurrent-queue v2.3.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking typemap_rev v0.3.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Checking checked_int_cast v1.0.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Compiling moka v0.11.3 [INFO] [stderr] Checking quanta v0.11.1 [INFO] [stderr] Compiling ts-rs-macros v7.0.0 [INFO] [stderr] Checking qrcode v0.12.0 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Compiling poise_macros v0.5.5 (https://github.com/serenity-rs/poise?branch=serenity-next#7844c033) [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling utoipa-gen v4.1.0 [INFO] [stderr] Checking serde_path_to_error v0.1.14 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Checking triomphe v0.1.9 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking ts-rs v7.0.0 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking serde_yaml v0.9.27 [INFO] [stderr] Checking tower-http v0.3.5 [INFO] [stderr] Checking thotp v0.1.11 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling axum-macros v0.3.8 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking utoipa v4.1.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking sqlx-core v0.7.3 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.22 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking sqlx-postgres v0.7.3 [INFO] [stderr] Compiling git2 v0.16.1 [INFO] [stderr] Compiling sqlx-macros-core v0.7.3 [INFO] [stderr] Compiling bot v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling sqlx-macros v0.7.3 [INFO] [stderr] Checking sqlx v0.7.3 [INFO] [stderr] Checking poise v0.5.5 (https://github.com/serenity-rs/poise?branch=serenity-next#7844c033) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/admin.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let subject_rows = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 18 | | "SELECT bot_id, uptime, total_uptime FROM bots WHERE type = 'approved' OR type = 'certified'" [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/admin.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let subject_rows = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 18 | | "SELECT bot_id, uptime, total_uptime FROM bots WHERE type = 'approved' OR type = 'certified'" [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/checks.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let staff = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 38 | | "SELECT staff FROM users WHERE user_id = $1", [INFO] [stdout] 39 | | ctx.author().id.to_string() [INFO] [stdout] 40 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/checks.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let staff = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 53 | | "SELECT staff_onboard_state FROM users WHERE user_id = $1", [INFO] [stdout] 54 | | ctx.author().id.to_string() [INFO] [stdout] 55 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/checks.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let staff = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 68 | | "SELECT admin, iblhdev FROM users WHERE user_id = $1", [INFO] [stdout] 69 | | ctx.author().id.to_string() [INFO] [stdout] 70 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/checks.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let staff = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 38 | | "SELECT staff FROM users WHERE user_id = $1", [INFO] [stdout] 39 | | ctx.author().id.to_string() [INFO] [stdout] 40 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/checks.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let staff = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 53 | | "SELECT staff_onboard_state FROM users WHERE user_id = $1", [INFO] [stdout] 54 | | ctx.author().id.to_string() [INFO] [stdout] 55 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/checks.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let staff = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 68 | | "SELECT admin, iblhdev FROM users WHERE user_id = $1", [INFO] [stdout] 69 | | ctx.author().id.to_string() [INFO] [stdout] 70 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/impls/dovewing.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 23 | | "SELECT username, display_name, avatar, bot FROM internal_user_cache__discord WHERE id = $1", [INFO] [stdout] 24 | | user_id [INFO] [stdout] 25 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/impls/utils.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | let owner_rec = sqlx::query!("SELECT owner FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/impls/utils.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | sqlx::query!("SELECT team_owner FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/impls/utils.rs:98:30 [INFO] [stdout] | [INFO] [stdout] 98 | let team_owner = sqlx::query!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 99 | | "SELECT team_owner FROM servers WHERE server_id = $1", [INFO] [stdout] 100 | | target_id [INFO] [stdout] 101 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/impls/utils.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | let team_members = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 121 | | "SELECT user_id, mentionable FROM team_members WHERE team_id = $1", [INFO] [stdout] 122 | | team_id [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/impls/utils.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | let owned = sqlx::query!("SELECT bot_id, type FROM bots WHERE owner = $1", user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/impls/utils.rs:182:22 [INFO] [stdout] | [INFO] [stdout] 182 | let user_teams = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 183 | | "SELECT team_id FROM team_members WHERE user_id = $1", [INFO] [stdout] 184 | | user_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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/impls/utils.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 191 | let team_bots = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 192 | | "SELECT bot_id, type FROM bots WHERE team_owner = $1", [INFO] [stdout] 193 | | team.team_id [INFO] [stdout] 194 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/auth.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / sqlx::query!( [INFO] [stdout] 13 | | "DELETE FROM staffpanel__authchain WHERE created_at < NOW() - INTERVAL '1 hour'" [INFO] [stdout] 14 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/auth.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / sqlx::query!( [INFO] [stdout] 20 | | "DELETE FROM staffpanel__authchain WHERE state = 'pending' AND created_at < NOW() - INTERVAL '5 minutes'" [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/auth.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let count = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 26 | | "SELECT COUNT(*) FROM staffpanel__authchain WHERE token = $1", [INFO] [stdout] 27 | | token [INFO] [stdout] 28 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/auth.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 39 | | "SELECT user_id, created_at, state FROM staffpanel__authchain WHERE token = $1", [INFO] [stdout] 40 | | token [INFO] [stdout] 41 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/auth.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let perms = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 67 | | "SELECT staff, admin, hadmin, ibldev, iblhdev, owner FROM users WHERE user_id = $1", [INFO] [stdout] 68 | | user_id [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / sqlx::query!( [INFO] [stdout] 94 | | "CREATE TABLE IF NOT EXISTS staffpanel__authchain ( [INFO] [stdout] 95 | | itag UUID NOT NULL UNIQUE DEFAULT uuid_generate_v4(), [INFO] [stdout] 96 | | paneldata_ref UUID NOT NULL REFERENCES staffpanel__paneldata(itag) ON DELETE CASCADE, [INFO] [stdout] ... | [INFO] [stdout] 102 | | )" [INFO] [stdout] 103 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | / sqlx::query!( [INFO] [stdout] 109 | | "CREATE TABLE IF NOT EXISTS staffpanel__paneldata ( [INFO] [stdout] 110 | | itag UUID NOT NULL UNIQUE DEFAULT uuid_generate_v4(), [INFO] [stdout] 111 | | user_id TEXT PRIMARY KEY REFERENCES users(user_id) ON DELETE CASCADE, [INFO] [stdout] ... | [INFO] [stdout] 115 | | )" [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/impls/dovewing.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 23 | | "SELECT username, display_name, avatar, bot FROM internal_user_cache__discord WHERE id = $1", [INFO] [stdout] 24 | | user_id [INFO] [stdout] 25 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/impls/utils.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | let owner_rec = sqlx::query!("SELECT owner FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/impls/utils.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | sqlx::query!("SELECT team_owner FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/impls/utils.rs:98:30 [INFO] [stdout] | [INFO] [stdout] 98 | let team_owner = sqlx::query!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 99 | | "SELECT team_owner FROM servers WHERE server_id = $1", [INFO] [stdout] 100 | | target_id [INFO] [stdout] 101 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/impls/utils.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | let team_members = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 121 | | "SELECT user_id, mentionable FROM team_members WHERE team_id = $1", [INFO] [stdout] 122 | | team_id [INFO] [stdout] 123 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/impls/utils.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | let owned = sqlx::query!("SELECT bot_id, type FROM bots WHERE owner = $1", user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/impls/utils.rs:182:22 [INFO] [stdout] | [INFO] [stdout] 182 | let user_teams = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 183 | | "SELECT team_id FROM team_members WHERE user_id = $1", [INFO] [stdout] 184 | | user_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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/impls/utils.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 191 | let team_bots = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 192 | | "SELECT bot_id, type FROM bots WHERE team_owner = $1", [INFO] [stdout] 193 | | team.team_id [INFO] [stdout] 194 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/auth.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / sqlx::query!( [INFO] [stdout] 13 | | "DELETE FROM staffpanel__authchain WHERE created_at < NOW() - INTERVAL '1 hour'" [INFO] [stdout] 14 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/auth.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / sqlx::query!( [INFO] [stdout] 20 | | "DELETE FROM staffpanel__authchain WHERE state = 'pending' AND created_at < NOW() - INTERVAL '5 minutes'" [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/auth.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let count = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 26 | | "SELECT COUNT(*) FROM staffpanel__authchain WHERE token = $1", [INFO] [stdout] 27 | | token [INFO] [stdout] 28 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/auth.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 39 | | "SELECT user_id, created_at, state FROM staffpanel__authchain WHERE token = $1", [INFO] [stdout] 40 | | token [INFO] [stdout] 41 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/auth.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let perms = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 67 | | "SELECT staff, admin, hadmin, ibldev, iblhdev, owner FROM users WHERE user_id = $1", [INFO] [stdout] 68 | | user_id [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / sqlx::query!( [INFO] [stdout] 94 | | "CREATE TABLE IF NOT EXISTS staffpanel__authchain ( [INFO] [stdout] 95 | | itag UUID NOT NULL UNIQUE DEFAULT uuid_generate_v4(), [INFO] [stdout] 96 | | paneldata_ref UUID NOT NULL REFERENCES staffpanel__paneldata(itag) ON DELETE CASCADE, [INFO] [stdout] ... | [INFO] [stdout] 102 | | )" [INFO] [stdout] 103 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | / sqlx::query!( [INFO] [stdout] 109 | | "CREATE TABLE IF NOT EXISTS staffpanel__paneldata ( [INFO] [stdout] 110 | | itag UUID NOT NULL UNIQUE DEFAULT uuid_generate_v4(), [INFO] [stdout] 111 | | user_id TEXT PRIMARY KEY REFERENCES users(user_id) ON DELETE CASCADE, [INFO] [stdout] ... | [INFO] [stdout] 115 | | )" [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:449:23 [INFO] [stdout] | [INFO] [stdout] 449 | let rec = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 450 | | "SELECT staff FROM users WHERE user_id = $1", [INFO] [stdout] 451 | | user.id.to_string() [INFO] [stdout] 452 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | / sqlx::query!( [INFO] [stdout] 464 | | "DELETE FROM staffpanel__authchain WHERE user_id = $1", [INFO] [stdout] 465 | | user.id.to_string() [INFO] [stdout] 466 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:476:25 [INFO] [stdout] | [INFO] [stdout] 476 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 477 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 478 | | user.id.to_string() [INFO] [stdout] 479 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | / sqlx::query!( [INFO] [stdout] 492 | | "INSERT INTO staffpanel__paneldata (user_id, mfa_secret) VALUES ($1, $2) RETURNING itag", [INFO] [stdout] 493 | | user.id.to_string(), [INFO] [stdout] 494 | | temp_secret_enc [INFO] [stdout] 495 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | / sqlx::query!( [INFO] [stdout] 502 | | "SELECT itag FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 503 | | user.id.to_string() [INFO] [stdout] 504 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | / sqlx::query!( [INFO] [stdout] 512 | | "INSERT INTO staffpanel__authchain (user_id, paneldata_ref, token, popplio_token) VALUES ($1, $2, $3, $4)", [INFO] [stdout] 513 | | user.id.to_string(), [INFO] [stdout] 514 | | itag, [INFO] [stdout] 515 | | token, [INFO] [stdout] 516 | | crate::impls::crypto::gen_random(2048) [INFO] [stdout] 517 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:541:25 [INFO] [stdout] | [INFO] [stdout] 541 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 542 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 543 | | auth_data.user_id [INFO] [stdout] 544 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:560:24 [INFO] [stdout] | [INFO] [stdout] 560 | let mrec = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 561 | | "SELECT mfa_verified FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 562 | | auth_data.user_id [INFO] [stdout] 563 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | / sqlx::query!( [INFO] [stdout] 574 | | "UPDATE staffpanel__paneldata SET mfa_secret = $2 WHERE user_id = $1", [INFO] [stdout] 575 | | auth_data.user_id, [INFO] [stdout] 576 | | secret [INFO] [stdout] 577 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:633:25 [INFO] [stdout] | [INFO] [stdout] 633 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 634 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 635 | | auth_data.user_id [INFO] [stdout] 636 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:650:26 [INFO] [stdout] | [INFO] [stdout] 650 | let secret = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 651 | | "SELECT mfa_secret FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 652 | | auth_data.user_id [INFO] [stdout] 653 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:671:13 [INFO] [stdout] | [INFO] [stdout] 671 | / sqlx::query!( [INFO] [stdout] 672 | | "UPDATE staffpanel__authchain SET state = 'active' WHERE token = $1", [INFO] [stdout] 673 | | login_token [INFO] [stdout] 674 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | / sqlx::query!( [INFO] [stdout] 680 | | "UPDATE staffpanel__paneldata SET mfa_verified = TRUE WHERE user_id = $1", [INFO] [stdout] 681 | | auth_data.user_id [INFO] [stdout] 682 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:698:25 [INFO] [stdout] | [INFO] [stdout] 698 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 699 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 700 | | auth_data.user_id [INFO] [stdout] 701 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:715:26 [INFO] [stdout] | [INFO] [stdout] 715 | let secret = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 716 | | "SELECT mfa_secret FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 717 | | auth_data.user_id [INFO] [stdout] 718 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:736:13 [INFO] [stdout] | [INFO] [stdout] 736 | / sqlx::query!( [INFO] [stdout] 737 | | "UPDATE staffpanel__paneldata SET mfa_verified = FALSE WHERE user_id = $1", [INFO] [stdout] 738 | | auth_data.user_id [INFO] [stdout] 739 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:745:13 [INFO] [stdout] | [INFO] [stdout] 745 | / sqlx::query!( [INFO] [stdout] 746 | | "DELETE FROM staffpanel__authchain WHERE user_id = $1", [INFO] [stdout] 747 | | auth_data.user_id [INFO] [stdout] 748 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:759:23 [INFO] [stdout] | [INFO] [stdout] 759 | let row = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 760 | | "DELETE FROM staffpanel__authchain WHERE token = $1", [INFO] [stdout] 761 | | login_token [INFO] [stdout] 762 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:833:25 [INFO] [stdout] | [INFO] [stdout] 833 | let queue = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 834 | | "SELECT bot_id, client_id, last_claimed, claimed_by, type, approval_note, short, [INFO] [stdout] 835 | | invite, votes, shards, library, invite_clicks, clicks, servers [INFO] [stdout] 836 | | FROM bots WHERE type = 'pending' OR type = 'claimed' ORDER BY created_at" [INFO] [stdout] 837 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:942:29 [INFO] [stdout] | [INFO] [stdout] 942 | let perms = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 943 | | "SELECT owner, hadmin, iblhdev, admin, staff FROM users WHERE user_id = $1", [INFO] [stdout] 944 | | auth_data.user_id [INFO] [stdout] 945 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1036:33 [INFO] [stdout] | [INFO] [stdout] 1036 | let queue = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 1037 | | " [INFO] [stdout] 1038 | | SELECT bot_id, client_id, type, votes, shards, library, invite_clicks, clicks, [INFO] [stdout] 1039 | | servers, last_claimed, claimed_by, approval_note, short, invite FROM bots [INFO] [stdout] ... | [INFO] [stdout] 1044 | | format!("%{}%", query) [INFO] [stdout] 1045 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1089:33 [INFO] [stdout] | [INFO] [stdout] 1089 | let queue = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 1090 | | " [INFO] [stdout] 1091 | | SELECT server_id, name, avatar, total_members, online_members, short, type, votes, invite_clicks, [INFO] [stdout] 1092 | | clicks, nsfw, tags, premium, claimed_by, last_claimed FROM servers [INFO] [stdout] ... | [INFO] [stdout] 1096 | | format!("%{}%", query) [INFO] [stdout] 1097 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1853:43 [INFO] [stdout] | [INFO] [stdout] 1853 | let partner_type_exists = sqlx::query!( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 1854 | | "SELECT id FROM partner_types WHERE id = $1", [INFO] [stdout] 1855 | | partner.r#type [INFO] [stdout] 1856 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1911:35 [INFO] [stdout] | [INFO] [stdout] 1911 | let user_exists = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1912 | | "SELECT user_id FROM users WHERE user_id = $1", [INFO] [stdout] 1913 | | partner.user_id [INFO] [stdout] 1914 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1928:32 [INFO] [stdout] | [INFO] [stdout] 1928 | let prec = sqlx::query!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1929 | | "SELECT id, name, short, links, type, created_at, user_id FROM partners" [INFO] [stdout] 1930 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:449:23 [INFO] [stdout] | [INFO] [stdout] 449 | let rec = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 450 | | "SELECT staff FROM users WHERE user_id = $1", [INFO] [stdout] 451 | | user.id.to_string() [INFO] [stdout] 452 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1949:33 [INFO] [stdout] | [INFO] [stdout] 1949 | let ptrec = sqlx::query!("SELECT id, name, short, icon, created_at FROM partner_types") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1973:42 [INFO] [stdout] | [INFO] [stdout] 1973 | let partner_exists = sqlx::query!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1974 | | "SELECT id FROM partners WHERE id = $1", [INFO] [stdout] 1975 | | partner.id [INFO] [stdout] 1976 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | / sqlx::query!( [INFO] [stdout] 464 | | "DELETE FROM staffpanel__authchain WHERE user_id = $1", [INFO] [stdout] 465 | | user.id.to_string() [INFO] [stdout] 466 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1999:21 [INFO] [stdout] | [INFO] [stdout] 1999 | / sqlx::query!( [INFO] [stdout] 2000 | | "INSERT INTO partners (id, name, short, links, type, user_id) VALUES ($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 2001 | | partner.id, [INFO] [stdout] 2002 | | partner.name, [INFO] [stdout] ... | [INFO] [stdout] 2006 | | partner.user_id [INFO] [stdout] 2007 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:476:25 [INFO] [stdout] | [INFO] [stdout] 476 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 477 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 478 | | user.id.to_string() [INFO] [stdout] 479 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2016:42 [INFO] [stdout] | [INFO] [stdout] 2016 | let partner_exists = sqlx::query!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 2017 | | "SELECT id FROM partners WHERE id = $1", [INFO] [stdout] 2018 | | partner.id [INFO] [stdout] 2019 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | / sqlx::query!( [INFO] [stdout] 492 | | "INSERT INTO staffpanel__paneldata (user_id, mfa_secret) VALUES ($1, $2) RETURNING itag", [INFO] [stdout] 493 | | user.id.to_string(), [INFO] [stdout] 494 | | temp_secret_enc [INFO] [stdout] 495 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2042:21 [INFO] [stdout] | [INFO] [stdout] 2042 | / sqlx::query!( [INFO] [stdout] 2043 | | "UPDATE partners SET name = $2, short = $3, links = $4, type = $5, user_id = $6 WHERE id = $1", [INFO] [stdout] 2044 | | partner.id, [INFO] [stdout] 2045 | | partner.name, [INFO] [stdout] ... | [INFO] [stdout] 2049 | | partner.user_id [INFO] [stdout] 2050 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | / sqlx::query!( [INFO] [stdout] 502 | | "SELECT itag FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 503 | | user.id.to_string() [INFO] [stdout] 504 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2059:42 [INFO] [stdout] | [INFO] [stdout] 2059 | let partner_exists = sqlx::query!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 2060 | | "SELECT id FROM partners WHERE id = $1", [INFO] [stdout] 2061 | | id [INFO] [stdout] 2062 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2111:21 [INFO] [stdout] | [INFO] [stdout] 2111 | sqlx::query!("DELETE FROM partners 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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | / sqlx::query!( [INFO] [stdout] 512 | | "INSERT INTO staffpanel__authchain (user_id, paneldata_ref, token, popplio_token) VALUES ($1, $2, $3, $4)", [INFO] [stdout] 513 | | user.id.to_string(), [INFO] [stdout] 514 | | itag, [INFO] [stdout] 515 | | token, [INFO] [stdout] 516 | | crate::impls::crypto::gen_random(2048) [INFO] [stdout] 517 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:541:25 [INFO] [stdout] | [INFO] [stdout] 541 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 542 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 543 | | auth_data.user_id [INFO] [stdout] 544 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:560:24 [INFO] [stdout] | [INFO] [stdout] 560 | let mrec = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 561 | | "SELECT mfa_verified FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 562 | | auth_data.user_id [INFO] [stdout] 563 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | / sqlx::query!( [INFO] [stdout] 574 | | "UPDATE staffpanel__paneldata SET mfa_secret = $2 WHERE user_id = $1", [INFO] [stdout] 575 | | auth_data.user_id, [INFO] [stdout] 576 | | secret [INFO] [stdout] 577 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:633:25 [INFO] [stdout] | [INFO] [stdout] 633 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 634 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 635 | | auth_data.user_id [INFO] [stdout] 636 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2135:32 [INFO] [stdout] | [INFO] [stdout] 2135 | ... let rows = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 2136 | | ... "SELECT version, added, updated, removed, github_html, created_at, extra_description, prerelease, published FROM changelogs ORD... [INFO] [stdout] 2137 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:650:26 [INFO] [stdout] | [INFO] [stdout] 650 | let secret = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 651 | | "SELECT mfa_secret FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 652 | | auth_data.user_id [INFO] [stdout] 653 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2162:24 [INFO] [stdout] | [INFO] [stdout] 2162 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2163 | | "SELECT COUNT(*) FROM changelogs WHERE version = $1", [INFO] [stdout] 2164 | | version [INFO] [stdout] 2165 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:671:13 [INFO] [stdout] | [INFO] [stdout] 671 | / sqlx::query!( [INFO] [stdout] 672 | | "UPDATE staffpanel__authchain SET state = 'active' WHERE token = $1", [INFO] [stdout] 673 | | login_token [INFO] [stdout] 674 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2180:21 [INFO] [stdout] | [INFO] [stdout] 2180 | / ... sqlx::query!( [INFO] [stdout] 2181 | | ... "INSERT INTO changelogs (version, extra_description, prerelease, added, updated, removed) VALUES ($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 2182 | | ... version, [INFO] [stdout] 2183 | | ... extra_description, [INFO] [stdout] ... | [INFO] [stdout] 2187 | | ... &removed, [INFO] [stdout] 2188 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | / sqlx::query!( [INFO] [stdout] 680 | | "UPDATE staffpanel__paneldata SET mfa_verified = TRUE WHERE user_id = $1", [INFO] [stdout] 681 | | auth_data.user_id [INFO] [stdout] 682 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2197:24 [INFO] [stdout] | [INFO] [stdout] 2197 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2198 | | "SELECT COUNT(*) FROM changelogs WHERE version = $1", [INFO] [stdout] 2199 | | version [INFO] [stdout] 2200 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:698:25 [INFO] [stdout] | [INFO] [stdout] 698 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 699 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 700 | | auth_data.user_id [INFO] [stdout] 701 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:715:26 [INFO] [stdout] | [INFO] [stdout] 715 | let secret = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 716 | | "SELECT mfa_secret FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 717 | | auth_data.user_id [INFO] [stdout] 718 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2215:21 [INFO] [stdout] | [INFO] [stdout] 2215 | / ... sqlx::query!( [INFO] [stdout] 2216 | | ... "UPDATE changelogs SET extra_description = $2, github_html = $3, prerelease = $4, added = $5, updated = $6, removed = $7, publi... [INFO] [stdout] 2217 | | ... version, [INFO] [stdout] 2218 | | ... extra_description, [INFO] [stdout] ... | [INFO] [stdout] 2224 | | ... published [INFO] [stdout] 2225 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:736:13 [INFO] [stdout] | [INFO] [stdout] 736 | / sqlx::query!( [INFO] [stdout] 737 | | "UPDATE staffpanel__paneldata SET mfa_verified = FALSE WHERE user_id = $1", [INFO] [stdout] 738 | | auth_data.user_id [INFO] [stdout] 739 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2234:24 [INFO] [stdout] | [INFO] [stdout] 2234 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2235 | | "SELECT COUNT(*) FROM changelogs WHERE version = $1", [INFO] [stdout] 2236 | | version [INFO] [stdout] 2237 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:745:13 [INFO] [stdout] | [INFO] [stdout] 745 | / sqlx::query!( [INFO] [stdout] 746 | | "DELETE FROM staffpanel__authchain WHERE user_id = $1", [INFO] [stdout] 747 | | auth_data.user_id [INFO] [stdout] 748 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2252:21 [INFO] [stdout] | [INFO] [stdout] 2252 | / sqlx::query!( [INFO] [stdout] 2253 | | "DELETE FROM changelogs WHERE version = $1", [INFO] [stdout] 2254 | | version [INFO] [stdout] 2255 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2282:32 [INFO] [stdout] | [INFO] [stdout] 2282 | ... let rows = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 2283 | | ... "SELECT itag, slug, title, description, user_id, content, created_at, draft, tags FROM blogs ORDER BY created_at DESC" [INFO] [stdout] 2284 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:759:23 [INFO] [stdout] | [INFO] [stdout] 759 | let row = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 760 | | "DELETE FROM staffpanel__authchain WHERE token = $1", [INFO] [stdout] 761 | | login_token [INFO] [stdout] 762 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2309:21 [INFO] [stdout] | [INFO] [stdout] 2309 | / sqlx::query!( [INFO] [stdout] 2310 | | "INSERT INTO blogs (slug, title, description, content, tags, user_id) VALUES ($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 2311 | | slug, [INFO] [stdout] 2312 | | title, [INFO] [stdout] ... | [INFO] [stdout] 2316 | | &auth.user_id, [INFO] [stdout] 2317 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:833:25 [INFO] [stdout] | [INFO] [stdout] 833 | let queue = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 834 | | "SELECT bot_id, client_id, last_claimed, claimed_by, type, approval_note, short, [INFO] [stdout] 835 | | invite, votes, shards, library, invite_clicks, clicks, servers [INFO] [stdout] 836 | | FROM bots WHERE type = 'pending' OR type = 'claimed' ORDER BY created_at" [INFO] [stdout] 837 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2328:24 [INFO] [stdout] | [INFO] [stdout] 2328 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2329 | | "SELECT COUNT(*) FROM blogs WHERE itag = $1", [INFO] [stdout] 2330 | | uuid [INFO] [stdout] 2331 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:942:29 [INFO] [stdout] | [INFO] [stdout] 942 | let perms = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 943 | | "SELECT owner, hadmin, iblhdev, admin, staff FROM users WHERE user_id = $1", [INFO] [stdout] 944 | | auth_data.user_id [INFO] [stdout] 945 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2346:21 [INFO] [stdout] | [INFO] [stdout] 2346 | / sqlx::query!( [INFO] [stdout] 2347 | | "UPDATE blogs SET slug = $2, title = $3, description = $4, content = $5, tags = $6, draft = $7 WHERE itag = $1", [INFO] [stdout] 2348 | | uuid, [INFO] [stdout] 2349 | | slug, [INFO] [stdout] ... | [INFO] [stdout] 2354 | | draft [INFO] [stdout] 2355 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1036:33 [INFO] [stdout] | [INFO] [stdout] 1036 | let queue = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 1037 | | " [INFO] [stdout] 1038 | | SELECT bot_id, client_id, type, votes, shards, library, invite_clicks, clicks, [INFO] [stdout] 1039 | | servers, last_claimed, claimed_by, approval_note, short, invite FROM bots [INFO] [stdout] ... | [INFO] [stdout] 1044 | | format!("%{}%", query) [INFO] [stdout] 1045 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1089:33 [INFO] [stdout] | [INFO] [stdout] 1089 | let queue = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 1090 | | " [INFO] [stdout] 1091 | | SELECT server_id, name, avatar, total_members, online_members, short, type, votes, invite_clicks, [INFO] [stdout] 1092 | | clicks, nsfw, tags, premium, claimed_by, last_claimed FROM servers [INFO] [stdout] ... | [INFO] [stdout] 1096 | | format!("%{}%", query) [INFO] [stdout] 1097 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2365:24 [INFO] [stdout] | [INFO] [stdout] 2365 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2366 | | "SELECT COUNT(*) FROM blogs WHERE itag = $1", [INFO] [stdout] 2367 | | uuid [INFO] [stdout] 2368 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1853:43 [INFO] [stdout] | [INFO] [stdout] 1853 | let partner_type_exists = sqlx::query!( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 1854 | | "SELECT id FROM partner_types WHERE id = $1", [INFO] [stdout] 1855 | | partner.r#type [INFO] [stdout] 1856 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2382:21 [INFO] [stdout] | [INFO] [stdout] 2382 | / sqlx::query!( [INFO] [stdout] 2383 | | "DELETE FROM blogs WHERE itag = $1", [INFO] [stdout] 2384 | | uuid [INFO] [stdout] 2385 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1911:35 [INFO] [stdout] | [INFO] [stdout] 1911 | let user_exists = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1912 | | "SELECT user_id FROM users WHERE user_id = $1", [INFO] [stdout] 1913 | | partner.user_id [INFO] [stdout] 1914 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2417:25 [INFO] [stdout] | [INFO] [stdout] 2417 | let query = sqlx::query!("SELECT popplio_token FROM staffpanel__authchain WHERE token = $1", login_token) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1928:32 [INFO] [stdout] | [INFO] [stdout] 1928 | let prec = sqlx::query!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1929 | | "SELECT id, name, short, links, type, created_at, user_id FROM partners" [INFO] [stdout] 1930 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1949:33 [INFO] [stdout] | [INFO] [stdout] 1949 | let ptrec = sqlx::query!("SELECT id, name, short, icon, created_at FROM partner_types") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1973:42 [INFO] [stdout] | [INFO] [stdout] 1973 | let partner_exists = sqlx::query!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1974 | | "SELECT id FROM partners WHERE id = $1", [INFO] [stdout] 1975 | | partner.id [INFO] [stdout] 1976 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:449:23 [INFO] [stdout] | [INFO] [stdout] 449 | let rec = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 450 | | "SELECT staff FROM users WHERE user_id = $1", [INFO] [stdout] 451 | | user.id.to_string() [INFO] [stdout] 452 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1999:21 [INFO] [stdout] | [INFO] [stdout] 1999 | / sqlx::query!( [INFO] [stdout] 2000 | | "INSERT INTO partners (id, name, short, links, type, user_id) VALUES ($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 2001 | | partner.id, [INFO] [stdout] 2002 | | partner.name, [INFO] [stdout] ... | [INFO] [stdout] 2006 | | partner.user_id [INFO] [stdout] 2007 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | / sqlx::query!( [INFO] [stdout] 464 | | "DELETE FROM staffpanel__authchain WHERE user_id = $1", [INFO] [stdout] 465 | | user.id.to_string() [INFO] [stdout] 466 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2016:42 [INFO] [stdout] | [INFO] [stdout] 2016 | let partner_exists = sqlx::query!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 2017 | | "SELECT id FROM partners WHERE id = $1", [INFO] [stdout] 2018 | | partner.id [INFO] [stdout] 2019 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:476:25 [INFO] [stdout] | [INFO] [stdout] 476 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 477 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 478 | | user.id.to_string() [INFO] [stdout] 479 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | / sqlx::query!( [INFO] [stdout] 492 | | "INSERT INTO staffpanel__paneldata (user_id, mfa_secret) VALUES ($1, $2) RETURNING itag", [INFO] [stdout] 493 | | user.id.to_string(), [INFO] [stdout] 494 | | temp_secret_enc [INFO] [stdout] 495 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | / sqlx::query!( [INFO] [stdout] 502 | | "SELECT itag FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 503 | | user.id.to_string() [INFO] [stdout] 504 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2042:21 [INFO] [stdout] | [INFO] [stdout] 2042 | / sqlx::query!( [INFO] [stdout] 2043 | | "UPDATE partners SET name = $2, short = $3, links = $4, type = $5, user_id = $6 WHERE id = $1", [INFO] [stdout] 2044 | | partner.id, [INFO] [stdout] 2045 | | partner.name, [INFO] [stdout] ... | [INFO] [stdout] 2049 | | partner.user_id [INFO] [stdout] 2050 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2059:42 [INFO] [stdout] | [INFO] [stdout] 2059 | let partner_exists = sqlx::query!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 2060 | | "SELECT id FROM partners WHERE id = $1", [INFO] [stdout] 2061 | | id [INFO] [stdout] 2062 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | / sqlx::query!( [INFO] [stdout] 512 | | "INSERT INTO staffpanel__authchain (user_id, paneldata_ref, token, popplio_token) VALUES ($1, $2, $3, $4)", [INFO] [stdout] 513 | | user.id.to_string(), [INFO] [stdout] 514 | | itag, [INFO] [stdout] 515 | | token, [INFO] [stdout] 516 | | crate::impls::crypto::gen_random(2048) [INFO] [stdout] 517 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2111:21 [INFO] [stdout] | [INFO] [stdout] 2111 | sqlx::query!("DELETE FROM partners 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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2135:32 [INFO] [stdout] | [INFO] [stdout] 2135 | ... let rows = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 2136 | | ... "SELECT version, added, updated, removed, github_html, created_at, extra_description, prerelease, published FROM changelogs ORD... [INFO] [stdout] 2137 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2162:24 [INFO] [stdout] | [INFO] [stdout] 2162 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2163 | | "SELECT COUNT(*) FROM changelogs WHERE version = $1", [INFO] [stdout] 2164 | | version [INFO] [stdout] 2165 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:541:25 [INFO] [stdout] | [INFO] [stdout] 541 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 542 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 543 | | auth_data.user_id [INFO] [stdout] 544 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:560:24 [INFO] [stdout] | [INFO] [stdout] 560 | let mrec = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 561 | | "SELECT mfa_verified FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 562 | | auth_data.user_id [INFO] [stdout] 563 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | / sqlx::query!( [INFO] [stdout] 574 | | "UPDATE staffpanel__paneldata SET mfa_secret = $2 WHERE user_id = $1", [INFO] [stdout] 575 | | auth_data.user_id, [INFO] [stdout] 576 | | secret [INFO] [stdout] 577 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:633:25 [INFO] [stdout] | [INFO] [stdout] 633 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 634 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 635 | | auth_data.user_id [INFO] [stdout] 636 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:650:26 [INFO] [stdout] | [INFO] [stdout] 650 | let secret = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 651 | | "SELECT mfa_secret FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 652 | | auth_data.user_id [INFO] [stdout] 653 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2180:21 [INFO] [stdout] | [INFO] [stdout] 2180 | / ... sqlx::query!( [INFO] [stdout] 2181 | | ... "INSERT INTO changelogs (version, extra_description, prerelease, added, updated, removed) VALUES ($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 2182 | | ... version, [INFO] [stdout] 2183 | | ... extra_description, [INFO] [stdout] ... | [INFO] [stdout] 2187 | | ... &removed, [INFO] [stdout] 2188 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:671:13 [INFO] [stdout] | [INFO] [stdout] 671 | / sqlx::query!( [INFO] [stdout] 672 | | "UPDATE staffpanel__authchain SET state = 'active' WHERE token = $1", [INFO] [stdout] 673 | | login_token [INFO] [stdout] 674 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2197:24 [INFO] [stdout] | [INFO] [stdout] 2197 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2198 | | "SELECT COUNT(*) FROM changelogs WHERE version = $1", [INFO] [stdout] 2199 | | version [INFO] [stdout] 2200 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2215:21 [INFO] [stdout] | [INFO] [stdout] 2215 | / ... sqlx::query!( [INFO] [stdout] 2216 | | ... "UPDATE changelogs SET extra_description = $2, github_html = $3, prerelease = $4, added = $5, updated = $6, removed = $7, publi... [INFO] [stdout] 2217 | | ... version, [INFO] [stdout] 2218 | | ... extra_description, [INFO] [stdout] ... | [INFO] [stdout] 2224 | | ... published [INFO] [stdout] 2225 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2234:24 [INFO] [stdout] | [INFO] [stdout] 2234 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2235 | | "SELECT COUNT(*) FROM changelogs WHERE version = $1", [INFO] [stdout] 2236 | | version [INFO] [stdout] 2237 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | / sqlx::query!( [INFO] [stdout] 680 | | "UPDATE staffpanel__paneldata SET mfa_verified = TRUE WHERE user_id = $1", [INFO] [stdout] 681 | | auth_data.user_id [INFO] [stdout] 682 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2252:21 [INFO] [stdout] | [INFO] [stdout] 2252 | / sqlx::query!( [INFO] [stdout] 2253 | | "DELETE FROM changelogs WHERE version = $1", [INFO] [stdout] 2254 | | version [INFO] [stdout] 2255 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:698:25 [INFO] [stdout] | [INFO] [stdout] 698 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 699 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 700 | | auth_data.user_id [INFO] [stdout] 701 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:715:26 [INFO] [stdout] | [INFO] [stdout] 715 | let secret = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 716 | | "SELECT mfa_secret FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 717 | | auth_data.user_id [INFO] [stdout] 718 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2282:32 [INFO] [stdout] | [INFO] [stdout] 2282 | ... let rows = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 2283 | | ... "SELECT itag, slug, title, description, user_id, content, created_at, draft, tags FROM blogs ORDER BY created_at DESC" [INFO] [stdout] 2284 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2309:21 [INFO] [stdout] | [INFO] [stdout] 2309 | / sqlx::query!( [INFO] [stdout] 2310 | | "INSERT INTO blogs (slug, title, description, content, tags, user_id) VALUES ($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 2311 | | slug, [INFO] [stdout] 2312 | | title, [INFO] [stdout] ... | [INFO] [stdout] 2316 | | &auth.user_id, [INFO] [stdout] 2317 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:736:13 [INFO] [stdout] | [INFO] [stdout] 736 | / sqlx::query!( [INFO] [stdout] 737 | | "UPDATE staffpanel__paneldata SET mfa_verified = FALSE WHERE user_id = $1", [INFO] [stdout] 738 | | auth_data.user_id [INFO] [stdout] 739 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:745:13 [INFO] [stdout] | [INFO] [stdout] 745 | / sqlx::query!( [INFO] [stdout] 746 | | "DELETE FROM staffpanel__authchain WHERE user_id = $1", [INFO] [stdout] 747 | | auth_data.user_id [INFO] [stdout] 748 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:759:23 [INFO] [stdout] | [INFO] [stdout] 759 | let row = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 760 | | "DELETE FROM staffpanel__authchain WHERE token = $1", [INFO] [stdout] 761 | | login_token [INFO] [stdout] 762 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2328:24 [INFO] [stdout] | [INFO] [stdout] 2328 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2329 | | "SELECT COUNT(*) FROM blogs WHERE itag = $1", [INFO] [stdout] 2330 | | uuid [INFO] [stdout] 2331 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:833:25 [INFO] [stdout] | [INFO] [stdout] 833 | let queue = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 834 | | "SELECT bot_id, client_id, last_claimed, claimed_by, type, approval_note, short, [INFO] [stdout] 835 | | invite, votes, shards, library, invite_clicks, clicks, servers [INFO] [stdout] 836 | | FROM bots WHERE type = 'pending' OR type = 'claimed' ORDER BY created_at" [INFO] [stdout] 837 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:942:29 [INFO] [stdout] | [INFO] [stdout] 942 | let perms = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 943 | | "SELECT owner, hadmin, iblhdev, admin, staff FROM users WHERE user_id = $1", [INFO] [stdout] 944 | | auth_data.user_id [INFO] [stdout] 945 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2346:21 [INFO] [stdout] | [INFO] [stdout] 2346 | / sqlx::query!( [INFO] [stdout] 2347 | | "UPDATE blogs SET slug = $2, title = $3, description = $4, content = $5, tags = $6, draft = $7 WHERE itag = $1", [INFO] [stdout] 2348 | | uuid, [INFO] [stdout] 2349 | | slug, [INFO] [stdout] ... | [INFO] [stdout] 2354 | | draft [INFO] [stdout] 2355 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1036:33 [INFO] [stdout] | [INFO] [stdout] 1036 | let queue = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 1037 | | " [INFO] [stdout] 1038 | | SELECT bot_id, client_id, type, votes, shards, library, invite_clicks, clicks, [INFO] [stdout] 1039 | | servers, last_claimed, claimed_by, approval_note, short, invite FROM bots [INFO] [stdout] ... | [INFO] [stdout] 1044 | | format!("%{}%", query) [INFO] [stdout] 1045 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1089:33 [INFO] [stdout] | [INFO] [stdout] 1089 | let queue = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 1090 | | " [INFO] [stdout] 1091 | | SELECT server_id, name, avatar, total_members, online_members, short, type, votes, invite_clicks, [INFO] [stdout] 1092 | | clicks, nsfw, tags, premium, claimed_by, last_claimed FROM servers [INFO] [stdout] ... | [INFO] [stdout] 1096 | | format!("%{}%", query) [INFO] [stdout] 1097 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1853:43 [INFO] [stdout] | [INFO] [stdout] 1853 | let partner_type_exists = sqlx::query!( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 1854 | | "SELECT id FROM partner_types WHERE id = $1", [INFO] [stdout] 1855 | | partner.r#type [INFO] [stdout] 1856 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2365:24 [INFO] [stdout] | [INFO] [stdout] 2365 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2366 | | "SELECT COUNT(*) FROM blogs WHERE itag = $1", [INFO] [stdout] 2367 | | uuid [INFO] [stdout] 2368 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1911:35 [INFO] [stdout] | [INFO] [stdout] 1911 | let user_exists = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1912 | | "SELECT user_id FROM users WHERE user_id = $1", [INFO] [stdout] 1913 | | partner.user_id [INFO] [stdout] 1914 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1928:32 [INFO] [stdout] | [INFO] [stdout] 1928 | let prec = sqlx::query!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1929 | | "SELECT id, name, short, links, type, created_at, user_id FROM partners" [INFO] [stdout] 1930 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1949:33 [INFO] [stdout] | [INFO] [stdout] 1949 | let ptrec = sqlx::query!("SELECT id, name, short, icon, created_at FROM partner_types") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1973:42 [INFO] [stdout] | [INFO] [stdout] 1973 | let partner_exists = sqlx::query!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1974 | | "SELECT id FROM partners WHERE id = $1", [INFO] [stdout] 1975 | | partner.id [INFO] [stdout] 1976 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2382:21 [INFO] [stdout] | [INFO] [stdout] 2382 | / sqlx::query!( [INFO] [stdout] 2383 | | "DELETE FROM blogs WHERE itag = $1", [INFO] [stdout] 2384 | | uuid [INFO] [stdout] 2385 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2417:25 [INFO] [stdout] | [INFO] [stdout] 2417 | let query = sqlx::query!("SELECT popplio_token FROM staffpanel__authchain WHERE token = $1", login_token) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1999:21 [INFO] [stdout] | [INFO] [stdout] 1999 | / sqlx::query!( [INFO] [stdout] 2000 | | "INSERT INTO partners (id, name, short, links, type, user_id) VALUES ($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 2001 | | partner.id, [INFO] [stdout] 2002 | | partner.name, [INFO] [stdout] ... | [INFO] [stdout] 2006 | | partner.user_id [INFO] [stdout] 2007 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:449:23 [INFO] [stdout] | [INFO] [stdout] 449 | let rec = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 450 | | "SELECT staff FROM users WHERE user_id = $1", [INFO] [stdout] 451 | | user.id.to_string() [INFO] [stdout] 452 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2016:42 [INFO] [stdout] | [INFO] [stdout] 2016 | let partner_exists = sqlx::query!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 2017 | | "SELECT id FROM partners WHERE id = $1", [INFO] [stdout] 2018 | | partner.id [INFO] [stdout] 2019 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | / sqlx::query!( [INFO] [stdout] 464 | | "DELETE FROM staffpanel__authchain WHERE user_id = $1", [INFO] [stdout] 465 | | user.id.to_string() [INFO] [stdout] 466 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2042:21 [INFO] [stdout] | [INFO] [stdout] 2042 | / sqlx::query!( [INFO] [stdout] 2043 | | "UPDATE partners SET name = $2, short = $3, links = $4, type = $5, user_id = $6 WHERE id = $1", [INFO] [stdout] 2044 | | partner.id, [INFO] [stdout] 2045 | | partner.name, [INFO] [stdout] ... | [INFO] [stdout] 2049 | | partner.user_id [INFO] [stdout] 2050 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:476:25 [INFO] [stdout] | [INFO] [stdout] 476 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 477 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 478 | | user.id.to_string() [INFO] [stdout] 479 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2059:42 [INFO] [stdout] | [INFO] [stdout] 2059 | let partner_exists = sqlx::query!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 2060 | | "SELECT id FROM partners WHERE id = $1", [INFO] [stdout] 2061 | | id [INFO] [stdout] 2062 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | / sqlx::query!( [INFO] [stdout] 492 | | "INSERT INTO staffpanel__paneldata (user_id, mfa_secret) VALUES ($1, $2) RETURNING itag", [INFO] [stdout] 493 | | user.id.to_string(), [INFO] [stdout] 494 | | temp_secret_enc [INFO] [stdout] 495 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2111:21 [INFO] [stdout] | [INFO] [stdout] 2111 | sqlx::query!("DELETE FROM partners 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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | / sqlx::query!( [INFO] [stdout] 502 | | "SELECT itag FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 503 | | user.id.to_string() [INFO] [stdout] 504 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2135:32 [INFO] [stdout] | [INFO] [stdout] 2135 | ... let rows = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 2136 | | ... "SELECT version, added, updated, removed, github_html, created_at, extra_description, prerelease, published FROM changelogs ORD... [INFO] [stdout] 2137 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | / sqlx::query!( [INFO] [stdout] 512 | | "INSERT INTO staffpanel__authchain (user_id, paneldata_ref, token, popplio_token) VALUES ($1, $2, $3, $4)", [INFO] [stdout] 513 | | user.id.to_string(), [INFO] [stdout] 514 | | itag, [INFO] [stdout] 515 | | token, [INFO] [stdout] 516 | | crate::impls::crypto::gen_random(2048) [INFO] [stdout] 517 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2162:24 [INFO] [stdout] | [INFO] [stdout] 2162 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2163 | | "SELECT COUNT(*) FROM changelogs WHERE version = $1", [INFO] [stdout] 2164 | | version [INFO] [stdout] 2165 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2180:21 [INFO] [stdout] | [INFO] [stdout] 2180 | / ... sqlx::query!( [INFO] [stdout] 2181 | | ... "INSERT INTO changelogs (version, extra_description, prerelease, added, updated, removed) VALUES ($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 2182 | | ... version, [INFO] [stdout] 2183 | | ... extra_description, [INFO] [stdout] ... | [INFO] [stdout] 2187 | | ... &removed, [INFO] [stdout] 2188 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:541:25 [INFO] [stdout] | [INFO] [stdout] 541 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 542 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 543 | | auth_data.user_id [INFO] [stdout] 544 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2197:24 [INFO] [stdout] | [INFO] [stdout] 2197 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2198 | | "SELECT COUNT(*) FROM changelogs WHERE version = $1", [INFO] [stdout] 2199 | | version [INFO] [stdout] 2200 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:560:24 [INFO] [stdout] | [INFO] [stdout] 560 | let mrec = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 561 | | "SELECT mfa_verified FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 562 | | auth_data.user_id [INFO] [stdout] 563 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | / sqlx::query!( [INFO] [stdout] 574 | | "UPDATE staffpanel__paneldata SET mfa_secret = $2 WHERE user_id = $1", [INFO] [stdout] 575 | | auth_data.user_id, [INFO] [stdout] 576 | | secret [INFO] [stdout] 577 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2215:21 [INFO] [stdout] | [INFO] [stdout] 2215 | / ... sqlx::query!( [INFO] [stdout] 2216 | | ... "UPDATE changelogs SET extra_description = $2, github_html = $3, prerelease = $4, added = $5, updated = $6, removed = $7, publi... [INFO] [stdout] 2217 | | ... version, [INFO] [stdout] 2218 | | ... extra_description, [INFO] [stdout] ... | [INFO] [stdout] 2224 | | ... published [INFO] [stdout] 2225 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:633:25 [INFO] [stdout] | [INFO] [stdout] 633 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 634 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 635 | | auth_data.user_id [INFO] [stdout] 636 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2234:24 [INFO] [stdout] | [INFO] [stdout] 2234 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2235 | | "SELECT COUNT(*) FROM changelogs WHERE version = $1", [INFO] [stdout] 2236 | | version [INFO] [stdout] 2237 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:650:26 [INFO] [stdout] | [INFO] [stdout] 650 | let secret = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 651 | | "SELECT mfa_secret FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 652 | | auth_data.user_id [INFO] [stdout] 653 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2252:21 [INFO] [stdout] | [INFO] [stdout] 2252 | / sqlx::query!( [INFO] [stdout] 2253 | | "DELETE FROM changelogs WHERE version = $1", [INFO] [stdout] 2254 | | version [INFO] [stdout] 2255 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2282:32 [INFO] [stdout] | [INFO] [stdout] 2282 | ... let rows = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 2283 | | ... "SELECT itag, slug, title, description, user_id, content, created_at, draft, tags FROM blogs ORDER BY created_at DESC" [INFO] [stdout] 2284 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:671:13 [INFO] [stdout] | [INFO] [stdout] 671 | / sqlx::query!( [INFO] [stdout] 672 | | "UPDATE staffpanel__authchain SET state = 'active' WHERE token = $1", [INFO] [stdout] 673 | | login_token [INFO] [stdout] 674 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2309:21 [INFO] [stdout] | [INFO] [stdout] 2309 | / sqlx::query!( [INFO] [stdout] 2310 | | "INSERT INTO blogs (slug, title, description, content, tags, user_id) VALUES ($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 2311 | | slug, [INFO] [stdout] 2312 | | title, [INFO] [stdout] ... | [INFO] [stdout] 2316 | | &auth.user_id, [INFO] [stdout] 2317 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | / sqlx::query!( [INFO] [stdout] 680 | | "UPDATE staffpanel__paneldata SET mfa_verified = TRUE WHERE user_id = $1", [INFO] [stdout] 681 | | auth_data.user_id [INFO] [stdout] 682 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2328:24 [INFO] [stdout] | [INFO] [stdout] 2328 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2329 | | "SELECT COUNT(*) FROM blogs WHERE itag = $1", [INFO] [stdout] 2330 | | uuid [INFO] [stdout] 2331 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:698:25 [INFO] [stdout] | [INFO] [stdout] 698 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 699 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 700 | | auth_data.user_id [INFO] [stdout] 701 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:715:26 [INFO] [stdout] | [INFO] [stdout] 715 | let secret = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 716 | | "SELECT mfa_secret FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 717 | | auth_data.user_id [INFO] [stdout] 718 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2346:21 [INFO] [stdout] | [INFO] [stdout] 2346 | / sqlx::query!( [INFO] [stdout] 2347 | | "UPDATE blogs SET slug = $2, title = $3, description = $4, content = $5, tags = $6, draft = $7 WHERE itag = $1", [INFO] [stdout] 2348 | | uuid, [INFO] [stdout] 2349 | | slug, [INFO] [stdout] ... | [INFO] [stdout] 2354 | | draft [INFO] [stdout] 2355 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:736:13 [INFO] [stdout] | [INFO] [stdout] 736 | / sqlx::query!( [INFO] [stdout] 737 | | "UPDATE staffpanel__paneldata SET mfa_verified = FALSE WHERE user_id = $1", [INFO] [stdout] 738 | | auth_data.user_id [INFO] [stdout] 739 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2365:24 [INFO] [stdout] | [INFO] [stdout] 2365 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2366 | | "SELECT COUNT(*) FROM blogs WHERE itag = $1", [INFO] [stdout] 2367 | | uuid [INFO] [stdout] 2368 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:745:13 [INFO] [stdout] | [INFO] [stdout] 745 | / sqlx::query!( [INFO] [stdout] 746 | | "DELETE FROM staffpanel__authchain WHERE user_id = $1", [INFO] [stdout] 747 | | auth_data.user_id [INFO] [stdout] 748 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:759:23 [INFO] [stdout] | [INFO] [stdout] 759 | let row = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 760 | | "DELETE FROM staffpanel__authchain WHERE token = $1", [INFO] [stdout] 761 | | login_token [INFO] [stdout] 762 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:833:25 [INFO] [stdout] | [INFO] [stdout] 833 | let queue = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 834 | | "SELECT bot_id, client_id, last_claimed, claimed_by, type, approval_note, short, [INFO] [stdout] 835 | | invite, votes, shards, library, invite_clicks, clicks, servers [INFO] [stdout] 836 | | FROM bots WHERE type = 'pending' OR type = 'claimed' ORDER BY created_at" [INFO] [stdout] 837 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2382:21 [INFO] [stdout] | [INFO] [stdout] 2382 | / sqlx::query!( [INFO] [stdout] 2383 | | "DELETE FROM blogs WHERE itag = $1", [INFO] [stdout] 2384 | | uuid [INFO] [stdout] 2385 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:942:29 [INFO] [stdout] | [INFO] [stdout] 942 | let perms = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 943 | | "SELECT owner, hadmin, iblhdev, admin, staff FROM users WHERE user_id = $1", [INFO] [stdout] 944 | | auth_data.user_id [INFO] [stdout] 945 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1036:33 [INFO] [stdout] | [INFO] [stdout] 1036 | let queue = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 1037 | | " [INFO] [stdout] 1038 | | SELECT bot_id, client_id, type, votes, shards, library, invite_clicks, clicks, [INFO] [stdout] 1039 | | servers, last_claimed, claimed_by, approval_note, short, invite FROM bots [INFO] [stdout] ... | [INFO] [stdout] 1044 | | format!("%{}%", query) [INFO] [stdout] 1045 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1089:33 [INFO] [stdout] | [INFO] [stdout] 1089 | let queue = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 1090 | | " [INFO] [stdout] 1091 | | SELECT server_id, name, avatar, total_members, online_members, short, type, votes, invite_clicks, [INFO] [stdout] 1092 | | clicks, nsfw, tags, premium, claimed_by, last_claimed FROM servers [INFO] [stdout] ... | [INFO] [stdout] 1096 | | format!("%{}%", query) [INFO] [stdout] 1097 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1853:43 [INFO] [stdout] | [INFO] [stdout] 1853 | let partner_type_exists = sqlx::query!( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 1854 | | "SELECT id FROM partner_types WHERE id = $1", [INFO] [stdout] 1855 | | partner.r#type [INFO] [stdout] 1856 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2417:25 [INFO] [stdout] | [INFO] [stdout] 2417 | let query = sqlx::query!("SELECT popplio_token FROM staffpanel__authchain WHERE token = $1", login_token) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1911:35 [INFO] [stdout] | [INFO] [stdout] 1911 | let user_exists = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1912 | | "SELECT user_id FROM users WHERE user_id = $1", [INFO] [stdout] 1913 | | partner.user_id [INFO] [stdout] 1914 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1928:32 [INFO] [stdout] | [INFO] [stdout] 1928 | let prec = sqlx::query!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1929 | | "SELECT id, name, short, links, type, created_at, user_id FROM partners" [INFO] [stdout] 1930 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1949:33 [INFO] [stdout] | [INFO] [stdout] 1949 | let ptrec = sqlx::query!("SELECT id, name, short, icon, created_at FROM partner_types") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1973:42 [INFO] [stdout] | [INFO] [stdout] 1973 | let partner_exists = sqlx::query!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1974 | | "SELECT id FROM partners WHERE id = $1", [INFO] [stdout] 1975 | | partner.id [INFO] [stdout] 1976 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:449:23 [INFO] [stdout] | [INFO] [stdout] 449 | let rec = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 450 | | "SELECT staff FROM users WHERE user_id = $1", [INFO] [stdout] 451 | | user.id.to_string() [INFO] [stdout] 452 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | / sqlx::query!( [INFO] [stdout] 464 | | "DELETE FROM staffpanel__authchain WHERE user_id = $1", [INFO] [stdout] 465 | | user.id.to_string() [INFO] [stdout] 466 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:476:25 [INFO] [stdout] | [INFO] [stdout] 476 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 477 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 478 | | user.id.to_string() [INFO] [stdout] 479 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | / sqlx::query!( [INFO] [stdout] 492 | | "INSERT INTO staffpanel__paneldata (user_id, mfa_secret) VALUES ($1, $2) RETURNING itag", [INFO] [stdout] 493 | | user.id.to_string(), [INFO] [stdout] 494 | | temp_secret_enc [INFO] [stdout] 495 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | / sqlx::query!( [INFO] [stdout] 502 | | "SELECT itag FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 503 | | user.id.to_string() [INFO] [stdout] 504 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1999:21 [INFO] [stdout] | [INFO] [stdout] 1999 | / sqlx::query!( [INFO] [stdout] 2000 | | "INSERT INTO partners (id, name, short, links, type, user_id) VALUES ($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 2001 | | partner.id, [INFO] [stdout] 2002 | | partner.name, [INFO] [stdout] ... | [INFO] [stdout] 2006 | | partner.user_id [INFO] [stdout] 2007 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2016:42 [INFO] [stdout] | [INFO] [stdout] 2016 | let partner_exists = sqlx::query!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 2017 | | "SELECT id FROM partners WHERE id = $1", [INFO] [stdout] 2018 | | partner.id [INFO] [stdout] 2019 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | / sqlx::query!( [INFO] [stdout] 512 | | "INSERT INTO staffpanel__authchain (user_id, paneldata_ref, token, popplio_token) VALUES ($1, $2, $3, $4)", [INFO] [stdout] 513 | | user.id.to_string(), [INFO] [stdout] 514 | | itag, [INFO] [stdout] 515 | | token, [INFO] [stdout] 516 | | crate::impls::crypto::gen_random(2048) [INFO] [stdout] 517 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2042:21 [INFO] [stdout] | [INFO] [stdout] 2042 | / sqlx::query!( [INFO] [stdout] 2043 | | "UPDATE partners SET name = $2, short = $3, links = $4, type = $5, user_id = $6 WHERE id = $1", [INFO] [stdout] 2044 | | partner.id, [INFO] [stdout] 2045 | | partner.name, [INFO] [stdout] ... | [INFO] [stdout] 2049 | | partner.user_id [INFO] [stdout] 2050 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:541:25 [INFO] [stdout] | [INFO] [stdout] 541 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 542 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 543 | | auth_data.user_id [INFO] [stdout] 544 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2059:42 [INFO] [stdout] | [INFO] [stdout] 2059 | let partner_exists = sqlx::query!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 2060 | | "SELECT id FROM partners WHERE id = $1", [INFO] [stdout] 2061 | | id [INFO] [stdout] 2062 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2111:21 [INFO] [stdout] | [INFO] [stdout] 2111 | sqlx::query!("DELETE FROM partners 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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:560:24 [INFO] [stdout] | [INFO] [stdout] 560 | let mrec = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 561 | | "SELECT mfa_verified FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 562 | | auth_data.user_id [INFO] [stdout] 563 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2135:32 [INFO] [stdout] | [INFO] [stdout] 2135 | ... let rows = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 2136 | | ... "SELECT version, added, updated, removed, github_html, created_at, extra_description, prerelease, published FROM changelogs ORD... [INFO] [stdout] 2137 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | / sqlx::query!( [INFO] [stdout] 574 | | "UPDATE staffpanel__paneldata SET mfa_secret = $2 WHERE user_id = $1", [INFO] [stdout] 575 | | auth_data.user_id, [INFO] [stdout] 576 | | secret [INFO] [stdout] 577 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2162:24 [INFO] [stdout] | [INFO] [stdout] 2162 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2163 | | "SELECT COUNT(*) FROM changelogs WHERE version = $1", [INFO] [stdout] 2164 | | version [INFO] [stdout] 2165 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:633:25 [INFO] [stdout] | [INFO] [stdout] 633 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 634 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 635 | | auth_data.user_id [INFO] [stdout] 636 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:650:26 [INFO] [stdout] | [INFO] [stdout] 650 | let secret = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 651 | | "SELECT mfa_secret FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 652 | | auth_data.user_id [INFO] [stdout] 653 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2180:21 [INFO] [stdout] | [INFO] [stdout] 2180 | / ... sqlx::query!( [INFO] [stdout] 2181 | | ... "INSERT INTO changelogs (version, extra_description, prerelease, added, updated, removed) VALUES ($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 2182 | | ... version, [INFO] [stdout] 2183 | | ... extra_description, [INFO] [stdout] ... | [INFO] [stdout] 2187 | | ... &removed, [INFO] [stdout] 2188 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:671:13 [INFO] [stdout] | [INFO] [stdout] 671 | / sqlx::query!( [INFO] [stdout] 672 | | "UPDATE staffpanel__authchain SET state = 'active' WHERE token = $1", [INFO] [stdout] 673 | | login_token [INFO] [stdout] 674 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2197:24 [INFO] [stdout] | [INFO] [stdout] 2197 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2198 | | "SELECT COUNT(*) FROM changelogs WHERE version = $1", [INFO] [stdout] 2199 | | version [INFO] [stdout] 2200 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | / sqlx::query!( [INFO] [stdout] 680 | | "UPDATE staffpanel__paneldata SET mfa_verified = TRUE WHERE user_id = $1", [INFO] [stdout] 681 | | auth_data.user_id [INFO] [stdout] 682 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2215:21 [INFO] [stdout] | [INFO] [stdout] 2215 | / ... sqlx::query!( [INFO] [stdout] 2216 | | ... "UPDATE changelogs SET extra_description = $2, github_html = $3, prerelease = $4, added = $5, updated = $6, removed = $7, publi... [INFO] [stdout] 2217 | | ... version, [INFO] [stdout] 2218 | | ... extra_description, [INFO] [stdout] ... | [INFO] [stdout] 2224 | | ... published [INFO] [stdout] 2225 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2234:24 [INFO] [stdout] | [INFO] [stdout] 2234 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2235 | | "SELECT COUNT(*) FROM changelogs WHERE version = $1", [INFO] [stdout] 2236 | | version [INFO] [stdout] 2237 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:698:25 [INFO] [stdout] | [INFO] [stdout] 698 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 699 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 700 | | auth_data.user_id [INFO] [stdout] 701 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2252:21 [INFO] [stdout] | [INFO] [stdout] 2252 | / sqlx::query!( [INFO] [stdout] 2253 | | "DELETE FROM changelogs WHERE version = $1", [INFO] [stdout] 2254 | | version [INFO] [stdout] 2255 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:715:26 [INFO] [stdout] | [INFO] [stdout] 715 | let secret = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 716 | | "SELECT mfa_secret FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 717 | | auth_data.user_id [INFO] [stdout] 718 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2282:32 [INFO] [stdout] | [INFO] [stdout] 2282 | ... let rows = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 2283 | | ... "SELECT itag, slug, title, description, user_id, content, created_at, draft, tags FROM blogs ORDER BY created_at DESC" [INFO] [stdout] 2284 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:736:13 [INFO] [stdout] | [INFO] [stdout] 736 | / sqlx::query!( [INFO] [stdout] 737 | | "UPDATE staffpanel__paneldata SET mfa_verified = FALSE WHERE user_id = $1", [INFO] [stdout] 738 | | auth_data.user_id [INFO] [stdout] 739 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2309:21 [INFO] [stdout] | [INFO] [stdout] 2309 | / sqlx::query!( [INFO] [stdout] 2310 | | "INSERT INTO blogs (slug, title, description, content, tags, user_id) VALUES ($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 2311 | | slug, [INFO] [stdout] 2312 | | title, [INFO] [stdout] ... | [INFO] [stdout] 2316 | | &auth.user_id, [INFO] [stdout] 2317 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2328:24 [INFO] [stdout] | [INFO] [stdout] 2328 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2329 | | "SELECT COUNT(*) FROM blogs WHERE itag = $1", [INFO] [stdout] 2330 | | uuid [INFO] [stdout] 2331 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:745:13 [INFO] [stdout] | [INFO] [stdout] 745 | / sqlx::query!( [INFO] [stdout] 746 | | "DELETE FROM staffpanel__authchain WHERE user_id = $1", [INFO] [stdout] 747 | | auth_data.user_id [INFO] [stdout] 748 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:759:23 [INFO] [stdout] | [INFO] [stdout] 759 | let row = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 760 | | "DELETE FROM staffpanel__authchain WHERE token = $1", [INFO] [stdout] 761 | | login_token [INFO] [stdout] 762 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:833:25 [INFO] [stdout] | [INFO] [stdout] 833 | let queue = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 834 | | "SELECT bot_id, client_id, last_claimed, claimed_by, type, approval_note, short, [INFO] [stdout] 835 | | invite, votes, shards, library, invite_clicks, clicks, servers [INFO] [stdout] 836 | | FROM bots WHERE type = 'pending' OR type = 'claimed' ORDER BY created_at" [INFO] [stdout] 837 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2346:21 [INFO] [stdout] | [INFO] [stdout] 2346 | / sqlx::query!( [INFO] [stdout] 2347 | | "UPDATE blogs SET slug = $2, title = $3, description = $4, content = $5, tags = $6, draft = $7 WHERE itag = $1", [INFO] [stdout] 2348 | | uuid, [INFO] [stdout] 2349 | | slug, [INFO] [stdout] ... | [INFO] [stdout] 2354 | | draft [INFO] [stdout] 2355 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:942:29 [INFO] [stdout] | [INFO] [stdout] 942 | let perms = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 943 | | "SELECT owner, hadmin, iblhdev, admin, staff FROM users WHERE user_id = $1", [INFO] [stdout] 944 | | auth_data.user_id [INFO] [stdout] 945 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2365:24 [INFO] [stdout] | [INFO] [stdout] 2365 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2366 | | "SELECT COUNT(*) FROM blogs WHERE itag = $1", [INFO] [stdout] 2367 | | uuid [INFO] [stdout] 2368 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2382:21 [INFO] [stdout] | [INFO] [stdout] 2382 | / sqlx::query!( [INFO] [stdout] 2383 | | "DELETE FROM blogs WHERE itag = $1", [INFO] [stdout] 2384 | | uuid [INFO] [stdout] 2385 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2417:25 [INFO] [stdout] | [INFO] [stdout] 2417 | let query = sqlx::query!("SELECT popplio_token FROM staffpanel__authchain WHERE token = $1", login_token) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1036:33 [INFO] [stdout] | [INFO] [stdout] 1036 | let queue = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 1037 | | " [INFO] [stdout] 1038 | | SELECT bot_id, client_id, type, votes, shards, library, invite_clicks, clicks, [INFO] [stdout] 1039 | | servers, last_claimed, claimed_by, approval_note, short, invite FROM bots [INFO] [stdout] ... | [INFO] [stdout] 1044 | | format!("%{}%", query) [INFO] [stdout] 1045 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1089:33 [INFO] [stdout] | [INFO] [stdout] 1089 | let queue = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 1090 | | " [INFO] [stdout] 1091 | | SELECT server_id, name, avatar, total_members, online_members, short, type, votes, invite_clicks, [INFO] [stdout] 1092 | | clicks, nsfw, tags, premium, claimed_by, last_claimed FROM servers [INFO] [stdout] ... | [INFO] [stdout] 1096 | | format!("%{}%", query) [INFO] [stdout] 1097 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1853:43 [INFO] [stdout] | [INFO] [stdout] 1853 | let partner_type_exists = sqlx::query!( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 1854 | | "SELECT id FROM partner_types WHERE id = $1", [INFO] [stdout] 1855 | | partner.r#type [INFO] [stdout] 1856 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:449:23 [INFO] [stdout] | [INFO] [stdout] 449 | let rec = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 450 | | "SELECT staff FROM users WHERE user_id = $1", [INFO] [stdout] 451 | | user.id.to_string() [INFO] [stdout] 452 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1911:35 [INFO] [stdout] | [INFO] [stdout] 1911 | let user_exists = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1912 | | "SELECT user_id FROM users WHERE user_id = $1", [INFO] [stdout] 1913 | | partner.user_id [INFO] [stdout] 1914 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | / sqlx::query!( [INFO] [stdout] 464 | | "DELETE FROM staffpanel__authchain WHERE user_id = $1", [INFO] [stdout] 465 | | user.id.to_string() [INFO] [stdout] 466 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1928:32 [INFO] [stdout] | [INFO] [stdout] 1928 | let prec = sqlx::query!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1929 | | "SELECT id, name, short, links, type, created_at, user_id FROM partners" [INFO] [stdout] 1930 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:476:25 [INFO] [stdout] | [INFO] [stdout] 476 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 477 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 478 | | user.id.to_string() [INFO] [stdout] 479 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1949:33 [INFO] [stdout] | [INFO] [stdout] 1949 | let ptrec = sqlx::query!("SELECT id, name, short, icon, created_at FROM partner_types") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | / sqlx::query!( [INFO] [stdout] 492 | | "INSERT INTO staffpanel__paneldata (user_id, mfa_secret) VALUES ($1, $2) RETURNING itag", [INFO] [stdout] 493 | | user.id.to_string(), [INFO] [stdout] 494 | | temp_secret_enc [INFO] [stdout] 495 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1973:42 [INFO] [stdout] | [INFO] [stdout] 1973 | let partner_exists = sqlx::query!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1974 | | "SELECT id FROM partners WHERE id = $1", [INFO] [stdout] 1975 | | partner.id [INFO] [stdout] 1976 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | / sqlx::query!( [INFO] [stdout] 502 | | "SELECT itag FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 503 | | user.id.to_string() [INFO] [stdout] 504 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | / sqlx::query!( [INFO] [stdout] 512 | | "INSERT INTO staffpanel__authchain (user_id, paneldata_ref, token, popplio_token) VALUES ($1, $2, $3, $4)", [INFO] [stdout] 513 | | user.id.to_string(), [INFO] [stdout] 514 | | itag, [INFO] [stdout] 515 | | token, [INFO] [stdout] 516 | | crate::impls::crypto::gen_random(2048) [INFO] [stdout] 517 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:541:25 [INFO] [stdout] | [INFO] [stdout] 541 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 542 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 543 | | auth_data.user_id [INFO] [stdout] 544 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:560:24 [INFO] [stdout] | [INFO] [stdout] 560 | let mrec = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 561 | | "SELECT mfa_verified FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 562 | | auth_data.user_id [INFO] [stdout] 563 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | / sqlx::query!( [INFO] [stdout] 574 | | "UPDATE staffpanel__paneldata SET mfa_secret = $2 WHERE user_id = $1", [INFO] [stdout] 575 | | auth_data.user_id, [INFO] [stdout] 576 | | secret [INFO] [stdout] 577 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1999:21 [INFO] [stdout] | [INFO] [stdout] 1999 | / sqlx::query!( [INFO] [stdout] 2000 | | "INSERT INTO partners (id, name, short, links, type, user_id) VALUES ($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 2001 | | partner.id, [INFO] [stdout] 2002 | | partner.name, [INFO] [stdout] ... | [INFO] [stdout] 2006 | | partner.user_id [INFO] [stdout] 2007 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:633:25 [INFO] [stdout] | [INFO] [stdout] 633 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 634 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 635 | | auth_data.user_id [INFO] [stdout] 636 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:650:26 [INFO] [stdout] | [INFO] [stdout] 650 | let secret = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 651 | | "SELECT mfa_secret FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 652 | | auth_data.user_id [INFO] [stdout] 653 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2016:42 [INFO] [stdout] | [INFO] [stdout] 2016 | let partner_exists = sqlx::query!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 2017 | | "SELECT id FROM partners WHERE id = $1", [INFO] [stdout] 2018 | | partner.id [INFO] [stdout] 2019 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:671:13 [INFO] [stdout] | [INFO] [stdout] 671 | / sqlx::query!( [INFO] [stdout] 672 | | "UPDATE staffpanel__authchain SET state = 'active' WHERE token = $1", [INFO] [stdout] 673 | | login_token [INFO] [stdout] 674 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | / sqlx::query!( [INFO] [stdout] 680 | | "UPDATE staffpanel__paneldata SET mfa_verified = TRUE WHERE user_id = $1", [INFO] [stdout] 681 | | auth_data.user_id [INFO] [stdout] 682 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2042:21 [INFO] [stdout] | [INFO] [stdout] 2042 | / sqlx::query!( [INFO] [stdout] 2043 | | "UPDATE partners SET name = $2, short = $3, links = $4, type = $5, user_id = $6 WHERE id = $1", [INFO] [stdout] 2044 | | partner.id, [INFO] [stdout] 2045 | | partner.name, [INFO] [stdout] ... | [INFO] [stdout] 2049 | | partner.user_id [INFO] [stdout] 2050 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:698:25 [INFO] [stdout] | [INFO] [stdout] 698 | let count = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 699 | | "SELECT COUNT(*) FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 700 | | auth_data.user_id [INFO] [stdout] 701 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2059:42 [INFO] [stdout] | [INFO] [stdout] 2059 | let partner_exists = sqlx::query!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 2060 | | "SELECT id FROM partners WHERE id = $1", [INFO] [stdout] 2061 | | id [INFO] [stdout] 2062 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:715:26 [INFO] [stdout] | [INFO] [stdout] 715 | let secret = sqlx::query!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 716 | | "SELECT mfa_secret FROM staffpanel__paneldata WHERE user_id = $1", [INFO] [stdout] 717 | | auth_data.user_id [INFO] [stdout] 718 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2111:21 [INFO] [stdout] | [INFO] [stdout] 2111 | sqlx::query!("DELETE FROM partners 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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2135:32 [INFO] [stdout] | [INFO] [stdout] 2135 | ... let rows = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 2136 | | ... "SELECT version, added, updated, removed, github_html, created_at, extra_description, prerelease, published FROM changelogs ORD... [INFO] [stdout] 2137 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:736:13 [INFO] [stdout] | [INFO] [stdout] 736 | / sqlx::query!( [INFO] [stdout] 737 | | "UPDATE staffpanel__paneldata SET mfa_verified = FALSE WHERE user_id = $1", [INFO] [stdout] 738 | | auth_data.user_id [INFO] [stdout] 739 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2162:24 [INFO] [stdout] | [INFO] [stdout] 2162 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2163 | | "SELECT COUNT(*) FROM changelogs WHERE version = $1", [INFO] [stdout] 2164 | | version [INFO] [stdout] 2165 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:745:13 [INFO] [stdout] | [INFO] [stdout] 745 | / sqlx::query!( [INFO] [stdout] 746 | | "DELETE FROM staffpanel__authchain WHERE user_id = $1", [INFO] [stdout] 747 | | auth_data.user_id [INFO] [stdout] 748 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:759:23 [INFO] [stdout] | [INFO] [stdout] 759 | let row = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 760 | | "DELETE FROM staffpanel__authchain WHERE token = $1", [INFO] [stdout] 761 | | login_token [INFO] [stdout] 762 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2180:21 [INFO] [stdout] | [INFO] [stdout] 2180 | / ... sqlx::query!( [INFO] [stdout] 2181 | | ... "INSERT INTO changelogs (version, extra_description, prerelease, added, updated, removed) VALUES ($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 2182 | | ... version, [INFO] [stdout] 2183 | | ... extra_description, [INFO] [stdout] ... | [INFO] [stdout] 2187 | | ... &removed, [INFO] [stdout] 2188 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:833:25 [INFO] [stdout] | [INFO] [stdout] 833 | let queue = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 834 | | "SELECT bot_id, client_id, last_claimed, claimed_by, type, approval_note, short, [INFO] [stdout] 835 | | invite, votes, shards, library, invite_clicks, clicks, servers [INFO] [stdout] 836 | | FROM bots WHERE type = 'pending' OR type = 'claimed' ORDER BY created_at" [INFO] [stdout] 837 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:942:29 [INFO] [stdout] | [INFO] [stdout] 942 | let perms = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 943 | | "SELECT owner, hadmin, iblhdev, admin, staff FROM users WHERE user_id = $1", [INFO] [stdout] 944 | | auth_data.user_id [INFO] [stdout] 945 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1036:33 [INFO] [stdout] | [INFO] [stdout] 1036 | let queue = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 1037 | | " [INFO] [stdout] 1038 | | SELECT bot_id, client_id, type, votes, shards, library, invite_clicks, clicks, [INFO] [stdout] 1039 | | servers, last_claimed, claimed_by, approval_note, short, invite FROM bots [INFO] [stdout] ... | [INFO] [stdout] 1044 | | format!("%{}%", query) [INFO] [stdout] 1045 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1089:33 [INFO] [stdout] | [INFO] [stdout] 1089 | let queue = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 1090 | | " [INFO] [stdout] 1091 | | SELECT server_id, name, avatar, total_members, online_members, short, type, votes, invite_clicks, [INFO] [stdout] 1092 | | clicks, nsfw, tags, premium, claimed_by, last_claimed FROM servers [INFO] [stdout] ... | [INFO] [stdout] 1096 | | format!("%{}%", query) [INFO] [stdout] 1097 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2197:24 [INFO] [stdout] | [INFO] [stdout] 2197 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2198 | | "SELECT COUNT(*) FROM changelogs WHERE version = $1", [INFO] [stdout] 2199 | | version [INFO] [stdout] 2200 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2215:21 [INFO] [stdout] | [INFO] [stdout] 2215 | / ... sqlx::query!( [INFO] [stdout] 2216 | | ... "UPDATE changelogs SET extra_description = $2, github_html = $3, prerelease = $4, added = $5, updated = $6, removed = $7, publi... [INFO] [stdout] 2217 | | ... version, [INFO] [stdout] 2218 | | ... extra_description, [INFO] [stdout] ... | [INFO] [stdout] 2224 | | ... published [INFO] [stdout] 2225 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1853:43 [INFO] [stdout] | [INFO] [stdout] 1853 | let partner_type_exists = sqlx::query!( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 1854 | | "SELECT id FROM partner_types WHERE id = $1", [INFO] [stdout] 1855 | | partner.r#type [INFO] [stdout] 1856 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1911:35 [INFO] [stdout] | [INFO] [stdout] 1911 | let user_exists = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1912 | | "SELECT user_id FROM users WHERE user_id = $1", [INFO] [stdout] 1913 | | partner.user_id [INFO] [stdout] 1914 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1928:32 [INFO] [stdout] | [INFO] [stdout] 1928 | let prec = sqlx::query!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1929 | | "SELECT id, name, short, links, type, created_at, user_id FROM partners" [INFO] [stdout] 1930 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2234:24 [INFO] [stdout] | [INFO] [stdout] 2234 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2235 | | "SELECT COUNT(*) FROM changelogs WHERE version = $1", [INFO] [stdout] 2236 | | version [INFO] [stdout] 2237 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1949:33 [INFO] [stdout] | [INFO] [stdout] 1949 | let ptrec = sqlx::query!("SELECT id, name, short, icon, created_at FROM partner_types") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2252:21 [INFO] [stdout] | [INFO] [stdout] 2252 | / sqlx::query!( [INFO] [stdout] 2253 | | "DELETE FROM changelogs WHERE version = $1", [INFO] [stdout] 2254 | | version [INFO] [stdout] 2255 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1973:42 [INFO] [stdout] | [INFO] [stdout] 1973 | let partner_exists = sqlx::query!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 1974 | | "SELECT id FROM partners WHERE id = $1", [INFO] [stdout] 1975 | | partner.id [INFO] [stdout] 1976 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2282:32 [INFO] [stdout] | [INFO] [stdout] 2282 | ... let rows = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 2283 | | ... "SELECT itag, slug, title, description, user_id, content, created_at, draft, tags FROM blogs ORDER BY created_at DESC" [INFO] [stdout] 2284 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2309:21 [INFO] [stdout] | [INFO] [stdout] 2309 | / sqlx::query!( [INFO] [stdout] 2310 | | "INSERT INTO blogs (slug, title, description, content, tags, user_id) VALUES ($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 2311 | | slug, [INFO] [stdout] 2312 | | title, [INFO] [stdout] ... | [INFO] [stdout] 2316 | | &auth.user_id, [INFO] [stdout] 2317 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2328:24 [INFO] [stdout] | [INFO] [stdout] 2328 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2329 | | "SELECT COUNT(*) FROM blogs WHERE itag = $1", [INFO] [stdout] 2330 | | uuid [INFO] [stdout] 2331 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2346:21 [INFO] [stdout] | [INFO] [stdout] 2346 | / sqlx::query!( [INFO] [stdout] 2347 | | "UPDATE blogs SET slug = $2, title = $3, description = $4, content = $5, tags = $6, draft = $7 WHERE itag = $1", [INFO] [stdout] 2348 | | uuid, [INFO] [stdout] 2349 | | slug, [INFO] [stdout] ... | [INFO] [stdout] 2354 | | draft [INFO] [stdout] 2355 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:1999:21 [INFO] [stdout] | [INFO] [stdout] 1999 | / sqlx::query!( [INFO] [stdout] 2000 | | "INSERT INTO partners (id, name, short, links, type, user_id) VALUES ($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 2001 | | partner.id, [INFO] [stdout] 2002 | | partner.name, [INFO] [stdout] ... | [INFO] [stdout] 2006 | | partner.user_id [INFO] [stdout] 2007 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2365:24 [INFO] [stdout] | [INFO] [stdout] 2365 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2366 | | "SELECT COUNT(*) FROM blogs WHERE itag = $1", [INFO] [stdout] 2367 | | uuid [INFO] [stdout] 2368 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2016:42 [INFO] [stdout] | [INFO] [stdout] 2016 | let partner_exists = sqlx::query!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 2017 | | "SELECT id FROM partners WHERE id = $1", [INFO] [stdout] 2018 | | partner.id [INFO] [stdout] 2019 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2042:21 [INFO] [stdout] | [INFO] [stdout] 2042 | / sqlx::query!( [INFO] [stdout] 2043 | | "UPDATE partners SET name = $2, short = $3, links = $4, type = $5, user_id = $6 WHERE id = $1", [INFO] [stdout] 2044 | | partner.id, [INFO] [stdout] 2045 | | partner.name, [INFO] [stdout] ... | [INFO] [stdout] 2049 | | partner.user_id [INFO] [stdout] 2050 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2059:42 [INFO] [stdout] | [INFO] [stdout] 2059 | let partner_exists = sqlx::query!( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 2060 | | "SELECT id FROM partners WHERE id = $1", [INFO] [stdout] 2061 | | id [INFO] [stdout] 2062 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2382:21 [INFO] [stdout] | [INFO] [stdout] 2382 | / sqlx::query!( [INFO] [stdout] 2383 | | "DELETE FROM blogs WHERE itag = $1", [INFO] [stdout] 2384 | | uuid [INFO] [stdout] 2385 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2111:21 [INFO] [stdout] | [INFO] [stdout] 2111 | sqlx::query!("DELETE FROM partners 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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2135:32 [INFO] [stdout] | [INFO] [stdout] 2135 | ... let rows = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 2136 | | ... "SELECT version, added, updated, removed, github_html, created_at, extra_description, prerelease, published FROM changelogs ORD... [INFO] [stdout] 2137 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2162:24 [INFO] [stdout] | [INFO] [stdout] 2162 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2163 | | "SELECT COUNT(*) FROM changelogs WHERE version = $1", [INFO] [stdout] 2164 | | version [INFO] [stdout] 2165 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2417:25 [INFO] [stdout] | [INFO] [stdout] 2417 | let query = sqlx::query!("SELECT popplio_token FROM staffpanel__authchain WHERE token = $1", login_token) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2180:21 [INFO] [stdout] | [INFO] [stdout] 2180 | / ... sqlx::query!( [INFO] [stdout] 2181 | | ... "INSERT INTO changelogs (version, extra_description, prerelease, added, updated, removed) VALUES ($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 2182 | | ... version, [INFO] [stdout] 2183 | | ... extra_description, [INFO] [stdout] ... | [INFO] [stdout] 2187 | | ... &removed, [INFO] [stdout] 2188 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2197:24 [INFO] [stdout] | [INFO] [stdout] 2197 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2198 | | "SELECT COUNT(*) FROM changelogs WHERE version = $1", [INFO] [stdout] 2199 | | version [INFO] [stdout] 2200 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2215:21 [INFO] [stdout] | [INFO] [stdout] 2215 | / ... sqlx::query!( [INFO] [stdout] 2216 | | ... "UPDATE changelogs SET extra_description = $2, github_html = $3, prerelease = $4, added = $5, updated = $6, removed = $7, publi... [INFO] [stdout] 2217 | | ... version, [INFO] [stdout] 2218 | | ... extra_description, [INFO] [stdout] ... | [INFO] [stdout] 2224 | | ... published [INFO] [stdout] 2225 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2234:24 [INFO] [stdout] | [INFO] [stdout] 2234 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2235 | | "SELECT COUNT(*) FROM changelogs WHERE version = $1", [INFO] [stdout] 2236 | | version [INFO] [stdout] 2237 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2252:21 [INFO] [stdout] | [INFO] [stdout] 2252 | / sqlx::query!( [INFO] [stdout] 2253 | | "DELETE FROM changelogs WHERE version = $1", [INFO] [stdout] 2254 | | version [INFO] [stdout] 2255 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2282:32 [INFO] [stdout] | [INFO] [stdout] 2282 | ... let rows = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 2283 | | ... "SELECT itag, slug, title, description, user_id, content, created_at, draft, tags FROM blogs ORDER BY created_at DESC" [INFO] [stdout] 2284 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2309:21 [INFO] [stdout] | [INFO] [stdout] 2309 | / sqlx::query!( [INFO] [stdout] 2310 | | "INSERT INTO blogs (slug, title, description, content, tags, user_id) VALUES ($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 2311 | | slug, [INFO] [stdout] 2312 | | title, [INFO] [stdout] ... | [INFO] [stdout] 2316 | | &auth.user_id, [INFO] [stdout] 2317 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2328:24 [INFO] [stdout] | [INFO] [stdout] 2328 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2329 | | "SELECT COUNT(*) FROM blogs WHERE itag = $1", [INFO] [stdout] 2330 | | uuid [INFO] [stdout] 2331 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2346:21 [INFO] [stdout] | [INFO] [stdout] 2346 | / sqlx::query!( [INFO] [stdout] 2347 | | "UPDATE blogs SET slug = $2, title = $3, description = $4, content = $5, tags = $6, draft = $7 WHERE itag = $1", [INFO] [stdout] 2348 | | uuid, [INFO] [stdout] 2349 | | slug, [INFO] [stdout] ... | [INFO] [stdout] 2354 | | draft [INFO] [stdout] 2355 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2365:24 [INFO] [stdout] | [INFO] [stdout] 2365 | if sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 2366 | | "SELECT COUNT(*) FROM blogs WHERE itag = $1", [INFO] [stdout] 2367 | | uuid [INFO] [stdout] 2368 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2382:21 [INFO] [stdout] | [INFO] [stdout] 2382 | / sqlx::query!( [INFO] [stdout] 2383 | | "DELETE FROM blogs WHERE itag = $1", [INFO] [stdout] 2384 | | uuid [INFO] [stdout] 2385 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/panelapi/server.rs:2417:25 [INFO] [stdout] | [INFO] [stdout] 2417 | let query = sqlx::query!("SELECT popplio_token FROM staffpanel__authchain WHERE token = $1", login_token) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:298:29 [INFO] [stdout] | [INFO] [stdout] 298 | let check = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 299 | | "SELECT iblhdev, hadmin FROM users WHERE user_id = $1", [INFO] [stdout] 300 | | &state.user_id [INFO] [stdout] 301 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 311 | sqlx::query!("SELECT admin FROM users WHERE user_id = $1", &state.user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:323:21 [INFO] [stdout] | [INFO] [stdout] 323 | sqlx::query!("SELECT staff FROM users WHERE user_id = $1", &state.user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:334:29 [INFO] [stdout] | [INFO] [stdout] 334 | let onboard_state = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 335 | | "SELECT staff, staff_onboard_state FROM users WHERE user_id = $1", [INFO] [stdout] 336 | | &state.user_id [INFO] [stdout] 337 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:346:18 [INFO] [stdout] | [INFO] [stdout] 346 | let id = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 347 | | "INSERT INTO rpc_logs (method, user_id, data) VALUES ($1, $2, $3) RETURNING id", [INFO] [stdout] 348 | | self.to_string(), [INFO] [stdout] 349 | | &state.user_id, [INFO] [stdout] 350 | | json!(self) [INFO] [stdout] 351 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:356:19 [INFO] [stdout] | [INFO] [stdout] 356 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 357 | | "SELECT COUNT(*) FROM rpc_logs WHERE user_id = $1 AND NOW() - created_at < INTERVAL '7 minutes'", [INFO] [stdout] 358 | | &state.user_id [INFO] [stdout] 359 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | / sqlx::query!( [INFO] [stdout] 368 | | "UPDATE users SET api_token = $2 WHERE user_id = $1", [INFO] [stdout] 369 | | &state.user_id, [INFO] [stdout] 370 | | impls::crypto::gen_random(136) [INFO] [stdout] 371 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | / sqlx::query!( [INFO] [stdout] 384 | | "UPDATE rpc_logs SET state = $1 WHERE id = $2", [INFO] [stdout] 385 | | "success", [INFO] [stdout] 386 | | id.id [INFO] [stdout] 387 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | / sqlx::query!( [INFO] [stdout] 392 | | "UPDATE rpc_logs SET state = $1 WHERE id = $2", [INFO] [stdout] 393 | | resp.as_ref() [INFO] [stdout] 394 | | .err() [INFO] [stdout] ... | [INFO] [stdout] 397 | | id.id [INFO] [stdout] 398 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:411:31 [INFO] [stdout] | [INFO] [stdout] 411 | let claimed = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 412 | | "SELECT type, claimed_by FROM bots WHERE bot_id = $1", [INFO] [stdout] 413 | | target_id [INFO] [stdout] 414 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:442:17 [INFO] [stdout] | [INFO] [stdout] 442 | / sqlx::query!( [INFO] [stdout] 443 | | "UPDATE bots SET last_claimed = NOW(), claimed_by = $1 WHERE bot_id = $2", [INFO] [stdout] 444 | | &state.user_id, [INFO] [stdout] 445 | | target_id [INFO] [stdout] 446 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:450:17 [INFO] [stdout] | [INFO] [stdout] 450 | / sqlx::query!( [INFO] [stdout] 451 | | "INSERT INTO staff_general_logs (user_id, action, data) VALUES ($1, $2, $3)", [INFO] [stdout] 452 | | &state.user_id, [INFO] [stdout] 453 | | "claimed", [INFO] [stdout] ... | [INFO] [stdout] 457 | | }) [INFO] [stdout] 458 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:487:31 [INFO] [stdout] | [INFO] [stdout] 487 | let claimed = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 488 | | "SELECT type, claimed_by, owner FROM bots WHERE bot_id = $1", [INFO] [stdout] 489 | | target_id [INFO] [stdout] 490 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | / sqlx::query!( [INFO] [stdout] 514 | | "UPDATE bots SET claimed_by = NULL, type = 'pending' WHERE bot_id = $1", [INFO] [stdout] 515 | | target_id [INFO] [stdout] 516 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:520:17 [INFO] [stdout] | [INFO] [stdout] 520 | / sqlx::query!( [INFO] [stdout] 521 | | "INSERT INTO staff_general_logs (user_id, action, data) VALUES ($1, $2, $3)", [INFO] [stdout] 522 | | &state.user_id, [INFO] [stdout] 523 | | "unclaimed", [INFO] [stdout] ... | [INFO] [stdout] 527 | | }) [INFO] [stdout] 528 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:552:31 [INFO] [stdout] | [INFO] [stdout] 552 | let claimed = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 553 | | "SELECT type, claimed_by, last_claimed FROM bots WHERE bot_id = $1", [INFO] [stdout] 554 | | target_id [INFO] [stdout] 555 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:603:17 [INFO] [stdout] | [INFO] [stdout] 603 | / sqlx::query!( [INFO] [stdout] 604 | | "UPDATE bots SET type = 'approved', claimed_by = NULL WHERE bot_id = $1", [INFO] [stdout] 605 | | target_id [INFO] [stdout] 606 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:670:21 [INFO] [stdout] | [INFO] [stdout] 670 | sqlx::query!("SELECT client_id FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:685:31 [INFO] [stdout] | [INFO] [stdout] 685 | let claimed = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 686 | | "SELECT type, claimed_by, owner, last_claimed FROM bots WHERE bot_id = $1", [INFO] [stdout] 687 | | target_id [INFO] [stdout] 688 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:721:17 [INFO] [stdout] | [INFO] [stdout] 721 | / sqlx::query!( [INFO] [stdout] 722 | | "UPDATE bots SET type = 'denied', claimed_by = NULL WHERE bot_id = $1", [INFO] [stdout] 723 | | target_id [INFO] [stdout] 724 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:754:27 [INFO] [stdout] | [INFO] [stdout] 754 | let bot = sqlx::query!("SELECT COUNT(*) FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:763:21 [INFO] [stdout] | [INFO] [stdout] 763 | sqlx::query!("SELECT type FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:771:17 [INFO] [stdout] | [INFO] [stdout] 771 | / sqlx::query!( [INFO] [stdout] 772 | | "UPDATE bots SET type = 'pending', claimed_by = NULL WHERE bot_id = $1", [INFO] [stdout] 773 | | target_id [INFO] [stdout] 774 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:799:27 [INFO] [stdout] | [INFO] [stdout] 799 | let bot = sqlx::query!("SELECT COUNT(*) FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:808:17 [INFO] [stdout] | [INFO] [stdout] 808 | / ... sqlx::query!( [INFO] [stdout] 809 | | ... "UPDATE bots SET start_premium_period = NOW(), premium_period_length = make_interval(hours => $1), premium = true WHERE bot_id ... [INFO] [stdout] 810 | | ... time_period_hours, [INFO] [stdout] 811 | | ... target_id [INFO] [stdout] 812 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:838:27 [INFO] [stdout] | [INFO] [stdout] 838 | let bot = sqlx::query!("SELECT COUNT(*) FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:847:17 [INFO] [stdout] | [INFO] [stdout] 847 | / sqlx::query!( [INFO] [stdout] 848 | | "UPDATE bots SET premium = false WHERE bot_id = $1", [INFO] [stdout] 849 | | target_id [INFO] [stdout] 850 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:876:27 [INFO] [stdout] | [INFO] [stdout] 876 | let bot = sqlx::query!("SELECT COUNT(*) FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:884:17 [INFO] [stdout] | [INFO] [stdout] 884 | / sqlx::query!( [INFO] [stdout] 885 | | "UPDATE bots SET vote_banned = true WHERE bot_id = $1", [INFO] [stdout] 886 | | target_id [INFO] [stdout] 887 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:913:27 [INFO] [stdout] | [INFO] [stdout] 913 | let bot = sqlx::query!("SELECT COUNT(*) FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:921:17 [INFO] [stdout] | [INFO] [stdout] 921 | / sqlx::query!( [INFO] [stdout] 922 | | "UPDATE bots SET vote_banned = false WHERE bot_id = $1", [INFO] [stdout] 923 | | target_id [INFO] [stdout] 924 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:954:25 [INFO] [stdout] | [INFO] [stdout] 954 | sqlx::query!("UPDATE bots SET votes = 0 WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:959:25 [INFO] [stdout] | [INFO] [stdout] 959 | / sqlx::query!( [INFO] [stdout] 960 | | "UPDATE servers SET votes = 0 WHERE server_id = $1", [INFO] [stdout] 961 | | target_id [INFO] [stdout] 962 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:967:25 [INFO] [stdout] | [INFO] [stdout] 967 | / sqlx::query!( [INFO] [stdout] 968 | | "UPDATE teams SET votes = 0 WHERE id = $1", [INFO] [stdout] 969 | | sqlx::types::Uuid::parse_str(target_id)? [INFO] [stdout] 970 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:975:25 [INFO] [stdout] | [INFO] [stdout] 975 | sqlx::query!("UPDATE packs SET votes = 0 WHERE url = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:981:17 [INFO] [stdout] | [INFO] [stdout] 981 | ... sqlx::query!("UPDATE entity_votes SET void = TRUE, void_reason = 'Votes (single entity) reset', voided_at = NOW() WHERE target_type = $1 AND target_id = $2", state.target_type.to_string(), target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1010:25 [INFO] [stdout] | [INFO] [stdout] 1010 | sqlx::query!("UPDATE bots SET votes = 0") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1015:25 [INFO] [stdout] | [INFO] [stdout] 1015 | sqlx::query!("UPDATE servers SET votes = 0") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1020:25 [INFO] [stdout] | [INFO] [stdout] 1020 | sqlx::query!("UPDATE teams SET votes = 0") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1025:25 [INFO] [stdout] | [INFO] [stdout] 1025 | sqlx::query!("UPDATE packs SET votes = 0") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1031:17 [INFO] [stdout] | [INFO] [stdout] 1031 | ... sqlx::query!("UPDATE entity_votes SET void = TRUE, void_reason = 'Votes (all entities) reset', voided_at = NOW() WHERE target_type = $1", state.target_type.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1059:27 [INFO] [stdout] | [INFO] [stdout] 1059 | let bot = sqlx::query!("SELECT COUNT(*) FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1077:17 [INFO] [stdout] | [INFO] [stdout] 1077 | sqlx::query!("DELETE FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1119:27 [INFO] [stdout] | [INFO] [stdout] 1119 | let bot = sqlx::query!("SELECT COUNT(*) FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1127:17 [INFO] [stdout] | [INFO] [stdout] 1127 | / sqlx::query!( [INFO] [stdout] 1128 | | "UPDATE bots SET type = 'certified' WHERE bot_id = $1", [INFO] [stdout] 1129 | | target_id [INFO] [stdout] 1130 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1154:27 [INFO] [stdout] | [INFO] [stdout] 1154 | let bot = sqlx::query!("SELECT COUNT(*) FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1162:17 [INFO] [stdout] | [INFO] [stdout] 1162 | / sqlx::query!( [INFO] [stdout] 1163 | | "UPDATE bots SET type = 'approved' WHERE bot_id = $1", [INFO] [stdout] 1164 | | target_id [INFO] [stdout] 1165 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1195:27 [INFO] [stdout] | [INFO] [stdout] 1195 | let bot = sqlx::query!("SELECT COUNT(*) FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1205:21 [INFO] [stdout] | [INFO] [stdout] 1205 | sqlx::query!("SELECT team_owner FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1213:17 [INFO] [stdout] | [INFO] [stdout] 1213 | / sqlx::query!( [INFO] [stdout] 1214 | | "UPDATE bots SET owner = $2 WHERE bot_id = $1", [INFO] [stdout] 1215 | | target_id, [INFO] [stdout] 1216 | | new_owner [INFO] [stdout] 1217 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1247:27 [INFO] [stdout] | [INFO] [stdout] 1247 | let bot = sqlx::query!("SELECT COUNT(*) FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1263:21 [INFO] [stdout] | [INFO] [stdout] 1263 | sqlx::query!("SELECT team_owner FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1271:17 [INFO] [stdout] | [INFO] [stdout] 1271 | / sqlx::query!( [INFO] [stdout] 1272 | | "UPDATE bots SET team_owner = $2 WHERE bot_id = $1", [INFO] [stdout] 1273 | | target_id, [INFO] [stdout] 1274 | | team_id [INFO] [stdout] 1275 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/staff.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | let staffs = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 55 | | "SELECT user_id, staff, admin, ibldev, iblhdev, hadmin, owner FROM users WHERE staff = true ORDER BY user_id ASC" [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/staff.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | let staff = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 188 | | "SELECT user_id, staff, admin, ibldev, iblhdev, hadmin, owner FROM users WHERE user_id = $1", [INFO] [stdout] 189 | | user_id.to_string() [INFO] [stdout] 190 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/staff.rs:272:18 [INFO] [stdout] | [INFO] [stdout] 272 | let staffs = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 273 | | "SELECT user_id, staff, admin, ibldev, iblhdev, hadmin, owner FROM users WHERE staff = true ORDER BY user_id ASC" [INFO] [stdout] 274 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/autounclaim.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let bots = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 24 | | "SELECT bot_id, claimed_by, last_claimed FROM bots WHERE claimed_by IS NOT NULL AND NOW() - last_claimed > INTERVAL '1 hour' FOR ... [INFO] [stdout] 25 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/autounclaim.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | / sqlx::query!( [INFO] [stdout] 37 | | "UPDATE bots SET claimed_by = NULL, type = 'pending' WHERE bot_id = $1", [INFO] [stdout] 38 | | bot.bot_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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/autounclaim.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | / sqlx::query!( [INFO] [stdout] 53 | | "UPDATE bots SET claimed_by = NULL, type = 'pending' WHERE bot_id = $1", [INFO] [stdout] 54 | | bot.bot_id [INFO] [stdout] 55 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/autounclaim.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | / sqlx::query!( [INFO] [stdout] 72 | | "UPDATE bots SET claimed_by = NULL, type = 'pending' WHERE bot_id = $1", [INFO] [stdout] 73 | | bot.bot_id [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/bans.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | sqlx::query!("UPDATE users SET banned = false") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/bans.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | sqlx::query!("UPDATE users SET banned = true WHERE user_id = $1", user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/bans.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | let owned_bots = sqlx::query!("SELECT bot_id FROM bots WHERE owner = $1", user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/bans.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | sqlx::query!("DELETE FROM bots WHERE bot_id = $1", bot_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/deletedbots.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | let bot_ids = sqlx::query!("SELECT bot_id FROM bots") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/deletedbots.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let Ok(res) = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 20 | | "SELECT username FROM internal_user_cache__discord WHERE id = $1", [INFO] [stdout] 21 | | bot_id [INFO] [stdout] 22 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/deletedbots.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | sqlx::query!("DELETE FROM bots WHERE bot_id = $1", bot_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/genericcleaner.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | let mut table_names = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 48 | | "select table_name from information_schema.columns where column_name = 'target_id'" [INFO] [stdout] 49 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/premium.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | let res = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 17 | | " [INFO] [stdout] 18 | | SELECT bot_id, start_premium_period, premium_period_length, type FROM bots [INFO] [stdout] 19 | | WHERE ( [INFO] [stdout] ... | [INFO] [stdout] 26 | | " [INFO] [stdout] 27 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/premium.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | / sqlx::query!( [INFO] [stdout] 71 | | "UPDATE bots SET premium = false WHERE bot_id = $1", [INFO] [stdout] 72 | | bot.bot_id.to_string() [INFO] [stdout] 73 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/specrolesync.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | sqlx::query!("UPDATE users SET bug_hunters = false") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/specrolesync.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | / sqlx::query!( [INFO] [stdout] 52 | | " [INFO] [stdout] 53 | | UPDATE users SET bug_hunters = true WHERE user_id = $1", [INFO] [stdout] 54 | | user.user_id.to_string() [INFO] [stdout] 55 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/staffresync.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | / sqlx::query!( [INFO] [stdout] 68 | | " [INFO] [stdout] 69 | | UPDATE users SET [INFO] [stdout] 70 | | staff = false, [INFO] [stdout] ... | [INFO] [stdout] 76 | | " [INFO] [stdout] 77 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/staffresync.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | / sqlx::query!( [INFO] [stdout] 87 | | "UPDATE users SET staff = true WHERE user_id = $1", [INFO] [stdout] 88 | | staff.user_id.to_string() [INFO] [stdout] 89 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/staffresync.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | / sqlx::query!( [INFO] [stdout] 95 | | "UPDATE users SET staff = true, admin = true WHERE user_id = $1", [INFO] [stdout] 96 | | staff.user_id.to_string() [INFO] [stdout] 97 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/staffresync.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | / sqlx::query!( [INFO] [stdout] 103 | | "UPDATE users SET staff = true, ibldev = true WHERE user_id = $1", [INFO] [stdout] 104 | | staff.user_id.to_string() [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/staffresync.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | / sqlx::query!( [INFO] [stdout] 111 | | "UPDATE users SET staff = true, admin = true, ibldev = true, iblhdev = true WHERE user_id = $1", [INFO] [stdout] 112 | | staff.user_id.to_string() [INFO] [stdout] 113 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/staffresync.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | / sqlx::query!( [INFO] [stdout] 119 | | "UPDATE users SET staff = true, admin = true, hadmin = true WHERE user_id = $1", [INFO] [stdout] 120 | | staff.user_id.to_string() [INFO] [stdout] 121 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/staffresync.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | / sqlx::query!( [INFO] [stdout] 127 | | "UPDATE users SET staff = true, owner = true WHERE user_id = $1", [INFO] [stdout] 128 | | staff.user_id.to_string() [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/teamcleaner.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | let res = sqlx::query!("SELECT id FROM teams") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/teamcleaner.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | if sqlx::query!( [INFO] [stdout] | ____________^ [INFO] [stdout] 22 | | "SELECT COUNT(*) FROM team_members WHERE team_id = $1", [INFO] [stdout] 23 | | team_id [INFO] [stdout] 24 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/teamcleaner.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | sqlx::query!("DELETE FROM teams WHERE id = $1", team_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/teamcleaner.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 44 | ...obal_owner = sqlx::query!("SELECT user_id FROM team_members WHERE team_id = $1 AND flags @> ARRAY['global.*']", team_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/teamcleaner.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | let dh = sqlx::query!("SELECT user_id FROM team_members WHERE team_id = $1 AND data_holder = true", team_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/teamcleaner.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | let res = sqlx::query!("SELECT user_id FROM team_members WHERE team_id = $1 LIMIT 1", team_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/teamcleaner.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | / sqlx::query!( [INFO] [stdout] 74 | | "UPDATE team_members SET flags = $1, data_holder = $2 WHERE team_id = $3 AND user_id = $4", [INFO] [stdout] 75 | | &["global.*".to_string()], [INFO] [stdout] 76 | | true, [INFO] [stdout] 77 | | team_id, [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/teamcleaner.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | if sqlx::query!( [INFO] [stdout] | ____________^ [INFO] [stdout] 87 | | "SELECT COUNT(*) FROM team_members WHERE team_id = $1 AND data_holder = true", [INFO] [stdout] 88 | | team_id [INFO] [stdout] 89 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/teamcleaner.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | / sqlx::query!( [INFO] [stdout] 101 | | "UPDATE team_members SET data_holder = true WHERE team_id = $1 AND user_id = $2", [INFO] [stdout] 102 | | team_id, [INFO] [stdout] 103 | | tm_with_global_owner[0].user_id, [INFO] [stdout] 104 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/testing.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | let invite_data = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 28 | | "SELECT invite FROM bots WHERE bot_id = $1 ORDER BY created_at DESC LIMIT 1", [INFO] [stdout] 29 | | bot [INFO] [stdout] 30 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/testing.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | let invite_data = sqlx::query!("SELECT client_id FROM bots WHERE bot_id = $1", bot) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/testing.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | let bots = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 163 | | "SELECT claimed_by, bot_id, approval_note, short, invite FROM bots WHERE type = 'pending' ORDER BY created_at ASC", [INFO] [stdout] 164 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:298:29 [INFO] [stdout] | [INFO] [stdout] 298 | let check = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 299 | | "SELECT iblhdev, hadmin FROM users WHERE user_id = $1", [INFO] [stdout] 300 | | &state.user_id [INFO] [stdout] 301 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:311:21 [INFO] [stdout] | [INFO] [stdout] 311 | sqlx::query!("SELECT admin FROM users WHERE user_id = $1", &state.user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:323:21 [INFO] [stdout] | [INFO] [stdout] 323 | sqlx::query!("SELECT staff FROM users WHERE user_id = $1", &state.user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:334:29 [INFO] [stdout] | [INFO] [stdout] 334 | let onboard_state = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 335 | | "SELECT staff, staff_onboard_state FROM users WHERE user_id = $1", [INFO] [stdout] 336 | | &state.user_id [INFO] [stdout] 337 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:346:18 [INFO] [stdout] | [INFO] [stdout] 346 | let id = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 347 | | "INSERT INTO rpc_logs (method, user_id, data) VALUES ($1, $2, $3) RETURNING id", [INFO] [stdout] 348 | | self.to_string(), [INFO] [stdout] 349 | | &state.user_id, [INFO] [stdout] 350 | | json!(self) [INFO] [stdout] 351 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:356:19 [INFO] [stdout] | [INFO] [stdout] 356 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 357 | | "SELECT COUNT(*) FROM rpc_logs WHERE user_id = $1 AND NOW() - created_at < INTERVAL '7 minutes'", [INFO] [stdout] 358 | | &state.user_id [INFO] [stdout] 359 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | / sqlx::query!( [INFO] [stdout] 368 | | "UPDATE users SET api_token = $2 WHERE user_id = $1", [INFO] [stdout] 369 | | &state.user_id, [INFO] [stdout] 370 | | impls::crypto::gen_random(136) [INFO] [stdout] 371 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | / sqlx::query!( [INFO] [stdout] 384 | | "UPDATE rpc_logs SET state = $1 WHERE id = $2", [INFO] [stdout] 385 | | "success", [INFO] [stdout] 386 | | id.id [INFO] [stdout] 387 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | / sqlx::query!( [INFO] [stdout] 392 | | "UPDATE rpc_logs SET state = $1 WHERE id = $2", [INFO] [stdout] 393 | | resp.as_ref() [INFO] [stdout] 394 | | .err() [INFO] [stdout] ... | [INFO] [stdout] 397 | | id.id [INFO] [stdout] 398 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:411:31 [INFO] [stdout] | [INFO] [stdout] 411 | let claimed = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 412 | | "SELECT type, claimed_by FROM bots WHERE bot_id = $1", [INFO] [stdout] 413 | | target_id [INFO] [stdout] 414 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:442:17 [INFO] [stdout] | [INFO] [stdout] 442 | / sqlx::query!( [INFO] [stdout] 443 | | "UPDATE bots SET last_claimed = NOW(), claimed_by = $1 WHERE bot_id = $2", [INFO] [stdout] 444 | | &state.user_id, [INFO] [stdout] 445 | | target_id [INFO] [stdout] 446 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:450:17 [INFO] [stdout] | [INFO] [stdout] 450 | / sqlx::query!( [INFO] [stdout] 451 | | "INSERT INTO staff_general_logs (user_id, action, data) VALUES ($1, $2, $3)", [INFO] [stdout] 452 | | &state.user_id, [INFO] [stdout] 453 | | "claimed", [INFO] [stdout] ... | [INFO] [stdout] 457 | | }) [INFO] [stdout] 458 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:487:31 [INFO] [stdout] | [INFO] [stdout] 487 | let claimed = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 488 | | "SELECT type, claimed_by, owner FROM bots WHERE bot_id = $1", [INFO] [stdout] 489 | | target_id [INFO] [stdout] 490 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | / sqlx::query!( [INFO] [stdout] 514 | | "UPDATE bots SET claimed_by = NULL, type = 'pending' WHERE bot_id = $1", [INFO] [stdout] 515 | | target_id [INFO] [stdout] 516 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/testing.rs:283:19 [INFO] [stdout] | [INFO] [stdout] 283 | let claimed = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 284 | | "SELECT type, claimed_by FROM bots WHERE bot_id = $1", [INFO] [stdout] 285 | | bot.id.to_string() [INFO] [stdout] 286 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:520:17 [INFO] [stdout] | [INFO] [stdout] 520 | / sqlx::query!( [INFO] [stdout] 521 | | "INSERT INTO staff_general_logs (user_id, action, data) VALUES ($1, $2, $3)", [INFO] [stdout] 522 | | &state.user_id, [INFO] [stdout] 523 | | "unclaimed", [INFO] [stdout] ... | [INFO] [stdout] 527 | | }) [INFO] [stdout] 528 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:552:31 [INFO] [stdout] | [INFO] [stdout] 552 | let claimed = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 553 | | "SELECT type, claimed_by, last_claimed FROM bots WHERE bot_id = $1", [INFO] [stdout] 554 | | target_id [INFO] [stdout] 555 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:603:17 [INFO] [stdout] | [INFO] [stdout] 603 | / sqlx::query!( [INFO] [stdout] 604 | | "UPDATE bots SET type = 'approved', claimed_by = NULL WHERE bot_id = $1", [INFO] [stdout] 605 | | target_id [INFO] [stdout] 606 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:670:21 [INFO] [stdout] | [INFO] [stdout] 670 | sqlx::query!("SELECT client_id FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:685:31 [INFO] [stdout] | [INFO] [stdout] 685 | let claimed = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 686 | | "SELECT type, claimed_by, owner, last_claimed FROM bots WHERE bot_id = $1", [INFO] [stdout] 687 | | target_id [INFO] [stdout] 688 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:721:17 [INFO] [stdout] | [INFO] [stdout] 721 | / sqlx::query!( [INFO] [stdout] 722 | | "UPDATE bots SET type = 'denied', claimed_by = NULL WHERE bot_id = $1", [INFO] [stdout] 723 | | target_id [INFO] [stdout] 724 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/testing.rs:327:17 [INFO] [stdout] | [INFO] [stdout] 327 | / sqlx::query!( [INFO] [stdout] 328 | | "INSERT INTO staff_general_logs (user_id, action, data) VALUES ($1, $2, $3)", [INFO] [stdout] 329 | | ctx.author().id.to_string(), [INFO] [stdout] 330 | | "claim_reminder", [INFO] [stdout] ... | [INFO] [stdout] 334 | | }) [INFO] [stdout] 335 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:754:27 [INFO] [stdout] | [INFO] [stdout] 754 | let bot = sqlx::query!("SELECT COUNT(*) FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:763:21 [INFO] [stdout] | [INFO] [stdout] 763 | sqlx::query!("SELECT type FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:771:17 [INFO] [stdout] | [INFO] [stdout] 771 | / sqlx::query!( [INFO] [stdout] 772 | | "UPDATE bots SET type = 'pending', claimed_by = NULL WHERE bot_id = $1", [INFO] [stdout] 773 | | target_id [INFO] [stdout] 774 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:799:27 [INFO] [stdout] | [INFO] [stdout] 799 | let bot = sqlx::query!("SELECT COUNT(*) FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:808:17 [INFO] [stdout] | [INFO] [stdout] 808 | / ... sqlx::query!( [INFO] [stdout] 809 | | ... "UPDATE bots SET start_premium_period = NOW(), premium_period_length = make_interval(hours => $1), premium = true WHERE bot_id ... [INFO] [stdout] 810 | | ... time_period_hours, [INFO] [stdout] 811 | | ... target_id [INFO] [stdout] 812 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:838:27 [INFO] [stdout] | [INFO] [stdout] 838 | let bot = sqlx::query!("SELECT COUNT(*) FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:847:17 [INFO] [stdout] | [INFO] [stdout] 847 | / sqlx::query!( [INFO] [stdout] 848 | | "UPDATE bots SET premium = false WHERE bot_id = $1", [INFO] [stdout] 849 | | target_id [INFO] [stdout] 850 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:876:27 [INFO] [stdout] | [INFO] [stdout] 876 | let bot = sqlx::query!("SELECT COUNT(*) FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:884:17 [INFO] [stdout] | [INFO] [stdout] 884 | / sqlx::query!( [INFO] [stdout] 885 | | "UPDATE bots SET vote_banned = true WHERE bot_id = $1", [INFO] [stdout] 886 | | target_id [INFO] [stdout] 887 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:913:27 [INFO] [stdout] | [INFO] [stdout] 913 | let bot = sqlx::query!("SELECT COUNT(*) FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:921:17 [INFO] [stdout] | [INFO] [stdout] 921 | / sqlx::query!( [INFO] [stdout] 922 | | "UPDATE bots SET vote_banned = false WHERE bot_id = $1", [INFO] [stdout] 923 | | target_id [INFO] [stdout] 924 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:954:25 [INFO] [stdout] | [INFO] [stdout] 954 | sqlx::query!("UPDATE bots SET votes = 0 WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:959:25 [INFO] [stdout] | [INFO] [stdout] 959 | / sqlx::query!( [INFO] [stdout] 960 | | "UPDATE servers SET votes = 0 WHERE server_id = $1", [INFO] [stdout] 961 | | target_id [INFO] [stdout] 962 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:967:25 [INFO] [stdout] | [INFO] [stdout] 967 | / sqlx::query!( [INFO] [stdout] 968 | | "UPDATE teams SET votes = 0 WHERE id = $1", [INFO] [stdout] 969 | | sqlx::types::Uuid::parse_str(target_id)? [INFO] [stdout] 970 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:975:25 [INFO] [stdout] | [INFO] [stdout] 975 | sqlx::query!("UPDATE packs SET votes = 0 WHERE url = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:981:17 [INFO] [stdout] | [INFO] [stdout] 981 | ... sqlx::query!("UPDATE entity_votes SET void = TRUE, void_reason = 'Votes (single entity) reset', voided_at = NOW() WHERE target_type = $1 AND target_id = $2", state.target_type.to_string(), target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1010:25 [INFO] [stdout] | [INFO] [stdout] 1010 | sqlx::query!("UPDATE bots SET votes = 0") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1015:25 [INFO] [stdout] | [INFO] [stdout] 1015 | sqlx::query!("UPDATE servers SET votes = 0") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1020:25 [INFO] [stdout] | [INFO] [stdout] 1020 | sqlx::query!("UPDATE teams SET votes = 0") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1025:25 [INFO] [stdout] | [INFO] [stdout] 1025 | sqlx::query!("UPDATE packs SET votes = 0") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1031:17 [INFO] [stdout] | [INFO] [stdout] 1031 | ... sqlx::query!("UPDATE entity_votes SET void = TRUE, void_reason = 'Votes (all entities) reset', voided_at = NOW() WHERE target_type = $1", state.target_type.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1059:27 [INFO] [stdout] | [INFO] [stdout] 1059 | let bot = sqlx::query!("SELECT COUNT(*) FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1077:17 [INFO] [stdout] | [INFO] [stdout] 1077 | sqlx::query!("DELETE FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1119:27 [INFO] [stdout] | [INFO] [stdout] 1119 | let bot = sqlx::query!("SELECT COUNT(*) FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1127:17 [INFO] [stdout] | [INFO] [stdout] 1127 | / sqlx::query!( [INFO] [stdout] 1128 | | "UPDATE bots SET type = 'certified' WHERE bot_id = $1", [INFO] [stdout] 1129 | | target_id [INFO] [stdout] 1130 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1154:27 [INFO] [stdout] | [INFO] [stdout] 1154 | let bot = sqlx::query!("SELECT COUNT(*) FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1162:17 [INFO] [stdout] | [INFO] [stdout] 1162 | / sqlx::query!( [INFO] [stdout] 1163 | | "UPDATE bots SET type = 'approved' WHERE bot_id = $1", [INFO] [stdout] 1164 | | target_id [INFO] [stdout] 1165 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1195:27 [INFO] [stdout] | [INFO] [stdout] 1195 | let bot = sqlx::query!("SELECT COUNT(*) FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1205:21 [INFO] [stdout] | [INFO] [stdout] 1205 | sqlx::query!("SELECT team_owner FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1213:17 [INFO] [stdout] | [INFO] [stdout] 1213 | / sqlx::query!( [INFO] [stdout] 1214 | | "UPDATE bots SET owner = $2 WHERE bot_id = $1", [INFO] [stdout] 1215 | | target_id, [INFO] [stdout] 1216 | | new_owner [INFO] [stdout] 1217 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1247:27 [INFO] [stdout] | [INFO] [stdout] 1247 | let bot = sqlx::query!("SELECT COUNT(*) FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1263:21 [INFO] [stdout] | [INFO] [stdout] 1263 | sqlx::query!("SELECT team_owner FROM bots WHERE bot_id = $1", target_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/rpc/core.rs:1271:17 [INFO] [stdout] | [INFO] [stdout] 1271 | / sqlx::query!( [INFO] [stdout] 1272 | | "UPDATE bots SET team_owner = $2 WHERE bot_id = $1", [INFO] [stdout] 1273 | | target_id, [INFO] [stdout] 1274 | | team_id [INFO] [stdout] 1275 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/main.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | / sqlx::query!( [INFO] [stdout] 129 | | "UPDATE bots SET claimed_by = NULL, type = 'pending' WHERE LOWER(claimed_by) = 'none'", [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/staff.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | let staffs = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 55 | | "SELECT user_id, staff, admin, ibldev, iblhdev, hadmin, owner FROM users WHERE staff = true ORDER BY user_id ASC" [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/staff.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | let staff = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 188 | | "SELECT user_id, staff, admin, ibldev, iblhdev, hadmin, owner FROM users WHERE user_id = $1", [INFO] [stdout] 189 | | user_id.to_string() [INFO] [stdout] 190 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/staff.rs:272:18 [INFO] [stdout] | [INFO] [stdout] 272 | let staffs = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 273 | | "SELECT user_id, staff, admin, ibldev, iblhdev, hadmin, owner FROM users WHERE staff = true ORDER BY user_id ASC" [INFO] [stdout] 274 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/autounclaim.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let bots = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 24 | | "SELECT bot_id, claimed_by, last_claimed FROM bots WHERE claimed_by IS NOT NULL AND NOW() - last_claimed > INTERVAL '1 hour' FOR ... [INFO] [stdout] 25 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/autounclaim.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | / sqlx::query!( [INFO] [stdout] 37 | | "UPDATE bots SET claimed_by = NULL, type = 'pending' WHERE bot_id = $1", [INFO] [stdout] 38 | | bot.bot_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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/autounclaim.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | / sqlx::query!( [INFO] [stdout] 53 | | "UPDATE bots SET claimed_by = NULL, type = 'pending' WHERE bot_id = $1", [INFO] [stdout] 54 | | bot.bot_id [INFO] [stdout] 55 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/autounclaim.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | / sqlx::query!( [INFO] [stdout] 72 | | "UPDATE bots SET claimed_by = NULL, type = 'pending' WHERE bot_id = $1", [INFO] [stdout] 73 | | bot.bot_id [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/bans.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | sqlx::query!("UPDATE users SET banned = false") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/bans.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | sqlx::query!("UPDATE users SET banned = true WHERE user_id = $1", user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/bans.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | let owned_bots = sqlx::query!("SELECT bot_id FROM bots WHERE owner = $1", user_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/bans.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | sqlx::query!("DELETE FROM bots WHERE bot_id = $1", bot_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/deletedbots.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | let bot_ids = sqlx::query!("SELECT bot_id FROM bots") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/deletedbots.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let Ok(res) = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 20 | | "SELECT username FROM internal_user_cache__discord WHERE id = $1", [INFO] [stdout] 21 | | bot_id [INFO] [stdout] 22 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/deletedbots.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | sqlx::query!("DELETE FROM bots WHERE bot_id = $1", bot_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/genericcleaner.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | let mut table_names = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 48 | | "select table_name from information_schema.columns where column_name = 'target_id'" [INFO] [stdout] 49 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/premium.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | let res = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 17 | | " [INFO] [stdout] 18 | | SELECT bot_id, start_premium_period, premium_period_length, type FROM bots [INFO] [stdout] 19 | | WHERE ( [INFO] [stdout] ... | [INFO] [stdout] 26 | | " [INFO] [stdout] 27 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/premium.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | / sqlx::query!( [INFO] [stdout] 71 | | "UPDATE bots SET premium = false WHERE bot_id = $1", [INFO] [stdout] 72 | | bot.bot_id.to_string() [INFO] [stdout] 73 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/specrolesync.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | sqlx::query!("UPDATE users SET bug_hunters = false") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/specrolesync.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | / sqlx::query!( [INFO] [stdout] 52 | | " [INFO] [stdout] 53 | | UPDATE users SET bug_hunters = true WHERE user_id = $1", [INFO] [stdout] 54 | | user.user_id.to_string() [INFO] [stdout] 55 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/staffresync.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | / sqlx::query!( [INFO] [stdout] 68 | | " [INFO] [stdout] 69 | | UPDATE users SET [INFO] [stdout] 70 | | staff = false, [INFO] [stdout] ... | [INFO] [stdout] 76 | | " [INFO] [stdout] 77 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/staffresync.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | / sqlx::query!( [INFO] [stdout] 87 | | "UPDATE users SET staff = true WHERE user_id = $1", [INFO] [stdout] 88 | | staff.user_id.to_string() [INFO] [stdout] 89 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/staffresync.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | / sqlx::query!( [INFO] [stdout] 95 | | "UPDATE users SET staff = true, admin = true WHERE user_id = $1", [INFO] [stdout] 96 | | staff.user_id.to_string() [INFO] [stdout] 97 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/staffresync.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | / sqlx::query!( [INFO] [stdout] 103 | | "UPDATE users SET staff = true, ibldev = true WHERE user_id = $1", [INFO] [stdout] 104 | | staff.user_id.to_string() [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/staffresync.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | / sqlx::query!( [INFO] [stdout] 111 | | "UPDATE users SET staff = true, admin = true, ibldev = true, iblhdev = true WHERE user_id = $1", [INFO] [stdout] 112 | | staff.user_id.to_string() [INFO] [stdout] 113 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/staffresync.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | / sqlx::query!( [INFO] [stdout] 119 | | "UPDATE users SET staff = true, admin = true, hadmin = true WHERE user_id = $1", [INFO] [stdout] 120 | | staff.user_id.to_string() [INFO] [stdout] 121 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/staffresync.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | / sqlx::query!( [INFO] [stdout] 127 | | "UPDATE users SET staff = true, owner = true WHERE user_id = $1", [INFO] [stdout] 128 | | staff.user_id.to_string() [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: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/teamcleaner.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | let res = sqlx::query!("SELECT id FROM teams") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/teamcleaner.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | if sqlx::query!( [INFO] [stdout] | ____________^ [INFO] [stdout] 22 | | "SELECT COUNT(*) FROM team_members WHERE team_id = $1", [INFO] [stdout] 23 | | team_id [INFO] [stdout] 24 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/teamcleaner.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | sqlx::query!("DELETE FROM teams WHERE id = $1", team_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/teamcleaner.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 44 | ...obal_owner = sqlx::query!("SELECT user_id FROM team_members WHERE team_id = $1 AND flags @> ARRAY['global.*']", team_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/teamcleaner.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | let dh = sqlx::query!("SELECT user_id FROM team_members WHERE team_id = $1 AND data_holder = true", team_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/teamcleaner.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | let res = sqlx::query!("SELECT user_id FROM team_members WHERE team_id = $1 LIMIT 1", team_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/teamcleaner.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | / sqlx::query!( [INFO] [stdout] 74 | | "UPDATE team_members SET flags = $1, data_holder = $2 WHERE team_id = $3 AND user_id = $4", [INFO] [stdout] 75 | | &["global.*".to_string()], [INFO] [stdout] 76 | | true, [INFO] [stdout] 77 | | team_id, [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/teamcleaner.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | if sqlx::query!( [INFO] [stdout] | ____________^ [INFO] [stdout] 87 | | "SELECT COUNT(*) FROM team_members WHERE team_id = $1 AND data_holder = true", [INFO] [stdout] 88 | | team_id [INFO] [stdout] 89 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/tasks/teamcleaner.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | / sqlx::query!( [INFO] [stdout] 101 | | "UPDATE team_members SET data_holder = true WHERE team_id = $1 AND user_id = $2", [INFO] [stdout] 102 | | team_id, [INFO] [stdout] 103 | | tm_with_global_owner[0].user_id, [INFO] [stdout] 104 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/testing.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | let invite_data = sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 28 | | "SELECT invite FROM bots WHERE bot_id = $1 ORDER BY created_at DESC LIMIT 1", [INFO] [stdout] 29 | | bot [INFO] [stdout] 30 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/testing.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | let invite_data = sqlx::query!("SELECT client_id FROM bots WHERE bot_id = $1", bot) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/testing.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | let bots = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 163 | | "SELECT claimed_by, bot_id, approval_note, short, invite FROM bots WHERE type = 'pending' ORDER BY created_at ASC", [INFO] [stdout] 164 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/testing.rs:283:19 [INFO] [stdout] | [INFO] [stdout] 283 | let claimed = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 284 | | "SELECT type, claimed_by FROM bots WHERE bot_id = $1", [INFO] [stdout] 285 | | bot.id.to_string() [INFO] [stdout] 286 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/testing.rs:327:17 [INFO] [stdout] | [INFO] [stdout] 327 | / sqlx::query!( [INFO] [stdout] 328 | | "INSERT INTO staff_general_logs (user_id, action, data) VALUES ($1, $2, $3)", [INFO] [stdout] 329 | | ctx.author().id.to_string(), [INFO] [stdout] 330 | | "claim_reminder", [INFO] [stdout] ... | [INFO] [stdout] 334 | | }) [INFO] [stdout] 335 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/main.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | / sqlx::query!( [INFO] [stdout] 129 | | "UPDATE bots SET claimed_by = NULL, type = 'pending' WHERE LOWER(claimed_by) = 'none'", [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/rpc/core.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/testing.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/rpc/core.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/testing.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/tasks/genericcleaner.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | if let Some(table) = item.table_name { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/tasks/genericcleaner.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | if let Some(table) = item.table_name { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `std::prelude::v1::Some` [INFO] [stdout] --> /rustc/c5af0610196bc39c44e54f1e08bd9149bdc66929/library/core/src/option.rs:578:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/tasks/genericcleaner.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | if let Some(table) = item.table_name { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/tasks/genericcleaner.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | if let Some(table) = item.table_name { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `std::prelude::v1::Some` [INFO] [stdout] --> /rustc/c5af0610196bc39c44e54f1e08bd9149bdc66929/library/core/src/option.rs:578:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `num_minutes` found for struct `chrono::DateTime` in the current scope [INFO] [stdout] --> src/rpc/core.rs:577:48 [INFO] [stdout] | [INFO] [stdout] 577 | if (start_time - last_claimed).num_minutes() < 5 { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `DateTime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `num_minutes` found for struct `chrono::DateTime` in the current scope [INFO] [stdout] --> src/rpc/core.rs:577:48 [INFO] [stdout] | [INFO] [stdout] 577 | if (start_time - last_claimed).num_minutes() < 5 { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `DateTime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `num_minutes` found for struct `chrono::DateTime` in the current scope [INFO] [stdout] --> src/rpc/core.rs:710:48 [INFO] [stdout] | [INFO] [stdout] 710 | if (start_time - last_claimed).num_minutes() < 5 { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `DateTime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `num_minutes` found for struct `chrono::DateTime` in the current scope [INFO] [stdout] --> src/rpc/core.rs:710:48 [INFO] [stdout] | [INFO] [stdout] 710 | if (start_time - last_claimed).num_minutes() < 5 { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `DateTime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 255 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 255 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bot` (bin "bot") due to 256 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bot` (bin "bot" test) due to 256 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d3afb4075e20cfcc8733db3d2167110d75a8dcbdcf13a7b019587ff0784bb868", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3afb4075e20cfcc8733db3d2167110d75a8dcbdcf13a7b019587ff0784bb868", kill_on_drop: false }` [INFO] [stdout] d3afb4075e20cfcc8733db3d2167110d75a8dcbdcf13a7b019587ff0784bb868