[INFO] cloning repository https://github.com/markzapxd/bot-biblioteca [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/markzapxd/bot-biblioteca" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkzapxd%2Fbot-biblioteca", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkzapxd%2Fbot-biblioteca'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a060ac2a2c58b184093c2e9dabebe57cdbb3d60 [INFO] checking markzapxd/bot-biblioteca against try#8ac0915e346f9a2e49ca3951b642c55bd7d1eaab for pr-158447 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarkzapxd%2Fbot-biblioteca" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/markzapxd/bot-biblioteca [INFO] finished tweaking git repo https://github.com/markzapxd/bot-biblioteca [INFO] tweaked toml for git repo https://github.com/markzapxd/bot-biblioteca written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/markzapxd/bot-biblioteca on toolchain 8ac0915e346f9a2e49ca3951b642c55bd7d1eaab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/markzapxd/bot-biblioteca 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" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c00bc647cf67d429f9f49c7e721f52b6ad074e725974a1c3ed66e31fcc560057 [INFO] running `Command { std: "docker" "start" "c00bc647cf67d429f9f49c7e721f52b6ad074e725974a1c3ed66e31fcc560057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c00bc647cf67d429f9f49c7e721f52b6ad074e725974a1c3ed66e31fcc560057" "/opt/rustwide/cargo-home/bin/cargo" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c00bc647cf67d429f9f49c7e721f52b6ad074e725974a1c3ed66e31fcc560057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c00bc647cf67d429f9f49c7e721f52b6ad074e725974a1c3ed66e31fcc560057" "/opt/rustwide/cargo-home/bin/cargo" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling displaydoc v0.2.6 [INFO] [stderr] Checking ring v0.17.14 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking http v1.4.2 [INFO] [stderr] Checking smallvec v1.15.2 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking yoke v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zeroize v1.9.0 [INFO] [stderr] Checking webpki-roots v1.0.7 [INFO] [stderr] Compiling tokio v1.52.3 [INFO] [stderr] Compiling rustls-pki-types v1.14.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking chrono v0.4.45 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling bitflags v2.13.0 [INFO] [stderr] Checking crc-catalog v2.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking crc v3.4.0 [INFO] [stderr] Checking uuid v1.23.3 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Compiling rustls-webpki v0.103.13 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking regex-syntax v0.8.11 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Checking pxfm v0.1.29 [INFO] [stderr] Compiling serenity v0.12.5 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking time-core v0.1.9 [INFO] [stderr] Checking zune-core v0.5.1 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking whoami v1.6.1 [INFO] [stderr] Checking zune-jpeg v0.5.15 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking serde_cow v0.1.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking dashmap v6.2.1 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking time v0.3.49 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking hyper v1.10.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking hyper-rustls v0.27.9 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking sqlx-postgres v0.8.6 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking bibliotecaria v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/asset_manager/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [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: `Colour` [INFO] [stdout] --> src/asset_manager/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use serenity::all::{Colour, Context, CreateAttachment, CreateEmbed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::Result` [INFO] [stdout] --> src/asset_manager/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::errors::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/asset_manager/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [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: `Colour` [INFO] [stdout] --> src/asset_manager/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use serenity::all::{Colour, Context, CreateAttachment, CreateEmbed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::Result` [INFO] [stdout] --> src/asset_manager/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::errors::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/reacao.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let mut embed = CreateEmbed::new() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/reacao.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let mut embed = CreateEmbed::new() [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: `guild_id` [INFO] [stdout] --> src/commands/owner.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | let guild_id = modal.guild_id [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guild_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guild_id` [INFO] [stdout] --> src/commands/owner.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | let guild_id = modal.guild_id [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guild_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `anime_name` is never read [INFO] [stdout] --> src/commands/reacao.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct NekosResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 42 | url: String, [INFO] [stdout] 43 | anime_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `anime_name` is never read [INFO] [stdout] --> src/commands/reacao.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct NekosResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 42 | url: String, [INFO] [stdout] 43 | anime_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/asset_manager/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [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: `Colour` [INFO] [stdout] --> src/asset_manager/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use serenity::all::{Colour, Context, CreateAttachment, CreateEmbed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::Result` [INFO] [stdout] --> src/asset_manager/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::errors::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/asset_manager/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [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: `Colour` [INFO] [stdout] --> src/asset_manager/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use serenity::all::{Colour, Context, CreateAttachment, CreateEmbed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::Result` [INFO] [stdout] --> src/asset_manager/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::errors::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GuildModules` [INFO] [stdout] --> src/models/mod.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub use guild::{Guild, GuildModules}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/reacao.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let mut embed = CreateEmbed::new() [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/commands/reacao.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let mut embed = CreateEmbed::new() [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: `guild_id` [INFO] [stdout] --> src/commands/owner.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | let guild_id = modal.guild_id [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guild_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guild_id` [INFO] [stdout] --> src/commands/owner.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | let guild_id = modal.guild_id [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guild_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `assets_dir` is never read [INFO] [stdout] --> src/asset_manager/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct AssetManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 47 | assets_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetManager` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_path`, `get_filename`, and `has_asset` are never used [INFO] [stdout] --> src/asset_manager/mod.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl AssetManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_path(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn get_filename(&self, name: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn has_asset(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/cache/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl GuildCache { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn remove(&self, guild_id: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `anime_name` is never read [INFO] [stdout] --> src/commands/reacao.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct NekosResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 42 | url: String, [INFO] [stdout] 43 | anime_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register` is never used [INFO] [stdout] --> src/commands/owner.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn register(commands: &mut Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client_id` and `owner_id` are never read [INFO] [stdout] --> src/config/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | pub discord_token: String, [INFO] [stdout] 6 | pub client_id: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub owner_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApiResponse` is never constructed [INFO] [stdout] --> src/dto/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error` is never used [INFO] [stdout] --> src/embeds/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn error(title: &str, description: &str) -> CreateEmbed { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_info` is never used [INFO] [stdout] --> src/embeds/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn user_info(user_data: &User) -> CreateEmbed { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `voice_session` is never used [INFO] [stdout] --> src/embeds/mod.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn voice_session(session: &VoiceSession) -> CreateEmbed { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `message_delete` is never used [INFO] [stdout] --> src/embeds/mod.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn message_delete(content: &str, author: &serenity::all::User, channel: &str) -> CreateEmbed { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ticket_opened` is never used [INFO] [stdout] --> src/embeds/mod.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn ticket_opened(user: &serenity::all::User, channel: &str) -> CreateEmbed { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `avatar_history` is never used [INFO] [stdout] --> src/embeds/mod.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn avatar_history(user_id: &str, url: &str, page: usize, total: usize) -> CreateEmbed { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list` is never used [INFO] [stdout] --> src/embeds/custom_card.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn list(cards: &[CustomCard]) -> CreateEmbed { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Config`, `AssetNotFound`, and `ConfigParse` are never constructed [INFO] [stdout] --> src/errors/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum BotError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Config(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | AssetNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | ConfigParse(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_active` and `get_members_at_end` are never used [INFO] [stdout] --> src/models/voice_session.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl VoiceSession { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 23 | pub fn is_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_members_at_end(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `require_staff` is never used [INFO] [stdout] --> src/permissions/mod.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn require_staff(user_id: u64, member: &Member, guild_config: &Guild) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_by_id` is never used [INFO] [stdout] --> src/repositories/custom_card_repo.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | pub async fn find_by_id(pool: &PgPool, id: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update` is never used [INFO] [stdout] --> src/repositories/custom_card_repo.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | pub async fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_voice_time` is never used [INFO] [stdout] --> src/repositories/user_repo.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn add_voice_time(pool: &PgPool, user_id: &str, duration_ms: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reset_user` is never used [INFO] [stdout] --> src/repositories/user_repo.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | pub async fn reset_user(pool: &PgPool, user_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_sessions` is never used [INFO] [stdout] --> src/repositories/user_repo.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | pub async fn clear_sessions(pool: &PgPool, user_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete` is never used [INFO] [stdout] --> src/repositories/voice_session_repo.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn delete(pool: &PgPool, id: i32) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_all_active` is never used [INFO] [stdout] --> src/repositories/voice_session_repo.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | pub async fn find_all_active(pool: &PgPool) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_by_guild_with_duration` is never used [INFO] [stdout] --> src/repositories/voice_session_repo.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn find_by_guild_with_duration( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `ERROR`, `MODERATION`, and `NEUTRAL` are never used [INFO] [stdout] --> src/theme/mod.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 5 | impl Theme { [INFO] [stdout] | ---------- associated constants in this implementation [INFO] [stdout] 6 | pub const SUCCESS: Colour = Colour::new(0x2B2D31); [INFO] [stdout] 7 | pub const ERROR: Colour = Colour::new(0x2B2D31); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub const MODERATION: Colour = Colour::new(0x2B2D31); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub const NEUTRAL: Colour = Colour::new(0x2B2D31); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error` is never used [INFO] [stdout] --> src/theme/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn error(title: &str, description: &str) -> CreateEmbed { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `moderation` is never used [INFO] [stdout] --> src/theme/mod.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn moderation(title: &str, description: &str) -> CreateEmbed { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `neutral` is never used [INFO] [stdout] --> src/theme/mod.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn neutral(title: &str, description: &str) -> CreateEmbed { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coloured` is never used [INFO] [stdout] --> src/theme/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn coloured(title: &str, description: &str, colour: Colour) -> CreateEmbed { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bare_coloured` is never used [INFO] [stdout] --> src/theme/mod.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn bare_coloured(title: &str, description: &str, colour: Colour) -> CreateEmbed { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `timestamp` is never used [INFO] [stdout] --> src/theme/mod.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn timestamp() -> Timestamp { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_log` is never used [INFO] [stdout] --> src/utils/logger.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn send_log(ctx: &Context, channel_id: u64, embed: CreateEmbed) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `time_ago` is never used [INFO] [stdout] --> src/utils/time.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn time_ago(date: DateTime) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_duration_long` is never used [INFO] [stdout] --> src/utils/time.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn format_duration_long(ms: i64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `assets_dir` is never read [INFO] [stdout] --> src/asset_manager/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct AssetManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 47 | assets_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetManager` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_path`, `get_filename`, and `has_asset` are never used [INFO] [stdout] --> src/asset_manager/mod.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl AssetManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_path(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn get_filename(&self, name: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn has_asset(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/cache/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl GuildCache { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn remove(&self, guild_id: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `anime_name` is never read [INFO] [stdout] --> src/commands/reacao.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct NekosResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 42 | url: String, [INFO] [stdout] 43 | anime_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register` is never used [INFO] [stdout] --> src/commands/owner.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn register(commands: &mut Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client_id` and `owner_id` are never read [INFO] [stdout] --> src/config/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | pub discord_token: String, [INFO] [stdout] 6 | pub client_id: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub owner_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApiResponse` is never constructed [INFO] [stdout] --> src/dto/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error` is never used [INFO] [stdout] --> src/embeds/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn error(title: &str, description: &str) -> CreateEmbed { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_info` is never used [INFO] [stdout] --> src/embeds/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn user_info(user_data: &User) -> CreateEmbed { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `voice_session` is never used [INFO] [stdout] --> src/embeds/mod.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn voice_session(session: &VoiceSession) -> CreateEmbed { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `message_delete` is never used [INFO] [stdout] --> src/embeds/mod.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn message_delete(content: &str, author: &serenity::all::User, channel: &str) -> CreateEmbed { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ticket_opened` is never used [INFO] [stdout] --> src/embeds/mod.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn ticket_opened(user: &serenity::all::User, channel: &str) -> CreateEmbed { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `avatar_history` is never used [INFO] [stdout] --> src/embeds/mod.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn avatar_history(user_id: &str, url: &str, page: usize, total: usize) -> CreateEmbed { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list` is never used [INFO] [stdout] --> src/embeds/custom_card.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn list(cards: &[CustomCard]) -> CreateEmbed { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Config`, `AssetNotFound`, and `ConfigParse` are never constructed [INFO] [stdout] --> src/errors/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum BotError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Config(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | AssetNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | ConfigParse(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_active` and `get_members_at_end` are never used [INFO] [stdout] --> src/models/voice_session.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl VoiceSession { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 23 | pub fn is_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_members_at_end(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `require_staff` is never used [INFO] [stdout] --> src/permissions/mod.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn require_staff(user_id: u64, member: &Member, guild_config: &Guild) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_by_id` is never used [INFO] [stdout] --> src/repositories/custom_card_repo.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | pub async fn find_by_id(pool: &PgPool, id: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update` is never used [INFO] [stdout] --> src/repositories/custom_card_repo.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | pub async fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_voice_time` is never used [INFO] [stdout] --> src/repositories/user_repo.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn add_voice_time(pool: &PgPool, user_id: &str, duration_ms: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reset_user` is never used [INFO] [stdout] --> src/repositories/user_repo.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | pub async fn reset_user(pool: &PgPool, user_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_sessions` is never used [INFO] [stdout] --> src/repositories/user_repo.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | pub async fn clear_sessions(pool: &PgPool, user_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete` is never used [INFO] [stdout] --> src/repositories/voice_session_repo.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn delete(pool: &PgPool, id: i32) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_all_active` is never used [INFO] [stdout] --> src/repositories/voice_session_repo.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | pub async fn find_all_active(pool: &PgPool) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_by_guild_with_duration` is never used [INFO] [stdout] --> src/repositories/voice_session_repo.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn find_by_guild_with_duration( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `ERROR`, `MODERATION`, and `NEUTRAL` are never used [INFO] [stdout] --> src/theme/mod.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 5 | impl Theme { [INFO] [stdout] | ---------- associated constants in this implementation [INFO] [stdout] 6 | pub const SUCCESS: Colour = Colour::new(0x2B2D31); [INFO] [stdout] 7 | pub const ERROR: Colour = Colour::new(0x2B2D31); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub const MODERATION: Colour = Colour::new(0x2B2D31); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub const NEUTRAL: Colour = Colour::new(0x2B2D31); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error` is never used [INFO] [stdout] --> src/theme/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn error(title: &str, description: &str) -> CreateEmbed { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `moderation` is never used [INFO] [stdout] --> src/theme/mod.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn moderation(title: &str, description: &str) -> CreateEmbed { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `neutral` is never used [INFO] [stdout] --> src/theme/mod.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn neutral(title: &str, description: &str) -> CreateEmbed { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coloured` is never used [INFO] [stdout] --> src/theme/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn coloured(title: &str, description: &str, colour: Colour) -> CreateEmbed { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bare_coloured` is never used [INFO] [stdout] --> src/theme/mod.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn bare_coloured(title: &str, description: &str, colour: Colour) -> CreateEmbed { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `timestamp` is never used [INFO] [stdout] --> src/theme/mod.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn timestamp() -> Timestamp { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_log` is never used [INFO] [stdout] --> src/utils/logger.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn send_log(ctx: &Context, channel_id: u64, embed: CreateEmbed) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `time_ago` is never used [INFO] [stdout] --> src/utils/time.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn time_ago(date: DateTime) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_duration_long` is never used [INFO] [stdout] --> src/utils/time.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn format_duration_long(ms: i64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "c00bc647cf67d429f9f49c7e721f52b6ad074e725974a1c3ed66e31fcc560057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c00bc647cf67d429f9f49c7e721f52b6ad074e725974a1c3ed66e31fcc560057", kill_on_drop: false }` [INFO] [stdout] c00bc647cf67d429f9f49c7e721f52b6ad074e725974a1c3ed66e31fcc560057