[INFO] cloning repository https://github.com/Sk3pz/ape_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sk3pz/ape_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSk3pz%2Fape_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSk3pz%2Fape_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e4ee2d1929c6e2b8946869a0c9737fd1a19e720 [INFO] checking Sk3pz/ape_bot/5e4ee2d1929c6e2b8946869a0c9737fd1a19e720 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%2FSk3pz%2Fape_bot" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Sk3pz/ape_bot 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/Sk3pz/ape_bot [INFO] finished tweaking git repo https://github.com/Sk3pz/ape_bot [INFO] tweaked toml for git repo https://github.com/Sk3pz/ape_bot written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Sk3pz/ape_bot 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 7c9f226530d04d99c63b9f8b60df900159d922c6c0899b2d26f897df6196ff88 [INFO] running `Command { std: "docker" "start" "-a" "7c9f226530d04d99c63b9f8b60df900159d922c6c0899b2d26f897df6196ff88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c9f226530d04d99c63b9f8b60df900159d922c6c0899b2d26f897df6196ff88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c9f226530d04d99c63b9f8b60df900159d922c6c0899b2d26f897df6196ff88", kill_on_drop: false }` [INFO] [stdout] 7c9f226530d04d99c63b9f8b60df900159d922c6c0899b2d26f897df6196ff88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f809d4fdcbd750d96b30bbce5bd149507f85ec8dc16e6d78d9aadf2ecdd5049b [INFO] running `Command { std: "docker" "start" "-a" "f809d4fdcbd750d96b30bbce5bd149507f85ec8dc16e6d78d9aadf2ecdd5049b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Compiling serenity v0.12.1 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking typemap_rev v0.3.0 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking better_term v1.4.61 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.102.3 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling command_attr v0.5.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking ape_bot_v2 v0.8.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hey` [INFO] [stdout] --> src/commands/mine.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{command_response, GAMES, hey, MINING, nay}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hey` [INFO] [stdout] --> src/commands/mine.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{command_response, GAMES, hey, MINING, nay}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/commands/buy.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 63 | 3 => { // Spell Tome - Fireball 25-40hp [INFO] [stdout] | - matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 80 | 3 => { // Spell Tome - Mighty Winds 5-25hp [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/commands/buy.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 63 | 3 => { // Spell Tome - Fireball 25-40hp [INFO] [stdout] | - matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 80 | 3 => { // Spell Tome - Mighty Winds 5-25hp [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/games/texas_holdem.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn handle_message(&mut self, msg: &Message) -> (CreateEmbed, bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/games/texas_holdem.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn handle_message(&mut self, msg: &Message) -> (CreateEmbed, bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Player` is more private than the item `TexasHoldem::determine_winner` [INFO] [stdout] --> src/games/texas_holdem.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn determine_winner(&self) -> Vec<&Player> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `TexasHoldem::determine_winner` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Player` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/games/texas_holdem.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct Player { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `folded` and `played_round` are never read [INFO] [stdout] --> src/games/texas_holdem.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | folded: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | played_round: bool, [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/main.rs:146:57 [INFO] [stdout] | [INFO] [stdout] 146 | 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] 147 | | // Ignore messages from bots [INFO] [stdout] 148 | | if msg.author.bot { [INFO] [stdout] 149 | | return; [INFO] [stdout] ... | [INFO] [stdout] 367 | | } [INFO] [stdout] 368 | | } [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/main.rs:370:55 [INFO] [stdout] | [INFO] [stdout] 370 | 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] 371 | | // register commands here [INFO] [stdout] 372 | | register_command(&ctx, help::register()).await; [INFO] [stdout] 373 | | register_command(&ctx, banana::info::register()).await; [INFO] [stdout] ... | [INFO] [stdout] 392 | | ctx.set_presence(Some(ActivityData::playing("with banana")), OnlineStatus::Online); [INFO] [stdout] 393 | | } [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/main.rs:395:57 [INFO] [stdout] | [INFO] [stdout] 395 | async fn resume(&self, _: Context, _: ResumedEvent) { [INFO] [stdout] | ____________________________-____________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 396 | | hey!("Resumed"); [INFO] [stdout] 397 | | } [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/main.rs:399:97 [INFO] [stdout] | [INFO] [stdout] 399 | 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] 400 | | // if old is none and new.channel_id is some, the user joined the voice channel [INFO] [stdout] 401 | | if old.is_none() && new.channel_id.is_some() { [INFO] [stdout] 402 | | if new.user_id.to_user(&_ctx.http).await.unwrap().bot { [INFO] [stdout] ... | [INFO] [stdout] 425 | | } [INFO] [stdout] 426 | | } [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/main.rs:428:80 [INFO] [stdout] | [INFO] [stdout] 428 | 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] 429 | | match interaction { [INFO] [stdout] 430 | | Interaction::Command(command) => { [INFO] [stdout] 431 | | let command_name = command.data.name.as_str(); [INFO] [stdout] ... | [INFO] [stdout] 532 | | } [INFO] [stdout] 533 | | } [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 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ape_bot_v2` (bin "ape_bot_v2" test) due to 6 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: type `Player` is more private than the item `TexasHoldem::determine_winner` [INFO] [stdout] --> src/games/texas_holdem.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn determine_winner(&self) -> Vec<&Player> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `TexasHoldem::determine_winner` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Player` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/games/texas_holdem.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct Player { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `folded` and `played_round` are never read [INFO] [stdout] --> src/games/texas_holdem.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | folded: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | played_round: bool, [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/main.rs:146:57 [INFO] [stdout] | [INFO] [stdout] 146 | 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] 147 | | // Ignore messages from bots [INFO] [stdout] 148 | | if msg.author.bot { [INFO] [stdout] 149 | | return; [INFO] [stdout] ... | [INFO] [stdout] 367 | | } [INFO] [stdout] 368 | | } [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/main.rs:370:55 [INFO] [stdout] | [INFO] [stdout] 370 | 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] 371 | | // register commands here [INFO] [stdout] 372 | | register_command(&ctx, help::register()).await; [INFO] [stdout] 373 | | register_command(&ctx, banana::info::register()).await; [INFO] [stdout] ... | [INFO] [stdout] 392 | | ctx.set_presence(Some(ActivityData::playing("with banana")), OnlineStatus::Online); [INFO] [stdout] 393 | | } [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/main.rs:395:57 [INFO] [stdout] | [INFO] [stdout] 395 | async fn resume(&self, _: Context, _: ResumedEvent) { [INFO] [stdout] | ____________________________-____________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 396 | | hey!("Resumed"); [INFO] [stdout] 397 | | } [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/main.rs:399:97 [INFO] [stdout] | [INFO] [stdout] 399 | 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] 400 | | // if old is none and new.channel_id is some, the user joined the voice channel [INFO] [stdout] 401 | | if old.is_none() && new.channel_id.is_some() { [INFO] [stdout] 402 | | if new.user_id.to_user(&_ctx.http).await.unwrap().bot { [INFO] [stdout] ... | [INFO] [stdout] 425 | | } [INFO] [stdout] 426 | | } [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/main.rs:428:80 [INFO] [stdout] | [INFO] [stdout] 428 | 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] 429 | | match interaction { [INFO] [stdout] 430 | | Interaction::Command(command) => { [INFO] [stdout] 431 | | let command_name = command.data.name.as_str(); [INFO] [stdout] ... | [INFO] [stdout] 532 | | } [INFO] [stdout] 533 | | } [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 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ape_bot_v2` (bin "ape_bot_v2") due to 6 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f809d4fdcbd750d96b30bbce5bd149507f85ec8dc16e6d78d9aadf2ecdd5049b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f809d4fdcbd750d96b30bbce5bd149507f85ec8dc16e6d78d9aadf2ecdd5049b", kill_on_drop: false }` [INFO] [stdout] f809d4fdcbd750d96b30bbce5bd149507f85ec8dc16e6d78d9aadf2ecdd5049b