[INFO] cloning repository https://github.com/tyush/buttsbot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tyush/buttsbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyush%2Fbuttsbot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyush%2Fbuttsbot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c73dbc3296ad2c596b19c624c189369987e569b5
[INFO] checking tyush/buttsbot against 24e1a22664233bce1f9b5dc6eee7c1f74327e28c for pr-159343-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyush%2Fbuttsbot" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tyush/buttsbot
[INFO] finished tweaking git repo https://github.com/tyush/buttsbot
[INFO] tweaked toml for git repo https://github.com/tyush/buttsbot written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tyush/buttsbot on toolchain 24e1a22664233bce1f9b5dc6eee7c1f74327e28c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tyush/buttsbot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
[INFO] [stderr] (in the `serenity` dependency)
[INFO] [stderr] warning: `buttsbot` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4ada3d3a35e56fd30bb5fb724d8d2e2f99970c4e07be0f7fd4919d8b6e5a577e
[INFO] running `Command { std: "docker" "start" "4ada3d3a35e56fd30bb5fb724d8d2e2f99970c4e07be0f7fd4919d8b6e5a577e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4ada3d3a35e56fd30bb5fb724d8d2e2f99970c4e07be0f7fd4919d8b6e5a577e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4ada3d3a35e56fd30bb5fb724d8d2e2f99970c4e07be0f7fd4919d8b6e5a577e" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4ada3d3a35e56fd30bb5fb724d8d2e2f99970c4e07be0f7fd4919d8b6e5a577e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4ada3d3a35e56fd30bb5fb724d8d2e2f99970c4e07be0f7fd4919d8b6e5a577e" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
[INFO] [stderr] (in the `serenity` dependency)
[INFO] [stderr] warning: `buttsbot` (manifest) generated 1 warning
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking once_cell v1.14.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling serde_derive v1.0.138
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling serde v1.0.138
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling rustls v0.20.6
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]     Checking tracing-core v0.1.28
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking hashbrown v0.12.1
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling async-trait v0.1.56
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking miniz_oxide v0.5.3
[INFO] [stderr]     Checking unicode-normalization v0.1.21
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rustls-pemfile v1.0.0
[INFO] [stderr]     Checking ipnet v2.5.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling hypher v0.1.0
[INFO] [stderr]     Checking regex-syntax v0.6.27
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking num_threads v0.1.6
[INFO] [stderr]    Compiling serenity v0.11.2
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking flate2 v1.0.24
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking typemap_rev v0.1.5
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking ordered-float v2.10.0
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking crypto-common v0.1.4
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking sha-1 v0.10.0
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]     Checking futures v0.3.21
[INFO] [stderr]     Checking webpki v0.22.0
[INFO] [stderr]     Checking sct v0.7.0
[INFO] [stderr]     Checking webpki-roots v0.22.3
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.22
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]     Checking tokio v1.19.2
[INFO] [stderr]     Checking thiserror v1.0.31
[INFO] [stderr]     Checking tracing v0.1.35
[INFO] [stderr]     Checking tokio-util v0.7.3
[INFO] [stderr]     Checking tokio-rustls v0.23.4
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking time v0.3.11
[INFO] [stderr]     Checking dashmap v5.3.4
[INFO] [stderr]     Checking serde-value v0.7.0
[INFO] [stderr]     Checking tungstenite v0.17.2
[INFO] [stderr]     Checking async-tungstenite v0.17.2
[INFO] [stderr]     Checking hyper v0.14.19
[INFO] [stderr]     Checking hyper-rustls v0.23.0
[INFO] [stderr]     Checking reqwest v0.11.11
[INFO] [stderr]     Checking buttsbot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: let chains are only allowed in Rust 2024 or later
[INFO] [stdout]    --> src/lib.rs:251:28
[INFO] [stdout]     |
[INFO] [stdout] 251 |                         if let Some((_command, target_id)) = without_prefix.rsplit_once(" ")
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: let chains are only allowed in Rust 2024 or later
[INFO] [stdout]    --> src/lib.rs:252:28
[INFO] [stdout]     |
[INFO] [stdout] 252 |                         && let Ok(x) = str::parse(target_id) {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: let chains are only allowed in Rust 2024 or later
[INFO] [stdout]    --> src/lib.rs:251:28
[INFO] [stdout]     |
[INFO] [stdout] 251 |                         if let Some((_command, target_id)) = without_prefix.rsplit_once(" ")
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: let chains are only allowed in Rust 2024 or later
[INFO] [stdout]    --> src/lib.rs:252:28
[INFO] [stdout]     |
[INFO] [stdout] 252 |                         && let Ok(x) = str::parse(target_id) {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Lazy` and `OnceCell`
[INFO] [stdout]   --> src/lib.rs:10:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | use once_cell::sync::{Lazy, OnceCell};
[INFO] [stdout]    |                       ^^^^  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Lazy` and `OnceCell`
[INFO] [stdout]   --> src/lib.rs:10:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | use once_cell::sync::{Lazy, OnceCell};
[INFO] [stdout]    |                       ^^^^  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(let_chains)]
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(let_chains)]
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `result_option_inspect` has been stable since 1.76.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(result_option_inspect)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `result_option_inspect` has been stable since 1.76.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(result_option_inspect)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cache`
[INFO] [stdout]   --> src/lib.rs:37:31
[INFO] [stdout]    |
[INFO] [stdout] 37 | async fn is_target(x: UserId, cache: impl CacheHttp) -> bool {
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cache`
[INFO] [stdout]   --> src/lib.rs:37:31
[INFO] [stdout]    |
[INFO] [stdout] 37 | async fn is_target(x: UserId, cache: impl CacheHttp) -> bool {
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/lib.rs:258:40
[INFO] [stdout]     |
[INFO] [stdout] 258 | ...                   if let Err(e) = msg.channel_id.say(&ctx, "target locked").await {
[INFO] [stdout]     |                                  ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/lib.rs:258:40
[INFO] [stdout]     |
[INFO] [stdout] 258 | ...                   if let Err(e) = msg.channel_id.say(&ctx, "target locked").await {
[INFO] [stdout]     |                                  ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/lib.rs:327:34
[INFO] [stdout]     |
[INFO] [stdout] 327 |     async fn reaction_add(&self, ctx: Context, reaction: Reaction) {
[INFO] [stdout]     |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/lib.rs:334:27
[INFO] [stdout]     |
[INFO] [stdout] 334 |     async fn ready(&self, ctx: Context, ready: Ready) {
[INFO] [stdout]     |                           ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/lib.rs:327:34
[INFO] [stdout]     |
[INFO] [stdout] 327 |     async fn reaction_add(&self, ctx: Context, reaction: Reaction) {
[INFO] [stdout]     |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/lib.rs:334:27
[INFO] [stdout]     |
[INFO] [stdout] 334 |     async fn ready(&self, ctx: Context, ready: Ready) {
[INFO] [stdout]     |                           ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `buttsbot` (lib) due to 2 previous errors; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `buttsbot` (lib test) due to 2 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4ada3d3a35e56fd30bb5fb724d8d2e2f99970c4e07be0f7fd4919d8b6e5a577e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ada3d3a35e56fd30bb5fb724d8d2e2f99970c4e07be0f7fd4919d8b6e5a577e", kill_on_drop: false }`
[INFO] [stdout] 4ada3d3a35e56fd30bb5fb724d8d2e2f99970c4e07be0f7fd4919d8b6e5a577e
