[INFO] cloning repository https://github.com/RiceCX/Saru [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RiceCX/Saru" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRiceCX%2FSaru", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRiceCX%2FSaru'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f50fd4924e096a05b327d95549725710e202615 [INFO] checking RiceCX/Saru/2f50fd4924e096a05b327d95549725710e202615 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRiceCX%2FSaru" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RiceCX/Saru on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RiceCX/Saru [INFO] finished tweaking git repo https://github.com/RiceCX/Saru [INFO] tweaked toml for git repo https://github.com/RiceCX/Saru written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/RiceCX/Saru 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/launchbadge/sqlx` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-subscriber v0.2.18 [INFO] [stderr] Downloaded atoi v0.4.0 [INFO] [stderr] Downloaded dtoa v0.4.8 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.24 [INFO] [stderr] Downloaded ipnet v2.3.0 [INFO] [stderr] Downloaded serde_yaml v0.8.17 [INFO] [stderr] Downloaded hashlink v0.7.0 [INFO] [stderr] Downloaded rand v0.8.3 [INFO] [stderr] Downloaded mio v0.7.12 [INFO] [stderr] Downloaded combine v4.6.0 [INFO] [stderr] Downloaded redis v0.20.2 [INFO] [stderr] Downloaded hyper v0.14.9 [INFO] [stderr] Downloaded bitvec v0.19.5 [INFO] [stderr] Downloaded nom v6.1.2 [INFO] [stderr] Downloaded reqwest v0.11.3 [INFO] [stderr] Downloaded pin-project v1.0.7 [INFO] [stderr] Downloaded webpki-roots v0.21.1 [INFO] [stderr] Downloaded ahash v0.7.4 [INFO] [stderr] Downloaded tokio-stream v0.1.6 [INFO] [stderr] Downloaded pin-project-internal v1.0.7 [INFO] [stderr] Downloaded uwl v0.6.0 [INFO] [stderr] Downloaded dirs v3.0.2 [INFO] [stderr] Downloaded md-5 v0.9.1 [INFO] [stderr] Downloaded rand_core v0.6.2 [INFO] [stderr] Downloaded serenity v0.10.8 [INFO] [stderr] Downloaded sha-1 v0.9.6 [INFO] [stderr] Downloaded tokio v1.6.1 [INFO] [stderr] Downloaded lexical-core v0.7.6 [INFO] [stderr] Downloaded libc v0.2.97 [INFO] [stderr] Downloaded radium v0.5.3 [INFO] [stderr] Downloaded sqlformat v0.1.6 [INFO] [stderr] Downloaded thiserror v1.0.25 [INFO] [stderr] Downloaded sys-info v0.9.0 [INFO] [stderr] Downloaded redox_syscall v0.2.8 [INFO] [stderr] Downloaded command_attr v0.3.7 [INFO] [stderr] Downloaded crossbeam-queue v0.3.2 [INFO] [stderr] Downloaded crypto-mac v0.10.0 [INFO] [stderr] Downloaded cpufeatures v0.1.4 [INFO] [stderr] Downloaded wyz v0.2.0 [INFO] [stderr] Downloaded funty v1.1.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.25 [INFO] [stderr] Downloaded whoami v1.1.2 [INFO] [stderr] Downloaded tokio-macros v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd833d49da62c7b4d4c7d39cbf00daef5bc30b6e271f89e3a76246023a60a4b6 [INFO] running `Command { std: "docker" "start" "-a" "cd833d49da62c7b4d4c7d39cbf00daef5bc30b6e271f89e3a76246023a60a4b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd833d49da62c7b4d4c7d39cbf00daef5bc30b6e271f89e3a76246023a60a4b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd833d49da62c7b4d4c7d39cbf00daef5bc30b6e271f89e3a76246023a60a4b6", kill_on_drop: false }` [INFO] [stdout] cd833d49da62c7b4d4c7d39cbf00daef5bc30b6e271f89e3a76246023a60a4b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00c0526964585c8da3dc0cfaf492cfcf52e5d508655207487f8f8b47c769ae47 [INFO] running `Command { std: "docker" "start" "-a" "00c0526964585c8da3dc0cfaf492cfcf52e5d508655207487f8f8b47c769ae47", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.12 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking cpufeatures v0.1.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking sha-1 v0.9.6 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling sys-info v0.9.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Compiling serenity v0.10.8 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking typemap_rev v0.1.5 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling command_attr v0.3.7 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-stream v0.1.6 [INFO] [stderr] Checking combine v4.6.0 [INFO] [stderr] Checking sqlx-rt v0.5.5 (https://github.com/launchbadge/sqlx#358b80f6) [INFO] [stderr] Checking async-tungstenite v0.11.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking sqlx-core v0.5.5 (https://github.com/launchbadge/sqlx#358b80f6) [INFO] [stderr] Checking tracing-subscriber v0.2.18 [INFO] [stderr] Checking hyper v0.14.9 [INFO] [stderr] Checking redis v0.20.2 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking reqwest v0.11.3 [INFO] [stderr] Compiling sqlx-macros v0.5.5 (https://github.com/launchbadge/sqlx#358b80f6) [INFO] [stderr] Checking sqlx v0.5.5 (https://github.com/launchbadge/sqlx#358b80f6) [INFO] [stderr] Checking saru v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/commands/moderation/action.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | }, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreateActionRow` and `CreateButton` [INFO] [stdout] --> src/commands/moderation/action.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use serenity::builder::{CreateButton, CreateActionRow}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReactionType` [INFO] [stdout] --> src/commands/moderation/action.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use serenity::model::prelude::{ReactionType, ButtonStyle, InteractionResponseType, Member, Interaction, User}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::model::prelude::Target::Emoji` [INFO] [stdout] --> src/commands/moderation/action.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serenity::model::prelude::Target::Emoji; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/commands/moderation/action.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{info, trace, instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/commands/moderation/action.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::listeners::events::message::message` [INFO] [stdout] --> src/commands/moderation/action.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::listeners::events::message::message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::model::id::RoleId` [INFO] [stdout] --> src/commands/moderation/action.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use serenity::model::id::RoleId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/commands/moderation/action.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | }, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreateActionRow` and `CreateButton` [INFO] [stdout] --> src/commands/moderation/action.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use serenity::builder::{CreateButton, CreateActionRow}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReactionType` [INFO] [stdout] --> src/commands/moderation/action.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use serenity::model::prelude::{ReactionType, ButtonStyle, InteractionResponseType, Member, Interaction, User}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::model::prelude::Target::Emoji` [INFO] [stdout] --> src/commands/moderation/action.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serenity::model::prelude::Target::Emoji; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instrument` [INFO] [stdout] --> src/commands/moderation/action.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{info, trace, instrument}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/commands/moderation/action.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VIEW_LOGS` should have an upper camel case name [INFO] [stdout] --> src/commands/moderation/action.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | VIEW_LOGS [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ViewLogs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::listeners::events::message::message` [INFO] [stdout] --> src/commands/moderation/action.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::listeners::events::message::message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::model::id::RoleId` [INFO] [stdout] --> src/commands/moderation/action.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use serenity::model::id::RoleId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VIEW_LOGS` should have an upper camel case name [INFO] [stdout] --> src/commands/moderation/action.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | VIEW_LOGS [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ViewLogs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `followup_msg` is never read [INFO] [stdout] --> src/commands/moderation/action.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let mut followup_msg = "An error occurred.".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `followup_msg` is never read [INFO] [stdout] --> src/commands/moderation/action.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let mut followup_msg = "An error occurred.".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/commands/moderation/action.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | if let err = target.add_role(&ctx.http, 704641046465740851).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/commands/moderation/action.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | if let err = target.add_role(&ctx.http, 704641046465740851).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/commands/moderation/action.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | let pool = ctx.data.read().await.get::().cloned().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/commands/moderation/action.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | let pool = ctx.data.read().await.get::().cloned().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::futures::StreamExt` [INFO] [stdout] --> src/commands/moderation/action.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serenity::futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::futures::StreamExt` [INFO] [stdout] --> src/commands/moderation/action.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serenity::futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `KICK` and `BAN` are never constructed [INFO] [stdout] --> src/commands/moderation/action.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 91 | enum ACTION { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 92 | MUTE, [INFO] [stdout] 93 | KICK, [INFO] [stdout] | ^^^^ [INFO] [stdout] 94 | BAN, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ACTION` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/moderation/action.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | / answer.create_interaction_response(&context.http, |f| { [INFO] [stdout] 64 | | f.kind(InteractionResponseType::ChannelMessageWithSource) [INFO] [stdout] 65 | | .interaction_response_data(|f| { [INFO] [stdout] 66 | | f.content(format!("User `{}` (`{}`) has been kicked.", member.user.tag(), member.user.id)) [INFO] [stdout] 67 | | }) [INFO] [stdout] 68 | | }).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] 63 | let _ = answer.create_interaction_response(&context.http, |f| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/moderation/action.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | / answer.create_interaction_response(&context.http, |f| { [INFO] [stdout] 72 | | f.kind(InteractionResponseType::ChannelMessageWithSource) [INFO] [stdout] 73 | | .interaction_response_data(|f| { [INFO] [stdout] 74 | | f.content(format!("User `{}` (`{}`) has been banned.", member.user.tag(), member.user.id)) [INFO] [stdout] 75 | | }) [INFO] [stdout] 76 | | }).await; [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] 71 | let _ = answer.create_interaction_response(&context.http, |f| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/moderation/action.rs:153:45 [INFO] [stdout] | [INFO] [stdout] 153 | / ... a.create_interaction_response(&ctx.http, |f| { [INFO] [stdout] 154 | | ... f.kind(InteractionResponseType::UpdateMessage) [INFO] [stdout] 155 | | ... .interaction_response_data(|rd| { [INFO] [stdout] 156 | | ... rd.content("Type your reason.") [INFO] [stdout] ... | [INFO] [stdout] 162 | | ... [INFO] [stdout] 163 | | ... }).await; [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] 153 | let _ = a.create_interaction_response(&ctx.http, |f| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/moderation/action.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | / interaction.create_interaction_response(&ctx.http, |f| { [INFO] [stdout] 259 | | f.kind(InteractionResponseType::ChannelMessageWithSource) [INFO] [stdout] 260 | | .interaction_response_data(|f| { [INFO] [stdout] 261 | | f.content(format!("User `{}` (`{}`) has been niggered.", target.user.tag(), target.user.id)) [INFO] [stdout] 262 | | }) [INFO] [stdout] 263 | | }).await; [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] 258 | let _ = interaction.create_interaction_response(&ctx.http, |f| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `KICK` and `BAN` are never constructed [INFO] [stdout] --> src/commands/moderation/action.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 91 | enum ACTION { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 92 | MUTE, [INFO] [stdout] 93 | KICK, [INFO] [stdout] | ^^^^ [INFO] [stdout] 94 | BAN, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ACTION` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/moderation/action.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | / answer.create_interaction_response(&context.http, |f| { [INFO] [stdout] 64 | | f.kind(InteractionResponseType::ChannelMessageWithSource) [INFO] [stdout] 65 | | .interaction_response_data(|f| { [INFO] [stdout] 66 | | f.content(format!("User `{}` (`{}`) has been kicked.", member.user.tag(), member.user.id)) [INFO] [stdout] 67 | | }) [INFO] [stdout] 68 | | }).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] 63 | let _ = answer.create_interaction_response(&context.http, |f| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/moderation/action.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | / answer.create_interaction_response(&context.http, |f| { [INFO] [stdout] 72 | | f.kind(InteractionResponseType::ChannelMessageWithSource) [INFO] [stdout] 73 | | .interaction_response_data(|f| { [INFO] [stdout] 74 | | f.content(format!("User `{}` (`{}`) has been banned.", member.user.tag(), member.user.id)) [INFO] [stdout] 75 | | }) [INFO] [stdout] 76 | | }).await; [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] 71 | let _ = answer.create_interaction_response(&context.http, |f| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/moderation/action.rs:153:45 [INFO] [stdout] | [INFO] [stdout] 153 | / ... a.create_interaction_response(&ctx.http, |f| { [INFO] [stdout] 154 | | ... f.kind(InteractionResponseType::UpdateMessage) [INFO] [stdout] 155 | | ... .interaction_response_data(|rd| { [INFO] [stdout] 156 | | ... rd.content("Type your reason.") [INFO] [stdout] ... | [INFO] [stdout] 162 | | ... [INFO] [stdout] 163 | | ... }).await; [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] 153 | let _ = a.create_interaction_response(&ctx.http, |f| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands/moderation/action.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | / interaction.create_interaction_response(&ctx.http, |f| { [INFO] [stdout] 259 | | f.kind(InteractionResponseType::ChannelMessageWithSource) [INFO] [stdout] 260 | | .interaction_response_data(|f| { [INFO] [stdout] 261 | | f.content(format!("User `{}` (`{}`) has been niggered.", target.user.tag(), target.user.id)) [INFO] [stdout] 262 | | }) [INFO] [stdout] 263 | | }).await; [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] 258 | let _ = interaction.create_interaction_response(&ctx.http, |f| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2, redis v0.20.2, sqlx-macros v0.5.5 (https://github.com/launchbadge/sqlx#358b80f6) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "00c0526964585c8da3dc0cfaf492cfcf52e5d508655207487f8f8b47c769ae47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00c0526964585c8da3dc0cfaf492cfcf52e5d508655207487f8f8b47c769ae47", kill_on_drop: false }` [INFO] [stdout] 00c0526964585c8da3dc0cfaf492cfcf52e5d508655207487f8f8b47c769ae47