[INFO] cloning repository https://github.com/Forte-NaoP/DiscordBot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Forte-NaoP/DiscordBot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForte-NaoP%2FDiscordBot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForte-NaoP%2FDiscordBot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75b31ea55df4776386866ea6a429a783ceeb3f87 [INFO] checking Forte-NaoP/DiscordBot/75b31ea55df4776386866ea6a429a783ceeb3f87 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForte-NaoP%2FDiscordBot" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Forte-NaoP/DiscordBot on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Forte-NaoP/DiscordBot [INFO] finished tweaking git repo https://github.com/Forte-NaoP/DiscordBot [INFO] tweaked toml for git repo https://github.com/Forte-NaoP/DiscordBot written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Forte-NaoP/DiscordBot 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfdf3da2a5c14454ae05d318c93e0e4216d67e252d7a047fe3a7756a950c9775 [INFO] running `Command { std: "docker" "start" "-a" "dfdf3da2a5c14454ae05d318c93e0e4216d67e252d7a047fe3a7756a950c9775", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfdf3da2a5c14454ae05d318c93e0e4216d67e252d7a047fe3a7756a950c9775", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfdf3da2a5c14454ae05d318c93e0e4216d67e252d7a047fe3a7756a950c9775", kill_on_drop: false }` [INFO] [stdout] dfdf3da2a5c14454ae05d318c93e0e4216d67e252d7a047fe3a7756a950c9775 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] baade0e1a79977688134844e8daa6d59a471161c2a3d4858a1567551b187af50 [INFO] running `Command { std: "docker" "start" "-a" "baade0e1a79977688134844e8daa6d59a471161c2a3d4858a1567551b187af50", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling serenity v0.12.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking no-std-net v0.6.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking extended v0.1.0 [INFO] [stderr] Checking typemap_rev v0.3.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking pnet_base v0.34.0 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Compiling songbird v0.4.1 [INFO] [stderr] Checking ringbuf v0.3.3 [INFO] [stderr] Checking pnet_macros_support v0.34.0 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking primal-check v0.3.3 [INFO] [stderr] Checking transpose v0.2.3 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling audiopus_sys v0.2.2 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking crypto_secretbox v0.1.1 [INFO] [stderr] Checking audiopus v0.3.0-rc.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking ctrlc v3.4.4 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling command_attr v0.5.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling pnet_macros v0.34.0 [INFO] [stderr] Checking realfft v3.3.0 [INFO] [stderr] Checking rubato v0.14.1 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking discortp v0.6.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking rustls-webpki v0.102.3 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling poise_macros v0.6.1 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking streamcatcher v1.0.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rusty_pool v0.7.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking symphonia-core v0.5.4 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking serenity-voice-model v0.2.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking serde-aux v4.5.0 [INFO] [stderr] Checking symphonia-metadata v0.5.4 [INFO] [stderr] Checking symphonia-codec-adpcm v0.5.4 [INFO] [stderr] Checking symphonia-codec-pcm v0.5.4 [INFO] [stderr] Checking symphonia-utils-xiph v0.5.4 [INFO] [stderr] Checking symphonia-format-riff v0.5.4 [INFO] [stderr] Checking symphonia-bundle-flac v0.5.4 [INFO] [stderr] Checking symphonia-format-ogg v0.5.4 [INFO] [stderr] Checking symphonia-codec-vorbis v0.5.4 [INFO] [stderr] Checking symphonia-format-mkv v0.5.4 [INFO] [stderr] Checking symphonia v0.5.4 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking poise v0.6.1 [INFO] [stderr] Checking quiz_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `TypeMap` and `tracks::TrackQueue` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use songbird::{tracks::TrackQueue, typemap::{TypeMap, TypeMapKey}, SerenityInit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Client as HttpClient` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use reqwest::Client as HttpClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt` and `prelude::*` [INFO] [stdout] --> src/main.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing_subscriber::{fmt, prelude::*, EnvFilter, FmtSubscriber}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `channel` and `guild` [INFO] [stdout] --> src/event_handler/event_handler.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::{all::CacheHttp, model::{channel, guild}}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GuildQueueKey` [INFO] [stdout] --> src/event_handler/event_handler.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | }, utils::guild_queue::get_guild_queue, GuildQueueKey}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `client::Context`, `http::Http`, `model::id::ChannelId`, and `prelude::RwLock` [INFO] [stdout] --> src/event_handler/track_event_handler.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | async_trait, client::Context, http::Http, model::id::ChannelId, prelude::RwLock [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Call` and `TrackEvent` [INFO] [stdout] --> src/event_handler/track_event_handler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Call, Event, EventContext, EventHandler as VoiceEventHandler, TrackEvent, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CreateInteractionResponse` [INFO] [stdout] --> src/command_handler/command_handler.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | CreateInteractionResponse, CreateEmbed [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UserId` and `VoiceState` [INFO] [stdout] --> src/command_handler/commands/connect.rs:3:81 [INFO] [stdout] | [INFO] [stdout] 3 | async_trait, CreateCommand, Context, CommandInteraction, CommandDataOption, VoiceState, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 4 | UserId [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/command_handler/commands/connect.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/command_handler/commands/play.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreateEmbed` and `GuildId` [INFO] [stdout] --> src/command_handler/commands/play.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | CreateCommandOption, CommandOptionType, GuildId, CreateEmbed [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Input` and `tracks::TrackQueue` [INFO] [stdout] --> src/command_handler/commands/play.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | input::{File, Input}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | tracks::TrackQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `global::*` [INFO] [stdout] --> src/command_handler/commands/play.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | }, connection_handler::*, global::*, utils::{guild_queue::get_guild_queue, url_checker::url_checker, youtube_dl::{ytdl_optioned, Meta... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `io::Read`, `path::PathBuf`, and `sync::Arc` [INFO] [stdout] --> src/command_handler/commands/play.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | use std::{collections::HashMap, io::Read, path::PathBuf, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/command_handler/commands/play.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/command_handler/commands/play_list.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreateEmbed` and `GuildId` [INFO] [stdout] --> src/command_handler/commands/play_list.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | CreateCommandOption, CommandOptionType, GuildId, CreateEmbed [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Input` and `tracks::TrackQueue` [INFO] [stdout] --> src/command_handler/commands/play_list.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | input::{File, Input}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | tracks::TrackQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `global::*` and `self` [INFO] [stdout] --> src/command_handler/commands/play_list.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | }, connection_handler::*, global::*, utils::{guild_queue::get_guild_queue, url_checker::{self, url_checker}, youtube_dl::{ytdl_option... [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `io::Read`, `path::PathBuf`, and `sync::Arc` [INFO] [stdout] --> src/command_handler/commands/play_list.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | use std::{collections::HashMap, io::Read, path::PathBuf, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/command_handler/commands/play_list.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommandDataOption`, `CreateCommand`, and `async_trait` [INFO] [stdout] --> src/connection_handler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | async_trait, CreateCommand, Context, CommandInteraction, CommandDataOption, VoiceState, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TrackEvent` and `tracks::TrackQueue` [INFO] [stdout] --> src/connection_handler.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use songbird::{error::JoinError, tracks::TrackQueue, TrackEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::error::Elapsed` [INFO] [stdout] --> src/connection_handler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::time::error::Elapsed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/connection_handler.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{collections::HashMap, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GuildQueueKey`, `event_handler::track_event_handler::TrackEndNotifier`, and `utils::guild_queue::GuildQueue` [INFO] [stdout] --> src/connection_handler.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::{event_handler::track_event_handler::TrackEndNotifier, utils::guild_queue::GuildQueue, GuildQueueKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AudioStream`, `AuxMetadata`, and `File` [INFO] [stdout] --> src/utils/youtube_dl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | AudioStream, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 3 | AudioStreamError, [INFO] [stdout] 4 | AuxMetadata, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 5 | File, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrackQueue` [INFO] [stdout] --> src/utils/guild_queue.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | tracks::{Track, TrackHandle, TrackResult, TrackQueue}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GuildId` [INFO] [stdout] --> src/utils/board.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | Http, ChannelType, Message, GuildChannel, GuildId, CreateThread, CreateMessage, CreateEmbed, CacheHttp [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/utils/board.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TypeMap` and `tracks::TrackQueue` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use songbird::{tracks::TrackQueue, typemap::{TypeMap, TypeMapKey}, SerenityInit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Client as HttpClient` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use reqwest::Client as HttpClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt` and `prelude::*` [INFO] [stdout] --> src/main.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing_subscriber::{fmt, prelude::*, EnvFilter, FmtSubscriber}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `channel` and `guild` [INFO] [stdout] --> src/event_handler/event_handler.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use serenity::{all::CacheHttp, model::{channel, guild}}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GuildQueueKey` [INFO] [stdout] --> src/event_handler/event_handler.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | }, utils::guild_queue::get_guild_queue, GuildQueueKey}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `client::Context`, `http::Http`, `model::id::ChannelId`, and `prelude::RwLock` [INFO] [stdout] --> src/event_handler/track_event_handler.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | async_trait, client::Context, http::Http, model::id::ChannelId, prelude::RwLock [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Call` and `TrackEvent` [INFO] [stdout] --> src/event_handler/track_event_handler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Call, Event, EventContext, EventHandler as VoiceEventHandler, TrackEvent, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CreateInteractionResponse` [INFO] [stdout] --> src/command_handler/command_handler.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | CreateInteractionResponse, CreateEmbed [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UserId` and `VoiceState` [INFO] [stdout] --> src/command_handler/commands/connect.rs:3:81 [INFO] [stdout] | [INFO] [stdout] 3 | async_trait, CreateCommand, Context, CommandInteraction, CommandDataOption, VoiceState, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 4 | UserId [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/command_handler/commands/connect.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/command_handler/commands/play.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreateEmbed` and `GuildId` [INFO] [stdout] --> src/command_handler/commands/play.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | CreateCommandOption, CommandOptionType, GuildId, CreateEmbed [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Input` and `tracks::TrackQueue` [INFO] [stdout] --> src/command_handler/commands/play.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | input::{File, Input}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | tracks::TrackQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `global::*` [INFO] [stdout] --> src/command_handler/commands/play.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | }, connection_handler::*, global::*, utils::{guild_queue::get_guild_queue, url_checker::url_checker, youtube_dl::{ytdl_optioned, Meta... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `io::Read`, `path::PathBuf`, and `sync::Arc` [INFO] [stdout] --> src/command_handler/commands/play.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | use std::{collections::HashMap, io::Read, path::PathBuf, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/command_handler/commands/play.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/command_handler/commands/play_list.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CreateEmbed` and `GuildId` [INFO] [stdout] --> src/command_handler/commands/play_list.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | CreateCommandOption, CommandOptionType, GuildId, CreateEmbed [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Input` and `tracks::TrackQueue` [INFO] [stdout] --> src/command_handler/commands/play_list.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | input::{File, Input}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | tracks::TrackQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `global::*` and `self` [INFO] [stdout] --> src/command_handler/commands/play_list.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | }, connection_handler::*, global::*, utils::{guild_queue::get_guild_queue, url_checker::{self, url_checker}, youtube_dl::{ytdl_option... [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `io::Read`, `path::PathBuf`, and `sync::Arc` [INFO] [stdout] --> src/command_handler/commands/play_list.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | use std::{collections::HashMap, io::Read, path::PathBuf, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/command_handler/commands/play_list.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommandDataOption`, `CreateCommand`, and `async_trait` [INFO] [stdout] --> src/connection_handler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | async_trait, CreateCommand, Context, CommandInteraction, CommandDataOption, VoiceState, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TrackEvent` and `tracks::TrackQueue` [INFO] [stdout] --> src/connection_handler.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use songbird::{error::JoinError, tracks::TrackQueue, TrackEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::error::Elapsed` [INFO] [stdout] --> src/connection_handler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::time::error::Elapsed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> src/connection_handler.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{collections::HashMap, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GuildQueueKey`, `event_handler::track_event_handler::TrackEndNotifier`, and `utils::guild_queue::GuildQueue` [INFO] [stdout] --> src/connection_handler.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::{event_handler::track_event_handler::TrackEndNotifier, utils::guild_queue::GuildQueue, GuildQueueKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AudioStream`, `AuxMetadata`, and `File` [INFO] [stdout] --> src/utils/youtube_dl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | AudioStream, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 3 | AudioStreamError, [INFO] [stdout] 4 | AuxMetadata, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 5 | File, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrackQueue` [INFO] [stdout] --> src/utils/guild_queue.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | tracks::{Track, TrackHandle, TrackResult, TrackQueue}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GuildId` [INFO] [stdout] --> src/utils/board.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | Http, ChannelType, Message, GuildChannel, GuildId, CreateThread, CreateMessage, CreateEmbed, CacheHttp [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/utils/board.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/guild_queue.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | pub async fn add(&self, mut track: Track, meta: MetaData, driver: &mut Driver, with_interval: bool) -> TrackHandle { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/guild_queue.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | pub async fn add(&self, mut track: Track, meta: MetaData, driver: &mut Driver, with_interval: bool) -> TrackHandle { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CacheHttp` [INFO] [stdout] --> src/utils/board.rs:5:98 [INFO] [stdout] | [INFO] [stdout] 5 | Http, ChannelType, Message, GuildChannel, GuildId, CreateThread, CreateMessage, CreateEmbed, CacheHttp [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CacheHttp` [INFO] [stdout] --> src/utils/board.rs:5:98 [INFO] [stdout] | [INFO] [stdout] 5 | Http, ChannelType, Message, GuildChannel, GuildId, CreateThread, CreateMessage, CreateEmbed, CacheHttp [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/event_handler/event_handler.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | if let Some(channel) = guild_queue.channel() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keyword` [INFO] [stdout] --> src/event_handler/event_handler.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | if let Some((_, Some(keyword))) = guild_queue.current() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/event_handler/event_handler.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | if let Some(channel) = guild_queue.channel() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keyword` [INFO] [stdout] --> src/event_handler/event_handler.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | if let Some((_, Some(keyword))) = guild_queue.current() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_channel_id` [INFO] [stdout] --> src/event_handler/event_handler.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let new_channel_id = if let Some(channel_id) = new.channel_id { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_channel_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_channel_id` [INFO] [stdout] --> src/event_handler/event_handler.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let new_channel_id = if let Some(channel_id) = new.channel_id { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_channel_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/command_handler/commands/connect.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | Ok(res) => CommandReturn::String("접속".to_owned()), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/command_handler/commands/connect.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | Ok(res) => CommandReturn::String("접속".to_owned()), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SingleEmbed`, `SongInfoEmbed`, and `None` are never constructed [INFO] [stdout] --> src/command_handler/command_return.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum CommandReturn { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 12 | String(String), [INFO] [stdout] 13 | SingleEmbed(CreateEmbed), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | SongInfoEmbed(TrackHandle, Output), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ControlInteraction` is never used [INFO] [stdout] --> src/command_handler/command_return.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait ControlInteraction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connection_handler.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | JoinError(JoinError) [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | JoinError(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VoiceChannelNotFound` and `ServerNotFound` are never constructed [INFO] [stdout] --> src/connection_handler.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum ConnectionErrorCode { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | VoiceChannelNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | ServerNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `YOUTUBE_PREFIX` is never used [INFO] [stdout] --> src/utils/url_checker.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub static YOUTUBE_PREFIX: &str = "https://www.youtube.com/watch?v="; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/utils/guild_queue.rs:227:25 [INFO] [stdout] | [INFO] [stdout] 170 | impl GuildQueue { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 227 | pub(crate) async fn get_preload_time(track: &mut Track) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn dequeue(&self, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn modify_queue(&self, func: F) -> O [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 354 | pub fn pause(&self) -> TrackResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn resume(&self) -> TrackResult<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn stop(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 401 | pub fn current_queue(&self) -> Vec<(TrackHandle, MetaData)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_user` and `reset_score` are never used [INFO] [stdout] --> src/utils/board.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn add_user(&mut self, member: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub async fn reset_score(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/event_handler/event_handler.rs:16:55 [INFO] [stdout] | [INFO] [stdout] 16 | async fn ready(&self, ctx: Context, ready: Ready) { [INFO] [stdout] | ___________________________------------__------------__^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | | println!("{} is connected!", ready.user.tag()); [INFO] [stdout] 18 | | [INFO] [stdout] 19 | | let commands = Command::get_global_commands(&ctx.http).await.unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/event_handler/event_handler.rs:31:80 [INFO] [stdout] | [INFO] [stdout] 31 | async fn interaction_create(&self, ctx: Context, interaction: Interaction) { [INFO] [stdout] | ________________________________________------------__------------------------__^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | | match interaction { [INFO] [stdout] 33 | | Interaction::Command(command) => match command.data.name.as_str() { [INFO] [stdout] 34 | | "launch" => launch::run(&ctx, command).await, [INFO] [stdout] ... | [INFO] [stdout] 38 | | }; [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SingleEmbed`, `SongInfoEmbed`, and `None` are never constructed [INFO] [stdout] --> src/command_handler/command_return.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum CommandReturn { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 12 | String(String), [INFO] [stdout] 13 | SingleEmbed(CreateEmbed), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | SongInfoEmbed(TrackHandle, Output), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/event_handler/event_handler.rs:41:57 [INFO] [stdout] | [INFO] [stdout] 41 | async fn message(&self, ctx: Context, msg: Message) { [INFO] [stdout] | _____________________________------------__------------__^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | | let guild_id = msg.guild_id.unwrap(); [INFO] [stdout] 43 | | let guild_queue = get_guild_queue(&ctx, guild_id).await; [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ControlInteraction` is never used [INFO] [stdout] --> src/command_handler/command_return.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait ControlInteraction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/event_handler/event_handler.rs:60:96 [INFO] [stdout] | [INFO] [stdout] 60 | async fn voice_state_update(&self, ctx: Context, old: Option, new: VoiceState) { [INFO] [stdout] | ________________________________________------------__-----------------------__---------------__^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | | let guild_id = new.guild_id.unwrap(); [INFO] [stdout] 62 | | let cache = ctx.cache().unwrap().clone(); [INFO] [stdout] 63 | | let http = ctx.http.clone(); [INFO] [stdout] ... | [INFO] [stdout] 146 | | // } [INFO] [stdout] 147 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/connection_handler.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | JoinError(JoinError) [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | JoinError(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VoiceChannelNotFound` and `ServerNotFound` are never constructed [INFO] [stdout] --> src/connection_handler.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum ConnectionErrorCode { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | VoiceChannelNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | ServerNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionErrorCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `YOUTUBE_PREFIX` is never used [INFO] [stdout] --> src/utils/url_checker.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub static YOUTUBE_PREFIX: &str = "https://www.youtube.com/watch?v="; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/utils/guild_queue.rs:227:25 [INFO] [stdout] | [INFO] [stdout] 170 | impl GuildQueue { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 227 | pub(crate) async fn get_preload_time(track: &mut Track) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn dequeue(&self, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn modify_queue(&self, func: F) -> O [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 354 | pub fn pause(&self) -> TrackResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn resume(&self) -> TrackResult<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn stop(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 401 | pub fn current_queue(&self) -> Vec<(TrackHandle, MetaData)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_user` and `reset_score` are never used [INFO] [stdout] --> src/utils/board.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn add_user(&mut self, member: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub async fn reset_score(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/youtube_dl.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 76 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | AudioStreamError::Fail(if e.kind() == ErrorKind::NotFound { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 78 | | format!("could not find executable '{}' on path", YOUTUBE_DL_COMMAND).into() [INFO] [stdout] 79 | | } else { [INFO] [stdout] 80 | | Box::new(e) [INFO] [stdout] 81 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/event_handler/event_handler.rs:16:55 [INFO] [stdout] | [INFO] [stdout] 16 | async fn ready(&self, ctx: Context, ready: Ready) { [INFO] [stdout] | ___________________________------------__------------__^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | | println!("{} is connected!", ready.user.tag()); [INFO] [stdout] 18 | | [INFO] [stdout] 19 | | let commands = Command::get_global_commands(&ctx.http).await.unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/event_handler/event_handler.rs:31:80 [INFO] [stdout] | [INFO] [stdout] 31 | async fn interaction_create(&self, ctx: Context, interaction: Interaction) { [INFO] [stdout] | ________________________________________------------__------------------------__^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | | match interaction { [INFO] [stdout] 33 | | Interaction::Command(command) => match command.data.name.as_str() { [INFO] [stdout] 34 | | "launch" => launch::run(&ctx, command).await, [INFO] [stdout] ... | [INFO] [stdout] 38 | | }; [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/youtube_dl.rs:100:45 [INFO] [stdout] | [INFO] [stdout] 100 | .map_err(|e| AudioStreamError::Fail(Box::new(e)))?; [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/event_handler/event_handler.rs:41:57 [INFO] [stdout] | [INFO] [stdout] 41 | async fn message(&self, ctx: Context, msg: Message) { [INFO] [stdout] | _____________________________------------__------------__^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | | let guild_id = msg.guild_id.unwrap(); [INFO] [stdout] 43 | | let guild_queue = get_guild_queue(&ctx, guild_id).await; [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/youtube_dl.rs:129:40 [INFO] [stdout] | [INFO] [stdout] 128 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | AudioStreamError::Fail(if e.kind() == ErrorKind::NotFound { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 130 | | format!("could not find executable '{}' on path", FFMPEG_COMMAND).into() [INFO] [stdout] 131 | | } else { [INFO] [stdout] 132 | | Box::new(e) [INFO] [stdout] 133 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/event_handler/event_handler.rs:60:96 [INFO] [stdout] | [INFO] [stdout] 60 | async fn voice_state_update(&self, ctx: Context, old: Option, new: VoiceState) { [INFO] [stdout] | ________________________________________------------__-----------------------__---------------__^ [INFO] [stdout] | | | | | [INFO] [stdout] | | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | | let guild_id = new.guild_id.unwrap(); [INFO] [stdout] 62 | | let cache = ctx.cache().unwrap().clone(); [INFO] [stdout] 63 | | let http = ctx.http.clone(); [INFO] [stdout] ... | [INFO] [stdout] 146 | | // } [INFO] [stdout] 147 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/guild_queue.rs:66:44 [INFO] [stdout] | [INFO] [stdout] 66 | .or_insert_with(|| GuildQueue::new(ctx.http.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/guild_queue.rs:175:20 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn new(http: Arc) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | Self { [INFO] [stdout] 175 | inner: Arc::new(Mutex::new(GuildQueueCore { [INFO] [stdout] | ____________________^ [INFO] [stdout] 176 | | tracks: VecDeque::new(), [INFO] [stdout] 177 | | channel: None, [INFO] [stdout] 178 | | board: Arc::new(tokio::sync::Mutex::new(Board::new(http))), [INFO] [stdout] 179 | | })), [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/guild_queue.rs:312:39 [INFO] [stdout] | [INFO] [stdout] 312 | inner.tracks.front().map(|f| (f.0.handle(), f.1.clone())) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/guild_queue.rs:404:38 [INFO] [stdout] | [INFO] [stdout] 404 | inner.tracks.iter().map(|e| (e.0.handle(), e.1.clone())).collect() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/board.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(http: Arc) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | score_message: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/board.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(http: Arc) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | status_message: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/youtube_dl.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 76 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | AudioStreamError::Fail(if e.kind() == ErrorKind::NotFound { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 78 | | format!("could not find executable '{}' on path", YOUTUBE_DL_COMMAND).into() [INFO] [stdout] 79 | | } else { [INFO] [stdout] 80 | | Box::new(e) [INFO] [stdout] 81 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/youtube_dl.rs:100:45 [INFO] [stdout] | [INFO] [stdout] 100 | .map_err(|e| AudioStreamError::Fail(Box::new(e)))?; [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/youtube_dl.rs:129:40 [INFO] [stdout] | [INFO] [stdout] 128 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | AudioStreamError::Fail(if e.kind() == ErrorKind::NotFound { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 130 | | format!("could not find executable '{}' on path", FFMPEG_COMMAND).into() [INFO] [stdout] 131 | | } else { [INFO] [stdout] 132 | | Box::new(e) [INFO] [stdout] 133 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/guild_queue.rs:66:44 [INFO] [stdout] | [INFO] [stdout] 66 | .or_insert_with(|| GuildQueue::new(ctx.http.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/guild_queue.rs:175:20 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn new(http: Arc) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | Self { [INFO] [stdout] 175 | inner: Arc::new(Mutex::new(GuildQueueCore { [INFO] [stdout] | ____________________^ [INFO] [stdout] 176 | | tracks: VecDeque::new(), [INFO] [stdout] 177 | | channel: None, [INFO] [stdout] 178 | | board: Arc::new(tokio::sync::Mutex::new(Board::new(http))), [INFO] [stdout] 179 | | })), [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/guild_queue.rs:312:39 [INFO] [stdout] | [INFO] [stdout] 312 | inner.tracks.front().map(|f| (f.0.handle(), f.1.clone())) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/guild_queue.rs:404:38 [INFO] [stdout] | [INFO] [stdout] 404 | inner.tracks.iter().map(|e| (e.0.handle(), e.1.clone())).collect() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/board.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(http: Arc) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | score_message: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/board.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(http: Arc) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | status_message: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `quiz_bot` (bin "quiz_bot" test) due to 14 previous errors; 44 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `quiz_bot` (bin "quiz_bot") due to 14 previous errors; 44 warnings emitted [INFO] running `Command { std: "docker" "inspect" "baade0e1a79977688134844e8daa6d59a471161c2a3d4858a1567551b187af50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baade0e1a79977688134844e8daa6d59a471161c2a3d4858a1567551b187af50", kill_on_drop: false }` [INFO] [stdout] baade0e1a79977688134844e8daa6d59a471161c2a3d4858a1567551b187af50