[INFO] cloning repository https://github.com/Jviguy/brickedbot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jviguy/brickedbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJviguy%2Fbrickedbot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJviguy%2Fbrickedbot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8f87da921ad052200f6c8743ccebe5e693c5c34 [INFO] testing Jviguy/brickedbot 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%2FJviguy%2Fbrickedbot" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Jviguy/brickedbot [INFO] finished tweaking git repo https://github.com/Jviguy/brickedbot [INFO] tweaked toml for git repo https://github.com/Jviguy/brickedbot written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jviguy/brickedbot 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/Jviguy/brickedbot 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] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/serenity-rs/serenity` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-rustls v0.23.2 [INFO] [stderr] Downloaded typemap_rev v0.1.5 [INFO] [stderr] Downloaded clokwerk v0.4.0-rc1 [INFO] [stderr] Downloaded httparse v1.6.0 [INFO] [stderr] Downloaded hyper-rustls v0.23.0 [INFO] [stderr] Downloaded ipnet v2.3.1 [INFO] [stderr] Downloaded tracing v0.1.31 [INFO] [stderr] Downloaded ntapi v0.3.7 [INFO] [stderr] Downloaded reqwest v0.11.9 [INFO] [stderr] Downloaded h2 v0.3.11 [INFO] [stderr] Downloaded hyper v0.14.17 [INFO] [stderr] Downloaded rustls v0.19.1 [INFO] [stderr] Downloaded webpki-roots v0.22.2 [INFO] [stderr] Downloaded rustls v0.20.4 [INFO] [stderr] Downloaded tokio v1.17.0 [INFO] [stderr] Downloaded source_query v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 1dee744901100c5c4da6bcbdd2b988734cbacf9fb1af64d6d046109d84a0b80a [INFO] running `Command { std: "docker" "start" "-a" "1dee744901100c5c4da6bcbdd2b988734cbacf9fb1af64d6d046109d84a0b80a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1dee744901100c5c4da6bcbdd2b988734cbacf9fb1af64d6d046109d84a0b80a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dee744901100c5c4da6bcbdd2b988734cbacf9fb1af64d6d046109d84a0b80a", kill_on_drop: false }` [INFO] [stdout] 1dee744901100c5c4da6bcbdd2b988734cbacf9fb1af64d6d046109d84a0b80a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] bc7c7574bb4d79886d741b86be354de6fdbf50b0d76a457e6f6425b7b8df1895 [INFO] running `Command { std: "docker" "start" "-a" "bc7c7574bb4d79886d741b86be354de6fdbf50b0d76a457e6f6425b7b8df1895", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling webpki-roots v0.22.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling serenity v0.10.10 (https://github.com/serenity-rs/serenity?branch=current#4eee51c2) [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling source_query v0.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.23.2 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling async-tungstenite v0.11.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling clokwerk v0.4.0-rc1 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling brickedbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RoleId` [INFO] [stdout] --> src/commands.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use serenity::model::id::{RoleId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::model::prelude::application_command::ApplicationCommandOptionType` [INFO] [stdout] --> src/commands.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serenity::model::prelude::application_command::ApplicationCommandOptionType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `source_query::info::ServerType` [INFO] [stdout] --> src/commands.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use source_query::info::ServerType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> src/utils/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::model::prelude::ChannelId` [INFO] [stdout] --> src/utils/pinsec.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serenity::model::prelude::ChannelId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/commands.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `serenity::model::channel::GuildChannel::slow_mode_rate`: will be renamed to `rate_limit_per_user` with serenity 0.11 [INFO] [stdout] --> src/commands.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | if let Some(rate) = gc.slow_mode_rate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/commands.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let channel = command.channel_id.delete(&ctx.http).await.unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gc` [INFO] [stdout] --> src/utils/pinsec.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | if let Some((channel, gc)) = op { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | gen(ctx.http.clone()).await; [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] 46 | let _ = gen(ctx.http.clone()).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 07s [INFO] running `Command { std: "docker" "inspect" "bc7c7574bb4d79886d741b86be354de6fdbf50b0d76a457e6f6425b7b8df1895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc7c7574bb4d79886d741b86be354de6fdbf50b0d76a457e6f6425b7b8df1895", kill_on_drop: false }` [INFO] [stdout] bc7c7574bb4d79886d741b86be354de6fdbf50b0d76a457e6f6425b7b8df1895 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 64af21462a9eeb61e76ab5852e137bc6610e94fb5ad841af92a75965ba6facd9 [INFO] running `Command { std: "docker" "start" "-a" "64af21462a9eeb61e76ab5852e137bc6610e94fb5ad841af92a75965ba6facd9", kill_on_drop: false }` [INFO] [stderr] Compiling brickedbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RoleId` [INFO] [stdout] --> src/commands.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use serenity::model::id::{RoleId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::model::prelude::application_command::ApplicationCommandOptionType` [INFO] [stdout] --> src/commands.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serenity::model::prelude::application_command::ApplicationCommandOptionType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `source_query::info::ServerType` [INFO] [stdout] --> src/commands.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use source_query::info::ServerType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> src/utils/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::model::prelude::ChannelId` [INFO] [stdout] --> src/utils/pinsec.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serenity::model::prelude::ChannelId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/commands.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `serenity::model::channel::GuildChannel::slow_mode_rate`: will be renamed to `rate_limit_per_user` with serenity 0.11 [INFO] [stdout] --> src/commands.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | if let Some(rate) = gc.slow_mode_rate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/commands.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let channel = command.channel_id.delete(&ctx.http).await.unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gc` [INFO] [stdout] --> src/utils/pinsec.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | if let Some((channel, gc)) = op { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | gen(ctx.http.clone()).await; [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] 46 | let _ = gen(ctx.http.clone()).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.50s [INFO] running `Command { std: "docker" "inspect" "64af21462a9eeb61e76ab5852e137bc6610e94fb5ad841af92a75965ba6facd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64af21462a9eeb61e76ab5852e137bc6610e94fb5ad841af92a75965ba6facd9", kill_on_drop: false }` [INFO] [stdout] 64af21462a9eeb61e76ab5852e137bc6610e94fb5ad841af92a75965ba6facd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ce2395e14fc0fc12a53fe566c3dc89f6d95f14c80e555c2683a5615fc439b9a8 [INFO] running `Command { std: "docker" "start" "-a" "ce2395e14fc0fc12a53fe566c3dc89f6d95f14c80e555c2683a5615fc439b9a8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `RoleId` [INFO] [stderr] --> src/commands.rs:7:27 [INFO] [stderr] | [INFO] [stderr] 7 | use serenity::model::id::{RoleId}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serenity::model::prelude::application_command::ApplicationCommandOptionType` [INFO] [stderr] --> src/commands.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use serenity::model::prelude::application_command::ApplicationCommandOptionType; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `source_query::info::ServerType` [INFO] [stderr] --> src/commands.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use source_query::info::ServerType; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::mpsc::channel` [INFO] [stderr] --> src/utils/mod.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::sync::mpsc::channel; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serenity::model::prelude::ChannelId` [INFO] [stderr] --> src/utils/pinsec.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use serenity::model::prelude::ChannelId; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/commands.rs:76:17 [INFO] [stderr] | [INFO] [stderr] 76 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated field `serenity::model::channel::GuildChannel::slow_mode_rate`: will be renamed to `rate_limit_per_user` with serenity 0.11 [INFO] [stderr] --> src/commands.rs:104:29 [INFO] [stderr] | [INFO] [stderr] 104 | if let Some(rate) = gc.slow_mode_rate { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `channel` [INFO] [stderr] --> src/commands.rs:96:9 [INFO] [stderr] | [INFO] [stderr] 96 | let channel = command.channel_id.delete(&ctx.http).await.unwrap(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `gc` [INFO] [stderr] --> src/utils/pinsec.rs:49:27 [INFO] [stderr] | [INFO] [stderr] 49 | if let Some((channel, gc)) = op { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_gc` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/commands.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | gen(ctx.http.clone()).await; [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] 46 | let _ = gen(ctx.http.clone()).await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `brickedbot` (bin "brickedbot" test) generated 10 warnings (run `cargo fix --bin "brickedbot" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/brickedbot-d90657b14590c35a) [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" "ce2395e14fc0fc12a53fe566c3dc89f6d95f14c80e555c2683a5615fc439b9a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce2395e14fc0fc12a53fe566c3dc89f6d95f14c80e555c2683a5615fc439b9a8", kill_on_drop: false }` [INFO] [stdout] ce2395e14fc0fc12a53fe566c3dc89f6d95f14c80e555c2683a5615fc439b9a8