[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] d7305a27682cbfa433fee6fc3da9360da5127ef2 [INFO] testing reminder-bot/autoclear-bot-rs against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freminder-bot%2Fautoclear-bot-rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/reminder-bot/autoclear-bot-rs on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/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-2/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-tls v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fddb71c45a75dcae29462c23a0851a2ebaecc419c4ea4d9ba91e5989a61fa51 [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" "0fddb71c45a75dcae29462c23a0851a2ebaecc419c4ea4d9ba91e5989a61fa51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fddb71c45a75dcae29462c23a0851a2ebaecc419c4ea4d9ba91e5989a61fa51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fddb71c45a75dcae29462c23a0851a2ebaecc419c4ea4d9ba91e5989a61fa51", kill_on_drop: false }` [INFO] [stdout] 0fddb71c45a75dcae29462c23a0851a2ebaecc419c4ea4d9ba91e5989a61fa51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a546af35ff6ee2b054f17a7336fa08a17aa9b9afb631de8d313ee0ea43d5429c [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" "a546af35ff6ee2b054f17a7336fa08a17aa9b9afb631de8d313ee0ea43d5429c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling pin-project-lite v0.1.6 [INFO] [stderr] Compiling smallvec v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling mime v0.3.14 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling serenity v0.8.6 (https://github.com/Lakelezz/serenity?branch=await#a2e8cded) [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling openssl-sys v0.9.57 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tungstenite v0.10.1 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling webpki v0.21.0 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.17.0 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling 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 serde_derive v1.0.104 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling async-trait v0.1.32 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.19 [INFO] [stderr] Compiling pin-project v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling sqlx-core v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling async-tls v0.6.0 [INFO] [stderr] Compiling command_attr v0.2.0 (https://github.com/Lakelezz/serenity?branch=await#a2e8cded) [INFO] [stderr] Compiling async-tungstenite v0.4.2 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling sqlx-macros v0.3.5 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling hyper-rustls v0.20.0 [INFO] [stderr] Compiling reqwest v0.10.6 [INFO] [stderr] Compiling sqlx v0.3.5 [INFO] [stderr] Compiling 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: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 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: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 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: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 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: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 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: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 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: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 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: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 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: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 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 `std::marker::Sized` is not implemented for `str` [INFO] [stdout] = note: to learn more, visit [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 `std::marker::Sized` is not implemented for `str` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] = note: required by `std::prelude::v1::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 `std::marker::Sized` is not implemented for `str` [INFO] [stdout] = note: to learn more, visit [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 `std::marker::Sized` is not implemented for `str` [INFO] [stdout] = note: to learn more, visit [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] running `Command { std: "docker" "inspect" "a546af35ff6ee2b054f17a7336fa08a17aa9b9afb631de8d313ee0ea43d5429c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a546af35ff6ee2b054f17a7336fa08a17aa9b9afb631de8d313ee0ea43d5429c", kill_on_drop: false }` [INFO] [stdout] a546af35ff6ee2b054f17a7336fa08a17aa9b9afb631de8d313ee0ea43d5429c