[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] testing tyush/buttsbot against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyush%2Fbuttsbot" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tyush/buttsbot on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.138 [INFO] [stderr] Downloaded serenity v0.11.2 [INFO] [stderr] Downloaded hypher v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f9a466eadd8fe248bbe226dd53ace0f9514f25c743810876c3847af2a32bd15 [INFO] running `Command { std: "docker" "start" "-a" "7f9a466eadd8fe248bbe226dd53ace0f9514f25c743810876c3847af2a32bd15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f9a466eadd8fe248bbe226dd53ace0f9514f25c743810876c3847af2a32bd15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f9a466eadd8fe248bbe226dd53ace0f9514f25c743810876c3847af2a32bd15", kill_on_drop: false }` [INFO] [stdout] 7f9a466eadd8fe248bbe226dd53ace0f9514f25c743810876c3847af2a32bd15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 54bb621abf1e70119d16398712a790db29854cd59ccd7555f77ac506b6554564 [INFO] running `Command { std: "docker" "start" "-a" "54bb621abf1e70119d16398712a790db29854cd59ccd7555f77ac506b6554564", kill_on_drop: false }` [INFO] [stderr] warning: `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] 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] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling crypto-common v0.1.4 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling serenity v0.11.2 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling hypher v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling 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] Compiling tokio v1.19.2 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling dashmap v5.3.4 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling tungstenite v0.17.2 [INFO] [stderr] Compiling async-tungstenite v0.17.2 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling buttsbot v0.1.0 (/opt/rustwide/workdir) [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)]` 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] = note: `#[warn(stable_features)]` 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)]` 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: `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 `Result` that must be used [INFO] [stdout] --> src/lib.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | / msg.react( [INFO] [stdout] 166 | | &ctx, [INFO] [stdout] 167 | | ReactionType::Custom { [INFO] [stdout] 168 | | animated: false, [INFO] [stdout] ... | [INFO] [stdout] 173 | | .await [INFO] [stdout] 174 | | .inspect_err(|e| error!("failed spencing: {}", e)); [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 165 | let _ = msg.react( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | / msg.react( [INFO] [stdout] 177 | | &ctx, [INFO] [stdout] 178 | | REACTS [INFO] [stdout] 179 | | .read() [INFO] [stdout] ... | [INFO] [stdout] 185 | | .await [INFO] [stdout] 186 | | .inspect_err(|e| error!("failed spencing: {}", e)); [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 176 | let _ = msg.react( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | / msg.react(&ctx, e) [INFO] [stdout] 205 | | .await [INFO] [stdout] 206 | | .inspect_err(|e| error!("failed garing: {}", e)); [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 204 | let _ = msg.react(&ctx, e) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib.rs:257:29 [INFO] [stdout] | [INFO] [stdout] 257 | ... mem::drop(TARGETING.write().await.insert(x)); [INFO] [stdout] | ^^^^^^^^^^---------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut UserId` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 257 - mem::drop(TARGETING.write().await.insert(x)); [INFO] [stdout] 257 + let _ = TARGETING.write().await.insert(x); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "54bb621abf1e70119d16398712a790db29854cd59ccd7555f77ac506b6554564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54bb621abf1e70119d16398712a790db29854cd59ccd7555f77ac506b6554564", kill_on_drop: false }` [INFO] [stdout] 54bb621abf1e70119d16398712a790db29854cd59ccd7555f77ac506b6554564 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1e59d4b81c9c7b73ddec3ccbfbcbdf070194ec86e966ae4e1ce8e293f13709df [INFO] running `Command { std: "docker" "start" "-a" "1e59d4b81c9c7b73ddec3ccbfbcbdf070194ec86e966ae4e1ce8e293f13709df", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `serenity` dependency) [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)]` 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] = note: `#[warn(stable_features)]` 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)]` 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: `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 `Result` that must be used [INFO] [stdout] --> src/lib.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | / msg.react( [INFO] [stdout] 166 | | &ctx, [INFO] [stdout] 167 | | ReactionType::Custom { [INFO] [stdout] 168 | | animated: false, [INFO] [stdout] ... | [INFO] [stdout] 173 | | .await [INFO] [stdout] 174 | | .inspect_err(|e| error!("failed spencing: {}", e)); [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 165 | let _ = msg.react( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | / msg.react( [INFO] [stdout] 177 | | &ctx, [INFO] [stdout] 178 | | REACTS [INFO] [stdout] 179 | | .read() [INFO] [stdout] ... | [INFO] [stdout] 185 | | .await [INFO] [stdout] 186 | | .inspect_err(|e| error!("failed spencing: {}", e)); [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 176 | let _ = msg.react( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | / msg.react(&ctx, e) [INFO] [stdout] 205 | | .await [INFO] [stdout] 206 | | .inspect_err(|e| error!("failed garing: {}", e)); [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 204 | let _ = msg.react(&ctx, e) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib.rs:257:29 [INFO] [stdout] | [INFO] [stdout] 257 | ... mem::drop(TARGETING.write().await.insert(x)); [INFO] [stdout] | ^^^^^^^^^^---------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut UserId` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 257 - mem::drop(TARGETING.write().await.insert(x)); [INFO] [stdout] 257 + let _ = TARGETING.write().await.insert(x); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling buttsbot v0.1.0 (/opt/rustwide/workdir) [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)]` 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] = note: `#[warn(stable_features)]` 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)]` 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: `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 `Result` that must be used [INFO] [stdout] --> src/lib.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | / msg.react( [INFO] [stdout] 166 | | &ctx, [INFO] [stdout] 167 | | ReactionType::Custom { [INFO] [stdout] 168 | | animated: false, [INFO] [stdout] ... | [INFO] [stdout] 173 | | .await [INFO] [stdout] 174 | | .inspect_err(|e| error!("failed spencing: {}", e)); [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 165 | let _ = msg.react( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | / msg.react( [INFO] [stdout] 177 | | &ctx, [INFO] [stdout] 178 | | REACTS [INFO] [stdout] 179 | | .read() [INFO] [stdout] ... | [INFO] [stdout] 185 | | .await [INFO] [stdout] 186 | | .inspect_err(|e| error!("failed spencing: {}", e)); [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 176 | let _ = msg.react( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | / msg.react(&ctx, e) [INFO] [stdout] 205 | | .await [INFO] [stdout] 206 | | .inspect_err(|e| error!("failed garing: {}", e)); [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 204 | let _ = msg.react(&ctx, e) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib.rs:257:29 [INFO] [stdout] | [INFO] [stdout] 257 | ... mem::drop(TARGETING.write().await.insert(x)); [INFO] [stdout] | ^^^^^^^^^^---------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut UserId` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 257 - mem::drop(TARGETING.write().await.insert(x)); [INFO] [stdout] 257 + let _ = TARGETING.write().await.insert(x); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.83s [INFO] running `Command { std: "docker" "inspect" "1e59d4b81c9c7b73ddec3ccbfbcbdf070194ec86e966ae4e1ce8e293f13709df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e59d4b81c9c7b73ddec3ccbfbcbdf070194ec86e966ae4e1ce8e293f13709df", kill_on_drop: false }` [INFO] [stdout] 1e59d4b81c9c7b73ddec3ccbfbcbdf070194ec86e966ae4e1ce8e293f13709df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4f4d2d634d9c9f40c7cfc3a023f71d287a6ff087fa6057086f11a337d8674c42 [INFO] running `Command { std: "docker" "start" "-a" "4f4d2d634d9c9f40c7cfc3a023f71d287a6ff087fa6057086f11a337d8674c42", kill_on_drop: false }` [INFO] [stderr] warning: `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: unused imports: `Lazy` and `OnceCell` [INFO] [stderr] --> src/lib.rs:10:23 [INFO] [stderr] | [INFO] [stderr] 10 | use once_cell::sync::{Lazy, OnceCell}; [INFO] [stderr] | ^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `result_option_inspect` has been stable since 1.76.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(result_option_inspect)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cache` [INFO] [stderr] --> src/lib.rs:37:31 [INFO] [stderr] | [INFO] [stderr] 37 | async fn is_target(x: UserId, cache: impl CacheHttp) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/lib.rs:258:40 [INFO] [stderr] | [INFO] [stderr] 258 | ... if let Err(e) = msg.channel_id.say(&ctx, "target locked").await { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/lib.rs:327:34 [INFO] [stderr] | [INFO] [stderr] 327 | async fn reaction_add(&self, ctx: Context, reaction: Reaction) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/lib.rs:334:27 [INFO] [stderr] | [INFO] [stderr] 334 | async fn ready(&self, ctx: Context, ready: Ready) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/lib.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | / msg.react( [INFO] [stderr] 166 | | &ctx, [INFO] [stderr] 167 | | ReactionType::Custom { [INFO] [stderr] 168 | | animated: false, [INFO] [stderr] ... | [INFO] [stderr] 173 | | .await [INFO] [stderr] 174 | | .inspect_err(|e| error!("failed spencing: {}", e)); [INFO] [stderr] | |______________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 165 | let _ = msg.react( [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/lib.rs:176:13 [INFO] [stderr] | [INFO] [stderr] 176 | / msg.react( [INFO] [stderr] 177 | | &ctx, [INFO] [stderr] 178 | | REACTS [INFO] [stderr] 179 | | .read() [INFO] [stderr] ... | [INFO] [stderr] 185 | | .await [INFO] [stderr] 186 | | .inspect_err(|e| error!("failed spencing: {}", e)); [INFO] [stderr] | |______________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 176 | let _ = msg.react( [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/lib.rs:204:17 [INFO] [stderr] | [INFO] [stderr] 204 | / msg.react(&ctx, e) [INFO] [stderr] 205 | | .await [INFO] [stderr] 206 | | .inspect_err(|e| error!("failed garing: {}", e)); [INFO] [stderr] | |____________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 204 | let _ = msg.react(&ctx, e) [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/lib.rs:257:29 [INFO] [stderr] | [INFO] [stderr] 257 | ... mem::drop(TARGETING.write().await.insert(x)); [INFO] [stderr] | ^^^^^^^^^^---------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut UserId` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 257 - mem::drop(TARGETING.write().await.insert(x)); [INFO] [stderr] 257 + let _ = TARGETING.write().await.insert(x); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `buttsbot` (lib) generated 10 warnings (run `cargo fix --lib -p buttsbot` to apply 1 suggestion) [INFO] [stderr] warning: `buttsbot` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/buttsbot-9eac398c7119927c) [INFO] [stdout] running 2 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/buttsbot-9df3a820a7e82da6) [INFO] [stdout] test buttify::syllables_test ... ok [INFO] [stdout] test buttify::wont_panic_on_0_len_str ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4f4d2d634d9c9f40c7cfc3a023f71d287a6ff087fa6057086f11a337d8674c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f4d2d634d9c9f40c7cfc3a023f71d287a6ff087fa6057086f11a337d8674c42", kill_on_drop: false }` [INFO] [stdout] 4f4d2d634d9c9f40c7cfc3a023f71d287a6ff087fa6057086f11a337d8674c42