[INFO] cloning repository https://github.com/InfinityBotList/infernoplex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/InfinityBotList/infernoplex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInfinityBotList%2Finfernoplex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInfinityBotList%2Finfernoplex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5497812da5136a179fe10d2ef416ccba563ccdc [INFO] checking InfinityBotList/infernoplex/a5497812da5136a179fe10d2ef416ccba563ccdc against master#5431404b87967c69438ea1e698edbe96505f0798 for pr-119849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInfinityBotList%2Finfernoplex" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/InfinityBotList/infernoplex on toolchain 5431404b87967c69438ea1e698edbe96505f0798 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/InfinityBotList/infernoplex [INFO] finished tweaking git repo https://github.com/InfinityBotList/infernoplex [INFO] tweaked toml for git repo https://github.com/InfinityBotList/infernoplex written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/InfinityBotList/infernoplex 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" "+5431404b87967c69438ea1e698edbe96505f0798" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/serenity-rs/poise` [INFO] [stderr] Updating git repository `https://github.com/serenity-rs/serenity` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 614aed868a35e89ed2b3cd6e9143b2ab02b9a74efe7bd28c76511e46a6334a95 [INFO] running `Command { std: "docker" "start" "-a" "614aed868a35e89ed2b3cd6e9143b2ab02b9a74efe7bd28c76511e46a6334a95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "614aed868a35e89ed2b3cd6e9143b2ab02b9a74efe7bd28c76511e46a6334a95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "614aed868a35e89ed2b3cd6e9143b2ab02b9a74efe7bd28c76511e46a6334a95", kill_on_drop: false }` [INFO] [stdout] 614aed868a35e89ed2b3cd6e9143b2ab02b9a74efe7bd28c76511e46a6334a95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9592e6b664c9ff17d187e78c2777b7ee83f9857e77a21084478e274f0c5a241d [INFO] running `Command { std: "docker" "start" "-a" "9592e6b664c9ff17d187e78c2777b7ee83f9857e77a21084478e274f0c5a241d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking zerocopy v0.7.26 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling rustls v0.21.9 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling libgit2-sys v0.14.2+1.5.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling vergen v7.5.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling enum-iterator-derive v1.2.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking webpki-roots v0.25.3 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Compiling sqlformat v0.2.2 [INFO] [stderr] Compiling enum-iterator v1.4.1 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [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 dotenvy v0.15.7 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serenity v0.12.0-rc (https://github.com/serenity-rs/serenity?branch=next#fdf9f376) [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Compiling command_attr v0.5.0 (https://github.com/serenity-rs/serenity?branch=next#fdf9f376) [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking typemap_rev v0.3.0 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling poise_macros v0.5.5 (https://github.com/serenity-rs/poise?branch=serenity-next#7844c033) [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 termcolor v1.4.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Checking tower-http v0.3.5 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking serde_yaml v0.9.27 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking sqlx-rt v0.6.3 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking sqlx-core v0.6.3 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.22 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling git2 v0.16.1 [INFO] [stderr] Compiling sqlx-macros v0.6.3 [INFO] [stderr] Compiling infernoplex v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking sqlx v0.6.3 [INFO] [stderr] Checking poise v0.5.5 (https://github.com/serenity-rs/poise?branch=serenity-next#7844c033) [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/setup.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | let res = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 25 | | "SELECT COUNT(*) FROM servers WHERE server_id = $1", [INFO] [stdout] 26 | | server_id [INFO] [stdout] 27 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `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/setup.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 198 | let team_id = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 199 | | "INSERT INTO teams (name) VALUES ($1) RETURNING id", [INFO] [stdout] 200 | | format!("{}'s Team", guild_stats.name), [INFO] [stdout] 201 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the 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/setup.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | let res = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 221 | | "SELECT COUNT(*) FROM users WHERE user_id = $1", [INFO] [stdout] 222 | | guild_stats.owner.to_string() [INFO] [stdout] 223 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the 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/setup.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / sqlx::query!( [INFO] [stdout] 229 | | "INSERT INTO users (user_id, api_token, extra_links, staff, developer, certified) VALUES ($1, $2, $3, false, false, false)", [INFO] [stdout] 230 | | guild_stats.owner.to_string(), [INFO] [stdout] 231 | | crypto::gen_random(138), [INFO] [stdout] 232 | | sqlx::types::JsonValue::Array(vec![]), [INFO] [stdout] 233 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the 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/setup.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | / sqlx::query!( [INFO] [stdout] 240 | | "INSERT INTO team_members (team_id, user_id, flags) VALUES ($1, $2, $3)", [INFO] [stdout] 241 | | team_id.id, [INFO] [stdout] 242 | | guild_stats.owner.to_string(), [INFO] [stdout] 243 | | &["global.*".to_string()] [INFO] [stdout] 244 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the 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/setup.rs:250:15 [INFO] [stdout] | [INFO] [stdout] 250 | let res = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 251 | | "SELECT COUNT(*) FROM users WHERE user_id = $1", [INFO] [stdout] 252 | | ctx.author().id.to_string() [INFO] [stdout] 253 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/setup.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | let res = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 25 | | "SELECT COUNT(*) FROM servers WHERE server_id = $1", [INFO] [stdout] 26 | | server_id [INFO] [stdout] 27 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `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/setup.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | / sqlx::query!( [INFO] [stdout] 259 | | "INSERT INTO users (user_id, api_token, extra_links, staff, developer, certified) VALUES ($1, $2, $3, false, false, false)", [INFO] [stdout] 260 | | ctx.author().id.to_string(), [INFO] [stdout] 261 | | crypto::gen_random(138), [INFO] [stdout] 262 | | sqlx::types::JsonValue::Array(vec![]), [INFO] [stdout] 263 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the 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/setup.rs:198:19 [INFO] [stdout] | [INFO] [stdout] 198 | let team_id = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 199 | | "INSERT INTO teams (name) VALUES ($1) RETURNING id", [INFO] [stdout] 200 | | format!("{}'s Team", guild_stats.name), [INFO] [stdout] 201 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the 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/setup.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | / sqlx::query!( [INFO] [stdout] 270 | | "INSERT INTO team_members (team_id, user_id, flags) VALUES ($1, $2, $3)", [INFO] [stdout] 271 | | team_id.id, [INFO] [stdout] 272 | | ctx.author().id.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 275 | | ] [INFO] [stdout] 276 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the 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/setup.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | let res = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 221 | | "SELECT COUNT(*) FROM users WHERE user_id = $1", [INFO] [stdout] 222 | | guild_stats.owner.to_string() [INFO] [stdout] 223 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the 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/setup.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / sqlx::query!( [INFO] [stdout] 229 | | "INSERT INTO users (user_id, api_token, extra_links, staff, developer, certified) VALUES ($1, $2, $3, false, false, false)", [INFO] [stdout] 230 | | guild_stats.owner.to_string(), [INFO] [stdout] 231 | | crypto::gen_random(138), [INFO] [stdout] 232 | | sqlx::types::JsonValue::Array(vec![]), [INFO] [stdout] 233 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the 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/setup.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | / sqlx::query!( [INFO] [stdout] 240 | | "INSERT INTO team_members (team_id, user_id, flags) VALUES ($1, $2, $3)", [INFO] [stdout] 241 | | team_id.id, [INFO] [stdout] 242 | | guild_stats.owner.to_string(), [INFO] [stdout] 243 | | &["global.*".to_string()] [INFO] [stdout] 244 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the 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/setup.rs:250:15 [INFO] [stdout] | [INFO] [stdout] 250 | let res = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 251 | | "SELECT COUNT(*) FROM users WHERE user_id = $1", [INFO] [stdout] 252 | | ctx.author().id.to_string() [INFO] [stdout] 253 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (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/setup.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | / sqlx::query!( [INFO] [stdout] 259 | | "INSERT INTO users (user_id, api_token, extra_links, staff, developer, certified) VALUES ($1, $2, $3, false, false, false)", [INFO] [stdout] 260 | | ctx.author().id.to_string(), [INFO] [stdout] 261 | | crypto::gen_random(138), [INFO] [stdout] 262 | | sqlx::types::JsonValue::Array(vec![]), [INFO] [stdout] 263 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the 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/setup.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | / sqlx::query!( [INFO] [stdout] 270 | | "INSERT INTO team_members (team_id, user_id, flags) VALUES ($1, $2, $3)", [INFO] [stdout] 271 | | team_id.id, [INFO] [stdout] 272 | | ctx.author().id.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 275 | | ] [INFO] [stdout] 276 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the 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/setup.rs:281:24 [INFO] [stdout] | [INFO] [stdout] 281 | let vanity_count = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 282 | | "SELECT COUNT(*) FROM vanity WHERE code::text = $1", [INFO] [stdout] 283 | | inputs[0] [INFO] [stdout] 284 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the 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/setup.rs:301:22 [INFO] [stdout] | [INFO] [stdout] 301 | let vanity_tag = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 302 | | "INSERT INTO vanity (code, target_id, target_type) VALUES ($1::text, $2, $3) RETURNING itag", [INFO] [stdout] 303 | | inputs[0], [INFO] [stdout] 304 | | server_id, [INFO] [stdout] 305 | | "server" [INFO] [stdout] 306 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the 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/setup.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | / sqlx::query!( [INFO] [stdout] 312 | | "INSERT INTO servers ( [INFO] [stdout] 313 | | server_id, [INFO] [stdout] 314 | | name, [INFO] [stdout] ... | [INFO] [stdout] 350 | | sqlx::types::JsonValue::Array(vec![]) [INFO] [stdout] 351 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `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/setup.rs:281:24 [INFO] [stdout] | [INFO] [stdout] 281 | let vanity_count = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 282 | | "SELECT COUNT(*) FROM vanity WHERE code::text = $1", [INFO] [stdout] 283 | | inputs[0] [INFO] [stdout] 284 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the 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/setup.rs:301:22 [INFO] [stdout] | [INFO] [stdout] 301 | let vanity_tag = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 302 | | "INSERT INTO vanity (code, target_id, target_type) VALUES ($1::text, $2, $3) RETURNING itag", [INFO] [stdout] 303 | | inputs[0], [INFO] [stdout] 304 | | server_id, [INFO] [stdout] 305 | | "server" [INFO] [stdout] 306 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the 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/setup.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | / sqlx::query!( [INFO] [stdout] 312 | | "INSERT INTO servers ( [INFO] [stdout] 313 | | server_id, [INFO] [stdout] 314 | | name, [INFO] [stdout] ... | [INFO] [stdout] 350 | | sqlx::types::JsonValue::Array(vec![]) [INFO] [stdout] 351 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impls::crypto` [INFO] [stdout] --> src/cmds/setup.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{impls::crypto, Context, Error}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impls::crypto` [INFO] [stdout] --> src/cmds/setup.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{impls::crypto, Context, Error}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChannelId`, `CreateMessage` [INFO] [stdout] --> src/tasks/serversync.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use poise::serenity_prelude::{ChannelId, CreateMessage}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChannelId`, `CreateMessage` [INFO] [stdout] --> src/tasks/serversync.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use poise::serenity_prelude::{ChannelId, CreateMessage}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/tasks/serversync.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | pool: &sqlx::PgPool, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/tasks/serversync.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | pool: &sqlx::PgPool, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guild` [INFO] [stdout] --> src/tasks/serversync.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | for guild in cache_http.cache.guilds() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guild` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guild` [INFO] [stdout] --> src/tasks/serversync.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | for guild in cache_http.cache.guilds() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guild` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `infernoplex` (bin "infernoplex" test) due to 12 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `infernoplex` (bin "infernoplex") due to 12 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9592e6b664c9ff17d187e78c2777b7ee83f9857e77a21084478e274f0c5a241d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9592e6b664c9ff17d187e78c2777b7ee83f9857e77a21084478e274f0c5a241d", kill_on_drop: false }` [INFO] [stdout] 9592e6b664c9ff17d187e78c2777b7ee83f9857e77a21084478e274f0c5a241d