[INFO] cloning repository https://github.com/ouglaaa/juanito [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ouglaaa/juanito" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fouglaaa%2Fjuanito", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fouglaaa%2Fjuanito'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e16c1e7966d386764f0e08f63fd3a544892ad1e7 [INFO] checking ouglaaa/juanito against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fouglaaa%2Fjuanito" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ouglaaa/juanito on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ouglaaa/juanito [INFO] finished tweaking git repo https://github.com/ouglaaa/juanito [INFO] tweaked toml for git repo https://github.com/ouglaaa/juanito written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/ouglaaa/juanito already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ef88c289070fd9ef44c5c71176ad8a8cdb88b17329106cd7b84278294b49cfc [INFO] running `Command { std: "docker" "start" "-a" "8ef88c289070fd9ef44c5c71176ad8a8cdb88b17329106cd7b84278294b49cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ef88c289070fd9ef44c5c71176ad8a8cdb88b17329106cd7b84278294b49cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ef88c289070fd9ef44c5c71176ad8a8cdb88b17329106cd7b84278294b49cfc", kill_on_drop: false }` [INFO] [stdout] 8ef88c289070fd9ef44c5c71176ad8a8cdb88b17329106cd7b84278294b49cfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3aa54aace0b7a96d85bce8e59caa66ee53e5f6643c9d861816749ca653bbd3bf [INFO] running `Command { std: "docker" "start" "-a" "3aa54aace0b7a96d85bce8e59caa66ee53e5f6643c9d861816749ca653bbd3bf", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking pin-project-lite v0.1.6 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling serenity v0.8.6 [INFO] [stderr] Compiling ring v0.16.14 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking encoding_rs v0.8.23 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking tungstenite v0.9.2 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking webpki-roots v0.18.0 [INFO] [stderr] Checking tokio-rustls v0.13.1 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling command_attr v0.2.0 [INFO] [stderr] Checking pin-project v0.4.17 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking serde v1.0.111 [INFO] [stderr] Checking hyper v0.13.6 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking hyper-rustls v0.20.0 [INFO] [stderr] Checking reqwest v0.10.6 [INFO] [stderr] Checking discordbot_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Write` [INFO] [stdout] --> main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Error, Write}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Write` [INFO] [stdout] --> main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Error, Write}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | / if let member_data = _member_data_if_available.unwrap() { [INFO] [stdout] 56 | | log.send_message(&_ctx.http, [INFO] [stdout] 57 | | |m| [INFO] [stdout] 58 | | if let user = _user { [INFO] [stdout] ... | [INFO] [stdout] 63 | | }); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | / if let log = self.get_logging_channel(&_ctx, _guild.0).unwrap() { [INFO] [stdout] 55 | | if let member_data = _member_data_if_available.unwrap() { [INFO] [stdout] 56 | | log.send_message(&_ctx.http, [INFO] [stdout] 57 | | |m| [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | / ... if let user = _user { [INFO] [stdout] 59 | | ... m.content(format!("* <@{}> has quit the server the server. :arrow_right::door:\r\n[{}]", user.name, Local::now())) [INFO] [stdout] 60 | | ... } else { [INFO] [stdout] 61 | | ... let x = m.content(format!("* user as join the server. :arrow_right::door:\r\n[{}]", Local::now())); [INFO] [stdout] 62 | | ... x [INFO] [stdout] 63 | | ... }); [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / if let log = self.get_logging_channel(&_ctx, _guild_id.0).unwrap() { [INFO] [stdout] 70 | | log.send_message(&_ctx.http, |m| [INFO] [stdout] 71 | | [INFO] [stdout] 72 | | if let user = _new_member.user.read() { [INFO] [stdout] ... | [INFO] [stdout] 78 | | ); [INFO] [stdout] 79 | | } [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | / if let user = _new_member.user.read() { [INFO] [stdout] 73 | | m.content(format!("* <@{}> has join the server.\r\n[{}]", user.name, Local::now())) [INFO] [stdout] 74 | | } else { [INFO] [stdout] 75 | | let x = m.content(format!("* as join the server.\r\n[{}]", Local::now())); [INFO] [stdout] 76 | | x [INFO] [stdout] 77 | | } [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | / ... if let log = self.get_logging_channel(&_ctx, guildId.unwrap().0) { [INFO] [stdout] 95 | | ... let chan = log.unwrap(); [INFO] [stdout] 96 | | ... chan.send_message(&_ctx.http, [INFO] [stdout] 97 | | ... |m| { [INFO] [stdout] 98 | | ... m.content(format!("<<#{}>> <@{}> [{}]... [INFO] [stdout] 99 | | ... }); [INFO] [stdout] 100 | | ... } [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | / ... if let guildId = _added_reaction.guild_id { [INFO] [stdout] 94 | | ... if let log = self.get_logging_channel(&_ctx, guildId.unwrap().0) { [INFO] [stdout] 95 | | ... let chan = log.unwrap(); [INFO] [stdout] 96 | | ... chan.send_message(&_ctx.http, [INFO] [stdout] ... | [INFO] [stdout] 100 | | ... } [INFO] [stdout] 101 | | ... } [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | / if let messageReactedResult = _ctx.http.get_message(_added_reaction.channel_id.0, _added_reaction.message_id.0) { [INFO] [stdout] 90 | | match messageReactedResult { [INFO] [stdout] 91 | | Ok(Message) => { [INFO] [stdout] 92 | | if self.post_comes_from_raid_helper(Message.author.id) { [INFO] [stdout] ... | [INFO] [stdout] 105 | | } [INFO] [stdout] 106 | | } [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | / if let userId = _added_reaction.user_id.0 { [INFO] [stdout] 89 | | if let messageReactedResult = _ctx.http.get_message(_added_reaction.channel_id.0, _added_reaction.message_id.0) { [INFO] [stdout] 90 | | match messageReactedResult { [INFO] [stdout] 91 | | Ok(Message) => { [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:120:33 [INFO] [stdout] | [INFO] [stdout] 120 | / ... if let log = self.get_logging_channel(&_ctx, guildId.unwrap().0) { [INFO] [stdout] 121 | | ... let chan = log.unwrap(); [INFO] [stdout] 122 | | ... chan.send_message(&_ctx.http, [INFO] [stdout] 123 | | ... |m| { [INFO] [stdout] ... | [INFO] [stdout] 126 | | ... [INFO] [stdout] 127 | | ... } [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | / ... if let guildId = _removed_reaction.guild_id { [INFO] [stdout] 120 | | ... if let log = self.get_logging_channel(&_ctx, guildId.unwrap().0) { [INFO] [stdout] 121 | | ... let chan = log.unwrap(); [INFO] [stdout] 122 | | ... chan.send_message(&_ctx.http, [INFO] [stdout] ... | [INFO] [stdout] 127 | | ... } [INFO] [stdout] 128 | | ... } [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | / if let messageReactedResult = _ctx.http.get_message(_removed_reaction.channel_id.0, _removed_reaction.message_id.0) { [INFO] [stdout] 116 | | match messageReactedResult { [INFO] [stdout] 117 | | Ok(Message) => { [INFO] [stdout] 118 | | if self.post_comes_from_raid_helper(Message.author.id) { [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | } [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | / if let userId = _removed_reaction.user_id.0 { [INFO] [stdout] 115 | | if let messageReactedResult = _ctx.http.get_message(_removed_reaction.channel_id.0, _removed_reaction.message_id.0) { [INFO] [stdout] 116 | | match messageReactedResult { [INFO] [stdout] 117 | | Ok(Message) => { [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | } [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] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `member_data` [INFO] [stdout] --> main.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | if let member_data = _member_data_if_available.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_member_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TIME_SINCE_MINE` [INFO] [stdout] --> main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub const TIME_SINCE_MINE: i64 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DIVISOR_MINE` [INFO] [stdout] --> main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub const DIVISOR_MINE: f64 = 250.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DIVISOR_MINER` [INFO] [stdout] --> main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub const DIVISOR_MINER: f64 = 300.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DIVISOR_ENGAGE` [INFO] [stdout] --> main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub const DIVISOR_ENGAGE: f64 = 200.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prefix` [INFO] [stdout] --> main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | prefix: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `guildId` should have a snake case name [INFO] [stdout] --> main.rs:32:50 [INFO] [stdout] | [INFO] [stdout] 32 | fn get_logging_channel(&self, ctx: &Context, guildId: u64) -> Option; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `guild_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `userId` should have a snake case name [INFO] [stdout] --> main.rs:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | fn post_comes_from_raid_helper(&self, userId: UserId) -> bool; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `guildId` should have a snake case name [INFO] [stdout] --> main.rs:37:50 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_logging_channel(&self, ctx: &Context, guildId: u64) -> Option { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `guild_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `userId` should have a snake case name [INFO] [stdout] --> main.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | fn post_comes_from_raid_helper(&self, userId: UserId) -> bool { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | / if let member_data = _member_data_if_available.unwrap() { [INFO] [stdout] 56 | | log.send_message(&_ctx.http, [INFO] [stdout] 57 | | |m| [INFO] [stdout] 58 | | if let user = _user { [INFO] [stdout] ... | [INFO] [stdout] 63 | | }); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | / if let log = self.get_logging_channel(&_ctx, _guild.0).unwrap() { [INFO] [stdout] 55 | | if let member_data = _member_data_if_available.unwrap() { [INFO] [stdout] 56 | | log.send_message(&_ctx.http, [INFO] [stdout] 57 | | |m| [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | / ... if let user = _user { [INFO] [stdout] 59 | | ... m.content(format!("* <@{}> has quit the server the server. :arrow_right::door:\r\n[{}]", user.name, Local::now())) [INFO] [stdout] 60 | | ... } else { [INFO] [stdout] 61 | | ... let x = m.content(format!("* user as join the server. :arrow_right::door:\r\n[{}]", Local::now())); [INFO] [stdout] 62 | | ... x [INFO] [stdout] 63 | | ... }); [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / if let log = self.get_logging_channel(&_ctx, _guild_id.0).unwrap() { [INFO] [stdout] 70 | | log.send_message(&_ctx.http, |m| [INFO] [stdout] 71 | | [INFO] [stdout] 72 | | if let user = _new_member.user.read() { [INFO] [stdout] ... | [INFO] [stdout] 78 | | ); [INFO] [stdout] 79 | | } [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | / if let user = _new_member.user.read() { [INFO] [stdout] 73 | | m.content(format!("* <@{}> has join the server.\r\n[{}]", user.name, Local::now())) [INFO] [stdout] 74 | | } else { [INFO] [stdout] 75 | | let x = m.content(format!("* as join the server.\r\n[{}]", Local::now())); [INFO] [stdout] 76 | | x [INFO] [stdout] 77 | | } [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | / ... if let log = self.get_logging_channel(&_ctx, guildId.unwrap().0) { [INFO] [stdout] 95 | | ... let chan = log.unwrap(); [INFO] [stdout] 96 | | ... chan.send_message(&_ctx.http, [INFO] [stdout] 97 | | ... |m| { [INFO] [stdout] 98 | | ... m.content(format!("<<#{}>> <@{}> [{}]... [INFO] [stdout] 99 | | ... }); [INFO] [stdout] 100 | | ... } [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | / ... if let guildId = _added_reaction.guild_id { [INFO] [stdout] 94 | | ... if let log = self.get_logging_channel(&_ctx, guildId.unwrap().0) { [INFO] [stdout] 95 | | ... let chan = log.unwrap(); [INFO] [stdout] 96 | | ... chan.send_message(&_ctx.http, [INFO] [stdout] ... | [INFO] [stdout] 100 | | ... } [INFO] [stdout] 101 | | ... } [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | / if let messageReactedResult = _ctx.http.get_message(_added_reaction.channel_id.0, _added_reaction.message_id.0) { [INFO] [stdout] 90 | | match messageReactedResult { [INFO] [stdout] 91 | | Ok(Message) => { [INFO] [stdout] 92 | | if self.post_comes_from_raid_helper(Message.author.id) { [INFO] [stdout] ... | [INFO] [stdout] 105 | | } [INFO] [stdout] 106 | | } [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | / if let userId = _added_reaction.user_id.0 { [INFO] [stdout] 89 | | if let messageReactedResult = _ctx.http.get_message(_added_reaction.channel_id.0, _added_reaction.message_id.0) { [INFO] [stdout] 90 | | match messageReactedResult { [INFO] [stdout] 91 | | Ok(Message) => { [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:120:33 [INFO] [stdout] | [INFO] [stdout] 120 | / ... if let log = self.get_logging_channel(&_ctx, guildId.unwrap().0) { [INFO] [stdout] 121 | | ... let chan = log.unwrap(); [INFO] [stdout] 122 | | ... chan.send_message(&_ctx.http, [INFO] [stdout] 123 | | ... |m| { [INFO] [stdout] ... | [INFO] [stdout] 126 | | ... [INFO] [stdout] 127 | | ... } [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | / ... if let guildId = _removed_reaction.guild_id { [INFO] [stdout] 120 | | ... if let log = self.get_logging_channel(&_ctx, guildId.unwrap().0) { [INFO] [stdout] 121 | | ... let chan = log.unwrap(); [INFO] [stdout] 122 | | ... chan.send_message(&_ctx.http, [INFO] [stdout] ... | [INFO] [stdout] 127 | | ... } [INFO] [stdout] 128 | | ... } [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | / if let messageReactedResult = _ctx.http.get_message(_removed_reaction.channel_id.0, _removed_reaction.message_id.0) { [INFO] [stdout] 116 | | match messageReactedResult { [INFO] [stdout] 117 | | Ok(Message) => { [INFO] [stdout] 118 | | if self.post_comes_from_raid_helper(Message.author.id) { [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | } [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] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> main.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | / if let userId = _removed_reaction.user_id.0 { [INFO] [stdout] 115 | | if let messageReactedResult = _ctx.http.get_message(_removed_reaction.channel_id.0, _removed_reaction.message_id.0) { [INFO] [stdout] 116 | | match messageReactedResult { [INFO] [stdout] 117 | | Ok(Message) => { [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | } [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] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `member_data` [INFO] [stdout] --> main.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | if let member_data = _member_data_if_available.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_member_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> main.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | / ... log.send_message(&_ctx.http, [INFO] [stdout] 57 | | ... |m| [INFO] [stdout] 58 | | ... if let user = _user { [INFO] [stdout] 59 | | ... m.content(format!("* <@{}> has quit the server the server. :arrow_right::door:\r\n[{}]", user.name, Local:... [INFO] [stdout] ... | [INFO] [stdout] 62 | | ... x [INFO] [stdout] 63 | | ... }); [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> main.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | / log.send_message(&_ctx.http, |m| [INFO] [stdout] 71 | | [INFO] [stdout] 72 | | if let user = _new_member.user.read() { [INFO] [stdout] 73 | | m.content(format!("* <@{}> has join the server.\r\n[{}]", user.name, Local::now())) [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `userId` should have a snake case name [INFO] [stdout] --> main.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | if let userId = _added_reaction.user_id.0 { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messageReactedResult` should have a snake case name [INFO] [stdout] --> main.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | if let messageReactedResult = _ctx.http.get_message(_added_reaction.channel_id.0, _added_reaction.message_id.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `message_reacted_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Message` should have a snake case name [INFO] [stdout] --> main.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | Ok(Message) => { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `guildId` should have a snake case name [INFO] [stdout] --> main.rs:93:36 [INFO] [stdout] | [INFO] [stdout] 93 | ... if let guildId = _added_reaction.guild_id { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `guild_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> main.rs:96:37 [INFO] [stdout] | [INFO] [stdout] 96 | / ... chan.send_message(&_ctx.http, [INFO] [stdout] 97 | | ... |m| { [INFO] [stdout] 98 | | ... m.content(format!("<<#{}>> <@{}> [{}] Added [{}]", _added_reaction.channel_id.0, userId, _added_reaction.emoj... [INFO] [stdout] 99 | | ... }); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `userId` should have a snake case name [INFO] [stdout] --> main.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | if let userId = _removed_reaction.user_id.0 { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messageReactedResult` should have a snake case name [INFO] [stdout] --> main.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | if let messageReactedResult = _ctx.http.get_message(_removed_reaction.channel_id.0, _removed_reaction.message_id.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `message_reacted_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Message` should have a snake case name [INFO] [stdout] --> main.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | Ok(Message) => { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `guildId` should have a snake case name [INFO] [stdout] --> main.rs:119:36 [INFO] [stdout] | [INFO] [stdout] 119 | ... if let guildId = _removed_reaction.guild_id { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `guild_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> main.rs:122:37 [INFO] [stdout] | [INFO] [stdout] 122 | / ... chan.send_message(&_ctx.http, [INFO] [stdout] 123 | | ... |m| { [INFO] [stdout] 124 | | ... m.content(format!("<<#{}>> <@{}> [{}] Removed [{}]", _removed_reaction.channel_id.0, userId, _removed_reactio... [INFO] [stdout] 125 | | ... }); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TIME_SINCE_MINE` [INFO] [stdout] --> main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub const TIME_SINCE_MINE: i64 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DIVISOR_MINE` [INFO] [stdout] --> main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub const DIVISOR_MINE: f64 = 250.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DIVISOR_MINER` [INFO] [stdout] --> main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub const DIVISOR_MINER: f64 = 300.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DIVISOR_ENGAGE` [INFO] [stdout] --> main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub const DIVISOR_ENGAGE: f64 = 200.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prefix` [INFO] [stdout] --> main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | prefix: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `guildId` should have a snake case name [INFO] [stdout] --> main.rs:32:50 [INFO] [stdout] | [INFO] [stdout] 32 | fn get_logging_channel(&self, ctx: &Context, guildId: u64) -> Option; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `guild_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `userId` should have a snake case name [INFO] [stdout] --> main.rs:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | fn post_comes_from_raid_helper(&self, userId: UserId) -> bool; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `guildId` should have a snake case name [INFO] [stdout] --> main.rs:37:50 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_logging_channel(&self, ctx: &Context, guildId: u64) -> Option { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `guild_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `userId` should have a snake case name [INFO] [stdout] --> main.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | fn post_comes_from_raid_helper(&self, userId: UserId) -> bool { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> main.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | / ... log.send_message(&_ctx.http, [INFO] [stdout] 57 | | ... |m| [INFO] [stdout] 58 | | ... if let user = _user { [INFO] [stdout] 59 | | ... m.content(format!("* <@{}> has quit the server the server. :arrow_right::door:\r\n[{}]", user.name, Local:... [INFO] [stdout] ... | [INFO] [stdout] 62 | | ... x [INFO] [stdout] 63 | | ... }); [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> main.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | / log.send_message(&_ctx.http, |m| [INFO] [stdout] 71 | | [INFO] [stdout] 72 | | if let user = _new_member.user.read() { [INFO] [stdout] 73 | | m.content(format!("* <@{}> has join the server.\r\n[{}]", user.name, Local::now())) [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `userId` should have a snake case name [INFO] [stdout] --> main.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | if let userId = _added_reaction.user_id.0 { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messageReactedResult` should have a snake case name [INFO] [stdout] --> main.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | if let messageReactedResult = _ctx.http.get_message(_added_reaction.channel_id.0, _added_reaction.message_id.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `message_reacted_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Message` should have a snake case name [INFO] [stdout] --> main.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | Ok(Message) => { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `guildId` should have a snake case name [INFO] [stdout] --> main.rs:93:36 [INFO] [stdout] | [INFO] [stdout] 93 | ... if let guildId = _added_reaction.guild_id { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `guild_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> main.rs:96:37 [INFO] [stdout] | [INFO] [stdout] 96 | / ... chan.send_message(&_ctx.http, [INFO] [stdout] 97 | | ... |m| { [INFO] [stdout] 98 | | ... m.content(format!("<<#{}>> <@{}> [{}] Added [{}]", _added_reaction.channel_id.0, userId, _added_reaction.emoj... [INFO] [stdout] 99 | | ... }); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `userId` should have a snake case name [INFO] [stdout] --> main.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | if let userId = _removed_reaction.user_id.0 { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `messageReactedResult` should have a snake case name [INFO] [stdout] --> main.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | if let messageReactedResult = _ctx.http.get_message(_removed_reaction.channel_id.0, _removed_reaction.message_id.0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `message_reacted_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Message` should have a snake case name [INFO] [stdout] --> main.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | Ok(Message) => { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `guildId` should have a snake case name [INFO] [stdout] --> main.rs:119:36 [INFO] [stdout] | [INFO] [stdout] 119 | ... if let guildId = _removed_reaction.guild_id { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `guild_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> main.rs:122:37 [INFO] [stdout] | [INFO] [stdout] 122 | / ... chan.send_message(&_ctx.http, [INFO] [stdout] 123 | | ... |m| { [INFO] [stdout] 124 | | ... m.content(format!("<<#{}>> <@{}> [{}] Removed [{}]", _removed_reaction.channel_id.0, userId, _removed_reactio... [INFO] [stdout] 125 | | ... }); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.35s [INFO] running `Command { std: "docker" "inspect" "3aa54aace0b7a96d85bce8e59caa66ee53e5f6643c9d861816749ca653bbd3bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aa54aace0b7a96d85bce8e59caa66ee53e5f6643c9d861816749ca653bbd3bf", kill_on_drop: false }` [INFO] [stdout] 3aa54aace0b7a96d85bce8e59caa66ee53e5f6643c9d861816749ca653bbd3bf