[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] 3a582911be71cf3e3f2313fcb200d5907590f5b5 [INFO] checking itevie/trancer-rs against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitevie%2Ftrancer-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/itevie/trancer-rs on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] ea798899517fb2a6be8ec721e35ac22759e23c4b0f1aa37700d0363d8ac7e0f0 [INFO] running `Command { std: "docker" "start" "ea798899517fb2a6be8ec721e35ac22759e23c4b0f1aa37700d0363d8ac7e0f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea798899517fb2a6be8ec721e35ac22759e23c4b0f1aa37700d0363d8ac7e0f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ea798899517fb2a6be8ec721e35ac22759e23c4b0f1aa37700d0363d8ac7e0f0" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea798899517fb2a6be8ec721e35ac22759e23c4b0f1aa37700d0363d8ac7e0f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ea798899517fb2a6be8ec721e35ac22759e23c4b0f1aa37700d0363d8ac7e0f0" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking typenum v1.20.0 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling cc v1.2.61 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking hybrid-array v0.4.11 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling aws-lc-rs v1.16.3 [INFO] [stderr] Checking cmov v0.5.3 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking ctutils v0.4.2 [INFO] [stderr] Checking const-oid v0.10.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-sys v0.40.0 [INFO] [stderr] Checking block-buffer v0.12.0 [INFO] [stderr] Checking crypto-common v0.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking bitflags v2.11.1 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking rayon-core v1.13.0 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking digest v0.11.3 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking as-slice v0.2.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking aligned v0.4.3 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Compiling aws-types v1.3.15 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking sha2 v0.11.0 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking crc-catalog v2.5.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking y4m v0.8.0 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Checking crc v3.3.0 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Checking bitstream-io v4.9.0 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking hmac v0.13.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling libsqlite3-sys v0.34.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking webpki-roots v1.0.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking spin v0.10.0 [INFO] [stderr] Checking winnow v0.7.11 [INFO] [stderr] Checking zune-core v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking tokio v1.52.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling aws-smithy-runtime-api-macros v1.0.0 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling zerocopy-derive v0.8.26 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking aws-smithy-async v1.2.14 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking aws-smithy-types v1.4.7 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking aws-smithy-runtime-api v1.12.0 [INFO] [stderr] Checking aws-smithy-eventstream v0.60.20 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking aws-smithy-http v0.63.6 [INFO] [stderr] Checking aws-credential-types v1.2.14 [INFO] [stderr] Checking aws-smithy-observability v0.2.6 [INFO] [stderr] Checking av1-grain v0.2.5 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Checking imgref v1.12.0 [INFO] [stderr] Checking weezl v0.1.12 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking aws-sigv4 v1.4.3 [INFO] [stderr] Checking avif-serialize v0.8.8 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking zune-jpeg v0.5.15 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking crc-fast v1.9.0 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking sha1 v0.11.0 [INFO] [stderr] Checking md-5 v0.11.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking rgb v0.8.53 [INFO] [stderr] Checking lebe v0.5.3 [INFO] [stderr] Checking uuid v1.23.1 [INFO] [stderr] Checking pxfm v0.1.28 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking image-webp v0.2.4 [INFO] [stderr] Checking exr v1.74.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking ravif v0.13.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking aws-smithy-checksums v0.64.7 [INFO] [stderr] Checking yaml-rust2 v0.10.3 [INFO] [stderr] Checking gif v0.14.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking aws-smithy-xml v0.60.15 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking rust-ini v0.21.2 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking tiff v0.11.3 [INFO] [stderr] Checking lru v0.16.4 [INFO] [stderr] Checking aws-smithy-json v0.62.5 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking serde_cow v0.1.2 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling command_attr v0.5.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking typemap_rev v0.3.0 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking regex-lite v0.1.9 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking config v0.15.11 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking rusqlite v0.36.0 [INFO] [stderr] Checking meval v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking chrono-humanize v0.2.3 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking md5 v0.8.0 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking rustls-webpki v0.103.13 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking aws-smithy-http-client v1.1.12 [INFO] [stderr] Checking aws-smithy-runtime v1.11.1 [INFO] [stderr] Checking aws-runtime v1.7.3 [INFO] [stderr] Checking aws-sdk-s3 v1.131.0 [INFO] [stderr] Checking trancer-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/commands/economy/fish.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::time::Duration; [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 import: `content_response` [INFO] [stdout] --> src/commands/economy/mine.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cmd_util::{content_response, CommandTrait}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MoneyAddReason` [INFO] [stdout] --> src/commands/economy/mine.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::models::economy::{EconomyFields, MoneyAddReason}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::trancer_config::all_jobs::ALL_JOBS` [INFO] [stdout] --> src/commands/economy/mine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::trancer_config::all_jobs::ALL_JOBS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::level_calc::calculate_level` [INFO] [stdout] --> src/commands/economy/mine.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::util::level_calc::calculate_level; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::other::random_range` [INFO] [stdout] --> src/commands/economy/mine.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::util::other::random_range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RandomRewardItemOptions`, `RandomRewardOptions`, `generate_random_rewards`, and `give_random_reward` [INFO] [stdout] --> src/commands/economy/mine.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | generate_random_rewards, give_random_reward, RandomRewardItemOptions, RandomRewardOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SliceRandom` [INFO] [stdout] --> src/commands/economy/mine.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | use rand::prelude::{SliceRandom, StdRng}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Duration` [INFO] [stdout] --> src/commands/help/highest_streaks.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use chrono::{DateTime, Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrancerResponseType` [INFO] [stdout] --> src/commands/help/mcauth.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::cmd_util::{TrancerCommand, TrancerResponseType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::embeds::create_embed` [INFO] [stdout] --> src/commands/help/mcauth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::embeds::create_embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::lang::list` [INFO] [stdout] --> src/commands/help/mcauth.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::util::lang::list; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::all::CreateMessage` [INFO] [stdout] --> src/commands/help/mcauth.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serenity::all::CreateMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::builder::CreateEmbedFooter` [INFO] [stdout] --> src/commands/qotd/questions.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serenity::builder::CreateEmbedFooter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrancerResponseType` [INFO] [stdout] --> src/commands/qotd/suggest_question.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::cmd_util::{TrancerCommand, TrancerResponseType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::commands::CommandHasNoArgs` [INFO] [stdout] --> src/commands/qotd/suggest_question.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::commands::CommandHasNoArgs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::embeds::create_embed` [INFO] [stdout] --> src/commands/qotd/suggest_question.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::util::embeds::create_embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PaginationDataType` and `PaginationOptions` [INFO] [stdout] --> src/commands/qotd/suggest_question.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::util::pagination::{PaginationDataType, PaginationOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `confirm_action` and `reply` [INFO] [stdout] --> src/commands/qotd/suggest_question.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::{command_argument_struct, command_file, confirm_action, reply}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ButtonStyle`, `CreateActionRow`, `CreateButton`, `CreateMessage`, and `EditMessage` [INFO] [stdout] --> src/commands/qotd/suggest_question.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use serenity::all::{ButtonStyle, CreateActionRow, CreateButton, CreateMessage, EditMessage}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/commands/qotd/suggest_question.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::error` [INFO] [stdout] --> src/commands/qotd/suggest_question.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tracing::error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PaginationDataType` and `PaginationOptions` [INFO] [stdout] --> src/commands/qotd/unask_all.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::util::pagination::{PaginationDataType, PaginationOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/commands/server/manage_server_settings.rs:96:52 [INFO] [stdout] | [INFO] [stdout] 96 | validator: validator!(value, _ctx, { validator_ok_return!(value.to_string()) }), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 96 - validator: validator!(value, _ctx, { validator_ok_return!(value.to_string()) }), [INFO] [stdout] 96 + validator: validator!(value, _ctx, validator_ok_return!(value.to_string())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/commands/server/manage_server_settings.rs:108:51 [INFO] [stdout] | [INFO] [stdout] 108 | validator: validator!(value, ctx, { validate_channel(value, ctx).await }), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 108 - validator: validator!(value, ctx, { validate_channel(value, ctx).await }), [INFO] [stdout] 108 + validator: validator!(value, ctx, validate_channel(value, ctx).await), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/commands/server/manage_server_settings.rs:120:52 [INFO] [stdout] | [INFO] [stdout] 120 | validator: validator!(value, _ctx, { validate_boolean(value) }), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 120 - validator: validator!(value, _ctx, { validate_boolean(value) }), [INFO] [stdout] 120 + validator: validator!(value, _ctx, validate_boolean(value)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/commands/server/manage_server_settings.rs:132:52 [INFO] [stdout] | [INFO] [stdout] 132 | validator: validator!(value, _ctx, { validate_boolean(value) }), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 132 - validator: validator!(value, _ctx, { validate_boolean(value) }), [INFO] [stdout] 132 + validator: validator!(value, _ctx, validate_boolean(value)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/commands/server/manage_server_settings.rs:145:52 [INFO] [stdout] | [INFO] [stdout] 145 | validator: validator!(value, _ctx, { validate_boolean(value) }), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 145 - validator: validator!(value, _ctx, { validate_boolean(value) }), [INFO] [stdout] 145 + validator: validator!(value, _ctx, validate_boolean(value)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/commands/server/manage_server_settings.rs:157:52 [INFO] [stdout] | [INFO] [stdout] 157 | validator: validator!(value, _ctx, { validate_boolean(value) }), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 157 - validator: validator!(value, _ctx, { validate_boolean(value) }), [INFO] [stdout] 157 + validator: validator!(value, _ctx, validate_boolean(value)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::user_data::UserDataFields` [INFO] [stdout] --> src/message_handlers/badge_checker.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::user_data::UserDataFields; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::lang::list` [INFO] [stdout] --> src/message_handlers/badge_checker.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::lang::list; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/message_handlers/bump_detector.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{Local, Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::ToSql` [INFO] [stdout] --> src/models/aquired_item.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rusqlite::ToSql; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::server_settings::ServerSettingsFields` [INFO] [stdout] --> src/models/mission.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::server_settings::ServerSettingsFields; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::other::random_range` [INFO] [stdout] --> src/models/mission.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::util::other::random_range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/models/mission.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::server_settings::ServerSettings` [INFO] [stdout] --> src/timers/qotd.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::server_settings::ServerSettings; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::user_data::UserData` [INFO] [stdout] --> src/trancer_config/all_missions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::user_data::UserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::config::CONFIG` [INFO] [stdout] --> src/trancer_config/all_missions.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::util::config::CONFIG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::all::GuildId` [INFO] [stdout] --> src/trancer_config/all_missions.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serenity::all::GuildId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/commands/economy/fish.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::time::Duration; [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 import: `content_response` [INFO] [stdout] --> src/commands/economy/mine.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cmd_util::{content_response, CommandTrait}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MoneyAddReason` [INFO] [stdout] --> src/commands/economy/mine.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::models::economy::{EconomyFields, MoneyAddReason}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::trancer_config::all_jobs::ALL_JOBS` [INFO] [stdout] --> src/commands/economy/mine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::trancer_config::all_jobs::ALL_JOBS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::level_calc::calculate_level` [INFO] [stdout] --> src/commands/economy/mine.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::util::level_calc::calculate_level; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::other::random_range` [INFO] [stdout] --> src/commands/economy/mine.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::util::other::random_range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RandomRewardItemOptions`, `RandomRewardOptions`, `generate_random_rewards`, and `give_random_reward` [INFO] [stdout] --> src/commands/economy/mine.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | generate_random_rewards, give_random_reward, RandomRewardItemOptions, RandomRewardOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SliceRandom` [INFO] [stdout] --> src/commands/economy/mine.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | use rand::prelude::{SliceRandom, StdRng}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Duration` [INFO] [stdout] --> src/commands/help/highest_streaks.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use chrono::{DateTime, Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrancerResponseType` [INFO] [stdout] --> src/commands/help/mcauth.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::cmd_util::{TrancerCommand, TrancerResponseType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::embeds::create_embed` [INFO] [stdout] --> src/commands/help/mcauth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::embeds::create_embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::lang::list` [INFO] [stdout] --> src/commands/help/mcauth.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::util::lang::list; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::all::CreateMessage` [INFO] [stdout] --> src/commands/help/mcauth.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serenity::all::CreateMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::builder::CreateEmbedFooter` [INFO] [stdout] --> src/commands/qotd/questions.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serenity::builder::CreateEmbedFooter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrancerResponseType` [INFO] [stdout] --> src/commands/qotd/suggest_question.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::cmd_util::{TrancerCommand, TrancerResponseType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::commands::CommandHasNoArgs` [INFO] [stdout] --> src/commands/qotd/suggest_question.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::commands::CommandHasNoArgs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::embeds::create_embed` [INFO] [stdout] --> src/commands/qotd/suggest_question.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::util::embeds::create_embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PaginationDataType` and `PaginationOptions` [INFO] [stdout] --> src/commands/qotd/suggest_question.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::util::pagination::{PaginationDataType, PaginationOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `confirm_action` and `reply` [INFO] [stdout] --> src/commands/qotd/suggest_question.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::{command_argument_struct, command_file, confirm_action, reply}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ButtonStyle`, `CreateActionRow`, `CreateButton`, `CreateMessage`, and `EditMessage` [INFO] [stdout] --> src/commands/qotd/suggest_question.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use serenity::all::{ButtonStyle, CreateActionRow, CreateButton, CreateMessage, EditMessage}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/commands/qotd/suggest_question.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::error` [INFO] [stdout] --> src/commands/qotd/suggest_question.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tracing::error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PaginationDataType` and `PaginationOptions` [INFO] [stdout] --> src/commands/qotd/unask_all.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::util::pagination::{PaginationDataType, PaginationOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/commands/server/manage_server_settings.rs:96:52 [INFO] [stdout] | [INFO] [stdout] 96 | validator: validator!(value, _ctx, { validator_ok_return!(value.to_string()) }), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 96 - validator: validator!(value, _ctx, { validator_ok_return!(value.to_string()) }), [INFO] [stdout] 96 + validator: validator!(value, _ctx, validator_ok_return!(value.to_string())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/commands/server/manage_server_settings.rs:108:51 [INFO] [stdout] | [INFO] [stdout] 108 | validator: validator!(value, ctx, { validate_channel(value, ctx).await }), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 108 - validator: validator!(value, ctx, { validate_channel(value, ctx).await }), [INFO] [stdout] 108 + validator: validator!(value, ctx, validate_channel(value, ctx).await), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/commands/server/manage_server_settings.rs:120:52 [INFO] [stdout] | [INFO] [stdout] 120 | validator: validator!(value, _ctx, { validate_boolean(value) }), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 120 - validator: validator!(value, _ctx, { validate_boolean(value) }), [INFO] [stdout] 120 + validator: validator!(value, _ctx, validate_boolean(value)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/commands/server/manage_server_settings.rs:132:52 [INFO] [stdout] | [INFO] [stdout] 132 | validator: validator!(value, _ctx, { validate_boolean(value) }), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 132 - validator: validator!(value, _ctx, { validate_boolean(value) }), [INFO] [stdout] 132 + validator: validator!(value, _ctx, validate_boolean(value)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/commands/server/manage_server_settings.rs:145:52 [INFO] [stdout] | [INFO] [stdout] 145 | validator: validator!(value, _ctx, { validate_boolean(value) }), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 145 - validator: validator!(value, _ctx, { validate_boolean(value) }), [INFO] [stdout] 145 + validator: validator!(value, _ctx, validate_boolean(value)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/commands/server/manage_server_settings.rs:157:52 [INFO] [stdout] | [INFO] [stdout] 157 | validator: validator!(value, _ctx, { validate_boolean(value) }), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 157 - validator: validator!(value, _ctx, { validate_boolean(value) }), [INFO] [stdout] 157 + validator: validator!(value, _ctx, validate_boolean(value)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::user_data::UserDataFields` [INFO] [stdout] --> src/message_handlers/badge_checker.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::user_data::UserDataFields; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::lang::list` [INFO] [stdout] --> src/message_handlers/badge_checker.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::lang::list; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/message_handlers/bump_detector.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{Local, Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::ToSql` [INFO] [stdout] --> src/models/aquired_item.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rusqlite::ToSql; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::server_settings::ServerSettingsFields` [INFO] [stdout] --> src/models/mission.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::server_settings::ServerSettingsFields; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::other::random_range` [INFO] [stdout] --> src/models/mission.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::util::other::random_range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/models/mission.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::server_settings::ServerSettings` [INFO] [stdout] --> src/timers/qotd.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::server_settings::ServerSettings; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::user_data::UserData` [INFO] [stdout] --> src/trancer_config/all_missions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::user_data::UserData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::config::CONFIG` [INFO] [stdout] --> src/trancer_config/all_missions.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::util::config::CONFIG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::all::GuildId` [INFO] [stdout] --> src/trancer_config/all_missions.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serenity::all::GuildId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/timers/qotd.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut config = StateConfig::fetch(&ctx).await; [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: variable does not need to be mutable [INFO] [stdout] --> src/timers/qotd.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut config = StateConfig::fetch(&ctx).await; [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: 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: 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: use of deprecated method `chrono::TimeZone::timestamp_millis`: use `timestamp_millis_opt()` instead [INFO] [stdout] --> src/util/db_date.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | 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:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | 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, Timestamp, [INFO] [stdout] | ^^^^^^^^^^^^ [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:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | 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:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | 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, Timestamp, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | 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] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | 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: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | 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] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | 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/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | 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] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | 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/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | 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] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | 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/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | 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] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | 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/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | 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] 31 | | Ok(TrancerResponseType::None) [INFO] [stdout] 32 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | 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] 31 | | Ok(TrancerResponseType::None) [INFO] [stdout] 32 | | }), [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/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | 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] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | 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/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | 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] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | 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/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/help.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 19 | | let commands = commands::init(); [INFO] [stdout] 20 | | [INFO] [stdout] 21 | | let mut map: HashMap> = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok(TrancerResponseType::None) [INFO] [stdout] 57 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/help.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 19 | | let commands = commands::init(); [INFO] [stdout] 20 | | [INFO] [stdout] 21 | | let mut map: HashMap> = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok(TrancerResponseType::None) [INFO] [stdout] 57 | | }), [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: `now` [INFO] [stdout] --> src/commands/help/highest_streaks.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let now = Utc::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | 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] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | 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/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | 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] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | 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: `ctx` [INFO] [stdout] --> src/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/mcauth.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, _args| { [INFO] [stdout] | __________________- [INFO] [stdout] 19 | | return Ok(content_response("Please use `t!mcauth` instead.")) [INFO] [stdout] 20 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/mcauth.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, _args| { [INFO] [stdout] | __________________- [INFO] [stdout] 19 | | return Ok(content_response("Please use `t!mcauth` instead.")) [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: `parts` [INFO] [stdout] --> src/cmd_util/arg_parser.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | fn construct(parts: HashMap) -> Result, TrancerError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/ping.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | command_argument_struct!(PingArgs {}); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `parts` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/arg_parser.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | fn construct(parts: HashMap) -> Result, TrancerError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/ping.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | command_argument_struct!(PingArgs {}); [INFO] [stdout] | ------------------------------------- in this macro invocation [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/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | 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] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | 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: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | 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] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | 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/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | 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] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | 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/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | 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] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | 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/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | 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] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | 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/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | 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] 31 | | Ok(TrancerResponseType::None) [INFO] [stdout] 32 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | 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] 31 | | Ok(TrancerResponseType::None) [INFO] [stdout] 32 | | }), [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/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | 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] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | 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/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | 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] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | 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/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/help.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 19 | | let commands = commands::init(); [INFO] [stdout] 20 | | [INFO] [stdout] 21 | | let mut map: HashMap> = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok(TrancerResponseType::None) [INFO] [stdout] 57 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/help.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 19 | | let commands = commands::init(); [INFO] [stdout] 20 | | [INFO] [stdout] 21 | | let mut map: HashMap> = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 56 | | Ok(TrancerResponseType::None) [INFO] [stdout] 57 | | }), [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: `now` [INFO] [stdout] --> src/commands/help/highest_streaks.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let now = Utc::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | 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] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | 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/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | 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] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | 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: `ctx` [INFO] [stdout] --> src/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/mcauth.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, _args| { [INFO] [stdout] | __________________- [INFO] [stdout] 19 | | return Ok(content_response("Please use `t!mcauth` instead.")) [INFO] [stdout] 20 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/mcauth.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, _args| { [INFO] [stdout] | __________________- [INFO] [stdout] 19 | | return Ok(content_response("Please use `t!mcauth` instead.")) [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: `parts` [INFO] [stdout] --> src/cmd_util/arg_parser.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | fn construct(parts: HashMap) -> Result, TrancerError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/ping.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | command_argument_struct!(PingArgs {}); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `parts` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/arg_parser.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | fn construct(parts: HashMap) -> Result, TrancerError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/ping.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | command_argument_struct!(PingArgs {}); [INFO] [stdout] | ------------------------------------- in this macro invocation [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: `parts` [INFO] [stdout] --> src/cmd_util/arg_parser.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | fn construct(parts: HashMap) -> Result, TrancerError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/mod.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | command_argument_struct!(CommandHasNoArgs {}); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `parts` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/arg_parser.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | fn construct(parts: HashMap) -> Result, TrancerError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/mod.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | command_argument_struct!(CommandHasNoArgs {}); [INFO] [stdout] | --------------------------------------------- in this macro invocation [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: `parts` [INFO] [stdout] --> src/cmd_util/arg_parser.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | fn construct(parts: HashMap) -> Result, TrancerError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/mod.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | command_argument_struct!(CommandHasNoArgs {}); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `parts` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/arg_parser.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | fn construct(parts: HashMap) -> Result, TrancerError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/mod.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | command_argument_struct!(CommandHasNoArgs {}); [INFO] [stdout] | --------------------------------------------- in this macro invocation [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/commands/economy/recipies.rs:40:64 [INFO] [stdout] | [INFO] [stdout] 40 | ... .find(|y| y.name == x.0.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/commands/economy/recipies.rs:40:64 [INFO] [stdout] | [INFO] [stdout] 40 | ... .find(|y| y.name == x.0.clone()) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: meval v0.2.0, nom v1.2.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "ea798899517fb2a6be8ec721e35ac22759e23c4b0f1aa37700d0363d8ac7e0f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea798899517fb2a6be8ec721e35ac22759e23c4b0f1aa37700d0363d8ac7e0f0", kill_on_drop: false }` [INFO] [stdout] ea798899517fb2a6be8ec721e35ac22759e23c4b0f1aa37700d0363d8ac7e0f0