[INFO] cloning repository https://github.com/itevie/trancer-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itevie/trancer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitevie%2Ftrancer-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitevie%2Ftrancer-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74e1e01c03986e71aa4fe38b91b73782f6b4c6e0 [INFO] building itevie/trancer-rs against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitevie%2Ftrancer-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/itevie/trancer-rs [INFO] finished tweaking git repo https://github.com/itevie/trancer-rs [INFO] tweaked toml for git repo https://github.com/itevie/trancer-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/itevie/trancer-rs on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded instant v0.1.13 [INFO] [stderr] Downloaded redox_syscall v0.2.16 [INFO] [stderr] Downloaded const-random-macro v0.1.16 [INFO] [stderr] Downloaded typesize v0.1.14 [INFO] [stderr] Downloaded chrono-humanize v0.2.3 [INFO] [stderr] Downloaded toml v0.8.23 [INFO] [stderr] Downloaded pest_derive v2.8.1 [INFO] [stderr] Downloaded yaml-rust2 v0.10.3 [INFO] [stderr] Downloaded crunchy v0.2.4 [INFO] [stderr] Downloaded pest_generator v2.8.1 [INFO] [stderr] Downloaded tiny-keccak v2.0.2 [INFO] [stderr] Downloaded ucd-trie v0.1.7 [INFO] [stderr] Downloaded convert_case v0.6.0 [INFO] [stderr] Downloaded pest v2.8.1 [INFO] [stderr] Downloaded tungstenite v0.21.0 [INFO] [stderr] Downloaded typemap_rev v0.3.0 [INFO] [stderr] Downloaded cc v1.2.27 [INFO] [stderr] Downloaded rustix v1.0.7 [INFO] [stderr] Downloaded pest_meta v2.8.1 [INFO] [stderr] Downloaded dlv-list v0.5.2 [INFO] [stderr] Downloaded config v0.15.11 [INFO] [stderr] Downloaded hashlink v0.10.0 [INFO] [stderr] Downloaded command_attr v0.5.3 [INFO] [stderr] Downloaded toml_edit v0.22.27 [INFO] [stderr] Downloaded rusqlite v0.36.0 [INFO] [stderr] Downloaded rustls-webpki v0.102.8 [INFO] [stderr] Downloaded serde_cow v0.1.2 [INFO] [stderr] Downloaded tokio-rustls v0.25.0 [INFO] [stderr] Downloaded windows-core v0.61.2 [INFO] [stderr] Downloaded cargo-platform v0.1.9 [INFO] [stderr] Downloaded pulldown-cmark v0.9.6 [INFO] [stderr] Downloaded walkdir v2.5.0 [INFO] [stderr] Downloaded tokio v1.46.0 [INFO] [stderr] Downloaded camino v1.1.10 [INFO] [stderr] Downloaded windows-targets v0.53.2 [INFO] [stderr] Downloaded mini-moka v0.10.3 [INFO] [stderr] Downloaded serenity v0.12.4 [INFO] [stderr] Downloaded const-random v0.1.18 [INFO] [stderr] Downloaded rust-ini v0.21.2 [INFO] [stderr] Downloaded data-encoding v2.9.0 [INFO] [stderr] Downloaded rustls v0.22.4 [INFO] [stderr] Downloaded tokio-tungstenite v0.21.0 [INFO] [stderr] Downloaded dashmap v5.5.3 [INFO] [stderr] Downloaded skeptic v0.13.7 [INFO] [stderr] Downloaded sled v0.34.7 [INFO] [stderr] Downloaded json5 v0.4.1 [INFO] [stderr] Downloaded pathdiff v0.2.3 [INFO] [stderr] Downloaded toml_datetime v0.6.11 [INFO] [stderr] Downloaded async-trait v0.1.88 [INFO] [stderr] Downloaded windows-sys v0.60.2 [INFO] [stderr] Downloaded webpki-roots v0.26.11 [INFO] [stderr] Downloaded error-chain v0.12.4 [INFO] [stderr] Downloaded winnow v0.7.11 [INFO] [stderr] Downloaded serde_spanned v0.6.9 [INFO] [stderr] Downloaded arraydeque v0.5.1 [INFO] [stderr] Downloaded webpki-roots v1.0.1 [INFO] [stderr] Downloaded fallible-iterator v0.3.0 [INFO] [stderr] Downloaded secrecy v0.8.0 [INFO] [stderr] Downloaded cargo_metadata v0.14.2 [INFO] [stderr] Downloaded ron v0.8.1 [INFO] [stderr] Downloaded fallible-streaming-iterator v0.1.9 [INFO] [stderr] Downloaded triomphe v0.1.14 [INFO] [stderr] Downloaded parking_lot_core v0.8.6 [INFO] [stderr] Downloaded ordered-multimap v0.7.3 [INFO] [stderr] Downloaded bytecount v0.6.9 [INFO] [stderr] Downloaded uwl v0.6.0 [INFO] [stderr] Downloaded parking_lot v0.11.2 [INFO] [stderr] Downloaded levenshtein v1.0.5 [INFO] [stderr] Downloaded typesize-derive v0.1.11 [INFO] [stderr] Downloaded libsqlite3-sys v0.34.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 928724383fa4edfe6ada004d5122e02e89f5a11e5b59f0f630f3ec792fc7e024 [INFO] running `Command { std: "docker" "start" "-a" "928724383fa4edfe6ada004d5122e02e89f5a11e5b59f0f630f3ec792fc7e024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "928724383fa4edfe6ada004d5122e02e89f5a11e5b59f0f630f3ec792fc7e024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "928724383fa4edfe6ada004d5122e02e89f5a11e5b59f0f630f3ec792fc7e024", kill_on_drop: false }` [INFO] [stdout] 928724383fa4edfe6ada004d5122e02e89f5a11e5b59f0f630f3ec792fc7e024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d05b0d0624c81508bbc115b00ec66eb3e9da3a5044f1f5de7320fd1017aa3a74 [INFO] running `Command { std: "docker" "start" "-a" "d05b0d0624c81508bbc115b00ec66eb3e9da3a5044f1f5de7320fd1017aa3a74", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling webpki-roots v1.0.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling libsqlite3-sys v0.34.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.46.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling yaml-rust2 v0.10.3 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling command_attr v0.5.3 [INFO] [stderr] Compiling rust-ini v0.21.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling config v0.15.11 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling chrono-humanize v0.2.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling rusqlite v0.36.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling trancer-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/database.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | params: &[&(dyn rusqlite::ToSql)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - params: &[&(dyn rusqlite::ToSql)], [INFO] [stdout] 22 + params: &[&dyn rusqlite::ToSql], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrancerResponseType` [INFO] [stdout] --> src/events/message_create.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cmd_util::{TrancerError, TrancerResponseType, TrancerRunnerContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> src/cmd_util/arg_parser.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | ref range, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `range: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/events/guild_member_addition.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | if let Err(error) = channel [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `author` [INFO] [stdout] --> src/models/quote.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | author, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `author: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/models/quote.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | channel, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `channel: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `created_at` [INFO] [stdout] --> src/models/quote.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let created_at = self.created_at.0.to_rfc3339(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_created_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/models/quote.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut embed = create_embed() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/util/random_rewards.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/commands/help/command_info.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | todo!("Implement this"); [INFO] [stdout] | ----------------------- any code following this expression is unreachable [INFO] [stdout] 39 | / Ok(TrancerResponseType::Big( [INFO] [stdout] 40 | | CreateMessage::new().content("hi").embed(create_embed()), [INFO] [stdout] 41 | | )) [INFO] [stdout] | |__________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | / badge!( [INFO] [stdout] 83 | | "booster", [INFO] [stdout] 84 | | "Booster", [INFO] [stdout] 85 | | "Boost Trancy Twilight at least once", [INFO] [stdout] ... | [INFO] [stdout] 88 | | |ctx| Ok(false) [INFO] [stdout] 89 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | / badge!( [INFO] [stdout] 107 | | "botfuckerupper", [INFO] [stdout] 108 | | "Bot Fucker Upper", [INFO] [stdout] 109 | | "Broke the bot (like found a glitch)", [INFO] [stdout] ... | [INFO] [stdout] 112 | | |ctx| Ok(false) [INFO] [stdout] 113 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | / badge!( [INFO] [stdout] 124 | | "5kmoney", [INFO] [stdout] 125 | | "Money Maker", [INFO] [stdout] 126 | | "Reached 500 currency at some point", [INFO] [stdout] ... | [INFO] [stdout] 129 | | |ctx| Ok(false) [INFO] [stdout] 130 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | / badge!( [INFO] [stdout] 140 | | "og", [INFO] [stdout] 141 | | "Founder", [INFO] [stdout] 142 | | "Joined the server before 100 members", [INFO] [stdout] ... | [INFO] [stdout] 145 | | |ctx| Ok(false) [INFO] [stdout] 146 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | / badge!( [INFO] [stdout] 148 | | "birthday", [INFO] [stdout] 149 | | "Twilight's Birthday", [INFO] [stdout] 150 | | "Be in Trancy Twilight when it hit 1 year old", [INFO] [stdout] ... | [INFO] [stdout] 155 | | |ctx| Ok(false) [INFO] [stdout] 156 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | / badge!( [INFO] [stdout] 159 | | "mythiccard", [INFO] [stdout] 160 | | "Mythic Card", [INFO] [stdout] 161 | | "Got a mythical card at some point", [INFO] [stdout] ... | [INFO] [stdout] 164 | | |ctx| Ok(false) [INFO] [stdout] 165 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:173:14 [INFO] [stdout] | [INFO] [stdout] 173 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | / badge!( [INFO] [stdout] 168 | | "cult", [INFO] [stdout] 169 | | "Cult Leader", [INFO] [stdout] 170 | | "Get 5 people to worship you with the tree feature", [INFO] [stdout] ... | [INFO] [stdout] 173 | | |ctx| Ok(false) [INFO] [stdout] 174 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:182:14 [INFO] [stdout] | [INFO] [stdout] 182 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | / badge!( [INFO] [stdout] 177 | | "eco#1", [INFO] [stdout] 178 | | "Economy #1", [INFO] [stdout] 179 | | "At economy position #1", [INFO] [stdout] ... | [INFO] [stdout] 182 | | |ctx| Ok(false) [INFO] [stdout] 183 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 190 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | / badge!( [INFO] [stdout] 185 | | "eco#2", [INFO] [stdout] 186 | | "Economy #2", [INFO] [stdout] 187 | | "At economy position #2", [INFO] [stdout] ... | [INFO] [stdout] 190 | | |ctx| Ok(false) [INFO] [stdout] 191 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:198:14 [INFO] [stdout] | [INFO] [stdout] 198 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | / badge!( [INFO] [stdout] 193 | | "eco#3", [INFO] [stdout] 194 | | "Economy #3", [INFO] [stdout] 195 | | "At economy position #3", [INFO] [stdout] ... | [INFO] [stdout] 198 | | |ctx| Ok(false) [INFO] [stdout] 199 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:217:14 [INFO] [stdout] | [INFO] [stdout] 217 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / badge!( [INFO] [stdout] 212 | | "babysitter", [INFO] [stdout] 213 | | "Dawn Babysitter", [INFO] [stdout] 214 | | "Have a Dawnagotchi for more than a month", [INFO] [stdout] ... | [INFO] [stdout] 217 | | |ctx| Ok(false) [INFO] [stdout] 218 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:225:14 [INFO] [stdout] | [INFO] [stdout] 225 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | / badge!( [INFO] [stdout] 220 | | "french", [INFO] [stdout] 221 | | "French", [INFO] [stdout] 222 | | "⚠️ This user is French - be weary ⚠️", [INFO] [stdout] ... | [INFO] [stdout] 225 | | |ctx| Ok(false) [INFO] [stdout] 226 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp_millis`: use `timestamp_millis_opt()` instead [INFO] [stdout] --> src/util/db_date.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | Ok(DbDate(Utc.timestamp_millis(i))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp_millis`: use `timestamp_millis_opt()` instead [INFO] [stdout] --> src/util/db_date.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(DbDate(Utc.timestamp_millis(f as i64))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventHandler` [INFO] [stdout] --> src/events/message_create.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | Channel, ChannelType, Context, CreateMessage, EventHandler, Message, ReactionType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/badges/badges_defined_list.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/badges/badges_defined_list.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 22 | | // TODO: Make it show how many people have it [INFO] [stdout] 23 | | paginate(PaginationOptions { [INFO] [stdout] 24 | | embed: create_embed().title("List of badges".to_string()), [INFO] [stdout] ... | [INFO] [stdout] 34 | | Ok(TrancerResponseType::None) [INFO] [stdout] 35 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/economy/daily.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/economy/daily.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 24 | | let rewards = generate_random_rewards(&ctx.sy, RandomRewardOptions { [INFO] [stdout] 25 | | currency: Some((CONFIG.payouts.daily.currency_min, CONFIG.payouts.daily.currency_max)), [INFO] [stdout] 26 | | items: Some(RandomRewardItemOptions { [INFO] [stdout] ... | [INFO] [stdout] 36 | | ))) [INFO] [stdout] 37 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/economy/leaderboard_money.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/economy/leaderboard_money.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 22 | | let data = Economy::fetch_all(&ctx.sy).await?.iter().map(|x| (x.balance, x.user_id.clone())).collect::>(); [INFO] [stdout] 23 | | leaderboard(ctx, create_embed(), data).await?; [INFO] [stdout] ... | [INFO] [stdout] 26 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/fun/birthdays.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/fun/birthdays.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 20 | | let mut user_datas = UserData::fetch_for_server(&ctx.sy, ctx.msg.guild_id.unwrap()).await? [INFO] [stdout] 21 | | .iter() [INFO] [stdout] 22 | | .map(|x| (x.user_id.clone(), x.next_birthday())) [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(TrancerResponseType::None) [INFO] [stdout] 46 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/fun/cowsay.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/fun/cowsay.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 34 | | let result = std::process::Command::new("cowsay").arg(args.text.clone()).output()?; [INFO] [stdout] 35 | | Ok(TrancerResponseType::Content(format!("```{}```", String::from_utf8_lossy(&result.stdout)))) [INFO] [stdout] 36 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/fun/eight_ball.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/fun/eight_ball.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 53 | | let mut all = Vec::new(); [INFO] [stdout] 54 | | all.extend(NEUTRAL.to_vec()); [INFO] [stdout] 55 | | all.extend(NEGATIVE.to_vec()); [INFO] [stdout] ... | [INFO] [stdout] 70 | | ).thumbnail(EIGHT_BALL_IMAGE)))) [INFO] [stdout] 71 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/fun/eight_ball.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/fun/eight_ball.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 53 | | let mut all = Vec::new(); [INFO] [stdout] 54 | | all.extend(NEUTRAL.to_vec()); [INFO] [stdout] 55 | | all.extend(NEGATIVE.to_vec()); [INFO] [stdout] ... | [INFO] [stdout] 70 | | ).thumbnail(EIGHT_BALL_IMAGE)))) [INFO] [stdout] 71 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/fun/rate.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/fun/rate.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 47 | | let amount = random_number_from_string(&format!("{}-{}", args.user.name, args.what), -5, 100); [INFO] [stdout] 48 | | Ok(TrancerResponseType::Content( [INFO] [stdout] 49 | | format!("According to my calculation... **{}** is... **{}% {}**", args.user.name , amount, args.what) [INFO] [stdout] 50 | | )) [INFO] [stdout] 51 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/about.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/about.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 19 | | // TODO: Finish these details [INFO] [stdout] 20 | | Ok(TrancerResponseType::Big(CreateMessage::new().embed( [INFO] [stdout] 21 | | create_embed().title("About Trancer!") [INFO] [stdout] ... | [INFO] [stdout] 25 | | ))) [INFO] [stdout] 26 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/category.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/category.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 34 | | let cmds = commands::init().into_iter().filter(|x| x.t().to_string() == args.category).collect::>(); [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | if cmds.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 47 | | ))) [INFO] [stdout] 48 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/command_info.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/command_info.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ______________- [INFO] [stdout] 38 | | todo!("Implement this"); [INFO] [stdout] 39 | | Ok(TrancerResponseType::Big( [INFO] [stdout] 40 | | CreateMessage::new().content("hi").embed(create_embed()), [INFO] [stdout] 41 | | )) [INFO] [stdout] 42 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/command_info.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/command_info.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ______________- [INFO] [stdout] 38 | | todo!("Implement this"); [INFO] [stdout] 39 | | Ok(TrancerResponseType::Big( [INFO] [stdout] 40 | | CreateMessage::new().content("hi").embed(create_embed()), [INFO] [stdout] 41 | | )) [INFO] [stdout] 42 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/commands_all.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/commands_all.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 18 | | let commands = commands::init(); [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | paginate(PaginationOptions { [INFO] [stdout] ... | [INFO] [stdout] 30 | | Ok(TrancerResponseType::None) [INFO] [stdout] 31 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/commands_new.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/commands_new.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ______________- [INFO] [stdout] 18 | | let data = CommandCreation::get_all(&ctx.sy).await?; [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | paginate(PaginationOptions { [INFO] [stdout] ... | [INFO] [stdout] 38 | | Ok(TrancerResponseType::None) [INFO] [stdout] 39 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/github.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/github.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 16 | | Ok(TrancerResponseType::Content(format!( [INFO] [stdout] 17 | | "Trancer (new - Rust): https://github.com/itevie/trancer-rs{}", [INFO] [stdout] 18 | | "\nTrancer (old - TypeScript): https://github.com/itevie/trancer" [INFO] [stdout] 19 | | ))) [INFO] [stdout] 20 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/github.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/github.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 16 | | Ok(TrancerResponseType::Content(format!( [INFO] [stdout] 17 | | "Trancer (new - Rust): https://github.com/itevie/trancer-rs{}", [INFO] [stdout] 18 | | "\nTrancer (old - TypeScript): https://github.com/itevie/trancer" [INFO] [stdout] 19 | | ))) [INFO] [stdout] 20 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/help.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/help.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 16 | | Ok(TrancerResponseType::Content("pong".to_string())) [INFO] [stdout] 17 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/help.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/help.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 16 | | Ok(TrancerResponseType::Content("pong".to_string())) [INFO] [stdout] 17 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/invite.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/invite.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 17 | | Ok(TrancerResponseType::Content(format!("Here! Join my amazing server: {}", CONFIG.server.invite_link.clone()))) [INFO] [stdout] 18 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/invite.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/invite.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 17 | | Ok(TrancerResponseType::Content(format!("Here! Join my amazing server: {}", CONFIG.server.invite_link.clone()))) [INFO] [stdout] 18 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parts` [INFO] [stdout] --> src/cmd_util/arg_parser.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | fn construct(parts: HashMap) -> Result, TrancerError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/ping.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | command_argument_struct!(PingArgs {}); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_argument_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/ping.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/ping.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 19 | | Ok(TrancerResponseType::Content("pong".to_string())) [INFO] [stdout] 20 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/ping.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/ping.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 19 | | Ok(TrancerResponseType::Content("pong".to_string())) [INFO] [stdout] 20 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/hypnosis/uppies.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/hypnosis/uppies.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 22 | | let mut rng = rand::thread_rng(); [INFO] [stdout] 23 | | let item = PHRASES.get(rng.gen_range(0..PHRASES.len())).unwrap(); [INFO] [stdout] 24 | | Ok(TrancerResponseType::Content(item.to_string())) [INFO] [stdout] 25 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/hypnosis/uppies.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/hypnosis/uppies.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 22 | | let mut rng = rand::thread_rng(); [INFO] [stdout] 23 | | let item = PHRASES.get(rng.gen_range(0..PHRASES.len())).unwrap(); [INFO] [stdout] 24 | | Ok(TrancerResponseType::Content(item.to_string())) [INFO] [stdout] 25 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/server/verify.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/server/verify.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 24 | | if ctx.server_settings.verification_role_id.is_none() && ctx.server_settings.unverified_role_id.is_none() { [INFO] [stdout] 25 | | return Ok(content_response(warn("This server does not have a verify or a unverified role!"))); [INFO] [stdout] ... | [INFO] [stdout] 57 | | Ok(TrancerResponseType::None) [INFO] [stdout] 58 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/spirals/favourite_spiral.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/spirals/favourite_spiral.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | ... handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ________________- [INFO] [stdout] 18 | | ... let Some(spiral) = FavouriteSpiral::get_random_for(&ctx.sy, ctx.msg.author.id).await? else { [INFO] [stdout] 19 | | ... return Ok(TrancerResponseType::Content(warn("You don't have any favourite spirals! Favourite some by replying to a sent spi... [INFO] [stdout] 20 | | ... }; [INFO] [stdout] 21 | | ... [INFO] [stdout] 22 | | ... Ok(TrancerResponseType::Content(spiral.link)) [INFO] [stdout] 23 | | ... }), [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/spirals/spiral.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/spirals/spiral.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 17 | | let spiral = Spiral::get_random(&ctx.sy).await?; [INFO] [stdout] 18 | | Ok(TrancerResponseType::Content(spiral.link)) [INFO] [stdout] 19 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parts` [INFO] [stdout] --> src/cmd_util/arg_parser.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | fn construct(parts: HashMap) -> Result, TrancerError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/mod.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | command_argument_struct!(CommandHasNoArgs {}); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_argument_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util/leaderboard.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let mut binding = hashmap.get_mut(&i).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cmd_util/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | fn run(&self, ctx: TrancerRunnerContext, args: ParsedArguments) -> TrancerFuture; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | fn run(&self, ctx: TrancerRunnerContext, args: ParsedArguments) -> TrancerFuture<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cmd_util/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | fn run(&self, ctx: TrancerRunnerContext, args: ParsedArguments) -> TrancerFuture { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | fn run(&self, ctx: TrancerRunnerContext, args: ParsedArguments) -> TrancerFuture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 59s [INFO] running `Command { std: "docker" "inspect" "d05b0d0624c81508bbc115b00ec66eb3e9da3a5044f1f5de7320fd1017aa3a74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d05b0d0624c81508bbc115b00ec66eb3e9da3a5044f1f5de7320fd1017aa3a74", kill_on_drop: false }` [INFO] [stdout] d05b0d0624c81508bbc115b00ec66eb3e9da3a5044f1f5de7320fd1017aa3a74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4805787ca1c7178af5e186a2432b2113346849e246b842d75f5b07dde9747490 [INFO] running `Command { std: "docker" "start" "-a" "4805787ca1c7178af5e186a2432b2113346849e246b842d75f5b07dde9747490", kill_on_drop: false }` [INFO] [stderr] Compiling trancer-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/database.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | params: &[&(dyn rusqlite::ToSql)], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - params: &[&(dyn rusqlite::ToSql)], [INFO] [stdout] 22 + params: &[&dyn rusqlite::ToSql], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrancerResponseType` [INFO] [stdout] --> src/events/message_create.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cmd_util::{TrancerError, TrancerResponseType, TrancerRunnerContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range` [INFO] [stdout] --> src/cmd_util/arg_parser.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | ref range, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `range: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/events/guild_member_addition.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | if let Err(error) = channel [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `author` [INFO] [stdout] --> src/models/quote.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | author, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `author: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/models/quote.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | channel, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `channel: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `created_at` [INFO] [stdout] --> src/models/quote.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let created_at = self.created_at.0.to_rfc3339(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_created_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/models/quote.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut embed = create_embed() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/util/random_rewards.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/commands/help/command_info.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | todo!("Implement this"); [INFO] [stdout] | ----------------------- any code following this expression is unreachable [INFO] [stdout] 39 | / Ok(TrancerResponseType::Big( [INFO] [stdout] 40 | | CreateMessage::new().content("hi").embed(create_embed()), [INFO] [stdout] 41 | | )) [INFO] [stdout] | |__________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | / badge!( [INFO] [stdout] 83 | | "booster", [INFO] [stdout] 84 | | "Booster", [INFO] [stdout] 85 | | "Boost Trancy Twilight at least once", [INFO] [stdout] ... | [INFO] [stdout] 88 | | |ctx| Ok(false) [INFO] [stdout] 89 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | / badge!( [INFO] [stdout] 107 | | "botfuckerupper", [INFO] [stdout] 108 | | "Bot Fucker Upper", [INFO] [stdout] 109 | | "Broke the bot (like found a glitch)", [INFO] [stdout] ... | [INFO] [stdout] 112 | | |ctx| Ok(false) [INFO] [stdout] 113 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | / badge!( [INFO] [stdout] 124 | | "5kmoney", [INFO] [stdout] 125 | | "Money Maker", [INFO] [stdout] 126 | | "Reached 500 currency at some point", [INFO] [stdout] ... | [INFO] [stdout] 129 | | |ctx| Ok(false) [INFO] [stdout] 130 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | / badge!( [INFO] [stdout] 140 | | "og", [INFO] [stdout] 141 | | "Founder", [INFO] [stdout] 142 | | "Joined the server before 100 members", [INFO] [stdout] ... | [INFO] [stdout] 145 | | |ctx| Ok(false) [INFO] [stdout] 146 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | / badge!( [INFO] [stdout] 148 | | "birthday", [INFO] [stdout] 149 | | "Twilight's Birthday", [INFO] [stdout] 150 | | "Be in Trancy Twilight when it hit 1 year old", [INFO] [stdout] ... | [INFO] [stdout] 155 | | |ctx| Ok(false) [INFO] [stdout] 156 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | / badge!( [INFO] [stdout] 159 | | "mythiccard", [INFO] [stdout] 160 | | "Mythic Card", [INFO] [stdout] 161 | | "Got a mythical card at some point", [INFO] [stdout] ... | [INFO] [stdout] 164 | | |ctx| Ok(false) [INFO] [stdout] 165 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:173:14 [INFO] [stdout] | [INFO] [stdout] 173 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | / badge!( [INFO] [stdout] 168 | | "cult", [INFO] [stdout] 169 | | "Cult Leader", [INFO] [stdout] 170 | | "Get 5 people to worship you with the tree feature", [INFO] [stdout] ... | [INFO] [stdout] 173 | | |ctx| Ok(false) [INFO] [stdout] 174 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:182:14 [INFO] [stdout] | [INFO] [stdout] 182 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | / badge!( [INFO] [stdout] 177 | | "eco#1", [INFO] [stdout] 178 | | "Economy #1", [INFO] [stdout] 179 | | "At economy position #1", [INFO] [stdout] ... | [INFO] [stdout] 182 | | |ctx| Ok(false) [INFO] [stdout] 183 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 190 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | / badge!( [INFO] [stdout] 185 | | "eco#2", [INFO] [stdout] 186 | | "Economy #2", [INFO] [stdout] 187 | | "At economy position #2", [INFO] [stdout] ... | [INFO] [stdout] 190 | | |ctx| Ok(false) [INFO] [stdout] 191 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:198:14 [INFO] [stdout] | [INFO] [stdout] 198 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | / badge!( [INFO] [stdout] 193 | | "eco#3", [INFO] [stdout] 194 | | "Economy #3", [INFO] [stdout] 195 | | "At economy position #3", [INFO] [stdout] ... | [INFO] [stdout] 198 | | |ctx| Ok(false) [INFO] [stdout] 199 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:217:14 [INFO] [stdout] | [INFO] [stdout] 217 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | / badge!( [INFO] [stdout] 212 | | "babysitter", [INFO] [stdout] 213 | | "Dawn Babysitter", [INFO] [stdout] 214 | | "Have a Dawnagotchi for more than a month", [INFO] [stdout] ... | [INFO] [stdout] 217 | | |ctx| Ok(false) [INFO] [stdout] 218 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/trancer_config/all_badges.rs:225:14 [INFO] [stdout] | [INFO] [stdout] 225 | |ctx| Ok(false) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/trancer_config/all_badges.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | check: Box::new(|$ctx| Box::pin(async move { $body })), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | / badge!( [INFO] [stdout] 220 | | "french", [INFO] [stdout] 221 | | "French", [INFO] [stdout] 222 | | "⚠️ This user is French - be weary ⚠️", [INFO] [stdout] ... | [INFO] [stdout] 225 | | |ctx| Ok(false) [INFO] [stdout] 226 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `badge` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp_millis`: use `timestamp_millis_opt()` instead [INFO] [stdout] --> src/util/db_date.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | Ok(DbDate(Utc.timestamp_millis(i))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp_millis`: use `timestamp_millis_opt()` instead [INFO] [stdout] --> src/util/db_date.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(DbDate(Utc.timestamp_millis(f as i64))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventHandler` [INFO] [stdout] --> src/events/message_create.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | Channel, ChannelType, Context, CreateMessage, EventHandler, Message, ReactionType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/badges/badges_defined_list.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/badges/badges_defined_list.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 22 | | // TODO: Make it show how many people have it [INFO] [stdout] 23 | | paginate(PaginationOptions { [INFO] [stdout] 24 | | embed: create_embed().title("List of badges".to_string()), [INFO] [stdout] ... | [INFO] [stdout] 34 | | Ok(TrancerResponseType::None) [INFO] [stdout] 35 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/economy/daily.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/economy/daily.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 24 | | let rewards = generate_random_rewards(&ctx.sy, RandomRewardOptions { [INFO] [stdout] 25 | | currency: Some((CONFIG.payouts.daily.currency_min, CONFIG.payouts.daily.currency_max)), [INFO] [stdout] 26 | | items: Some(RandomRewardItemOptions { [INFO] [stdout] ... | [INFO] [stdout] 36 | | ))) [INFO] [stdout] 37 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/economy/leaderboard_money.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/economy/leaderboard_money.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 22 | | let data = Economy::fetch_all(&ctx.sy).await?.iter().map(|x| (x.balance, x.user_id.clone())).collect::>(); [INFO] [stdout] 23 | | leaderboard(ctx, create_embed(), data).await?; [INFO] [stdout] ... | [INFO] [stdout] 26 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/fun/birthdays.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/fun/birthdays.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 20 | | let mut user_datas = UserData::fetch_for_server(&ctx.sy, ctx.msg.guild_id.unwrap()).await? [INFO] [stdout] 21 | | .iter() [INFO] [stdout] 22 | | .map(|x| (x.user_id.clone(), x.next_birthday())) [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(TrancerResponseType::None) [INFO] [stdout] 46 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/fun/cowsay.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/fun/cowsay.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 34 | | let result = std::process::Command::new("cowsay").arg(args.text.clone()).output()?; [INFO] [stdout] 35 | | Ok(TrancerResponseType::Content(format!("```{}```", String::from_utf8_lossy(&result.stdout)))) [INFO] [stdout] 36 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/fun/eight_ball.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/fun/eight_ball.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 53 | | let mut all = Vec::new(); [INFO] [stdout] 54 | | all.extend(NEUTRAL.to_vec()); [INFO] [stdout] 55 | | all.extend(NEGATIVE.to_vec()); [INFO] [stdout] ... | [INFO] [stdout] 70 | | ).thumbnail(EIGHT_BALL_IMAGE)))) [INFO] [stdout] 71 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/fun/eight_ball.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/fun/eight_ball.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 53 | | let mut all = Vec::new(); [INFO] [stdout] 54 | | all.extend(NEUTRAL.to_vec()); [INFO] [stdout] 55 | | all.extend(NEGATIVE.to_vec()); [INFO] [stdout] ... | [INFO] [stdout] 70 | | ).thumbnail(EIGHT_BALL_IMAGE)))) [INFO] [stdout] 71 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/fun/rate.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/fun/rate.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 47 | | let amount = random_number_from_string(&format!("{}-{}", args.user.name, args.what), -5, 100); [INFO] [stdout] 48 | | Ok(TrancerResponseType::Content( [INFO] [stdout] 49 | | format!("According to my calculation... **{}** is... **{}% {}**", args.user.name , amount, args.what) [INFO] [stdout] 50 | | )) [INFO] [stdout] 51 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/about.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/about.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 19 | | // TODO: Finish these details [INFO] [stdout] 20 | | Ok(TrancerResponseType::Big(CreateMessage::new().embed( [INFO] [stdout] 21 | | create_embed().title("About Trancer!") [INFO] [stdout] ... | [INFO] [stdout] 25 | | ))) [INFO] [stdout] 26 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/category.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/category.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 34 | | let cmds = commands::init().into_iter().filter(|x| x.t().to_string() == args.category).collect::>(); [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | if cmds.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 47 | | ))) [INFO] [stdout] 48 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/command_info.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/command_info.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ______________- [INFO] [stdout] 38 | | todo!("Implement this"); [INFO] [stdout] 39 | | Ok(TrancerResponseType::Big( [INFO] [stdout] 40 | | CreateMessage::new().content("hi").embed(create_embed()), [INFO] [stdout] 41 | | )) [INFO] [stdout] 42 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/command_info.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/command_info.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ______________- [INFO] [stdout] 38 | | todo!("Implement this"); [INFO] [stdout] 39 | | Ok(TrancerResponseType::Big( [INFO] [stdout] 40 | | CreateMessage::new().content("hi").embed(create_embed()), [INFO] [stdout] 41 | | )) [INFO] [stdout] 42 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/commands_all.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/commands_all.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 18 | | let commands = commands::init(); [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | paginate(PaginationOptions { [INFO] [stdout] ... | [INFO] [stdout] 30 | | Ok(TrancerResponseType::None) [INFO] [stdout] 31 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/commands_new.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/commands_new.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ______________- [INFO] [stdout] 18 | | let data = CommandCreation::get_all(&ctx.sy).await?; [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | paginate(PaginationOptions { [INFO] [stdout] ... | [INFO] [stdout] 38 | | Ok(TrancerResponseType::None) [INFO] [stdout] 39 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/github.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/github.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 16 | | Ok(TrancerResponseType::Content(format!( [INFO] [stdout] 17 | | "Trancer (new - Rust): https://github.com/itevie/trancer-rs{}", [INFO] [stdout] 18 | | "\nTrancer (old - TypeScript): https://github.com/itevie/trancer" [INFO] [stdout] 19 | | ))) [INFO] [stdout] 20 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/github.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/github.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 16 | | Ok(TrancerResponseType::Content(format!( [INFO] [stdout] 17 | | "Trancer (new - Rust): https://github.com/itevie/trancer-rs{}", [INFO] [stdout] 18 | | "\nTrancer (old - TypeScript): https://github.com/itevie/trancer" [INFO] [stdout] 19 | | ))) [INFO] [stdout] 20 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/help.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/help.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 16 | | Ok(TrancerResponseType::Content("pong".to_string())) [INFO] [stdout] 17 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/help.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/help.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 16 | | Ok(TrancerResponseType::Content("pong".to_string())) [INFO] [stdout] 17 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/invite.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/invite.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 17 | | Ok(TrancerResponseType::Content(format!("Here! Join my amazing server: {}", CONFIG.server.invite_link.clone()))) [INFO] [stdout] 18 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/invite.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/invite.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 17 | | Ok(TrancerResponseType::Content(format!("Here! Join my amazing server: {}", CONFIG.server.invite_link.clone()))) [INFO] [stdout] 18 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parts` [INFO] [stdout] --> src/cmd_util/arg_parser.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | fn construct(parts: HashMap) -> Result, TrancerError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/ping.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | command_argument_struct!(PingArgs {}); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_argument_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/help/ping.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/ping.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 19 | | Ok(TrancerResponseType::Content("pong".to_string())) [INFO] [stdout] 20 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/help/ping.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/help/ping.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 19 | | Ok(TrancerResponseType::Content("pong".to_string())) [INFO] [stdout] 20 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/hypnosis/uppies.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `ctx` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/hypnosis/uppies.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 22 | | let mut rng = rand::thread_rng(); [INFO] [stdout] 23 | | let item = PHRASES.get(rng.gen_range(0..PHRASES.len())).unwrap(); [INFO] [stdout] 24 | | Ok(TrancerResponseType::Content(item.to_string())) [INFO] [stdout] 25 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/hypnosis/uppies.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/hypnosis/uppies.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 22 | | let mut rng = rand::thread_rng(); [INFO] [stdout] 23 | | let item = PHRASES.get(rng.gen_range(0..PHRASES.len())).unwrap(); [INFO] [stdout] 24 | | Ok(TrancerResponseType::Content(item.to_string())) [INFO] [stdout] 25 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/server/verify.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/server/verify.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 24 | | if ctx.server_settings.verification_role_id.is_none() && ctx.server_settings.unverified_role_id.is_none() { [INFO] [stdout] 25 | | return Ok(content_response(warn("This server does not have a verify or a unverified role!"))); [INFO] [stdout] ... | [INFO] [stdout] 57 | | Ok(TrancerResponseType::None) [INFO] [stdout] 58 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/spirals/favourite_spiral.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/spirals/favourite_spiral.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | ... handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ________________- [INFO] [stdout] 18 | | ... let Some(spiral) = FavouriteSpiral::get_random_for(&ctx.sy, ctx.msg.author.id).await? else { [INFO] [stdout] 19 | | ... return Ok(TrancerResponseType::Content(warn("You don't have any favourite spirals! Favourite some by replying to a sent spi... [INFO] [stdout] 20 | | ... }; [INFO] [stdout] 21 | | ... [INFO] [stdout] 22 | | ... Ok(TrancerResponseType::Content(spiral.link)) [INFO] [stdout] 23 | | ... }), [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/commands/spirals/spiral.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `args` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/cmd_util/mod.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | std::sync::Arc::new(move |$ctx, $args| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/spirals/spiral.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | handler: trancer_handler!(|ctx, args| { [INFO] [stdout] | __________________- [INFO] [stdout] 17 | | let spiral = Spiral::get_random(&ctx.sy).await?; [INFO] [stdout] 18 | | Ok(TrancerResponseType::Content(spiral.link)) [INFO] [stdout] 19 | | }), [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trancer_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parts` [INFO] [stdout] --> src/cmd_util/arg_parser.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | fn construct(parts: HashMap) -> Result, TrancerError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stdout] | [INFO] [stdout] ::: src/commands/mod.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | command_argument_struct!(CommandHasNoArgs {}); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `command_argument_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util/leaderboard.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let mut binding = hashmap.get_mut(&i).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cmd_util/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | fn run(&self, ctx: TrancerRunnerContext, args: ParsedArguments) -> TrancerFuture; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | fn run(&self, ctx: TrancerRunnerContext, args: ParsedArguments) -> TrancerFuture<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cmd_util/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | fn run(&self, ctx: TrancerRunnerContext, args: ParsedArguments) -> TrancerFuture { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | fn run(&self, ctx: TrancerRunnerContext, args: ParsedArguments) -> TrancerFuture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.92s [INFO] running `Command { std: "docker" "inspect" "4805787ca1c7178af5e186a2432b2113346849e246b842d75f5b07dde9747490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4805787ca1c7178af5e186a2432b2113346849e246b842d75f5b07dde9747490", kill_on_drop: false }` [INFO] [stdout] 4805787ca1c7178af5e186a2432b2113346849e246b842d75f5b07dde9747490