[INFO] cloning repository https://github.com/reminder-bot/autoclear-bot-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/autoclear-bot-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freminder-bot%2Fautoclear-bot-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freminder-bot%2Fautoclear-bot-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 695bfa470592a09472ccd1160d7ef0d694b55b46 [INFO] checking reminder-bot/autoclear-bot-rs against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freminder-bot%2Fautoclear-bot-rs" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/reminder-bot/autoclear-bot-rs on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-9/source/.cargo/config [INFO] started tweaking git repo https://github.com/reminder-bot/autoclear-bot-rs [INFO] finished tweaking git repo https://github.com/reminder-bot/autoclear-bot-rs [INFO] tweaked toml for git repo https://github.com/reminder-bot/autoclear-bot-rs written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/reminder-bot/autoclear-bot-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple_asn1 v0.5.2 [INFO] [stderr] Downloaded command_attr v0.3.5 [INFO] [stderr] Downloaded serenity v0.10.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b417696541986060a27846a2a330201830f8ad30c557193f37f7640846160173 [INFO] running `Command { std: "docker" "start" "-a" "b417696541986060a27846a2a330201830f8ad30c557193f37f7640846160173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b417696541986060a27846a2a330201830f8ad30c557193f37f7640846160173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b417696541986060a27846a2a330201830f8ad30c557193f37f7640846160173", kill_on_drop: false }` [INFO] [stdout] b417696541986060a27846a2a330201830f8ad30c557193f37f7640846160173 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c2b155b221654124f4614c3329a90dd6795d4bd6c0d32ada93d47f5a7f4b77d [INFO] running `Command { std: "docker" "start" "-a" "6c2b155b221654124f4614c3329a90dd6795d4bd6c0d32ada93d47f5a7f4b77d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Checking httpdate v1.0.0 [INFO] [stderr] Compiling serenity v0.10.5 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking indexmap v1.6.2 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking bigdecimal v0.2.0 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking sqlformat v0.1.6 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling command_attr v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking tokio-stream v0.1.5 [INFO] [stderr] Checking sqlx-rt v0.5.2 [INFO] [stderr] Checking async-tungstenite v0.11.0 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking simple_asn1 v0.5.2 [INFO] [stderr] Compiling rsa v0.4.0 [INFO] [stderr] Checking sqlx-core v0.5.2 [INFO] [stderr] Checking hyper v0.14.7 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking reqwest v0.11.3 [INFO] [stderr] Compiling sqlx-macros v0.5.2 [INFO] [stderr] Checking sqlx v0.5.2 [INFO] [stderr] Checking autoclear-bot v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/main.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | / sqlx::query!( [INFO] [stdout] 93 | | " [INFO] [stdout] 94 | | DELETE FROM deletes WHERE message = ? [INFO] [stdout] 95 | | ", [INFO] [stdout] 96 | | id [INFO] [stdout] 97 | | ) [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:126:27 [INFO] [stdout] | [INFO] [stdout] 126 | let res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 127 | | " [INFO] [stdout] 128 | | SELECT timeout, message, regex [INFO] [stdout] 129 | | FROM channels [INFO] [stdout] ... | [INFO] [stdout] 134 | | channel_id.as_u64(), user_id [INFO] [stdout] 135 | | ) [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:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | / sqlx::query!( [INFO] [stdout] 177 | | " [INFO] [stdout] 178 | | INSERT INTO deletes (channel, message, time, to_send) VALUES (?, ?, ADDDATE(NOW(), INTERVAL ? SECOND), ?); [INFO] [stdout] 179 | | ", [INFO] [stdout] 180 | | channel_id.as_u64(), message.id.as_u64(), row.timeout, text [INFO] [stdout] 181 | | ) [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:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | / sqlx::query!( [INFO] [stdout] 309 | | " [INFO] [stdout] 310 | | DELETE FROM channels WHERE channel = ? AND user IS NULL; [INFO] [stdout] 311 | | ", [INFO] [stdout] 312 | | channel_id.as_u64(), [INFO] [stdout] 313 | | ) [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:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | / sqlx::query!( [INFO] [stdout] 318 | | " [INFO] [stdout] 319 | | INSERT INTO channels (channel, timeout, message, regex) VALUES (?, ?, ?, ?); [INFO] [stdout] 320 | | ", [INFO] [stdout] 321 | | channel_id.as_u64(), [INFO] [stdout] 322 | | timeout, to_send.ok(), regex.ok() [INFO] [stdout] 323 | | ) [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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | / sqlx::query!( [INFO] [stdout] 332 | | " [INFO] [stdout] 333 | | DELETE FROM channels WHERE channel = ? AND user = ?; [INFO] [stdout] 334 | | ", [INFO] [stdout] 335 | | channel_id.as_u64(), mention.id.as_u64() [INFO] [stdout] 336 | | ) [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:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | / sqlx::query!( [INFO] [stdout] 341 | | " [INFO] [stdout] 342 | | INSERT INTO channels (channel, user, timeout, message, regex) VALUES (?, ?, ?, ?, ?); [INFO] [stdout] 343 | | ", [INFO] [stdout] 344 | | channel_id.as_u64(), mention.id.as_u64(), timeout, to_send.ok(), regex.ok() [INFO] [stdout] 345 | | ) [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:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | / sqlx::query!( [INFO] [stdout] 368 | | " [INFO] [stdout] 369 | | DELETE FROM channels WHERE channel = ? AND user IS NULL [INFO] [stdout] 370 | | ", [INFO] [stdout] 371 | | channel_id.as_u64() [INFO] [stdout] 372 | | ) [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:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | / sqlx::query!( [INFO] [stdout] 381 | | " [INFO] [stdout] 382 | | DELETE FROM channels WHERE channel = ? AND user IN (?); [INFO] [stdout] 383 | | ", [INFO] [stdout] 384 | | channel_id.as_u64(), joined_mentions [INFO] [stdout] 385 | | ) [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:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | / sqlx::query!( [INFO] [stdout] 93 | | " [INFO] [stdout] 94 | | DELETE FROM deletes WHERE message = ? [INFO] [stdout] 95 | | ", [INFO] [stdout] 96 | | id [INFO] [stdout] 97 | | ) [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:126:27 [INFO] [stdout] | [INFO] [stdout] 126 | let res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 127 | | " [INFO] [stdout] 128 | | SELECT timeout, message, regex [INFO] [stdout] 129 | | FROM channels [INFO] [stdout] ... | [INFO] [stdout] 134 | | channel_id.as_u64(), user_id [INFO] [stdout] 135 | | ) [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:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | / sqlx::query!( [INFO] [stdout] 177 | | " [INFO] [stdout] 178 | | INSERT INTO deletes (channel, message, time, to_send) VALUES (?, ?, ADDDATE(NOW(), INTERVAL ? SECOND), ?); [INFO] [stdout] 179 | | ", [INFO] [stdout] 180 | | channel_id.as_u64(), message.id.as_u64(), row.timeout, text [INFO] [stdout] 181 | | ) [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:406:19 [INFO] [stdout] | [INFO] [stdout] 406 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 407 | | " [INFO] [stdout] 408 | | SELECT user, timeout FROM channels WHERE channel = ?; [INFO] [stdout] 409 | | ", [INFO] [stdout] 410 | | c.as_u64() [INFO] [stdout] 411 | | ) [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:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | / sqlx::query!( [INFO] [stdout] 309 | | " [INFO] [stdout] 310 | | DELETE FROM channels WHERE channel = ? AND user IS NULL; [INFO] [stdout] 311 | | ", [INFO] [stdout] 312 | | channel_id.as_u64(), [INFO] [stdout] 313 | | ) [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:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | / sqlx::query!( [INFO] [stdout] 318 | | " [INFO] [stdout] 319 | | INSERT INTO channels (channel, timeout, message, regex) VALUES (?, ?, ?, ?); [INFO] [stdout] 320 | | ", [INFO] [stdout] 321 | | channel_id.as_u64(), [INFO] [stdout] 322 | | timeout, to_send.ok(), regex.ok() [INFO] [stdout] 323 | | ) [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:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | / sqlx::query!( [INFO] [stdout] 332 | | " [INFO] [stdout] 333 | | DELETE FROM channels WHERE channel = ? AND user = ?; [INFO] [stdout] 334 | | ", [INFO] [stdout] 335 | | channel_id.as_u64(), mention.id.as_u64() [INFO] [stdout] 336 | | ) [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:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | / sqlx::query!( [INFO] [stdout] 341 | | " [INFO] [stdout] 342 | | INSERT INTO channels (channel, user, timeout, message, regex) VALUES (?, ?, ?, ?, ?); [INFO] [stdout] 343 | | ", [INFO] [stdout] 344 | | channel_id.as_u64(), mention.id.as_u64(), timeout, to_send.ok(), regex.ok() [INFO] [stdout] 345 | | ) [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:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | / sqlx::query!( [INFO] [stdout] 368 | | " [INFO] [stdout] 369 | | DELETE FROM channels WHERE channel = ? AND user IS NULL [INFO] [stdout] 370 | | ", [INFO] [stdout] 371 | | channel_id.as_u64() [INFO] [stdout] 372 | | ) [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:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | / sqlx::query!( [INFO] [stdout] 381 | | " [INFO] [stdout] 382 | | DELETE FROM channels WHERE channel = ? AND user IN (?); [INFO] [stdout] 383 | | ", [INFO] [stdout] 384 | | channel_id.as_u64(), joined_mentions [INFO] [stdout] 385 | | ) [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:406:19 [INFO] [stdout] | [INFO] [stdout] 406 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 407 | | " [INFO] [stdout] 408 | | SELECT user, timeout FROM channels WHERE channel = ?; [INFO] [stdout] 409 | | ", [INFO] [stdout] 410 | | c.as_u64() [INFO] [stdout] 411 | | ) [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[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:143:33 [INFO] [stdout] | [INFO] [stdout] 143 | if let Some(match_str) = row.regex { [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | if let Some(match_str) = row.regex { [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required by `Some` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:156:33 [INFO] [stdout] | [INFO] [stdout] 156 | ... println!("Regex `{}` evaluated on `{}` in {}ms", match_str, message.content, end.duration_since(start).unwrap().as_millis()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:160:33 [INFO] [stdout] | [INFO] [stdout] 160 | ... println!("Regex `{}` failed to compile: {:?}", match_str, e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `autoclear-bot` due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:143:33 [INFO] [stdout] | [INFO] [stdout] 143 | if let Some(match_str) = row.regex { [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | if let Some(match_str) = row.regex { [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required by `Some` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:156:33 [INFO] [stdout] | [INFO] [stdout] 156 | ... println!("Regex `{}` evaluated on `{}` in {}ms", match_str, message.content, end.duration_since(start).unwrap().as_millis()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:160:33 [INFO] [stdout] | [INFO] [stdout] 160 | ... println!("Regex `{}` failed to compile: {:?}", match_str, e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6c2b155b221654124f4614c3329a90dd6795d4bd6c0d32ada93d47f5a7f4b77d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c2b155b221654124f4614c3329a90dd6795d4bd6c0d32ada93d47f5a7f4b77d", kill_on_drop: false }` [INFO] [stdout] 6c2b155b221654124f4614c3329a90dd6795d4bd6c0d32ada93d47f5a7f4b77d