[INFO] cloning repository https://github.com/MasterTemple/Crab-Force [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MasterTemple/Crab-Force" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMasterTemple%2FCrab-Force", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMasterTemple%2FCrab-Force'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ff883ea78929101934411d2776116269087aef3 [INFO] building MasterTemple/Crab-Force against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMasterTemple%2FCrab-Force" "/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/MasterTemple/Crab-Force [INFO] finished tweaking git repo https://github.com/MasterTemple/Crab-Force [INFO] tweaked toml for git repo https://github.com/MasterTemple/Crab-Force written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MasterTemple/Crab-Force on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MasterTemple/Crab-Force already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_cow v0.1.2 [INFO] [stderr] Downloaded bytes v1.10.0 [INFO] [stderr] Downloaded data-encoding v2.8.0 [INFO] [stderr] Downloaded secrecy v0.8.0 [INFO] [stderr] Downloaded async-trait v0.1.86 [INFO] [stderr] Downloaded once_cell v1.20.3 [INFO] [stderr] Downloaded cc v1.2.13 [INFO] [stderr] Downloaded miniz_oxide v0.8.4 [INFO] [stderr] Downloaded typemap_rev v0.3.0 [INFO] [stderr] Downloaded webpki-roots v0.26.8 [INFO] [stderr] Downloaded serenity v0.12.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c19feb55a637ce82ada8cd60cc574036a0411f3af8c0d7116727b14d446d33c [INFO] running `Command { std: "docker" "start" "-a" "2c19feb55a637ce82ada8cd60cc574036a0411f3af8c0d7116727b14d446d33c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c19feb55a637ce82ada8cd60cc574036a0411f3af8c0d7116727b14d446d33c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c19feb55a637ce82ada8cd60cc574036a0411f3af8c0d7116727b14d446d33c", kill_on_drop: false }` [INFO] [stdout] 2c19feb55a637ce82ada8cd60cc574036a0411f3af8c0d7116727b14d446d33c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d80951bc79d30a8d1d7eeb7b86075bd6ba1d220ca67790bb4f403b757c1c9664 [INFO] running `Command { std: "docker" "start" "-a" "d80951bc79d30a8d1d7eeb7b86075bd6ba1d220ca67790bb4f403b757c1c9664", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling libsqlite3-sys v0.31.0 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling miniz_oxide v0.8.4 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rusqlite v0.33.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling lu_discord_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::custom::OptionBuilder` [INFO] [stdout] --> src/commands/achievement.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::custom::OptionBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/achievement.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/achievement.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/activity.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/activity.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | AutocompleteChoice, CommandOptionType, CreateCommandOption, CreateSelectMenuOption, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/brick.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/brick.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/buy.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/buy.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/cooldowngroup.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/cooldowngroup.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SmashCommand` [INFO] [stdout] --> src/commands/drop.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::commands::smash::{SmashArguments, SmashCommand}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/drop.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AutocompleteChoice` and `ButtonStyle` [INFO] [stdout] --> src/commands/drop.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | AutocompleteChoice, ButtonStyle, CommandOptionType, CreateActionRow, CreateCommandOption, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/earn.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/earn.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | AutocompleteChoice, CommandOptionType, CreateActionRow, CreateCommandOption, CreateSelectMenu, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/enemy.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/enemy.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/get.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/get.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/item.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/item.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CreateEmbed` [INFO] [stdout] --> src/commands/level.rs:4:62 [INFO] [stdout] | [INFO] [stdout] 4 | CommandOptionType, CreateActionRow, CreateCommandOption, CreateEmbed, ResolvedOption, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/loottable.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/loottable.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ObjectQueries` [INFO] [stdout] --> src/commands/mission.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::queries::{AutocompleteQueries, ObjectQueries}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CONFIG` and `LOCALE_XML` [INFO] [stdout] --> src/commands/mission.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/mission.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/npc.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/npc.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/package.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/package.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | AutocompleteChoice, CommandOptionType, CreateCommandOption, CreateSelectMenuOption, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ITEM_COMPONENT` and `RENDER_COMPONENT` [INFO] [stdout] --> src/commands/preconditions.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cdclient::components::{ITEM_COMPONENT, RENDER_COMPONENT}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AutocompleteChoice`, `CreateActionRow`, and `CreateEmbed` [INFO] [stdout] --> src/commands/preconditions.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | AutocompleteChoice, CommandOptionType, CreateActionRow, CreateCommandOption, CreateEmbed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/reward.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/reward.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | AutocompleteChoice, CommandOptionType, CreateActionRow, CreateCommandOption, CreateSelectMenu, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ObjectQueries` [INFO] [stdout] --> src/commands/skill.rs:2:58 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::queries::{AutocompleteQueries, LocaleQueries, ObjectQueries, SkillQueries}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/skill.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/skill.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/skillitems.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/skillitems.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/skills.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/skills.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/smash.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/smash.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | AutocompleteChoice, CommandOptionType, CreateCommandOption, CreateSelectMenuOption, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cdclient::components::PACKAGE_COMPONENT` [INFO] [stdout] --> src/commands/unpack.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cdclient::components::PACKAGE_COMPONENT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LootQueries` [INFO] [stdout] --> src/commands/unpack.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::queries::{AutocompleteQueries, LootQueries, ObjectQueries}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/unpack.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AutocompleteChoice` and `SelectMenuOption` [INFO] [stdout] --> src/commands/unpack.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | AutocompleteChoice, CommandOptionType, CreateActionRow, CreateCommandOption, CreateSelectMenu, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | CreateSelectMenuKind, CreateSelectMenuOption, ResolvedOption, SelectMenuOption, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/vendor.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/vendor.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Deref` [INFO] [stdout] --> src/ids.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Display, ops::Deref}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CdClientRarityTable` and `RENDER_COMPONENT` [INFO] [stdout] --> src/ids.rs:8:71 [INFO] [stdout] | [INFO] [stdout] 8 | DESTROYABLE_COMPONENT, ITEM_COMPONENT, PACKAGE_COMPONENT, RENDER_COMPONENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | CdClientRarityTable, CdClientRenderComponent, CdClientSkillBehavior, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::types::FromSql` [INFO] [stdout] --> src/interaction_command.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rusqlite::types::FromSql; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `CommandOptionChoice`, `CommandOptionType`, `CreateEmbedAuthor`, `CreateEmbedFooter`, and `ResolvedValue` [INFO] [stdout] --> src/interaction_command.rs:7:58 [INFO] [stdout] | [INFO] [stdout] 7 | AutocompleteChoice, AutocompleteOption, ButtonStyle, Color, CommandInteraction, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | CommandOptionChoice, CommandOptionType, ComponentInteraction, CreateActionRow, CreateButton, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | CreateCommandOption, CreateEmbed, CreateEmbedAuthor, CreateEmbedFooter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | CreateInteractionResponseMessage, ResolvedOption, ResolvedValue, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::json::Value` [INFO] [stdout] --> src/interaction_command.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serenity::json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::custom::Mutated` [INFO] [stdout] --> src/interaction_command.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::custom::Mutated; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CD_CLIENT` [INFO] [stdout] --> src/interaction_command.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::{CD_CLIENT, CONFIG}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::commands::package::PackageArguments` [INFO] [stdout] --> src/pager.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::commands::package::PackageArguments; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CdClientVendorComponent` and `ids::CdClientObjectsId` [INFO] [stdout] --> src/queries.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | CdClientVendorComponent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | }, [INFO] [stdout] 12 | ids::CdClientObjectsId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `queries::ObjectQueries` [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | use queries::ObjectQueries; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreateActionRow`, `CreateEmbedAuthor`, `CreateEmbedFooter`, and `CreateEmbed` [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | CreateActionRow, CreateAutocompleteResponse, CreateEmbed, CreateEmbedAuthor, CreateEmbedFooter, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Command` [INFO] [stdout] --> src/main.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | use serenity::model::application::{Command, Interaction}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/commands/drop.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/commands/achievement.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let name = CD_CLIENT.req_achievement_name(id); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/activity.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/brick.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/commands/buy.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | page, [INFO] [stdout] | ^^^^ help: try ignoring the field: `page: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/cooldowngroup.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/commands/earn.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let name = object.req_name(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/enemy.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/get.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/item.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/loottable.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/npc.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/package.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skill` [INFO] [stdout] --> src/commands/skillitems.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let skill = CD_CLIENT.get_skill(id)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_skill` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/skills.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/vendor.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/custom.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | fn mutated(mut self, mut func: impl FnOnce(&mut Self)) -> Self { [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: `e` [INFO] [stdout] --> src/interaction_command.rs:203:23 [INFO] [stdout] | [INFO] [stdout] 203 | .map_err(|e| format!("Parse of Parameter `{key}` Failed: `{value}`")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `autocomplete_option` [INFO] [stdout] --> src/interaction_command.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | autocomplete_option: AutocompleteOption<'_>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_autocomplete_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `RW_LOCALE_XML` is never used [INFO] [stdout] --> src/main.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | static RW_LOCALE_XML: Lazy>> = [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_icon_asset` is never used [INFO] [stdout] --> src/commands/preconditions.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn fix_icon_asset(asset: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `icon_asset_as_url` is never used [INFO] [stdout] --> src/commands/preconditions.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn icon_asset_as_url(asset: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/queries.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Queries<'a>(&'a CdClient); [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 14s [INFO] running `Command { std: "docker" "inspect" "d80951bc79d30a8d1d7eeb7b86075bd6ba1d220ca67790bb4f403b757c1c9664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d80951bc79d30a8d1d7eeb7b86075bd6ba1d220ca67790bb4f403b757c1c9664", kill_on_drop: false }` [INFO] [stdout] d80951bc79d30a8d1d7eeb7b86075bd6ba1d220ca67790bb4f403b757c1c9664 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2db76182e88a2ed717baccff2af76d33683714b744ac60297d85dffeb6b95413 [INFO] running `Command { std: "docker" "start" "-a" "2db76182e88a2ed717baccff2af76d33683714b744ac60297d85dffeb6b95413", kill_on_drop: false }` [INFO] [stderr] Compiling lu_discord_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::custom::OptionBuilder` [INFO] [stdout] --> src/commands/achievement.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::custom::OptionBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/achievement.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/achievement.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/activity.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/activity.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | AutocompleteChoice, CommandOptionType, CreateCommandOption, CreateSelectMenuOption, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/brick.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/brick.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/buy.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/buy.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/cooldowngroup.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/cooldowngroup.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SmashCommand` [INFO] [stdout] --> src/commands/drop.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::commands::smash::{SmashArguments, SmashCommand}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/drop.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AutocompleteChoice` and `ButtonStyle` [INFO] [stdout] --> src/commands/drop.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | AutocompleteChoice, ButtonStyle, CommandOptionType, CreateActionRow, CreateCommandOption, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/earn.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/earn.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | AutocompleteChoice, CommandOptionType, CreateActionRow, CreateCommandOption, CreateSelectMenu, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/enemy.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/enemy.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/get.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/get.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/item.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/item.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CreateEmbed` [INFO] [stdout] --> src/commands/level.rs:4:62 [INFO] [stdout] | [INFO] [stdout] 4 | CommandOptionType, CreateActionRow, CreateCommandOption, CreateEmbed, ResolvedOption, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/loottable.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/loottable.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ObjectQueries` [INFO] [stdout] --> src/commands/mission.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::queries::{AutocompleteQueries, ObjectQueries}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CONFIG` and `LOCALE_XML` [INFO] [stdout] --> src/commands/mission.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/mission.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/npc.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/npc.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/package.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/package.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | AutocompleteChoice, CommandOptionType, CreateCommandOption, CreateSelectMenuOption, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ITEM_COMPONENT` and `RENDER_COMPONENT` [INFO] [stdout] --> src/commands/preconditions.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cdclient::components::{ITEM_COMPONENT, RENDER_COMPONENT}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AutocompleteChoice`, `CreateActionRow`, and `CreateEmbed` [INFO] [stdout] --> src/commands/preconditions.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | AutocompleteChoice, CommandOptionType, CreateActionRow, CreateCommandOption, CreateEmbed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/reward.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/reward.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | AutocompleteChoice, CommandOptionType, CreateActionRow, CreateCommandOption, CreateSelectMenu, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ObjectQueries` [INFO] [stdout] --> src/commands/skill.rs:2:58 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::queries::{AutocompleteQueries, LocaleQueries, ObjectQueries, SkillQueries}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/skill.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/skill.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/skillitems.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/skillitems.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/skills.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/skills.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/smash.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/smash.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | AutocompleteChoice, CommandOptionType, CreateCommandOption, CreateSelectMenuOption, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cdclient::components::PACKAGE_COMPONENT` [INFO] [stdout] --> src/commands/unpack.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cdclient::components::PACKAGE_COMPONENT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LootQueries` [INFO] [stdout] --> src/commands/unpack.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::queries::{AutocompleteQueries, LootQueries, ObjectQueries}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/unpack.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AutocompleteChoice` and `SelectMenuOption` [INFO] [stdout] --> src/commands/unpack.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | AutocompleteChoice, CommandOptionType, CreateActionRow, CreateCommandOption, CreateSelectMenu, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | CreateSelectMenuKind, CreateSelectMenuOption, ResolvedOption, SelectMenuOption, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LOCALE_XML` [INFO] [stdout] --> src/commands/vendor.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{int_option, CD_CLIENT, CONFIG, LOCALE_XML}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutocompleteChoice` [INFO] [stdout] --> src/commands/vendor.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::all::{AutocompleteChoice, CommandOptionType, CreateCommandOption, ResolvedOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Deref` [INFO] [stdout] --> src/ids.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Display, ops::Deref}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CdClientRarityTable` and `RENDER_COMPONENT` [INFO] [stdout] --> src/ids.rs:8:71 [INFO] [stdout] | [INFO] [stdout] 8 | DESTROYABLE_COMPONENT, ITEM_COMPONENT, PACKAGE_COMPONENT, RENDER_COMPONENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | CdClientRarityTable, CdClientRenderComponent, CdClientSkillBehavior, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusqlite::types::FromSql` [INFO] [stdout] --> src/interaction_command.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rusqlite::types::FromSql; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `CommandOptionChoice`, `CommandOptionType`, `CreateEmbedAuthor`, `CreateEmbedFooter`, and `ResolvedValue` [INFO] [stdout] --> src/interaction_command.rs:7:58 [INFO] [stdout] | [INFO] [stdout] 7 | AutocompleteChoice, AutocompleteOption, ButtonStyle, Color, CommandInteraction, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | CommandOptionChoice, CommandOptionType, ComponentInteraction, CreateActionRow, CreateButton, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | CreateCommandOption, CreateEmbed, CreateEmbedAuthor, CreateEmbedFooter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | CreateInteractionResponseMessage, ResolvedOption, ResolvedValue, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::json::Value` [INFO] [stdout] --> src/interaction_command.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serenity::json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::custom::Mutated` [INFO] [stdout] --> src/interaction_command.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::custom::Mutated; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CD_CLIENT` [INFO] [stdout] --> src/interaction_command.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::{CD_CLIENT, CONFIG}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::commands::package::PackageArguments` [INFO] [stdout] --> src/pager.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::commands::package::PackageArguments; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CdClientVendorComponent` and `ids::CdClientObjectsId` [INFO] [stdout] --> src/queries.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | CdClientVendorComponent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | }, [INFO] [stdout] 12 | ids::CdClientObjectsId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `queries::ObjectQueries` [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | use queries::ObjectQueries; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreateActionRow`, `CreateEmbedAuthor`, `CreateEmbedFooter`, and `CreateEmbed` [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | CreateActionRow, CreateAutocompleteResponse, CreateEmbed, CreateEmbedAuthor, CreateEmbedFooter, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Command` [INFO] [stdout] --> src/main.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | use serenity::model::application::{Command, Interaction}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/commands/drop.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/commands/achievement.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let name = CD_CLIENT.req_achievement_name(id); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/activity.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/brick.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/commands/buy.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | page, [INFO] [stdout] | ^^^^ help: try ignoring the field: `page: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/cooldowngroup.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/commands/earn.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let name = object.req_name(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/enemy.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/get.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/item.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/loottable.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/npc.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/package.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skill` [INFO] [stdout] --> src/commands/skillitems.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let skill = CD_CLIENT.get_skill(id)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_skill` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/skills.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_component` [INFO] [stdout] --> src/commands/vendor.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let item_component = CD_CLIENT.object_item_component(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/custom.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | fn mutated(mut self, mut func: impl FnOnce(&mut Self)) -> Self { [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: `e` [INFO] [stdout] --> src/interaction_command.rs:203:23 [INFO] [stdout] | [INFO] [stdout] 203 | .map_err(|e| format!("Parse of Parameter `{key}` Failed: `{value}`")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `autocomplete_option` [INFO] [stdout] --> src/interaction_command.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | autocomplete_option: AutocompleteOption<'_>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_autocomplete_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `RW_LOCALE_XML` is never used [INFO] [stdout] --> src/main.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | static RW_LOCALE_XML: Lazy>> = [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_icon_asset` is never used [INFO] [stdout] --> src/commands/preconditions.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn fix_icon_asset(asset: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `icon_asset_as_url` is never used [INFO] [stdout] --> src/commands/preconditions.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn icon_asset_as_url(asset: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/queries.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Queries<'a>(&'a CdClient); [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.69s [INFO] running `Command { std: "docker" "inspect" "2db76182e88a2ed717baccff2af76d33683714b744ac60297d85dffeb6b95413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2db76182e88a2ed717baccff2af76d33683714b744ac60297d85dffeb6b95413", kill_on_drop: false }` [INFO] [stdout] 2db76182e88a2ed717baccff2af76d33683714b744ac60297d85dffeb6b95413