[INFO] cloning repository https://github.com/reminder-bot/reminder-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/reminder-bot/reminder-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freminder-bot%2Freminder-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freminder-bot%2Freminder-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85659f05aae2a880eb298336e686ff44e67440ea [INFO] testing reminder-bot/reminder-rs against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freminder-bot%2Freminder-rs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/reminder-bot/reminder-rs on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/reminder-bot/reminder-rs [INFO] finished tweaking git repo https://github.com/reminder-bot/reminder-rs [INFO] tweaked toml for git repo https://github.com/reminder-bot/reminder-rs written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/reminder-bot/reminder-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6c3109b4213a6818a72c0226a0f4713d59ba1895243e493b2f86cd0f300f32bd [INFO] running `Command { std: "docker" "start" "-a" "6c3109b4213a6818a72c0226a0f4713d59ba1895243e493b2f86cd0f300f32bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c3109b4213a6818a72c0226a0f4713d59ba1895243e493b2f86cd0f300f32bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c3109b4213a6818a72c0226a0f4713d59ba1895243e493b2f86cd0f300f32bd", kill_on_drop: false }` [INFO] [stdout] 6c3109b4213a6818a72c0226a0f4713d59ba1895243e493b2f86cd0f300f32bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bec6987436026e0184237ea79248bb16e024bc43f2de296cbba5098c61b6cb0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2bec6987436026e0184237ea79248bb16e024bc43f2de296cbba5098c61b6cb0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling serenity v0.10.7 (https://github.com/serenity-rs/serenity?branch=next#a24132fc) [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling bigdecimal v0.2.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling command_attr v0.3.6 (https://github.com/serenity-rs/serenity?branch=next#a24132fc) [INFO] [stderr] Compiling regex_command_attr v0.2.0 (/opt/rustwide/workdir/regex_command_attr) [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.6 [INFO] [stderr] Compiling sqlx-rt v0.5.5 [INFO] [stderr] Compiling async-tungstenite v0.13.1 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling simple_asn1 v0.5.3 [INFO] [stderr] Compiling rsa v0.4.0 [INFO] [stderr] Compiling sqlx-core v0.5.5 [INFO] [stderr] Compiling hyper v0.14.8 [INFO] [stderr] Compiling sqlx-macros v0.5.5 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.3 [INFO] [stderr] Compiling sqlx v0.5.5 [INFO] [stderr] Compiling reminder_rs v1.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/moderation_cmds.rs:455:21 [INFO] [stdout] | [INFO] [stdout] 455 | let _ = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 456 | | " [INFO] [stdout] 457 | | DELETE FROM command_restrictions WHERE role_id = (SELECT id FROM roles WHERE role = ?) [INFO] [stdout] 458 | | ", [INFO] [stdout] 459 | | role.id.as_u64() [INFO] [stdout] 460 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/moderation_cmds.rs:470:25 [INFO] [stdout] | [INFO] [stdout] 470 | let _ = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 471 | | " [INFO] [stdout] 472 | | INSERT IGNORE INTO roles (role, name, guild_id) VALUES (?, ?, ?) [INFO] [stdout] 473 | | ", [INFO] [stdout] ... | [INFO] [stdout] 476 | | guild_data.id [INFO] [stdout] 477 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/moderation_cmds.rs:482:31 [INFO] [stdout] | [INFO] [stdout] 482 | let res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 483 | | " [INFO] [stdout] 484 | | INSERT INTO command_restrictions (role_id, command) VALUES ((SELECT id FROM roles WHERE role = ?), ?) [INFO] [stdout] 485 | | ", role.id.as_u64(), command) [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/moderation_cmds.rs:511:20 [INFO] [stdout] | [INFO] [stdout] 511 | let rows = sqlx::query!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 512 | | " [INFO] [stdout] 513 | | SELECT [INFO] [stdout] 514 | | roles.role, command_restrictions.command [INFO] [stdout] ... | [INFO] [stdout] 524 | | guild_id [INFO] [stdout] 525 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/moderation_cmds.rs:577:31 [INFO] [stdout] | [INFO] [stdout] 577 | let aliases = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 578 | | " [INFO] [stdout] 579 | | SELECT name, command FROM command_aliases WHERE guild_id = (SELECT id FROM guilds WHERE guild = ?) [INFO] [stdout] 580 | | ", [INFO] [stdout] 581 | | guild_id [INFO] [stdout] 582 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/moderation_cmds.rs:598:41 [INFO] [stdout] | [INFO] [stdout] 598 | let deleted_count = sqlx::query!( [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 599 | | " [INFO] [stdout] 600 | | SELECT COUNT(1) AS count FROM command_aliases WHERE name = ? AND guild_id = (SELECT id FROM guilds WHERE guild = ?) [INFO] [stdout] 601 | | ", command, guild_id) [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/moderation_cmds.rs:606:21 [INFO] [stdout] | [INFO] [stdout] 606 | / sqlx::query!( [INFO] [stdout] 607 | | " [INFO] [stdout] 608 | | DELETE FROM command_aliases WHERE name = ? AND guild_id = (SELECT id FROM guilds WHERE guild = ?) [INFO] [stdout] 609 | | ", [INFO] [stdout] 610 | | command, [INFO] [stdout] 611 | | guild_id [INFO] [stdout] 612 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/moderation_cmds.rs:632:31 [INFO] [stdout] | [INFO] [stdout] 632 | let res = sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 633 | | " [INFO] [stdout] 634 | | INSERT INTO command_aliases (guild_id, name, command) VALUES ((SELECT id FROM guilds WHERE guild = ?), ?, ?) [INFO] [stdout] 635 | | ", guild_id, name, command) [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/moderation_cmds.rs:640:25 [INFO] [stdout] | [INFO] [stdout] 640 | / sqlx::query!( [INFO] [stdout] 641 | | " [INFO] [stdout] 642 | | UPDATE command_aliases SET command = ? WHERE guild_id = (SELECT id FROM guilds WHERE guild = ?) AND name = ? [INFO] [stdout] 643 | | ", command, guild_id, name) [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/moderation_cmds.rs:653:27 [INFO] [stdout] | [INFO] [stdout] 653 | match sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 654 | | " [INFO] [stdout] 655 | | SELECT command FROM command_aliases WHERE guild_id = (SELECT id FROM guilds WHERE guild = ?) AND name = ? [INFO] [stdout] 656 | | ", guild_id, name) [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: WEBHOOK_AVATAR not provided for compilation [INFO] [stdout] --> src/commands/reminder_cmds.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | / env!( [INFO] [stdout] 97 | | "WEBHOOK_AVATAR", [INFO] [stdout] 98 | | "WEBHOOK_AVATAR not provided for compilation" [INFO] [stdout] 99 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `WEBHOOK_AVATAR` not defined [INFO] [stdout] --> src/commands/reminder_cmds.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | env!("WEBHOOK_AVATAR"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/reminder_cmds.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | / sqlx::query!( [INFO] [stdout] 191 | | " [INFO] [stdout] 192 | | UPDATE reminders [INFO] [stdout] 193 | | INNER JOIN `channels` [INFO] [stdout] ... | [INFO] [stdout] 200 | | guild_data.id [INFO] [stdout] 201 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/reminder_cmds.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | / sqlx::query!( [INFO] [stdout] 207 | | " [INFO] [stdout] 208 | | UPDATE reminders SET `utc_time` = `utc_time` + ? WHERE reminders.channel_id = ? [INFO] [stdout] 209 | | ", [INFO] [stdout] 210 | | displacement, [INFO] [stdout] 211 | | user_data.dm_channel [INFO] [stdout] 212 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/reminder_cmds.rs:433:21 [INFO] [stdout] | [INFO] [stdout] 433 | let reminders = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 434 | | LookReminder, [INFO] [stdout] 435 | | " [INFO] [stdout] 436 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 459 | | flags.limit [INFO] [stdout] 460 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/reminder_cmds.rs:505:13 [INFO] [stdout] | [INFO] [stdout] 505 | / sqlx::query_as_unchecked!( [INFO] [stdout] 506 | | LookReminder, [INFO] [stdout] 507 | | " [INFO] [stdout] 508 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 524 | | channels [INFO] [stdout] 525 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/reminder_cmds.rs:529:13 [INFO] [stdout] | [INFO] [stdout] 529 | / sqlx::query_as_unchecked!( [INFO] [stdout] 530 | | LookReminder, [INFO] [stdout] 531 | | " [INFO] [stdout] 532 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 548 | | guild_id.as_u64() [INFO] [stdout] 549 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/reminder_cmds.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | / sqlx::query_as!( [INFO] [stdout] 555 | | LookReminder, [INFO] [stdout] 556 | | " [INFO] [stdout] 557 | | SELECT [INFO] [stdout] ... | [INFO] [stdout] 573 | | msg.channel_id.as_u64() [INFO] [stdout] 574 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/reminder_cmds.rs:629:29 [INFO] [stdout] | [INFO] [stdout] 629 | let count_row = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 630 | | " [INFO] [stdout] 631 | | SELECT COUNT(1) AS count FROM reminders WHERE FIND_IN_SET(id, ?) [INFO] [stdout] 632 | | ", [INFO] [stdout] 633 | | joined [INFO] [stdout] 634 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/reminder_cmds.rs:639:13 [INFO] [stdout] | [INFO] [stdout] 639 | / sqlx::query!( [INFO] [stdout] 640 | | " [INFO] [stdout] 641 | | DELETE FROM reminders WHERE FIND_IN_SET(id, ?) [INFO] [stdout] 642 | | ", [INFO] [stdout] 643 | | joined [INFO] [stdout] 644 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/reminder_cmds.rs:650:25 [INFO] [stdout] | [INFO] [stdout] 650 | let _ = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 651 | | " [INFO] [stdout] 652 | | INSERT INTO events (event_name, bulk_count, guild_id, user_id) VALUES ('delete', ?, ?, ?) [INFO] [stdout] 653 | | ", [INFO] [stdout] ... | [INFO] [stdout] 656 | | user_data.id [INFO] [stdout] 657 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/reminder_cmds.rs:765:30 [INFO] [stdout] | [INFO] [stdout] 765 | let exists = sqlx::query!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 766 | | " [INFO] [stdout] 767 | | SELECT 1 as _r FROM timers WHERE owner = ? AND name = ? [INFO] [stdout] 768 | | ", [INFO] [stdout] 769 | | owner, [INFO] [stdout] 770 | | name [INFO] [stdout] 771 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/reminder_cmds.rs:776:21 [INFO] [stdout] | [INFO] [stdout] 776 | / sqlx::query!( [INFO] [stdout] 777 | | " [INFO] [stdout] 778 | | DELETE FROM timers WHERE owner = ? AND name = ? [INFO] [stdout] 779 | | ", [INFO] [stdout] 780 | | owner, [INFO] [stdout] 781 | | name [INFO] [stdout] 782 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/reminder_cmds.rs:1038:21 [INFO] [stdout] | [INFO] [stdout] 1038 | / sqlx::query!( [INFO] [stdout] 1039 | | " [INFO] [stdout] 1040 | | INSERT INTO reminders ( [INFO] [stdout] 1041 | | `uid`, [INFO] [stdout] ... | [INFO] [stdout] 1072 | | target_ts [INFO] [stdout] 1073 | | ) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/reminder_cmds.rs:1658:33 [INFO] [stdout] | [INFO] [stdout] 1658 | / sqlx::query!( [INFO] [stdout] 1659 | | " [INFO] [stdout] 1660 | | INSERT INTO reminders ( [INFO] [stdout] 1661 | | uid, [INFO] [stdout] ... | [INFO] [stdout] 1693 | | user_id [INFO] [stdout] 1694 | | ) [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/todo_cmds.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | / sqlx::query_as!( [INFO] [stdout] 75 | | Todo, [INFO] [stdout] 76 | | " [INFO] [stdout] 77 | | SELECT id, value FROM todos WHERE channel_id = (SELECT id FROM channels WHERE channel = ?) [INFO] [stdout] 78 | | ", [INFO] [stdout] 79 | | cid.as_u64() [INFO] [stdout] 80 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/todo_cmds.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | / sqlx::query_as!( [INFO] [stdout] 85 | | Todo, [INFO] [stdout] 86 | | " [INFO] [stdout] 87 | | SELECT id, value FROM todos WHERE guild_id = (SELECT id FROM guilds WHERE guild = ?) AND channel_id IS NULL [INFO] [stdout] 88 | | ", [INFO] [stdout] 89 | | gid.as_u64() [INFO] [stdout] 90 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/todo_cmds.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | / sqlx::query_as!( [INFO] [stdout] 95 | | Todo, [INFO] [stdout] 96 | | " [INFO] [stdout] 97 | | SELECT id, value FROM todos WHERE user_id = (SELECT id FROM users WHERE user = ?) AND guild_id IS NULL [INFO] [stdout] 98 | | ", [INFO] [stdout] 99 | | self.user.as_u64() [INFO] [stdout] 100 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/todo_cmds.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | / sqlx::query!( [INFO] [stdout] 113 | | " [INFO] [stdout] 114 | | INSERT INTO todos (user_id, guild_id, channel_id, value) VALUES ( [INFO] [stdout] 115 | | (SELECT id FROM users WHERE user = ?), [INFO] [stdout] ... | [INFO] [stdout] 124 | | value [INFO] [stdout] 125 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/todo_cmds.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | / sqlx::query!( [INFO] [stdout] 130 | | " [INFO] [stdout] 131 | | INSERT INTO todos (user_id, guild_id, value) VALUES ( [INFO] [stdout] 132 | | (SELECT id FROM users WHERE user = ?), [INFO] [stdout] ... | [INFO] [stdout] 139 | | value [INFO] [stdout] 140 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/todo_cmds.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | / sqlx::query!( [INFO] [stdout] 145 | | " [INFO] [stdout] 146 | | INSERT INTO todos (user_id, value) VALUES ( [INFO] [stdout] 147 | | (SELECT id FROM users WHERE user = ?), [INFO] [stdout] ... | [INFO] [stdout] 152 | | value [INFO] [stdout] 153 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/todo_cmds.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | let deleting = sqlx::query_as!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 170 | | Todo, [INFO] [stdout] 171 | | " [INFO] [stdout] 172 | | SELECT id, value FROM todos WHERE id = ? [INFO] [stdout] 173 | | ", [INFO] [stdout] 174 | | removal_todo.id [INFO] [stdout] 175 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/todo_cmds.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | / sqlx::query!( [INFO] [stdout] 180 | | " [INFO] [stdout] 181 | | DELETE FROM todos WHERE id = ? [INFO] [stdout] 182 | | ", [INFO] [stdout] 183 | | removal_todo.id [INFO] [stdout] 184 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/todo_cmds.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | / sqlx::query!( [INFO] [stdout] 200 | | " [INFO] [stdout] 201 | | DELETE FROM todos WHERE channel_id = (SELECT id FROM channels WHERE channel = ?) [INFO] [stdout] 202 | | ", [INFO] [stdout] 203 | | cid.as_u64() [INFO] [stdout] 204 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/todo_cmds.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | / sqlx::query!( [INFO] [stdout] 209 | | " [INFO] [stdout] 210 | | DELETE FROM todos WHERE guild_id = (SELECT id FROM guilds WHERE guild = ?) AND channel_id IS NULL [INFO] [stdout] 211 | | ", [INFO] [stdout] 212 | | gid.as_u64() [INFO] [stdout] 213 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/commands/todo_cmds.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | / sqlx::query!( [INFO] [stdout] 218 | | " [INFO] [stdout] 219 | | DELETE FROM todos WHERE user_id = (SELECT id FROM users WHERE user = ?) AND guild_id IS NULL [INFO] [stdout] 220 | | ", [INFO] [stdout] 221 | | self.user.as_u64() [INFO] [stdout] 222 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/framework.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | match sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 68 | | " [INFO] [stdout] 69 | | SELECT [INFO] [stdout] 70 | | role [INFO] [stdout] ... | [INFO] [stdout] 86 | | guild.id.as_u64() [INFO] [stdout] 87 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | match sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 103 | | Self, [INFO] [stdout] 104 | | " [INFO] [stdout] 105 | | SELECT id, name, prefix FROM guilds WHERE guild = ? [INFO] [stdout] 106 | | ", [INFO] [stdout] 107 | | guild_id [INFO] [stdout] 108 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | / sqlx::query!( [INFO] [stdout] 120 | | " [INFO] [stdout] 121 | | INSERT INTO guilds (guild, name, prefix) VALUES (?, ?, ?) [INFO] [stdout] 122 | | ", [INFO] [stdout] ... | [INFO] [stdout] 125 | | *DEFAULT_PREFIX [INFO] [stdout] 126 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | Ok(sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 131 | | Self, [INFO] [stdout] 132 | | " [INFO] [stdout] 133 | | SELECT id, name, prefix FROM guilds WHERE guild = ? [INFO] [stdout] 134 | | ", [INFO] [stdout] 135 | | guild_id [INFO] [stdout] 136 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | / sqlx::query!( [INFO] [stdout] 151 | | " [INFO] [stdout] 152 | | UPDATE guilds SET name = ?, prefix = ? WHERE id = ? [INFO] [stdout] 153 | | ", [INFO] [stdout] ... | [INFO] [stdout] 156 | | self.id [INFO] [stdout] 157 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | if let Ok(c) = sqlx::query_as_unchecked!(Self, [INFO] [stdout] | ________________________^ [INFO] [stdout] 183 | | " [INFO] [stdout] 184 | | SELECT id, name, nudge, blacklisted, webhook_id, webhook_token, paused, paused_until FROM channels WHERE channel = ? [INFO] [stdout] 185 | | ", channel_id) [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | / sqlx::query!( [INFO] [stdout] 201 | | " [INFO] [stdout] 202 | | INSERT IGNORE INTO channels (channel, name, guild_id) VALUES (?, ?, (SELECT id FROM guilds WHERE guild = ?)) [INFO] [stdout] 203 | | ", channel_id, channel_name, guild_id) [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:207:16 [INFO] [stdout] | [INFO] [stdout] 207 | Ok(sqlx::query_as_unchecked!(Self, [INFO] [stdout] | ________________^ [INFO] [stdout] 208 | | " [INFO] [stdout] 209 | | SELECT id, name, nudge, blacklisted, webhook_id, webhook_token, paused, paused_until FROM channels WHERE channel = ? [INFO] [stdout] 210 | | ", channel_id) [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | / sqlx::query!( [INFO] [stdout] 218 | | " [INFO] [stdout] 219 | | UPDATE channels SET name = ?, nudge = ?, blacklisted = ?, webhook_id = ?, webhook_token = ?, paused = ?, paused_until = ? WHERE id = ? [INFO] [stdout] 220 | | ", self.name, self.nudge, self.blacklisted, self.webhook_id, self.webhook_token, self.paused, self.paused_until, self.id) [INFO] [stdout] | |_____________________________________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:263:15 [INFO] [stdout] | [INFO] [stdout] 263 | match sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 264 | | " [INFO] [stdout] 265 | | SELECT language FROM users WHERE user = ? [INFO] [stdout] 266 | | ", [INFO] [stdout] 267 | | user_id [INFO] [stdout] 268 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:284:15 [INFO] [stdout] | [INFO] [stdout] 284 | match sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 285 | | " [INFO] [stdout] 286 | | SELECT timezone FROM users WHERE user = ? [INFO] [stdout] 287 | | ", [INFO] [stdout] 288 | | user_id [INFO] [stdout] 289 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:307:15 [INFO] [stdout] | [INFO] [stdout] 307 | match sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 308 | | " [INFO] [stdout] 309 | | SELECT meridian_time FROM users WHERE user = ? [INFO] [stdout] 310 | | ", [INFO] [stdout] 311 | | user_id [INFO] [stdout] 312 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:329:15 [INFO] [stdout] | [INFO] [stdout] 329 | match sqlx::query_as_unchecked!( [INFO] [stdout] | _______________^ [INFO] [stdout] 330 | | Self, [INFO] [stdout] 331 | | " [INFO] [stdout] 332 | | SELECT id, user, name, dm_channel, IF(language IS NULL, ?, language) AS language, IF(timezone IS NULL, ?, timezone) AS timezone, meridian... [INFO] [stdout] 333 | | ", [INFO] [stdout] 334 | | *LOCAL_LANGUAGE, *LOCAL_TIMEZONE, user_id [INFO] [stdout] 335 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | / sqlx::query!( [INFO] [stdout] 348 | | " [INFO] [stdout] 349 | | INSERT IGNORE INTO channels (channel) VALUES (?) [INFO] [stdout] 350 | | ", [INFO] [stdout] 351 | | dm_id [INFO] [stdout] 352 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | / sqlx::query!( [INFO] [stdout] 357 | | " [INFO] [stdout] 358 | | INSERT INTO users (user, name, dm_channel, language, timezone) VALUES (?, ?, (SELECT id FROM channels WHERE channel = ?), ?, ?) [INFO] [stdout] 359 | | ", user_id, user.name, dm_id, *LOCAL_LANGUAGE, *LOCAL_TIMEZONE) [INFO] [stdout] | |___________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:363:20 [INFO] [stdout] | [INFO] [stdout] 363 | Ok(sqlx::query_as_unchecked!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 364 | | Self, [INFO] [stdout] 365 | | " [INFO] [stdout] 366 | | SELECT id, user, name, dm_channel, language, timezone, meridian_time FROM users WHERE user = ? [INFO] [stdout] 367 | | ", [INFO] [stdout] 368 | | user_id [INFO] [stdout] 369 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | / sqlx::query!( [INFO] [stdout] 384 | | " [INFO] [stdout] 385 | | UPDATE users SET name = ?, language = ?, timezone = ?, meridian_time = ? WHERE id = ? [INFO] [stdout] 386 | | ", [INFO] [stdout] ... | [INFO] [stdout] 391 | | self.id [INFO] [stdout] 392 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 415 | / sqlx::query_as_unchecked!( [INFO] [stdout] 416 | | Timer, [INFO] [stdout] 417 | | " [INFO] [stdout] 418 | | SELECT name, start_time, owner FROM timers WHERE owner = ? [INFO] [stdout] 419 | | ", [INFO] [stdout] 420 | | owner [INFO] [stdout] 421 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | / sqlx::query!( [INFO] [stdout] 429 | | " [INFO] [stdout] 430 | | SELECT COUNT(1) as count FROM timers WHERE owner = ? [INFO] [stdout] 431 | | ", [INFO] [stdout] 432 | | owner [INFO] [stdout] 433 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | / sqlx::query!( [INFO] [stdout] 442 | | " [INFO] [stdout] 443 | | INSERT INTO timers (name, owner) VALUES (?, ?) [INFO] [stdout] 444 | | ", [INFO] [stdout] 445 | | name, [INFO] [stdout] 446 | | owner [INFO] [stdout] 447 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/main.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | / sqlx::query!( [INFO] [stdout] 155 | | " [INFO] [stdout] 156 | | DELETE FROM channels WHERE channel = ? [INFO] [stdout] 157 | | ", [INFO] [stdout] 158 | | channel.id.as_u64() [INFO] [stdout] 159 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/main.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | / sqlx::query!( [INFO] [stdout] 248 | | " [INFO] [stdout] 249 | | DELETE FROM guilds WHERE guild = ? [INFO] [stdout] 250 | | ", [INFO] [stdout] 251 | | guild.id.as_u64() [INFO] [stdout] 252 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `STRINGS_FILE` not defined [INFO] [stdout] --> src/main.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | env!("STRINGS_FILE") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/main.rs:359:33 [INFO] [stdout] | [INFO] [stdout] 359 | let popular_timezones = sqlx::query!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 360 | | "SELECT timezone FROM users GROUP BY timezone ORDER BY COUNT(timezone) DESC LIMIT 21" [INFO] [stdout] 361 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 60 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reminder_rs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "2bec6987436026e0184237ea79248bb16e024bc43f2de296cbba5098c61b6cb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bec6987436026e0184237ea79248bb16e024bc43f2de296cbba5098c61b6cb0", kill_on_drop: false }` [INFO] [stdout] 2bec6987436026e0184237ea79248bb16e024bc43f2de296cbba5098c61b6cb0