[INFO] cloning repository https://github.com/InfinityBotList/Persepolis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/InfinityBotList/Persepolis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInfinityBotList%2FPersepolis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInfinityBotList%2FPersepolis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 527e6a4d47f90b94214c072fd86dfd45a592eea6 [INFO] checking InfinityBotList/Persepolis against master#c5af0610196bc39c44e54f1e08bd9149bdc66929 for pr-118120 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInfinityBotList%2FPersepolis" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/InfinityBotList/Persepolis 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/Persepolis [INFO] finished tweaking git repo https://github.com/InfinityBotList/Persepolis [INFO] tweaked toml for git repo https://github.com/InfinityBotList/Persepolis written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/InfinityBotList/Persepolis 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] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking InfinityBotList/Persepolis against try#a832c07a2bcc7587230eb0706f83d1d602ae5c2b for pr-118120 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInfinityBotList%2FPersepolis" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/InfinityBotList/Persepolis on toolchain a832c07a2bcc7587230eb0706f83d1d602ae5c2b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/InfinityBotList/Persepolis [INFO] finished tweaking git repo https://github.com/InfinityBotList/Persepolis [INFO] tweaked toml for git repo https://github.com/InfinityBotList/Persepolis written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/InfinityBotList/Persepolis 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" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/serenity-rs/poise` [INFO] [stderr] Updating git repository `https://github.com/serenity-rs/serenity` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking InfinityBotList/Persepolis against try#a832c07a2bcc7587230eb0706f83d1d602ae5c2b for pr-118120 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInfinityBotList%2FPersepolis" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/InfinityBotList/Persepolis on toolchain a832c07a2bcc7587230eb0706f83d1d602ae5c2b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/InfinityBotList/Persepolis [INFO] finished tweaking git repo https://github.com/InfinityBotList/Persepolis [INFO] tweaked toml for git repo https://github.com/InfinityBotList/Persepolis written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/InfinityBotList/Persepolis 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" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77f667c44975774f94218057b2c43cd0dd9539767de1d1f475196a08d26533f8 [INFO] running `Command { std: "docker" "start" "-a" "77f667c44975774f94218057b2c43cd0dd9539767de1d1f475196a08d26533f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77f667c44975774f94218057b2c43cd0dd9539767de1d1f475196a08d26533f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77f667c44975774f94218057b2c43cd0dd9539767de1d1f475196a08d26533f8", kill_on_drop: false }` [INFO] [stdout] 77f667c44975774f94218057b2c43cd0dd9539767de1d1f475196a08d26533f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6399e7fdf58ada6172e4fbaeb7cddb81d0aaef024aa2d67b66b97510d1c6e866 [INFO] running `Command { std: "docker" "start" "-a" "6399e7fdf58ada6172e4fbaeb7cddb81d0aaef024aa2d67b66b97510d1c6e866", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking rustls-webpki v0.101.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling webpki v0.22.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking base64 v0.21.3 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Compiling libgit2-sys v0.14.2+1.5.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling deranged v0.3.8 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling time v0.3.28 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Compiling vergen v7.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling enum-iterator-derive v1.2.1 [INFO] [stderr] Checking rustls-webpki v0.100.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking chrono v0.4.30 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Checking aho-corasick v1.0.5 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling crc-catalog v2.2.0 [INFO] [stderr] Checking data-encoding v2.4.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Compiling sqlformat v0.2.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Checking tungstenite v0.20.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling enum-iterator v1.4.1 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking webpki-roots v0.23.1 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling sqlx-rt v0.6.3 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling sysinfo v0.27.8 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking webpki-roots v0.25.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serenity v0.11.5 (https://github.com/serenity-rs/serenity?branch=next#f4be36c9) [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Compiling sqlx-core v0.6.3 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking tokio-tungstenite v0.20.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking hyper-rustls v0.24.1 [INFO] [stderr] Checking reqwest v0.11.20 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Compiling command_attr v0.4.1 (https://github.com/serenity-rs/serenity?branch=next#f4be36c9) [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking typemap_rev v0.3.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling poise_macros v0.4.0 (https://github.com/serenity-rs/poise?branch=serenity-next#88c10cc9) [INFO] [stderr] Compiling ts-rs-macros v7.0.0 [INFO] [stderr] Checking serde_path_to_error v0.1.14 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking matchit v0.7.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking ts-rs v7.0.0 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Checking tower-http v0.3.5 [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] Compiling sqlx-macros v0.6.3 [INFO] [stderr] Checking sqlx v0.6.3 [INFO] [stderr] Compiling git2 v0.16.1 [INFO] [stderr] Compiling persepolis v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking poise v0.4.1 (https://github.com/serenity-rs/poise?branch=serenity-next#88c10cc9) [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/admin.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | let onboard_state = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 124 | | "SELECT staff_onboard_state FROM users WHERE user_id = $1 FOR UPDATE", [INFO] [stdout] 125 | | member.id.to_string() [INFO] [stdout] 126 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/admin.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | let onboard_state = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 124 | | "SELECT staff_onboard_state FROM users WHERE user_id = $1 FOR UPDATE", [INFO] [stdout] 125 | | member.id.to_string() [INFO] [stdout] 126 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/admin.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | / sqlx::query!( [INFO] [stdout] 147 | | "UPDATE users SET staff_onboard_state = $1 WHERE user_id = $2", [INFO] [stdout] 148 | | crate::states::OnboardState::Completed.to_string(), [INFO] [stdout] 149 | | member.id.to_string() [INFO] [stdout] 150 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/admin.rs:197:31 [INFO] [stdout] | [INFO] [stdout] 197 | let staff_onboard_guild = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 198 | | "SELECT staff_onboard_guild FROM users WHERE user_id = $1", [INFO] [stdout] 199 | | member.id.to_string() [INFO] [stdout] 200 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/admin.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | / sqlx::query!( [INFO] [stdout] 147 | | "UPDATE users SET staff_onboard_state = $1 WHERE user_id = $2", [INFO] [stdout] 148 | | crate::states::OnboardState::Completed.to_string(), [INFO] [stdout] 149 | | member.id.to_string() [INFO] [stdout] 150 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/admin.rs:197:31 [INFO] [stdout] | [INFO] [stdout] 197 | let staff_onboard_guild = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 198 | | "SELECT staff_onboard_guild FROM users WHERE user_id = $1", [INFO] [stdout] 199 | | member.id.to_string() [INFO] [stdout] 200 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/admin.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | let onboard_state = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 232 | | "SELECT staff_onboard_state FROM users WHERE user_id = $1", [INFO] [stdout] 233 | | user.id.to_string() [INFO] [stdout] 234 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/admin.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | / sqlx::query!( [INFO] [stdout] 251 | | "UPDATE users SET staff_onboard_state = $1 WHERE user_id = $2", [INFO] [stdout] 252 | | crate::states::OnboardState::Denied.to_string(), [INFO] [stdout] 253 | | user.id.to_string() [INFO] [stdout] 254 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/admin.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | let onboard_state = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 232 | | "SELECT staff_onboard_state FROM users WHERE user_id = $1", [INFO] [stdout] 233 | | user.id.to_string() [INFO] [stdout] 234 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/admin.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | / sqlx::query!( [INFO] [stdout] 251 | | "UPDATE users SET staff_onboard_state = $1 WHERE user_id = $2", [INFO] [stdout] 252 | | crate::states::OnboardState::Denied.to_string(), [INFO] [stdout] 253 | | user.id.to_string() [INFO] [stdout] 254 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/admin.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | / sqlx::query!( [INFO] [stdout] 319 | | "UPDATE users SET staff_onboard_guild = NULL, staff_onboard_state = $1, staff_onboard_last_start_time = NOW() WHERE user_id = $2", [INFO] [stdout] 320 | | crate::states::OnboardState::Pending.to_string(), [INFO] [stdout] 321 | | user.id.to_string() [INFO] [stdout] 322 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/checks.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 17 | | "SELECT admin FROM users WHERE user_id = $1", [INFO] [stdout] 18 | | ctx.author().id.to_string() [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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/checks.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 32 | | "SELECT staff FROM users WHERE user_id = $1", [INFO] [stdout] 33 | | ctx.author().id.to_string() [INFO] [stdout] 34 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/checks.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let state = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 66 | | "SELECT staff_onboard_state, staff_onboard_last_start_time, staff_onboard_guild FROM users WHERE user_id = $1", [INFO] [stdout] 67 | | ctx.author().id.to_string() [INFO] [stdout] 68 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/checks.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | / ... sqlx::query!( [INFO] [stdout] 130 | | ... "UPDATE users SET staff_onboard_session_code = NULL, staff_onboard_state = $1, staff_onboard_last_start_time = NOW() WHERE user... [INFO] [stdout] 131 | | ... states::OnboardState::Pending.to_string(), [INFO] [stdout] 132 | | ... ctx.author().id.to_string() [INFO] [stdout] 133 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/checks.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | / ... sqlx::query!( [INFO] [stdout] 185 | | ... "UPDATE users SET staff_onboard_session_code = NULL, staff_onboard_state = $1, staff_onboard_last_start_time = NOW() WHERE user... [INFO] [stdout] 186 | | ... states::OnboardState::Pending.to_string(), [INFO] [stdout] 187 | | ... ctx.author().id.to_string() [INFO] [stdout] 188 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/checks.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | / ... sqlx::query!( [INFO] [stdout] 228 | | ... "UPDATE users SET staff_onboard_session_code = NULL, staff_onboard_state = $1, staff_onboard_last_start_time = NOW() WHERE user... [INFO] [stdout] 229 | | ... states::OnboardState::Pending.to_string(), [INFO] [stdout] 230 | | ... ctx.author().id.to_string() [INFO] [stdout] 231 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/admin.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | / sqlx::query!( [INFO] [stdout] 319 | | "UPDATE users SET staff_onboard_guild = NULL, staff_onboard_state = $1, staff_onboard_last_start_time = NOW() WHERE user_id = $2", [INFO] [stdout] 320 | | crate::states::OnboardState::Pending.to_string(), [INFO] [stdout] 321 | | user.id.to_string() [INFO] [stdout] 322 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/checks.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 17 | | "SELECT admin FROM users WHERE user_id = $1", [INFO] [stdout] 18 | | ctx.author().id.to_string() [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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/checks.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 32 | | "SELECT staff FROM users WHERE user_id = $1", [INFO] [stdout] 33 | | ctx.author().id.to_string() [INFO] [stdout] 34 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/checks.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let state = sqlx::query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 66 | | "SELECT staff_onboard_state, staff_onboard_last_start_time, staff_onboard_guild FROM users WHERE user_id = $1", [INFO] [stdout] 67 | | ctx.author().id.to_string() [INFO] [stdout] 68 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/checks.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | / ... sqlx::query!( [INFO] [stdout] 130 | | ... "UPDATE users SET staff_onboard_session_code = NULL, staff_onboard_state = $1, staff_onboard_last_start_time = NOW() WHERE user... [INFO] [stdout] 131 | | ... states::OnboardState::Pending.to_string(), [INFO] [stdout] 132 | | ... ctx.author().id.to_string() [INFO] [stdout] 133 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/checks.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | / ... sqlx::query!( [INFO] [stdout] 185 | | ... "UPDATE users SET staff_onboard_session_code = NULL, staff_onboard_state = $1, staff_onboard_last_start_time = NOW() WHERE user... [INFO] [stdout] 186 | | ... states::OnboardState::Pending.to_string(), [INFO] [stdout] 187 | | ... ctx.author().id.to_string() [INFO] [stdout] 188 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/checks.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | / ... sqlx::query!( [INFO] [stdout] 228 | | ... "UPDATE users SET staff_onboard_session_code = NULL, staff_onboard_state = $1, staff_onboard_last_start_time = NOW() WHERE user... [INFO] [stdout] 229 | | ... states::OnboardState::Pending.to_string(), [INFO] [stdout] 230 | | ... ctx.author().id.to_string() [INFO] [stdout] 231 | | ... ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/approve.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | let onboard_state = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 20 | | "SELECT staff_onboard_state FROM users WHERE user_id = $1", [INFO] [stdout] 21 | | ctx.author().id.to_string() [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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/approve.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | / sqlx::query!( [INFO] [stdout] 77 | | "INSERT INTO onboard_data (user_id, onboard_code, verdict) VALUES ($1, $2, $3)", [INFO] [stdout] 78 | | ctx.author().id.to_string(), [INFO] [stdout] 79 | | tok, [INFO] [stdout] ... | [INFO] [stdout] 84 | | }) [INFO] [stdout] 85 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/approve.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | / sqlx::query!( [INFO] [stdout] 90 | | "UPDATE users SET staff_onboard_state = $1, staff_onboard_current_onboard_resp_id = $2 WHERE user_id = $3", [INFO] [stdout] 91 | | crate::states::OnboardState::InQuiz.to_string(), [INFO] [stdout] 92 | | tok, [INFO] [stdout] 93 | | ctx.author().id.to_string(), [INFO] [stdout] 94 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/approve.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | let onboard_state = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 20 | | "SELECT staff_onboard_state FROM users WHERE user_id = $1", [INFO] [stdout] 21 | | ctx.author().id.to_string() [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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/approve.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | / sqlx::query!( [INFO] [stdout] 77 | | "INSERT INTO onboard_data (user_id, onboard_code, verdict) VALUES ($1, $2, $3)", [INFO] [stdout] 78 | | ctx.author().id.to_string(), [INFO] [stdout] 79 | | tok, [INFO] [stdout] ... | [INFO] [stdout] 84 | | }) [INFO] [stdout] 85 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/approve.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | / sqlx::query!( [INFO] [stdout] 90 | | "UPDATE users SET staff_onboard_state = $1, staff_onboard_current_onboard_resp_id = $2 WHERE user_id = $3", [INFO] [stdout] 91 | | crate::states::OnboardState::InQuiz.to_string(), [INFO] [stdout] 92 | | tok, [INFO] [stdout] 93 | | ctx.author().id.to_string(), [INFO] [stdout] 94 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/claim.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | let onboard_state = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 23 | | "SELECT staff_onboard_state FROM users WHERE user_id = $1", [INFO] [stdout] 24 | | ctx.author().id.to_string() [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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/claim.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | / sqlx::query!( [INFO] [stdout] 143 | | "UPDATE users SET staff_onboard_state = $1 WHERE user_id = $2", [INFO] [stdout] 144 | | crate::states::OnboardState::QueueRemindedReviewer.to_string(), [INFO] [stdout] 145 | | ctx.author().id.to_string() [INFO] [stdout] 146 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/claim.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | / sqlx::query!( [INFO] [stdout] 216 | | "UPDATE users SET staff_onboard_state = $1 WHERE user_id = $2", [INFO] [stdout] 217 | | crate::states::OnboardState::Claimed.to_string(), [INFO] [stdout] 218 | | ctx.author().id.to_string() [INFO] [stdout] 219 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/claim.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | let onboard_state = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 23 | | "SELECT staff_onboard_state FROM users WHERE user_id = $1", [INFO] [stdout] 24 | | ctx.author().id.to_string() [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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/claim.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | / sqlx::query!( [INFO] [stdout] 143 | | "UPDATE users SET staff_onboard_state = $1 WHERE user_id = $2", [INFO] [stdout] 144 | | crate::states::OnboardState::QueueRemindedReviewer.to_string(), [INFO] [stdout] 145 | | ctx.author().id.to_string() [INFO] [stdout] 146 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/claim.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | / sqlx::query!( [INFO] [stdout] 216 | | "UPDATE users SET staff_onboard_state = $1 WHERE user_id = $2", [INFO] [stdout] 217 | | crate::states::OnboardState::Claimed.to_string(), [INFO] [stdout] 218 | | ctx.author().id.to_string() [INFO] [stdout] 219 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/deny.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | let onboard_state = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 20 | | "SELECT staff_onboard_state FROM users WHERE user_id = $1", [INFO] [stdout] 21 | | ctx.author().id.to_string() [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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/deny.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | / sqlx::query!( [INFO] [stdout] 67 | | "INSERT INTO onboard_data (user_id, onboard_code, verdict) VALUES ($1, $2, $3)", [INFO] [stdout] 68 | | ctx.author().id.to_string(), [INFO] [stdout] 69 | | tok, [INFO] [stdout] ... | [INFO] [stdout] 74 | | }) [INFO] [stdout] 75 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/deny.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | / sqlx::query!( [INFO] [stdout] 80 | | "UPDATE users SET staff_onboard_state = $1, staff_onboard_current_onboard_resp_id = $2 WHERE user_id = $3", [INFO] [stdout] 81 | | crate::states::OnboardState::InQuiz.to_string(), [INFO] [stdout] 82 | | tok, [INFO] [stdout] 83 | | ctx.author().id.to_string(), [INFO] [stdout] 84 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/deny.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | let onboard_state = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 20 | | "SELECT staff_onboard_state FROM users WHERE user_id = $1", [INFO] [stdout] 21 | | ctx.author().id.to_string() [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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/deny.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | / sqlx::query!( [INFO] [stdout] 67 | | "INSERT INTO onboard_data (user_id, onboard_code, verdict) VALUES ($1, $2, $3)", [INFO] [stdout] 68 | | ctx.author().id.to_string(), [INFO] [stdout] 69 | | tok, [INFO] [stdout] ... | [INFO] [stdout] 74 | | }) [INFO] [stdout] 75 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/deny.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | / sqlx::query!( [INFO] [stdout] 80 | | "UPDATE users SET staff_onboard_state = $1, staff_onboard_current_onboard_resp_id = $2 WHERE user_id = $3", [INFO] [stdout] 81 | | crate::states::OnboardState::InQuiz.to_string(), [INFO] [stdout] 82 | | tok, [INFO] [stdout] 83 | | ctx.author().id.to_string(), [INFO] [stdout] 84 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/queue.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | let onboard_state = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 20 | | "SELECT staff_onboard_state FROM users WHERE user_id = $1", [INFO] [stdout] 21 | | ctx.author().id.to_string() [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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/queue.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | / sqlx::query!( [INFO] [stdout] 103 | | "UPDATE users SET staff_onboard_state = $1 WHERE user_id = $2", [INFO] [stdout] 104 | | crate::states::OnboardState::Started.to_string(), [INFO] [stdout] 105 | | ctx.author().id.to_string() [INFO] [stdout] 106 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/queue.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | let bot_data = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 124 | | "SELECT short, invite FROM bots WHERE bot_id = $1", [INFO] [stdout] 125 | | crate::config::CONFIG.test_bot.to_string() [INFO] [stdout] 126 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/queue.rs:178:28 [INFO] [stdout] | [INFO] [stdout] 178 | let bot_data = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 179 | | "SELECT short, invite FROM bots WHERE bot_id = $1", [INFO] [stdout] 180 | | crate::config::CONFIG.test_bot.to_string() [INFO] [stdout] 181 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/queue.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | let onboard_state = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 20 | | "SELECT staff_onboard_state FROM users WHERE user_id = $1", [INFO] [stdout] 21 | | ctx.author().id.to_string() [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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/queue.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | / sqlx::query!( [INFO] [stdout] 103 | | "UPDATE users SET staff_onboard_state = $1 WHERE user_id = $2", [INFO] [stdout] 104 | | crate::states::OnboardState::Started.to_string(), [INFO] [stdout] 105 | | ctx.author().id.to_string() [INFO] [stdout] 106 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/queue.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | let bot_data = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 124 | | "SELECT short, invite FROM bots WHERE bot_id = $1", [INFO] [stdout] 125 | | crate::config::CONFIG.test_bot.to_string() [INFO] [stdout] 126 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/queue.rs:178:28 [INFO] [stdout] | [INFO] [stdout] 178 | let bot_data = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 179 | | "SELECT short, invite FROM bots WHERE bot_id = $1", [INFO] [stdout] 180 | | crate::config::CONFIG.test_bot.to_string() [INFO] [stdout] 181 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/staffguide.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / sqlx::query!( [INFO] [stdout] 19 | | "UPDATE users SET staff_onboard_session_code = $1 WHERE user_id = $2", [INFO] [stdout] 20 | | onboard_code, [INFO] [stdout] 21 | | ctx.author().id.to_string() [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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/cmds/staffguide.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / sqlx::query!( [INFO] [stdout] 19 | | "UPDATE users SET staff_onboard_session_code = $1 WHERE user_id = $2", [INFO] [stdout] 20 | | onboard_code, [INFO] [stdout] 21 | | ctx.author().id.to_string() [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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/finish.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | let code = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 19 | | "SELECT staff_onboard_session_code FROM users WHERE user_id = $1", [INFO] [stdout] 20 | | user_id.to_string() [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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/finish.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | let code = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 19 | | "SELECT staff_onboard_session_code FROM users WHERE user_id = $1", [INFO] [stdout] 20 | | user_id.to_string() [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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | let staff = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 154 | | "SELECT admin FROM users WHERE user_id = $1", [INFO] [stdout] 155 | | user.id.to_string() [INFO] [stdout] 156 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:175:31 [INFO] [stdout] | [INFO] [stdout] 175 | let staff_onboard_guild = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 176 | | "SELECT staff_onboard_guild FROM users WHERE user_id = $1", [INFO] [stdout] 177 | | data.state.to_string() [INFO] [stdout] 178 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | let staff = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 154 | | "SELECT admin FROM users WHERE user_id = $1", [INFO] [stdout] 155 | | user.id.to_string() [INFO] [stdout] 156 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:175:31 [INFO] [stdout] | [INFO] [stdout] 175 | let staff_onboard_guild = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 176 | | "SELECT staff_onboard_guild FROM users WHERE user_id = $1", [INFO] [stdout] 177 | | data.state.to_string() [INFO] [stdout] 178 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:247:15 [INFO] [stdout] | [INFO] [stdout] 247 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 248 | | "SELECT banned, staff_onboard_session_code FROM users WHERE user_id = $1", [INFO] [stdout] 249 | | uid.to_string() [INFO] [stdout] 250 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:247:15 [INFO] [stdout] | [INFO] [stdout] 247 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 248 | | "SELECT banned, staff_onboard_session_code FROM users WHERE user_id = $1", [INFO] [stdout] 249 | | uid.to_string() [INFO] [stdout] 250 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:306:16 [INFO] [stdout] | [INFO] [stdout] 306 | let resp = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 307 | | "SELECT verdict, questions, answers, meta, user_id FROM onboard_data WHERE onboard_code = $1", [INFO] [stdout] 308 | | rid.to_string() [INFO] [stdout] 309 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:306:16 [INFO] [stdout] | [INFO] [stdout] 306 | let resp = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 307 | | "SELECT verdict, questions, answers, meta, user_id FROM onboard_data WHERE onboard_code = $1", [INFO] [stdout] 308 | | rid.to_string() [INFO] [stdout] 309 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:353:15 [INFO] [stdout] | [INFO] [stdout] 353 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 354 | | "SELECT banned, staff_onboard_state, staff_onboard_current_onboard_resp_id FROM users WHERE user_id = $1 AND api_token = $2", [INFO] [stdout] 355 | | create_quiz_req.user_id, [INFO] [stdout] 356 | | create_quiz_req.token [INFO] [stdout] 357 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:375:16 [INFO] [stdout] | [INFO] [stdout] 375 | let resp = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 376 | | "SELECT questions FROM onboard_data WHERE onboard_code = $1", [INFO] [stdout] 377 | | rec.staff_onboard_current_onboard_resp_id [INFO] [stdout] 378 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:353:15 [INFO] [stdout] | [INFO] [stdout] 353 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 354 | | "SELECT banned, staff_onboard_state, staff_onboard_current_onboard_resp_id FROM users WHERE user_id = $1 AND api_token = $2", [INFO] [stdout] 355 | | create_quiz_req.user_id, [INFO] [stdout] 356 | | create_quiz_req.token [INFO] [stdout] 357 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | / sqlx::query!( [INFO] [stdout] 491 | | "UPDATE onboard_data SET questions = $1 WHERE onboard_code = $2", [INFO] [stdout] 492 | | quiz, [INFO] [stdout] 493 | | &id [INFO] [stdout] 494 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:375:16 [INFO] [stdout] | [INFO] [stdout] 375 | let resp = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 376 | | "SELECT questions FROM onboard_data WHERE onboard_code = $1", [INFO] [stdout] 377 | | rec.staff_onboard_current_onboard_resp_id [INFO] [stdout] 378 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:353:15 [INFO] [stdout] | [INFO] [stdout] 353 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 354 | | "SELECT banned, staff_onboard_state, staff_onboard_current_onboard_resp_id FROM users WHERE user_id = $1 AND api_token = $2", [INFO] [stdout] 355 | | create_quiz_req.user_id, [INFO] [stdout] 356 | | create_quiz_req.token [INFO] [stdout] 357 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:375:16 [INFO] [stdout] | [INFO] [stdout] 375 | let resp = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 376 | | "SELECT questions FROM onboard_data WHERE onboard_code = $1", [INFO] [stdout] 377 | | rec.staff_onboard_current_onboard_resp_id [INFO] [stdout] 378 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | / sqlx::query!( [INFO] [stdout] 491 | | "UPDATE onboard_data SET questions = $1 WHERE onboard_code = $2", [INFO] [stdout] 492 | | quiz, [INFO] [stdout] 493 | | &id [INFO] [stdout] 494 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:353:15 [INFO] [stdout] | [INFO] [stdout] 353 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 354 | | "SELECT banned, staff_onboard_state, staff_onboard_current_onboard_resp_id FROM users WHERE user_id = $1 AND api_token = $2", [INFO] [stdout] 355 | | create_quiz_req.user_id, [INFO] [stdout] 356 | | create_quiz_req.token [INFO] [stdout] 357 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | / sqlx::query!( [INFO] [stdout] 491 | | "UPDATE onboard_data SET questions = $1 WHERE onboard_code = $2", [INFO] [stdout] 492 | | quiz, [INFO] [stdout] 493 | | &id [INFO] [stdout] 494 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:375:16 [INFO] [stdout] | [INFO] [stdout] 375 | let resp = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 376 | | "SELECT questions FROM onboard_data WHERE onboard_code = $1", [INFO] [stdout] 377 | | rec.staff_onboard_current_onboard_resp_id [INFO] [stdout] 378 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:353:15 [INFO] [stdout] | [INFO] [stdout] 353 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 354 | | "SELECT banned, staff_onboard_state, staff_onboard_current_onboard_resp_id FROM users WHERE user_id = $1 AND api_token = $2", [INFO] [stdout] 355 | | create_quiz_req.user_id, [INFO] [stdout] 356 | | create_quiz_req.token [INFO] [stdout] 357 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:375:16 [INFO] [stdout] | [INFO] [stdout] 375 | let resp = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 376 | | "SELECT questions FROM onboard_data WHERE onboard_code = $1", [INFO] [stdout] 377 | | rec.staff_onboard_current_onboard_resp_id [INFO] [stdout] 378 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | / sqlx::query!( [INFO] [stdout] 491 | | "UPDATE onboard_data SET questions = $1 WHERE onboard_code = $2", [INFO] [stdout] 492 | | quiz, [INFO] [stdout] 493 | | &id [INFO] [stdout] 494 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | / sqlx::query!( [INFO] [stdout] 491 | | "UPDATE onboard_data SET questions = $1 WHERE onboard_code = $2", [INFO] [stdout] 492 | | quiz, [INFO] [stdout] 493 | | &id [INFO] [stdout] 494 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:353:15 [INFO] [stdout] | [INFO] [stdout] 353 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 354 | | "SELECT banned, staff_onboard_state, staff_onboard_current_onboard_resp_id FROM users WHERE user_id = $1 AND api_token = $2", [INFO] [stdout] 355 | | create_quiz_req.user_id, [INFO] [stdout] 356 | | create_quiz_req.token [INFO] [stdout] 357 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:375:16 [INFO] [stdout] | [INFO] [stdout] 375 | let resp = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 376 | | "SELECT questions FROM onboard_data WHERE onboard_code = $1", [INFO] [stdout] 377 | | rec.staff_onboard_current_onboard_resp_id [INFO] [stdout] 378 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | / sqlx::query!( [INFO] [stdout] 491 | | "UPDATE onboard_data SET questions = $1 WHERE onboard_code = $2", [INFO] [stdout] 492 | | quiz, [INFO] [stdout] 493 | | &id [INFO] [stdout] 494 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:534:15 [INFO] [stdout] | [INFO] [stdout] 534 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 535 | | "SELECT banned, staff_onboard_state, staff_onboard_last_start_time, staff_onboard_guild, staff_onboard_current_onboard_resp_id FR... [INFO] [stdout] 536 | | submit_onboarding_req.user_id, [INFO] [stdout] 537 | | submit_onboarding_req.token [INFO] [stdout] 538 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:562:16 [INFO] [stdout] | [INFO] [stdout] 562 | let resp = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 563 | | "SELECT questions FROM onboard_data WHERE onboard_code = $1", [INFO] [stdout] 564 | | id [INFO] [stdout] 565 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:581:9 [INFO] [stdout] | [INFO] [stdout] 581 | / sqlx::query!( [INFO] [stdout] 582 | | "UPDATE onboard_data SET questions = $1 WHERE onboard_code = $2", [INFO] [stdout] 583 | | json!({}), [INFO] [stdout] 584 | | &id [INFO] [stdout] 585 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:534:15 [INFO] [stdout] | [INFO] [stdout] 534 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 535 | | "SELECT banned, staff_onboard_state, staff_onboard_last_start_time, staff_onboard_guild, staff_onboard_current_onboard_resp_id FR... [INFO] [stdout] 536 | | submit_onboarding_req.user_id, [INFO] [stdout] 537 | | submit_onboarding_req.token [INFO] [stdout] 538 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:562:16 [INFO] [stdout] | [INFO] [stdout] 562 | let resp = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 563 | | "SELECT questions FROM onboard_data WHERE onboard_code = $1", [INFO] [stdout] 564 | | id [INFO] [stdout] 565 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:581:9 [INFO] [stdout] | [INFO] [stdout] 581 | / sqlx::query!( [INFO] [stdout] 582 | | "UPDATE onboard_data SET questions = $1 WHERE onboard_code = $2", [INFO] [stdout] 583 | | json!({}), [INFO] [stdout] 584 | | &id [INFO] [stdout] 585 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:671:5 [INFO] [stdout] | [INFO] [stdout] 671 | / sqlx::query!( [INFO] [stdout] 672 | | "UPDATE onboard_data SET questions = $1, answers = $2, meta = $3 WHERE onboard_code = $4", [INFO] [stdout] 673 | | serde_json::to_value(questions).map_err(|_| { [INFO] [stdout] 674 | | ServerError::Error("Fatal error: Could not serialize questions".to_string()) [INFO] [stdout] ... | [INFO] [stdout] 688 | | &id [INFO] [stdout] 689 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:695:5 [INFO] [stdout] | [INFO] [stdout] 695 | / sqlx::query!( [INFO] [stdout] 696 | | "UPDATE users SET staff_onboard_state = $1 WHERE user_id = $2", [INFO] [stdout] 697 | | crate::states::OnboardState::PendingManagerReview.to_string(), [INFO] [stdout] 698 | | submit_onboarding_req.user_id [INFO] [stdout] 699 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:534:15 [INFO] [stdout] | [INFO] [stdout] 534 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 535 | | "SELECT banned, staff_onboard_state, staff_onboard_last_start_time, staff_onboard_guild, staff_onboard_current_onboard_resp_id FR... [INFO] [stdout] 536 | | submit_onboarding_req.user_id, [INFO] [stdout] 537 | | submit_onboarding_req.token [INFO] [stdout] 538 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:562:16 [INFO] [stdout] | [INFO] [stdout] 562 | let resp = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 563 | | "SELECT questions FROM onboard_data WHERE onboard_code = $1", [INFO] [stdout] 564 | | id [INFO] [stdout] 565 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:581:9 [INFO] [stdout] | [INFO] [stdout] 581 | / sqlx::query!( [INFO] [stdout] 582 | | "UPDATE onboard_data SET questions = $1 WHERE onboard_code = $2", [INFO] [stdout] 583 | | json!({}), [INFO] [stdout] 584 | | &id [INFO] [stdout] 585 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:671:5 [INFO] [stdout] | [INFO] [stdout] 671 | / sqlx::query!( [INFO] [stdout] 672 | | "UPDATE onboard_data SET questions = $1, answers = $2, meta = $3 WHERE onboard_code = $4", [INFO] [stdout] 673 | | serde_json::to_value(questions).map_err(|_| { [INFO] [stdout] 674 | | ServerError::Error("Fatal error: Could not serialize questions".to_string()) [INFO] [stdout] ... | [INFO] [stdout] 688 | | &id [INFO] [stdout] 689 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:695:5 [INFO] [stdout] | [INFO] [stdout] 695 | / sqlx::query!( [INFO] [stdout] 696 | | "UPDATE users SET staff_onboard_state = $1 WHERE user_id = $2", [INFO] [stdout] 697 | | crate::states::OnboardState::PendingManagerReview.to_string(), [INFO] [stdout] 698 | | submit_onboarding_req.user_id [INFO] [stdout] 699 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:534:15 [INFO] [stdout] | [INFO] [stdout] 534 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 535 | | "SELECT banned, staff_onboard_state, staff_onboard_last_start_time, staff_onboard_guild, staff_onboard_current_onboard_resp_id FR... [INFO] [stdout] 536 | | submit_onboarding_req.user_id, [INFO] [stdout] 537 | | submit_onboarding_req.token [INFO] [stdout] 538 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:562:16 [INFO] [stdout] | [INFO] [stdout] 562 | let resp = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 563 | | "SELECT questions FROM onboard_data WHERE onboard_code = $1", [INFO] [stdout] 564 | | id [INFO] [stdout] 565 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:671:5 [INFO] [stdout] | [INFO] [stdout] 671 | / sqlx::query!( [INFO] [stdout] 672 | | "UPDATE onboard_data SET questions = $1, answers = $2, meta = $3 WHERE onboard_code = $4", [INFO] [stdout] 673 | | serde_json::to_value(questions).map_err(|_| { [INFO] [stdout] 674 | | ServerError::Error("Fatal error: Could not serialize questions".to_string()) [INFO] [stdout] ... | [INFO] [stdout] 688 | | &id [INFO] [stdout] 689 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:695:5 [INFO] [stdout] | [INFO] [stdout] 695 | / sqlx::query!( [INFO] [stdout] 696 | | "UPDATE users SET staff_onboard_state = $1 WHERE user_id = $2", [INFO] [stdout] 697 | | crate::states::OnboardState::PendingManagerReview.to_string(), [INFO] [stdout] 698 | | submit_onboarding_req.user_id [INFO] [stdout] 699 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:581:9 [INFO] [stdout] | [INFO] [stdout] 581 | / sqlx::query!( [INFO] [stdout] 582 | | "UPDATE onboard_data SET questions = $1 WHERE onboard_code = $2", [INFO] [stdout] 583 | | json!({}), [INFO] [stdout] 584 | | &id [INFO] [stdout] 585 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:534:15 [INFO] [stdout] | [INFO] [stdout] 534 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 535 | | "SELECT banned, staff_onboard_state, staff_onboard_last_start_time, staff_onboard_guild, staff_onboard_current_onboard_resp_id FR... [INFO] [stdout] 536 | | submit_onboarding_req.user_id, [INFO] [stdout] 537 | | submit_onboarding_req.token [INFO] [stdout] 538 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:562:16 [INFO] [stdout] | [INFO] [stdout] 562 | let resp = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 563 | | "SELECT questions FROM onboard_data WHERE onboard_code = $1", [INFO] [stdout] 564 | | id [INFO] [stdout] 565 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:581:9 [INFO] [stdout] | [INFO] [stdout] 581 | / sqlx::query!( [INFO] [stdout] 582 | | "UPDATE onboard_data SET questions = $1 WHERE onboard_code = $2", [INFO] [stdout] 583 | | json!({}), [INFO] [stdout] 584 | | &id [INFO] [stdout] 585 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:671:5 [INFO] [stdout] | [INFO] [stdout] 671 | / sqlx::query!( [INFO] [stdout] 672 | | "UPDATE onboard_data SET questions = $1, answers = $2, meta = $3 WHERE onboard_code = $4", [INFO] [stdout] 673 | | serde_json::to_value(questions).map_err(|_| { [INFO] [stdout] 674 | | ServerError::Error("Fatal error: Could not serialize questions".to_string()) [INFO] [stdout] ... | [INFO] [stdout] 688 | | &id [INFO] [stdout] 689 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:695:5 [INFO] [stdout] | [INFO] [stdout] 695 | / sqlx::query!( [INFO] [stdout] 696 | | "UPDATE users SET staff_onboard_state = $1 WHERE user_id = $2", [INFO] [stdout] 697 | | crate::states::OnboardState::PendingManagerReview.to_string(), [INFO] [stdout] 698 | | submit_onboarding_req.user_id [INFO] [stdout] 699 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:671:5 [INFO] [stdout] | [INFO] [stdout] 671 | / sqlx::query!( [INFO] [stdout] 672 | | "UPDATE onboard_data SET questions = $1, answers = $2, meta = $3 WHERE onboard_code = $4", [INFO] [stdout] 673 | | serde_json::to_value(questions).map_err(|_| { [INFO] [stdout] 674 | | ServerError::Error("Fatal error: Could not serialize questions".to_string()) [INFO] [stdout] ... | [INFO] [stdout] 688 | | &id [INFO] [stdout] 689 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:695:5 [INFO] [stdout] | [INFO] [stdout] 695 | / sqlx::query!( [INFO] [stdout] 696 | | "UPDATE users SET staff_onboard_state = $1 WHERE user_id = $2", [INFO] [stdout] 697 | | crate::states::OnboardState::PendingManagerReview.to_string(), [INFO] [stdout] 698 | | submit_onboarding_req.user_id [INFO] [stdout] 699 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:534:15 [INFO] [stdout] | [INFO] [stdout] 534 | let rec = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 535 | | "SELECT banned, staff_onboard_state, staff_onboard_last_start_time, staff_onboard_guild, staff_onboard_current_onboard_resp_id FR... [INFO] [stdout] 536 | | submit_onboarding_req.user_id, [INFO] [stdout] 537 | | submit_onboarding_req.token [INFO] [stdout] 538 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/setup.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 14 | | "SELECT staff_onboard_guild FROM users WHERE user_id = $1", [INFO] [stdout] 15 | | ctx.author().id.to_string() [INFO] [stdout] 16 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:562:16 [INFO] [stdout] | [INFO] [stdout] 562 | let resp = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 563 | | "SELECT questions FROM onboard_data WHERE onboard_code = $1", [INFO] [stdout] 564 | | id [INFO] [stdout] 565 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/setup.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / sqlx::query!( [INFO] [stdout] 54 | | "UPDATE users SET staff_onboard_guild = $1 WHERE user_id = $2", [INFO] [stdout] 55 | | guild.id.0.to_string(), [INFO] [stdout] 56 | | ctx.author().id.to_string() [INFO] [stdout] 57 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:581:9 [INFO] [stdout] | [INFO] [stdout] 581 | / sqlx::query!( [INFO] [stdout] 582 | | "UPDATE onboard_data SET questions = $1 WHERE onboard_code = $2", [INFO] [stdout] 583 | | json!({}), [INFO] [stdout] 584 | | &id [INFO] [stdout] 585 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:671:5 [INFO] [stdout] | [INFO] [stdout] 671 | / sqlx::query!( [INFO] [stdout] 672 | | "UPDATE onboard_data SET questions = $1, answers = $2, meta = $3 WHERE onboard_code = $4", [INFO] [stdout] 673 | | serde_json::to_value(questions).map_err(|_| { [INFO] [stdout] 674 | | ServerError::Error("Fatal error: Could not serialize questions".to_string()) [INFO] [stdout] ... | [INFO] [stdout] 688 | | &id [INFO] [stdout] 689 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/server.rs:695:5 [INFO] [stdout] | [INFO] [stdout] 695 | / sqlx::query!( [INFO] [stdout] 696 | | "UPDATE users SET staff_onboard_state = $1 WHERE user_id = $2", [INFO] [stdout] 697 | | crate::states::OnboardState::PendingManagerReview.to_string(), [INFO] [stdout] 698 | | submit_onboarding_req.user_id [INFO] [stdout] 699 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/setup.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 14 | | "SELECT staff_onboard_guild FROM users WHERE user_id = $1", [INFO] [stdout] 15 | | ctx.author().id.to_string() [INFO] [stdout] 16 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/setup.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / sqlx::query!( [INFO] [stdout] 54 | | "UPDATE users SET staff_onboard_guild = $1 WHERE user_id = $2", [INFO] [stdout] 55 | | guild.id.0.to_string(), [INFO] [stdout] 56 | | ctx.author().id.to_string() [INFO] [stdout] 57 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/main.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | / sqlx::query!( [INFO] [stdout] 97 | | "UPDATE bots SET type = 'testbot' WHERE bot_id = $1", [INFO] [stdout] 98 | | crate::config::CONFIG.test_bot.to_string() [INFO] [stdout] 99 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/main.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | let rows = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 132 | | " [INFO] [stdout] 133 | | SELECT user_id, staff_onboard_guild FROM users [INFO] [stdout] 134 | | WHERE staff_onboard_guild IS NOT NULL [INFO] [stdout] ... | [INFO] [stdout] 145 | | states::OnboardState::Completed.to_string() [INFO] [stdout] 146 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/main.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / sqlx::query!( [INFO] [stdout] 152 | | "UPDATE users SET staff_onboard_session_code = NULL, staff_onboard_state = $1 WHERE user_id = $2", [INFO] [stdout] 153 | | states::OnboardState::Pending.to_string(), [INFO] [stdout] 154 | | row.user_id [INFO] [stdout] 155 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/main.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | / sqlx::query!( [INFO] [stdout] 97 | | "UPDATE bots SET type = 'testbot' WHERE bot_id = $1", [INFO] [stdout] 98 | | crate::config::CONFIG.test_bot.to_string() [INFO] [stdout] 99 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/main.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | let rows = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 132 | | " [INFO] [stdout] 133 | | SELECT user_id, staff_onboard_guild FROM users [INFO] [stdout] 134 | | WHERE staff_onboard_guild IS NOT NULL [INFO] [stdout] ... | [INFO] [stdout] 145 | | states::OnboardState::Completed.to_string() [INFO] [stdout] 146 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/main.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / sqlx::query!( [INFO] [stdout] 152 | | "UPDATE users SET staff_onboard_session_code = NULL, staff_onboard_state = $1 WHERE user_id = $2", [INFO] [stdout] 153 | | states::OnboardState::Pending.to_string(), [INFO] [stdout] 154 | | row.user_id [INFO] [stdout] 155 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from 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: `Utc` [INFO] [stdout] --> src/cmds/approve.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::types::chrono::{Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::types::chrono::Utc` [INFO] [stdout] --> src/cmds/deny.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::types::chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::chrono::Utc` [INFO] [stdout] --> src/server.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use sqlx::{types::chrono::Utc, PgPool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/cmds/approve.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::types::chrono::{Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::types::chrono::Utc` [INFO] [stdout] --> src/cmds/deny.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::types::chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::chrono::Utc` [INFO] [stdout] --> src/server.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use sqlx::{types::chrono::Utc, PgPool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 60 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 60 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `persepolis` (bin "persepolis") due to 61 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `persepolis` (bin "persepolis" test) due to 61 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6399e7fdf58ada6172e4fbaeb7cddb81d0aaef024aa2d67b66b97510d1c6e866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6399e7fdf58ada6172e4fbaeb7cddb81d0aaef024aa2d67b66b97510d1c6e866", kill_on_drop: false }` [INFO] [stdout] 6399e7fdf58ada6172e4fbaeb7cddb81d0aaef024aa2d67b66b97510d1c6e866