[INFO] cloning repository https://github.com/asheraryam/white-rabbit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/asheraryam/white-rabbit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasheraryam%2Fwhite-rabbit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasheraryam%2Fwhite-rabbit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d2e25b110111f3fe70348edf520848f4946fc51 [INFO] checking asheraryam/white-rabbit against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasheraryam%2Fwhite-rabbit" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/asheraryam/white-rabbit on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/asheraryam/white-rabbit [INFO] finished tweaking git repo https://github.com/asheraryam/white-rabbit [INFO] tweaked toml for git repo https://github.com/asheraryam/white-rabbit written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/asheraryam/white-rabbit already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32fa6746cfdb14b3b219db2141ba5b26e221629e6a0644e32d30375ef78a0a98 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "32fa6746cfdb14b3b219db2141ba5b26e221629e6a0644e32d30375ef78a0a98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32fa6746cfdb14b3b219db2141ba5b26e221629e6a0644e32d30375ef78a0a98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32fa6746cfdb14b3b219db2141ba5b26e221629e6a0644e32d30375ef78a0a98", kill_on_drop: false }` [INFO] [stdout] 32fa6746cfdb14b3b219db2141ba5b26e221629e6a0644e32d30375ef78a0a98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad20174f6f3b7441fb599b192b093ae3f8e6d5b7c57db2b2aa59d0488c6f8941 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ad20174f6f3b7441fb599b192b093ae3f8e6d5b7c57db2b2aa59d0488c6f8941", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking pin-project-lite v0.1.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking base64 v0.12.1 [INFO] [stderr] Checking task_scheduler v0.2.0 [INFO] [stderr] Compiling ring v0.16.14 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking http-body 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 tungstenite v0.9.2 [INFO] [stderr] Checking tokio-util v0.3.1 [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 serde v1.0.111 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking hyper v0.13.6 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [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 serenity v0.8.6 [INFO] [stderr] Checking chrono_rabbit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::parse_time` [INFO] [stdout] --> src/storage.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::parse_time; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/storage.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::client::Client` [INFO] [stdout] --> src/storage.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serenity::client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/storage.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{BufRead, BufReader, Error, Read, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/storage.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/storage.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | if (!fs::metadata(path).is_ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/storage.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | if (fs::metadata(path).is_ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/storage.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | if (rem.len() > 8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/storage.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | if (time_since_message < time_to_wait_in_seconds) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/storage.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | if (final_time_wait > 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventHandler`, `http::Http` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | http::Http, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | model::channel::Message, [INFO] [stdout] 16 | prelude::{Context, EventHandler}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | if (!msg_private) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::parse_time` [INFO] [stdout] --> src/storage.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::parse_time; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/storage.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::client::Client` [INFO] [stdout] --> src/storage.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serenity::client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/storage.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{BufRead, BufReader, Error, Read, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/storage.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/storage.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | if (!fs::metadata(path).is_ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/storage.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | if (fs::metadata(path).is_ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/storage.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | if (rem.len() > 8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/storage.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | if (time_since_message < time_to_wait_in_seconds) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/storage.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | if (final_time_wait > 0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventHandler`, `http::Http` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | http::Http, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | model::channel::Message, [INFO] [stdout] 16 | prelude::{Context, EventHandler}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | if (!msg_private) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/storage.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{BufRead, BufReader, Error, Read, Write}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | fn help(ctx: &mut Context, msg: &Message, mut args: Args) -> CommandResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dm_confirm` [INFO] [stdout] --> src/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let dm_confirm = msg.author.direct_message(&ctx, |m| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dm_confirm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `msg_url` is never read [INFO] [stdout] --> src/main.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut msg_url = String::from("Url not found"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `msg_url` is never read [INFO] [stdout] --> src/events.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let mut msg_url = String::from("Url not found"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `used_args` [INFO] [stdout] --> src/events.rs:47:66 [INFO] [stdout] | [INFO] [stdout] 47 | let (reply_msg, time_to_wait_in_seconds, used_args) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_used_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dm_confirm` [INFO] [stdout] --> src/events.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | ... let dm_confirm = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dm_confirm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dm_confirm` [INFO] [stdout] --> src/events.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | ... let dm_confirm = reaction.user(&ctx).unwrap().direct_message(&ctx, |m| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dm_confirm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parse_time.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | Err(e) => 0, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dm_reminder` [INFO] [stdout] --> src/storage.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | ... let dm_reminder = unlocked_ctx [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dm_reminder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | fn help(ctx: &mut Context, msg: &Message, mut args: Args) -> CommandResult { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/events.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | fn reaction_add(&self, ctx: Context, mut reaction: Reaction) { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `split_once` [INFO] [stdout] --> src/events.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn split_once(in_string: &str) -> (&str, &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/storage.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{BufRead, BufReader, Error, Read, Write}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/events.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | / ... storage::save_reminder( [INFO] [stdout] 87 | | ... reaction_msg.timestamp.timestamp(), [INFO] [stdout] 88 | | ... time_to_wait_in_seconds, [INFO] [stdout] 89 | | ... *user_id, [INFO] [stdout] 90 | | ... remind_msg.to_string(), [INFO] [stdout] 91 | | ... ); [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 `std::result::Result` that must be used [INFO] [stdout] --> src/events.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | storage::load_reminders(ctx); [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: unused variable: `args` [INFO] [stdout] --> src/main.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | fn help(ctx: &mut Context, msg: &Message, mut args: Args) -> CommandResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dm_confirm` [INFO] [stdout] --> src/main.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let dm_confirm = msg.author.direct_message(&ctx, |m| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dm_confirm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `msg_url` is never read [INFO] [stdout] --> src/main.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut msg_url = String::from("Url not found"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `msg_url` is never read [INFO] [stdout] --> src/events.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let mut msg_url = String::from("Url not found"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `used_args` [INFO] [stdout] --> src/events.rs:47:66 [INFO] [stdout] | [INFO] [stdout] 47 | let (reply_msg, time_to_wait_in_seconds, used_args) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_used_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dm_confirm` [INFO] [stdout] --> src/events.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | ... let dm_confirm = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dm_confirm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dm_confirm` [INFO] [stdout] --> src/events.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | ... let dm_confirm = reaction.user(&ctx).unwrap().direct_message(&ctx, |m| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dm_confirm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parse_time.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | Err(e) => 0, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dm_reminder` [INFO] [stdout] --> src/storage.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | ... let dm_reminder = unlocked_ctx [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dm_reminder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | fn help(ctx: &mut Context, msg: &Message, mut args: Args) -> CommandResult { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/events.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | fn reaction_add(&self, ctx: Context, mut reaction: Reaction) { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `split_once` [INFO] [stdout] --> src/events.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn split_once(in_string: &str) -> (&str, &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/events.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | / ... storage::save_reminder( [INFO] [stdout] 87 | | ... reaction_msg.timestamp.timestamp(), [INFO] [stdout] 88 | | ... time_to_wait_in_seconds, [INFO] [stdout] 89 | | ... *user_id, [INFO] [stdout] 90 | | ... remind_msg.to_string(), [INFO] [stdout] 91 | | ... ); [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 `std::result::Result` that must be used [INFO] [stdout] --> src/events.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | storage::load_reminders(ctx); [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: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 49s [INFO] running `Command { std: "docker" "inspect" "ad20174f6f3b7441fb599b192b093ae3f8e6d5b7c57db2b2aa59d0488c6f8941", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad20174f6f3b7441fb599b192b093ae3f8e6d5b7c57db2b2aa59d0488c6f8941", kill_on_drop: false }` [INFO] [stdout] ad20174f6f3b7441fb599b192b093ae3f8e6d5b7c57db2b2aa59d0488c6f8941