[INFO] cloning repository https://github.com/itevie/trancer-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itevie/trancer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitevie%2Ftrancer-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitevie%2Ftrancer-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74e1e01c03986e71aa4fe38b91b73782f6b4c6e0 [INFO] building itevie/trancer-rs against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitevie%2Ftrancer-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/itevie/trancer-rs [INFO] finished tweaking git repo https://github.com/itevie/trancer-rs [INFO] tweaked toml for git repo https://github.com/itevie/trancer-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/itevie/trancer-rs on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/itevie/trancer-rs 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-ini v0.21.2 [INFO] [stderr] Downloaded command_attr v0.5.3 [INFO] [stderr] Downloaded typesize-derive v0.1.11 [INFO] [stderr] Downloaded chrono-humanize v0.2.3 [INFO] [stderr] Downloaded typesize v0.1.14 [INFO] [stderr] Downloaded config v0.15.11 [INFO] [stderr] Downloaded camino v1.1.10 [INFO] [stderr] Downloaded rustls v0.23.29 [INFO] [stderr] Downloaded sled v0.34.7 [INFO] [stderr] Downloaded serenity v0.12.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e81134e6dee44c5ad9c8909ea38ed893e3f06400e6edcb78d89015ff1656e3e1 [INFO] running `Command { std: "docker" "start" "-a" "e81134e6dee44c5ad9c8909ea38ed893e3f06400e6edcb78d89015ff1656e3e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e81134e6dee44c5ad9c8909ea38ed893e3f06400e6edcb78d89015ff1656e3e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e81134e6dee44c5ad9c8909ea38ed893e3f06400e6edcb78d89015ff1656e3e1", kill_on_drop: false }` [INFO] [stdout] e81134e6dee44c5ad9c8909ea38ed893e3f06400e6edcb78d89015ff1656e3e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61f874f330e3a2e32474f02ca0ad18b989bb761fa8dbe7684ffc2a2a9139f60c [INFO] running `Command { std: "docker" "start" "-a" "61f874f330e3a2e32474f02ca0ad18b989bb761fa8dbe7684ffc2a2a9139f60c", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tokio v1.46.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling webpki-roots v1.0.1 [INFO] [stderr] Compiling libsqlite3-sys v0.34.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling yaml-rust2 v0.10.3 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rust-ini v0.21.2 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling rusqlite v0.36.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling chrono-humanize v0.2.3 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling command_attr v0.5.3 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling config v0.15.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling trancer-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/database.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | params: &[&(dyn rusqlite::ToSql)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - params: &[&(dyn rusqlite::ToSql)], [INFO] [stdout] 22 + params: &[&dyn rusqlite::ToSql ], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrancerResponseType` [INFO] [stdout] --> src/events/message_create.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cmd_util::{TrancerError, TrancerResponseType, TrancerRunnerContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> src/cmd_util/arg_parser.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | ref range, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `range: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/events/guild_member_addition.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | if let Err(error) = channel [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `author` [INFO] [stdout] --> src/models/quote.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | author, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `author: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/models/quote.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | channel, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `channel: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `created_at` [INFO] [stdout] --> src/models/quote.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let created_at = self.created_at.0.to_rfc3339(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_created_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/models/quote.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut embed = create_embed() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/util/random_rewards.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/commands/help/command_info.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | todo!("Implement this"); [INFO] [stdout] | ----------------------- any code following this expression is unreachable [INFO] [stdout] 39 | / Ok(TrancerResponseType::Big( [INFO] [stdout] 40 | | CreateMessage::new().content("hi").embed(create_embed()), [INFO] [stdout] 41 | | )) [INFO] [stdout] | |__________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | / badge!( [INFO] [stdout] 83 | | "booster", [INFO] [stdout] 84 | | "Booster", [INFO] [stdout] 85 | | "Boost Trancy Twilight at least once", [INFO] [stdout] ... | [INFO] [stdout] 88 | | |ctx| Ok(false) [INFO] [stdout] 89 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | / badge!( [INFO] [stdout] 107 | | "botfuckerupper", [INFO] [stdout] 108 | | "Bot Fucker Upper", [INFO] [stdout] 109 | | "Broke the bot (like found a glitch)", [INFO] [stdout] ... | [INFO] [stdout] 112 | | |ctx| Ok(false) [INFO] [stdout] 113 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | / badge!( [INFO] [stdout] 124 | | "5kmoney", [INFO] [stdout] 125 | | "Money Maker", [INFO] [stdout] 126 | | "Reached 500 currency at some point", [INFO] [stdout] ... | [INFO] [stdout] 129 | | |ctx| Ok(false) [INFO] [stdout] 130 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | / badge!( [INFO] [stdout] 140 | | "og", [INFO] [stdout] 141 | | "Founder", [INFO] [stdout] 142 | | "Joined the server before 100 members", [INFO] [stdout] ... | [INFO] [stdout] 145 | | |ctx| Ok(false) [INFO] [stdout] 146 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | / badge!( [INFO] [stdout] 148 | | "birthday", [INFO] [stdout] 149 | | "Twilight's Birthday", [INFO] [stdout] 150 | | "Be in Trancy Twilight when it hit 1 year old", [INFO] [stdout] ... | [INFO] [stdout] 155 | | |ctx| Ok(false) [INFO] [stdout] 156 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | / badge!( [INFO] [stdout] 159 | | "mythiccard", [INFO] [stdout] 160 | | "Mythic Card", [INFO] [stdout] 161 | | "Got a mythical card at some point", [INFO] [stdout] ... | [INFO] [stdout] 164 | | |ctx| Ok(false) [INFO] [stdout] 165 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:173:14 [INFO] [stdout] | [INFO] [stdout] 173 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | / badge!( [INFO] [stdout] 168 | | "cult", [INFO] [stdout] 169 | | "Cult Leader", [INFO] [stdout] 170 | | "Get 5 people to worship you with the tree feature", [INFO] [stdout] ... | [INFO] [stdout] 173 | | |ctx| Ok(false) [INFO] [stdout] 174 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:182:14 [INFO] [stdout] | [INFO] [stdout] 182 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | / badge!( [INFO] [stdout] 177 | | "eco#1", [INFO] [stdout] 178 | | "Economy #1", [INFO] [stdout] 179 | | "At economy position #1", [INFO] [stdout] ... | [INFO] [stdout] 182 | | |ctx| Ok(false) [INFO] [stdout] 183 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 190 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | / badge!( [INFO] [stdout] 185 | | "eco#2", [INFO] [stdout] 186 | | "Economy #2", [INFO] [stdout] 187 | | "At economy position #2", [INFO] [stdout] ... | [INFO] [stdout] 190 | | |ctx| Ok(false) [INFO] [stdout] 191 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:198:14 [INFO] [stdout] | [INFO] [stdout] 198 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | / badge!( [INFO] [stdout] 193 | | "eco#3", [INFO] [stdout] 194 | | "Economy #3", [INFO] [stdout] 195 | | "At economy position #3", [INFO] [stdout] ... | [INFO] [stdout] 198 | | |ctx| Ok(false) [INFO] [stdout] 199 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:217:14 [INFO] [stdout] | [INFO] [stdout] 217 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / badge!( [INFO] [stdout] 212 | | "babysitter", [INFO] [stdout] 213 | | "Dawn Babysitter", [INFO] [stdout] 214 | | "Have a Dawnagotchi for more than a month", [INFO] [stdout] ... | [INFO] [stdout] 217 | | |ctx| Ok(false) [INFO] [stdout] 218 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:225:14 [INFO] [stdout] | [INFO] [stdout] 225 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | / badge!( [INFO] [stdout] 220 | | "french", [INFO] [stdout] 221 | | "French", [INFO] [stdout] 222 | | "⚠️ This user is French - be weary ⚠️", [INFO] [stdout] ... | [INFO] [stdout] 225 | | |ctx| Ok(false) [INFO] [stdout] 226 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp_millis`: use `timestamp_millis_opt()` instead [INFO] [stdout] --> src/util/db_date.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | Ok(DbDate(Utc.timestamp_millis(i))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp_millis`: use `timestamp_millis_opt()` instead [INFO] [stdout] --> src/util/db_date.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(DbDate(Utc.timestamp_millis(f as i64))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventHandler` [INFO] [stdout] --> src/events/message_create.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | Channel, ChannelType, Context, CreateMessage, EventHandler, Message, ReactionType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/badges/badges_defined_list.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/badges/badges_defined_list.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 22 | | // TODO: Make it show how many people have it [INFO] [stdout] 23 | | paginate(PaginationOptions { [INFO] [stdout] 24 | | embed: create_embed().title("List of badges".to_string()), [INFO] [stdout] ... | [INFO] [stdout] 34 | | Ok(TrancerResponseType::None) [INFO] [stdout] 35 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/economy/daily.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/economy/daily.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 24 | | let rewards = generate_random_rewards(&ctx.sy, RandomRewardOptions { [INFO] [stdout] 25 | | currency: Some((CONFIG.payouts.daily.currency_min, CONFIG.payouts.daily.currency_max)), [INFO] [stdout] 26 | | items: Some(RandomRewardItemOptions { [INFO] [stdout] ... | [INFO] [stdout] 36 | | ))) [INFO] [stdout] 37 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/economy/leaderboard_money.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/economy/leaderboard_money.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 22 | | let data = Economy::fetch_all(&ctx.sy).await?.iter().map(|x| (x.balance, x.user_id.clone())).collect::>(); [INFO] [stdout] 23 | | leaderboard(ctx, create_embed(), data).await?; [INFO] [stdout] ... | [INFO] [stdout] 26 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/fun/birthdays.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/fun/birthdays.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 20 | | let mut user_datas = UserData::fetch_for_server(&ctx.sy, ctx.msg.guild_id.unwrap()).await? [INFO] [stdout] 21 | | .iter() [INFO] [stdout] 22 | | .map(|x| (x.user_id.clone(), x.next_birthday())) [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(TrancerResponseType::None) [INFO] [stdout] 46 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/fun/cowsay.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/fun/cowsay.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 34 | | let result = std::process::Command::new("cowsay").arg(args.text.clone()).output()?; [INFO] [stdout] 35 | | Ok(TrancerResponseType::Content(format!("```{}```", String::from_utf8_lossy(&result.stdout)))) [INFO] [stdout] 36 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/fun/eight_ball.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/fun/eight_ball.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 53 | | let mut all = Vec::new(); [INFO] [stdout] 54 | | all.extend(NEUTRAL.to_vec()); [INFO] [stdout] 55 | | all.extend(NEGATIVE.to_vec()); [INFO] [stdout] ... | [INFO] [stdout] 70 | | ).thumbnail(EIGHT_BALL_IMAGE)))) [INFO] [stdout] 71 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/fun/eight_ball.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/fun/eight_ball.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 53 | | let mut all = Vec::new(); [INFO] [stdout] 54 | | all.extend(NEUTRAL.to_vec()); [INFO] [stdout] 55 | | all.extend(NEGATIVE.to_vec()); [INFO] [stdout] ... | [INFO] [stdout] 70 | | ).thumbnail(EIGHT_BALL_IMAGE)))) [INFO] [stdout] 71 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/fun/rate.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/fun/rate.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 47 | | let amount = random_number_from_string(&format!("{}-{}", args.user.name, args.what), -5, 100); [INFO] [stdout] 48 | | Ok(TrancerResponseType::Content( [INFO] [stdout] 49 | | format!("According to my calculation... **{}** is... **{}% {}**", args.user.name , amount, args.what) [INFO] [stdout] 50 | | )) [INFO] [stdout] 51 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/about.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/about.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 19 | | // TODO: Finish these details [INFO] [stdout] 20 | | Ok(TrancerResponseType::Big(CreateMessage::new().embed( [INFO] [stdout] 21 | | create_embed().title("About Trancer!") [INFO] [stdout] ... | [INFO] [stdout] 25 | | ))) [INFO] [stdout] 26 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/category.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/category.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 34 | | let cmds = commands::init().into_iter().filter(|x| x.t().to_string() == args.category).collect::>(); [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | if cmds.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 47 | | ))) [INFO] [stdout] 48 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/command_info.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/command_info.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ______________- [INFO] [stdout] 38 | | todo!("Implement this"); [INFO] [stdout] 39 | | Ok(TrancerResponseType::Big( [INFO] [stdout] 40 | | CreateMessage::new().content("hi").embed(create_embed()), [INFO] [stdout] 41 | | )) [INFO] [stdout] 42 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/command_info.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/command_info.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ______________- [INFO] [stdout] 38 | | todo!("Implement this"); [INFO] [stdout] 39 | | Ok(TrancerResponseType::Big( [INFO] [stdout] 40 | | CreateMessage::new().content("hi").embed(create_embed()), [INFO] [stdout] 41 | | )) [INFO] [stdout] 42 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/commands_all.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/commands_all.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 18 | | let commands = commands::init(); [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | paginate(PaginationOptions { [INFO] [stdout] ... | [INFO] [stdout] 30 | | Ok(TrancerResponseType::None) [INFO] [stdout] 31 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/commands_new.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/commands_new.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ______________- [INFO] [stdout] 18 | | let data = CommandCreation::get_all(&ctx.sy).await?; [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | paginate(PaginationOptions { [INFO] [stdout] ... | [INFO] [stdout] 38 | | Ok(TrancerResponseType::None) [INFO] [stdout] 39 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/github.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/github.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 16 | | Ok(TrancerResponseType::Content(format!( [INFO] [stdout] 17 | | "Trancer (new - Rust): https://github.com/itevie/trancer-rs{}", [INFO] [stdout] 18 | | "\nTrancer (old - TypeScript): https://github.com/itevie/trancer" [INFO] [stdout] 19 | | ))) [INFO] [stdout] 20 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/github.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/github.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 16 | | Ok(TrancerResponseType::Content(format!( [INFO] [stdout] 17 | | "Trancer (new - Rust): https://github.com/itevie/trancer-rs{}", [INFO] [stdout] 18 | | "\nTrancer (old - TypeScript): https://github.com/itevie/trancer" [INFO] [stdout] 19 | | ))) [INFO] [stdout] 20 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/help.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/help.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 16 | | Ok(TrancerResponseType::Content("pong".to_string())) [INFO] [stdout] 17 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/help.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/help.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 16 | | Ok(TrancerResponseType::Content("pong".to_string())) [INFO] [stdout] 17 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/invite.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/invite.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 17 | | Ok(TrancerResponseType::Content(format!("Here! Join my amazing server: {}", CONFIG.server.invite_link.clone()))) [INFO] [stdout] 18 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/invite.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/invite.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 17 | | Ok(TrancerResponseType::Content(format!("Here! Join my amazing server: {}", CONFIG.server.invite_link.clone()))) [INFO] [stdout] 18 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parts` [INFO] [stdout] --> src/cmd_util/arg_parser.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | fn construct(parts: HashMap) -> Result, TrancerError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/ping.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | command_argument_struct!(PingArgs {}); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_argument_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/ping.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/ping.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 19 | | Ok(TrancerResponseType::Content("pong".to_string())) [INFO] [stdout] 20 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/ping.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/ping.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 19 | | Ok(TrancerResponseType::Content("pong".to_string())) [INFO] [stdout] 20 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/hypnosis/uppies.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/hypnosis/uppies.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 22 | | let mut rng = rand::thread_rng(); [INFO] [stdout] 23 | | let item = PHRASES.get(rng.gen_range(0..PHRASES.len())).unwrap(); [INFO] [stdout] 24 | | Ok(TrancerResponseType::Content(item.to_string())) [INFO] [stdout] 25 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/hypnosis/uppies.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/hypnosis/uppies.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 22 | | let mut rng = rand::thread_rng(); [INFO] [stdout] 23 | | let item = PHRASES.get(rng.gen_range(0..PHRASES.len())).unwrap(); [INFO] [stdout] 24 | | Ok(TrancerResponseType::Content(item.to_string())) [INFO] [stdout] 25 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/server/verify.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/server/verify.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 24 | | if ctx.server_settings.verification_role_id.is_none() && ctx.server_settings.unverified_role_id.is_none() { [INFO] [stdout] 25 | | return Ok(content_response(warn("This server does not have a verify or a unverified role!"))); [INFO] [stdout] ... | [INFO] [stdout] 57 | | Ok(TrancerResponseType::None) [INFO] [stdout] 58 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/spirals/favourite_spiral.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/spirals/favourite_spiral.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | ... handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ________________- [INFO] [stdout] 18 | | ... let Some(spiral) = FavouriteSpiral::get_random_for(&ctx.sy, ctx.msg.author.id).await? else { [INFO] [stdout] 19 | | ... return Ok(TrancerResponseType::Content(warn("You don't have any favourite spirals! Favourite some by replying to a sent spi... [INFO] [stdout] 20 | | ... }; [INFO] [stdout] 21 | | ... [INFO] [stdout] 22 | | ... Ok(TrancerResponseType::Content(spiral.link)) [INFO] [stdout] 23 | | ... }), [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/spirals/spiral.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/spirals/spiral.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 17 | | let spiral = Spiral::get_random(&ctx.sy).await?; [INFO] [stdout] 18 | | Ok(TrancerResponseType::Content(spiral.link)) [INFO] [stdout] 19 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parts` [INFO] [stdout] --> src/cmd_util/arg_parser.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | fn construct(parts: HashMap) -> Result, TrancerError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/mod.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | command_argument_struct!(CommandHasNoArgs {}); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_argument_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util/leaderboard.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let mut binding = hashmap.get_mut(&i).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cmd_util/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | fn run(&self, ctx: TrancerRunnerContext, args: ParsedArguments) -> TrancerFuture; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | fn run(&self, ctx: TrancerRunnerContext, args: ParsedArguments) -> TrancerFuture<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cmd_util/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | fn run(&self, ctx: TrancerRunnerContext, args: ParsedArguments) -> TrancerFuture { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | fn run(&self, ctx: TrancerRunnerContext, args: ParsedArguments) -> TrancerFuture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 18s [INFO] running `Command { std: "docker" "inspect" "61f874f330e3a2e32474f02ca0ad18b989bb761fa8dbe7684ffc2a2a9139f60c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61f874f330e3a2e32474f02ca0ad18b989bb761fa8dbe7684ffc2a2a9139f60c", kill_on_drop: false }` [INFO] [stdout] 61f874f330e3a2e32474f02ca0ad18b989bb761fa8dbe7684ffc2a2a9139f60c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9eb80ea726db194f120447848b6ce09734396ccc4d2bdf61ad5672af2b965b7d [INFO] running `Command { std: "docker" "start" "-a" "9eb80ea726db194f120447848b6ce09734396ccc4d2bdf61ad5672af2b965b7d", kill_on_drop: false }` [INFO] [stderr] Compiling trancer-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/database.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | params: &[&(dyn rusqlite::ToSql)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - params: &[&(dyn rusqlite::ToSql)], [INFO] [stdout] 22 + params: &[&dyn rusqlite::ToSql ], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrancerResponseType` [INFO] [stdout] --> src/events/message_create.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cmd_util::{TrancerError, TrancerResponseType, TrancerRunnerContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> src/cmd_util/arg_parser.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | ref range, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `range: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/events/guild_member_addition.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | if let Err(error) = channel [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `author` [INFO] [stdout] --> src/models/quote.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | author, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `author: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/models/quote.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | channel, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `channel: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `created_at` [INFO] [stdout] --> src/models/quote.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let created_at = self.created_at.0.to_rfc3339(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_created_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/models/quote.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut embed = create_embed() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/util/random_rewards.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/commands/help/command_info.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | todo!("Implement this"); [INFO] [stdout] | ----------------------- any code following this expression is unreachable [INFO] [stdout] 39 | / Ok(TrancerResponseType::Big( [INFO] [stdout] 40 | | CreateMessage::new().content("hi").embed(create_embed()), [INFO] [stdout] 41 | | )) [INFO] [stdout] | |__________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | / badge!( [INFO] [stdout] 83 | | "booster", [INFO] [stdout] 84 | | "Booster", [INFO] [stdout] 85 | | "Boost Trancy Twilight at least once", [INFO] [stdout] ... | [INFO] [stdout] 88 | | |ctx| Ok(false) [INFO] [stdout] 89 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | / badge!( [INFO] [stdout] 107 | | "botfuckerupper", [INFO] [stdout] 108 | | "Bot Fucker Upper", [INFO] [stdout] 109 | | "Broke the bot (like found a glitch)", [INFO] [stdout] ... | [INFO] [stdout] 112 | | |ctx| Ok(false) [INFO] [stdout] 113 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | / badge!( [INFO] [stdout] 124 | | "5kmoney", [INFO] [stdout] 125 | | "Money Maker", [INFO] [stdout] 126 | | "Reached 500 currency at some point", [INFO] [stdout] ... | [INFO] [stdout] 129 | | |ctx| Ok(false) [INFO] [stdout] 130 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | / badge!( [INFO] [stdout] 140 | | "og", [INFO] [stdout] 141 | | "Founder", [INFO] [stdout] 142 | | "Joined the server before 100 members", [INFO] [stdout] ... | [INFO] [stdout] 145 | | |ctx| Ok(false) [INFO] [stdout] 146 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | / badge!( [INFO] [stdout] 148 | | "birthday", [INFO] [stdout] 149 | | "Twilight's Birthday", [INFO] [stdout] 150 | | "Be in Trancy Twilight when it hit 1 year old", [INFO] [stdout] ... | [INFO] [stdout] 155 | | |ctx| Ok(false) [INFO] [stdout] 156 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | / badge!( [INFO] [stdout] 159 | | "mythiccard", [INFO] [stdout] 160 | | "Mythic Card", [INFO] [stdout] 161 | | "Got a mythical card at some point", [INFO] [stdout] ... | [INFO] [stdout] 164 | | |ctx| Ok(false) [INFO] [stdout] 165 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:173:14 [INFO] [stdout] | [INFO] [stdout] 173 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | / badge!( [INFO] [stdout] 168 | | "cult", [INFO] [stdout] 169 | | "Cult Leader", [INFO] [stdout] 170 | | "Get 5 people to worship you with the tree feature", [INFO] [stdout] ... | [INFO] [stdout] 173 | | |ctx| Ok(false) [INFO] [stdout] 174 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:182:14 [INFO] [stdout] | [INFO] [stdout] 182 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | / badge!( [INFO] [stdout] 177 | | "eco#1", [INFO] [stdout] 178 | | "Economy #1", [INFO] [stdout] 179 | | "At economy position #1", [INFO] [stdout] ... | [INFO] [stdout] 182 | | |ctx| Ok(false) [INFO] [stdout] 183 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 190 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | / badge!( [INFO] [stdout] 185 | | "eco#2", [INFO] [stdout] 186 | | "Economy #2", [INFO] [stdout] 187 | | "At economy position #2", [INFO] [stdout] ... | [INFO] [stdout] 190 | | |ctx| Ok(false) [INFO] [stdout] 191 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:198:14 [INFO] [stdout] | [INFO] [stdout] 198 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | / badge!( [INFO] [stdout] 193 | | "eco#3", [INFO] [stdout] 194 | | "Economy #3", [INFO] [stdout] 195 | | "At economy position #3", [INFO] [stdout] ... | [INFO] [stdout] 198 | | |ctx| Ok(false) [INFO] [stdout] 199 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:217:14 [INFO] [stdout] | [INFO] [stdout] 217 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / badge!( [INFO] [stdout] 212 | | "babysitter", [INFO] [stdout] 213 | | "Dawn Babysitter", [INFO] [stdout] 214 | | "Have a Dawnagotchi for more than a month", [INFO] [stdout] ... | [INFO] [stdout] 217 | | |ctx| Ok(false) [INFO] [stdout] 218 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:225:14 [INFO] [stdout] | [INFO] [stdout] 225 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | / badge!( [INFO] [stdout] 220 | | "french", [INFO] [stdout] 221 | | "French", [INFO] [stdout] 222 | | "⚠️ This user is French - be weary ⚠️", [INFO] [stdout] ... | [INFO] [stdout] 225 | | |ctx| Ok(false) [INFO] [stdout] 226 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp_millis`: use `timestamp_millis_opt()` instead [INFO] [stdout] --> src/util/db_date.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | Ok(DbDate(Utc.timestamp_millis(i))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp_millis`: use `timestamp_millis_opt()` instead [INFO] [stdout] --> src/util/db_date.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(DbDate(Utc.timestamp_millis(f as i64))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventHandler` [INFO] [stdout] --> src/events/message_create.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | Channel, ChannelType, Context, CreateMessage, EventHandler, Message, ReactionType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/badges/badges_defined_list.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/badges/badges_defined_list.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 22 | | // TODO: Make it show how many people have it [INFO] [stdout] 23 | | paginate(PaginationOptions { [INFO] [stdout] 24 | | embed: create_embed().title("List of badges".to_string()), [INFO] [stdout] ... | [INFO] [stdout] 34 | | Ok(TrancerResponseType::None) [INFO] [stdout] 35 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/economy/daily.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/economy/daily.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 24 | | let rewards = generate_random_rewards(&ctx.sy, RandomRewardOptions { [INFO] [stdout] 25 | | currency: Some((CONFIG.payouts.daily.currency_min, CONFIG.payouts.daily.currency_max)), [INFO] [stdout] 26 | | items: Some(RandomRewardItemOptions { [INFO] [stdout] ... | [INFO] [stdout] 36 | | ))) [INFO] [stdout] 37 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/economy/leaderboard_money.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/economy/leaderboard_money.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 22 | | let data = Economy::fetch_all(&ctx.sy).await?.iter().map(|x| (x.balance, x.user_id.clone())).collect::>(); [INFO] [stdout] 23 | | leaderboard(ctx, create_embed(), data).await?; [INFO] [stdout] ... | [INFO] [stdout] 26 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/fun/birthdays.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/fun/birthdays.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 20 | | let mut user_datas = UserData::fetch_for_server(&ctx.sy, ctx.msg.guild_id.unwrap()).await? [INFO] [stdout] 21 | | .iter() [INFO] [stdout] 22 | | .map(|x| (x.user_id.clone(), x.next_birthday())) [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(TrancerResponseType::None) [INFO] [stdout] 46 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/fun/cowsay.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/fun/cowsay.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 34 | | let result = std::process::Command::new("cowsay").arg(args.text.clone()).output()?; [INFO] [stdout] 35 | | Ok(TrancerResponseType::Content(format!("```{}```", String::from_utf8_lossy(&result.stdout)))) [INFO] [stdout] 36 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/fun/eight_ball.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/fun/eight_ball.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 53 | | let mut all = Vec::new(); [INFO] [stdout] 54 | | all.extend(NEUTRAL.to_vec()); [INFO] [stdout] 55 | | all.extend(NEGATIVE.to_vec()); [INFO] [stdout] ... | [INFO] [stdout] 70 | | ).thumbnail(EIGHT_BALL_IMAGE)))) [INFO] [stdout] 71 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/fun/eight_ball.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/fun/eight_ball.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 53 | | let mut all = Vec::new(); [INFO] [stdout] 54 | | all.extend(NEUTRAL.to_vec()); [INFO] [stdout] 55 | | all.extend(NEGATIVE.to_vec()); [INFO] [stdout] ... | [INFO] [stdout] 70 | | ).thumbnail(EIGHT_BALL_IMAGE)))) [INFO] [stdout] 71 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/fun/rate.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/fun/rate.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 47 | | let amount = random_number_from_string(&format!("{}-{}", args.user.name, args.what), -5, 100); [INFO] [stdout] 48 | | Ok(TrancerResponseType::Content( [INFO] [stdout] 49 | | format!("According to my calculation... **{}** is... **{}% {}**", args.user.name , amount, args.what) [INFO] [stdout] 50 | | )) [INFO] [stdout] 51 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/about.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/about.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 19 | | // TODO: Finish these details [INFO] [stdout] 20 | | Ok(TrancerResponseType::Big(CreateMessage::new().embed( [INFO] [stdout] 21 | | create_embed().title("About Trancer!") [INFO] [stdout] ... | [INFO] [stdout] 25 | | ))) [INFO] [stdout] 26 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/category.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/category.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 34 | | let cmds = commands::init().into_iter().filter(|x| x.t().to_string() == args.category).collect::>(); [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | if cmds.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 47 | | ))) [INFO] [stdout] 48 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/command_info.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/command_info.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ______________- [INFO] [stdout] 38 | | todo!("Implement this"); [INFO] [stdout] 39 | | Ok(TrancerResponseType::Big( [INFO] [stdout] 40 | | CreateMessage::new().content("hi").embed(create_embed()), [INFO] [stdout] 41 | | )) [INFO] [stdout] 42 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/command_info.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/command_info.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ______________- [INFO] [stdout] 38 | | todo!("Implement this"); [INFO] [stdout] 39 | | Ok(TrancerResponseType::Big( [INFO] [stdout] 40 | | CreateMessage::new().content("hi").embed(create_embed()), [INFO] [stdout] 41 | | )) [INFO] [stdout] 42 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/commands_all.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/commands_all.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 18 | | let commands = commands::init(); [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | paginate(PaginationOptions { [INFO] [stdout] ... | [INFO] [stdout] 30 | | Ok(TrancerResponseType::None) [INFO] [stdout] 31 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/commands_new.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/commands_new.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ______________- [INFO] [stdout] 18 | | let data = CommandCreation::get_all(&ctx.sy).await?; [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | paginate(PaginationOptions { [INFO] [stdout] ... | [INFO] [stdout] 38 | | Ok(TrancerResponseType::None) [INFO] [stdout] 39 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/github.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/github.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 16 | | Ok(TrancerResponseType::Content(format!( [INFO] [stdout] 17 | | "Trancer (new - Rust): https://github.com/itevie/trancer-rs{}", [INFO] [stdout] 18 | | "\nTrancer (old - TypeScript): https://github.com/itevie/trancer" [INFO] [stdout] 19 | | ))) [INFO] [stdout] 20 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/github.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/github.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 16 | | Ok(TrancerResponseType::Content(format!( [INFO] [stdout] 17 | | "Trancer (new - Rust): https://github.com/itevie/trancer-rs{}", [INFO] [stdout] 18 | | "\nTrancer (old - TypeScript): https://github.com/itevie/trancer" [INFO] [stdout] 19 | | ))) [INFO] [stdout] 20 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/help.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/help.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 16 | | Ok(TrancerResponseType::Content("pong".to_string())) [INFO] [stdout] 17 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/help.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/help.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 16 | | Ok(TrancerResponseType::Content("pong".to_string())) [INFO] [stdout] 17 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/invite.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/invite.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 17 | | Ok(TrancerResponseType::Content(format!("Here! Join my amazing server: {}", CONFIG.server.invite_link.clone()))) [INFO] [stdout] 18 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/invite.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/invite.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 17 | | Ok(TrancerResponseType::Content(format!("Here! Join my amazing server: {}", CONFIG.server.invite_link.clone()))) [INFO] [stdout] 18 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parts` [INFO] [stdout] --> src/cmd_util/arg_parser.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | fn construct(parts: HashMap) -> Result, TrancerError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/ping.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | command_argument_struct!(PingArgs {}); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_argument_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/ping.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/ping.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 19 | | Ok(TrancerResponseType::Content("pong".to_string())) [INFO] [stdout] 20 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/ping.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/ping.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 19 | | Ok(TrancerResponseType::Content("pong".to_string())) [INFO] [stdout] 20 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/hypnosis/uppies.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/hypnosis/uppies.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 22 | | let mut rng = rand::thread_rng(); [INFO] [stdout] 23 | | let item = PHRASES.get(rng.gen_range(0..PHRASES.len())).unwrap(); [INFO] [stdout] 24 | | Ok(TrancerResponseType::Content(item.to_string())) [INFO] [stdout] 25 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/hypnosis/uppies.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/hypnosis/uppies.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 22 | | let mut rng = rand::thread_rng(); [INFO] [stdout] 23 | | let item = PHRASES.get(rng.gen_range(0..PHRASES.len())).unwrap(); [INFO] [stdout] 24 | | Ok(TrancerResponseType::Content(item.to_string())) [INFO] [stdout] 25 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/server/verify.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/server/verify.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 24 | | if ctx.server_settings.verification_role_id.is_none() && ctx.server_settings.unverified_role_id.is_none() { [INFO] [stdout] 25 | | return Ok(content_response(warn("This server does not have a verify or a unverified role!"))); [INFO] [stdout] ... | [INFO] [stdout] 57 | | Ok(TrancerResponseType::None) [INFO] [stdout] 58 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/spirals/favourite_spiral.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/spirals/favourite_spiral.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | ... handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ________________- [INFO] [stdout] 18 | | ... let Some(spiral) = FavouriteSpiral::get_random_for(&ctx.sy, ctx.msg.author.id).await? else { [INFO] [stdout] 19 | | ... return Ok(TrancerResponseType::Content(warn("You don't have any favourite spirals! Favourite some by replying to a sent spi... [INFO] [stdout] 20 | | ... }; [INFO] [stdout] 21 | | ... [INFO] [stdout] 22 | | ... Ok(TrancerResponseType::Content(spiral.link)) [INFO] [stdout] 23 | | ... }), [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/spirals/spiral.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/spirals/spiral.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 17 | | let spiral = Spiral::get_random(&ctx.sy).await?; [INFO] [stdout] 18 | | Ok(TrancerResponseType::Content(spiral.link)) [INFO] [stdout] 19 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parts` [INFO] [stdout] --> src/cmd_util/arg_parser.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | fn construct(parts: HashMap) -> Result, TrancerError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/mod.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | command_argument_struct!(CommandHasNoArgs {}); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_argument_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util/leaderboard.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let mut binding = hashmap.get_mut(&i).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cmd_util/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | fn run(&self, ctx: TrancerRunnerContext, args: ParsedArguments) -> TrancerFuture; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | fn run(&self, ctx: TrancerRunnerContext, args: ParsedArguments) -> TrancerFuture<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cmd_util/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | fn run(&self, ctx: TrancerRunnerContext, args: ParsedArguments) -> TrancerFuture { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | fn run(&self, ctx: TrancerRunnerContext, args: ParsedArguments) -> TrancerFuture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.42s [INFO] running `Command { std: "docker" "inspect" "9eb80ea726db194f120447848b6ce09734396ccc4d2bdf61ad5672af2b965b7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eb80ea726db194f120447848b6ce09734396ccc4d2bdf61ad5672af2b965b7d", kill_on_drop: false }` [INFO] [stdout] 9eb80ea726db194f120447848b6ce09734396ccc4d2bdf61ad5672af2b965b7d