[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 master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyush%2Fbuttsbot" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tyush/buttsbot on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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] Downloading crates ... [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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b29b81c746e8f3141e78a9f2893b69ad3aa549055474f37adecfdb61a95b7db1 [INFO] running `Command { std: "docker" "start" "-a" "b29b81c746e8f3141e78a9f2893b69ad3aa549055474f37adecfdb61a95b7db1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b29b81c746e8f3141e78a9f2893b69ad3aa549055474f37adecfdb61a95b7db1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b29b81c746e8f3141e78a9f2893b69ad3aa549055474f37adecfdb61a95b7db1", kill_on_drop: false }` [INFO] [stdout] b29b81c746e8f3141e78a9f2893b69ad3aa549055474f37adecfdb61a95b7db1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 211bbe63fcd1391525c354bf8fc4c42414ccd01f2484a866094e269791e7def1 [INFO] running `Command { std: "docker" "start" "-a" "211bbe63fcd1391525c354bf8fc4c42414ccd01f2484a866094e269791e7def1", 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 quote v1.0.20 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [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] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling typenum v1.15.0 [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] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking crypto-common v0.1.4 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking rustls-pemfile v1.0.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling serenity v0.11.2 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling hypher v0.1.0 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking typemap_rev v0.1.5 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking webpki-roots v0.22.3 [INFO] [stderr] Checking regex v1.6.0 [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 env_logger v0.9.0 [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 serde-value v0.7.0 [INFO] [stderr] Checking time v0.3.11 [INFO] [stderr] Checking dashmap v5.3.4 [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] 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: 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: 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: `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: `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] [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] [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] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.63s [INFO] running `Command { std: "docker" "inspect" "211bbe63fcd1391525c354bf8fc4c42414ccd01f2484a866094e269791e7def1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "211bbe63fcd1391525c354bf8fc4c42414ccd01f2484a866094e269791e7def1", kill_on_drop: false }` [INFO] [stdout] 211bbe63fcd1391525c354bf8fc4c42414ccd01f2484a866094e269791e7def1