[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] 145224b3946d324f49327aaabc547e6b2b3bc8bf [INFO] checking reminder-bot/autoclear-bot-rs against master#430feb24a46993e5073c1bb1b39da190d83fa2bf for pr-78363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freminder-bot%2Fautoclear-bot-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/reminder-bot/autoclear-bot-rs on toolchain 430feb24a46993e5073c1bb1b39da190d83fa2bf [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3/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-3/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" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a57c0f6f660d5ba15cb12749ecd39387e6ad753b898a51a94cfb55ef6520e651 [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" "a57c0f6f660d5ba15cb12749ecd39387e6ad753b898a51a94cfb55ef6520e651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a57c0f6f660d5ba15cb12749ecd39387e6ad753b898a51a94cfb55ef6520e651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a57c0f6f660d5ba15cb12749ecd39387e6ad753b898a51a94cfb55ef6520e651", kill_on_drop: false }` [INFO] [stdout] a57c0f6f660d5ba15cb12749ecd39387e6ad753b898a51a94cfb55ef6520e651 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ada0f6ed4b55110b338ea268ca126d735c6f3d00b1e9cacbbdb9f96e1455012 [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" "6ada0f6ed4b55110b338ea268ca126d735c6f3d00b1e9cacbbdb9f96e1455012", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking arc-swap v0.4.6 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking untrusted v0.7.0 [INFO] [stderr] Checking pin-project-lite v0.1.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking smallvec v1.0.0 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking base64 v0.12.1 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling serenity v0.8.6 (https://github.com/Lakelezz/serenity?branch=await#a2e8cded) [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking unicode-normalization v0.1.11 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking miniz_oxide v0.3.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.57 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking crossbeam-queue v0.2.2 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking sqlformat v0.1.0 [INFO] [stderr] Checking tungstenite v0.10.1 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Checking webpki v0.21.0 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking webpki-roots v0.17.0 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling async-trait v0.1.32 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.19 [INFO] [stderr] Checking pin-project v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.13.1 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling sqlx-core v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling command_attr v0.2.0 (https://github.com/Lakelezz/serenity?branch=await#a2e8cded) [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking async-tls v0.6.0 [INFO] [stderr] Checking async-tungstenite v0.4.2 [INFO] [stderr] Compiling sqlx-macros v0.3.5 [INFO] [stderr] Checking hyper v0.13.6 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking hyper-rustls v0.20.0 [INFO] [stderr] Checking reqwest v0.10.6 [INFO] [stderr] Checking sqlx v0.3.5 [INFO] [stderr] Checking autoclear-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | / sqlx::query!( [INFO] [stdout] 101 | | " [INFO] [stdout] 102 | | DELETE FROM deletes WHERE message = ? [INFO] [stdout] 103 | | ", [INFO] [stdout] 104 | | id [INFO] [stdout] 105 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | let res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 135 | | " [INFO] [stdout] 136 | | SELECT timeout, message, regex [INFO] [stdout] 137 | | FROM channels [INFO] [stdout] ... | [INFO] [stdout] 142 | | channel_id.as_u64(), user_id [INFO] [stdout] 143 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:184:25 [INFO] [stdout] | [INFO] [stdout] 184 | / sqlx::query!( [INFO] [stdout] 185 | | " [INFO] [stdout] 186 | | INSERT INTO deletes (channel, message, time, to_send) VALUES (?, ?, ADDDATE(NOW(), INTERVAL ? SECOND), ?); [INFO] [stdout] 187 | | ", [INFO] [stdout] 188 | | channel_id.as_u64(), message.id.as_u64(), row.timeout, text [INFO] [stdout] 189 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | / sqlx::query!( [INFO] [stdout] 317 | | " [INFO] [stdout] 318 | | DELETE FROM channels WHERE channel = ? AND user IS NULL; [INFO] [stdout] 319 | | ", [INFO] [stdout] 320 | | channel_id.as_u64(), [INFO] [stdout] 321 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | / sqlx::query!( [INFO] [stdout] 326 | | " [INFO] [stdout] 327 | | INSERT INTO channels (channel, timeout, message, regex) VALUES (?, ?, ?, ?); [INFO] [stdout] 328 | | ", [INFO] [stdout] 329 | | channel_id.as_u64(), [INFO] [stdout] 330 | | timeout, to_send.ok(), regex.ok() [INFO] [stdout] 331 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | / sqlx::query!( [INFO] [stdout] 340 | | " [INFO] [stdout] 341 | | DELETE FROM channels WHERE channel = ? AND user = ?; [INFO] [stdout] 342 | | ", [INFO] [stdout] 343 | | channel_id.as_u64(), mention.id.as_u64() [INFO] [stdout] 344 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | / sqlx::query!( [INFO] [stdout] 349 | | " [INFO] [stdout] 350 | | INSERT INTO channels (channel, user, timeout, message, regex) VALUES (?, ?, ?, ?, ?); [INFO] [stdout] 351 | | ", [INFO] [stdout] 352 | | channel_id.as_u64(), mention.id.as_u64(), timeout, to_send.ok(), regex.ok() [INFO] [stdout] 353 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 375 | / sqlx::query!( [INFO] [stdout] 376 | | " [INFO] [stdout] 377 | | DELETE FROM channels WHERE channel = ? AND user IS NULL [INFO] [stdout] 378 | | ", [INFO] [stdout] 379 | | channel_id.as_u64() [INFO] [stdout] 380 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | / sqlx::query!( [INFO] [stdout] 389 | | " [INFO] [stdout] 390 | | DELETE FROM channels WHERE channel = ? AND user IN (?); [INFO] [stdout] 391 | | ", [INFO] [stdout] 392 | | channel_id.as_u64(), joined_mentions [INFO] [stdout] 393 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:414:19 [INFO] [stdout] | [INFO] [stdout] 414 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 415 | | " [INFO] [stdout] 416 | | SELECT user, timeout FROM channels WHERE channel = ?; [INFO] [stdout] 417 | | ", [INFO] [stdout] 418 | | c.as_u64() [INFO] [stdout] 419 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | / sqlx::query!( [INFO] [stdout] 101 | | " [INFO] [stdout] 102 | | DELETE FROM deletes WHERE message = ? [INFO] [stdout] 103 | | ", [INFO] [stdout] 104 | | id [INFO] [stdout] 105 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | let res = sqlx::query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 135 | | " [INFO] [stdout] 136 | | SELECT timeout, message, regex [INFO] [stdout] 137 | | FROM channels [INFO] [stdout] ... | [INFO] [stdout] 142 | | channel_id.as_u64(), user_id [INFO] [stdout] 143 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:184:25 [INFO] [stdout] | [INFO] [stdout] 184 | / sqlx::query!( [INFO] [stdout] 185 | | " [INFO] [stdout] 186 | | INSERT INTO deletes (channel, message, time, to_send) VALUES (?, ?, ADDDATE(NOW(), INTERVAL ? SECOND), ?); [INFO] [stdout] 187 | | ", [INFO] [stdout] 188 | | channel_id.as_u64(), message.id.as_u64(), row.timeout, text [INFO] [stdout] 189 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | / sqlx::query!( [INFO] [stdout] 317 | | " [INFO] [stdout] 318 | | DELETE FROM channels WHERE channel = ? AND user IS NULL; [INFO] [stdout] 319 | | ", [INFO] [stdout] 320 | | channel_id.as_u64(), [INFO] [stdout] 321 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | / sqlx::query!( [INFO] [stdout] 326 | | " [INFO] [stdout] 327 | | INSERT INTO channels (channel, timeout, message, regex) VALUES (?, ?, ?, ?); [INFO] [stdout] 328 | | ", [INFO] [stdout] 329 | | channel_id.as_u64(), [INFO] [stdout] 330 | | timeout, to_send.ok(), regex.ok() [INFO] [stdout] 331 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | / sqlx::query!( [INFO] [stdout] 340 | | " [INFO] [stdout] 341 | | DELETE FROM channels WHERE channel = ? AND user = ?; [INFO] [stdout] 342 | | ", [INFO] [stdout] 343 | | channel_id.as_u64(), mention.id.as_u64() [INFO] [stdout] 344 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | / sqlx::query!( [INFO] [stdout] 349 | | " [INFO] [stdout] 350 | | INSERT INTO channels (channel, user, timeout, message, regex) VALUES (?, ?, ?, ?, ?); [INFO] [stdout] 351 | | ", [INFO] [stdout] 352 | | channel_id.as_u64(), mention.id.as_u64(), timeout, to_send.ok(), regex.ok() [INFO] [stdout] 353 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 375 | / sqlx::query!( [INFO] [stdout] 376 | | " [INFO] [stdout] 377 | | DELETE FROM channels WHERE channel = ? AND user IS NULL [INFO] [stdout] 378 | | ", [INFO] [stdout] 379 | | channel_id.as_u64() [INFO] [stdout] 380 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | / sqlx::query!( [INFO] [stdout] 389 | | " [INFO] [stdout] 390 | | DELETE FROM channels WHERE channel = ? AND user IN (?); [INFO] [stdout] 391 | | ", [INFO] [stdout] 392 | | channel_id.as_u64(), joined_mentions [INFO] [stdout] 393 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/main.rs:414:19 [INFO] [stdout] | [INFO] [stdout] 414 | let res = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 415 | | " [INFO] [stdout] 416 | | SELECT user, timeout FROM channels WHERE channel = ?; [INFO] [stdout] 417 | | ", [INFO] [stdout] 418 | | c.as_u64() [INFO] [stdout] 419 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | 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:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | 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:164:33 [INFO] [stdout] | [INFO] [stdout] 164 | ... 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 a macro (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:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | 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:168:33 [INFO] [stdout] | [INFO] [stdout] 168 | ... 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 a macro (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:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | 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:164:33 [INFO] [stdout] | [INFO] [stdout] 164 | ... 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 a macro (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:168:33 [INFO] [stdout] | [INFO] [stdout] 168 | ... 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 a macro (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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "6ada0f6ed4b55110b338ea268ca126d735c6f3d00b1e9cacbbdb9f96e1455012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ada0f6ed4b55110b338ea268ca126d735c6f3d00b1e9cacbbdb9f96e1455012", kill_on_drop: false }` [INFO] [stdout] 6ada0f6ed4b55110b338ea268ca126d735c6f3d00b1e9cacbbdb9f96e1455012