[INFO] cloning repository https://github.com/PonasKovas/mc_afk_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PonasKovas/mc_afk_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPonasKovas%2Fmc_afk_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPonasKovas%2Fmc_afk_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 19528ab5e56341e5d62b7468b9785c2ed0ca54af [INFO] checking PonasKovas/mc_afk_bot/19528ab5e56341e5d62b7468b9785c2ed0ca54af 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%2FPonasKovas%2Fmc_afk_bot" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PonasKovas/mc_afk_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/PonasKovas/mc_afk_bot [INFO] finished tweaking git repo https://github.com/PonasKovas/mc_afk_bot [INFO] tweaked toml for git repo https://github.com/PonasKovas/mc_afk_bot written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/PonasKovas/mc_afk_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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 77f48bd27ef01db4fa1faef5fabfe6a0ea4db53aa46dff34f214149c3ce67fcc [INFO] running `Command { std: "docker" "start" "-a" "77f48bd27ef01db4fa1faef5fabfe6a0ea4db53aa46dff34f214149c3ce67fcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77f48bd27ef01db4fa1faef5fabfe6a0ea4db53aa46dff34f214149c3ce67fcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77f48bd27ef01db4fa1faef5fabfe6a0ea4db53aa46dff34f214149c3ce67fcc", kill_on_drop: false }` [INFO] [stdout] 77f48bd27ef01db4fa1faef5fabfe6a0ea4db53aa46dff34f214149c3ce67fcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 82268533bfef6744b38fd1222db8b81c16ef2fac550c236d71e75482c4d413c6 [INFO] running `Command { std: "docker" "start" "-a" "82268533bfef6744b38fd1222db8b81c16ef2fac550c236d71e75482c4d413c6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Compiling tokio v0.3.4 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking bytes v0.6.0 [INFO] [stderr] Checking bimap v0.5.3 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling fltk-sys v0.11.4 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking mio v0.7.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Compiling fltk-derive v0.11.4 [INFO] [stderr] Compiling tokio-macros v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Checking fltk v0.11.4 [INFO] [stderr] Checking mc_afk_bot v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `future_poll_fn` has been stable since 1.64.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(future_poll_fn)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `future_poll_fn` has been stable since 1.64.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(future_poll_fn)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bot.rs:568:61 [INFO] [stdout] | [INFO] [stdout] 568 | ... let mut old = state_lock.statistics.iter_mut().find(|e| (e.0).0 == (statistic.0).0 && (e.1).0 == (statistic.1).0).unwrap(); [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/bot.rs:568:61 [INFO] [stdout] | [INFO] [stdout] 568 | ... let mut old = state_lock.statistics.iter_mut().find(|e| (e.0).0 == (statistic.0).0 && (e.1).0 == (statistic.1).0).unwrap(); [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: field `entity_id` is never read [INFO] [stdout] --> src/bot.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct Mob { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 32 | entity_id: VarInt, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mob` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/packets.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | StatusResponse(MString), [INFO] [stdout] | -------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are 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] 30 | StatusResponse(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/packets.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | LoginSuccess(u128, MString), // UUID and Username [INFO] [stdout] | ------------ ^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 32 | LoginSuccess((), ()), // UUID and Username [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `2` is never read [INFO] [stdout] --> src/packets.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | UpdateHealth(f32, VarInt, f32), // health, food, saturation [INFO] [stdout] | ------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are 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] 35 | UpdateHealth(f32, VarInt, ()), // health, food, saturation [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `5` is never read [INFO] [stdout] --> src/packets.rs:36:52 [INFO] [stdout] | [INFO] [stdout] 36 | PlayerPositionAndLook(f64, f64, f64, f32, f32, u8, VarInt), // x, y, z, yaw, pitch, flags, tp id [INFO] [stdout] | --------------------- field in this variant ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are 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] 36 | PlayerPositionAndLook(f64, f64, f64, f32, f32, (), VarInt), // x, y, z, yaw, pitch, flags, tp id [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packets.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | SpawnLivingEntity( [INFO] [stdout] | ----------------- fields in this variant [INFO] [stdout] 38 | VarInt, [INFO] [stdout] 39 | u128, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | u8, [INFO] [stdout] | ^^ [INFO] [stdout] 45 | u8, [INFO] [stdout] | ^^ [INFO] [stdout] 46 | u8, [INFO] [stdout] | ^^ [INFO] [stdout] 47 | i16, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | i16, [INFO] [stdout] | ^^^ [INFO] [stdout] 49 | i16, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 39 ~ (), [INFO] [stdout] 40 | VarInt, [INFO] [stdout] ... [INFO] [stdout] 43 | f64, [INFO] [stdout] 44 ~ (), [INFO] [stdout] 45 ~ (), [INFO] [stdout] 46 ~ (), [INFO] [stdout] 47 ~ (), [INFO] [stdout] 48 ~ (), [INFO] [stdout] 49 ~ (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `4`, `5`, and `6` are never read [INFO] [stdout] --> src/packets.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | EntityTeleport(VarInt, f64, f64, f64, u8, u8, bool), // entity id, x, y, z, yaw, pitch, whether on ground [INFO] [stdout] | -------------- fields in this variant ^^ ^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 51 | EntityTeleport(VarInt, f64, f64, f64, (), (), ()), // entity id, x, y, z, yaw, pitch, whether on ground [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `4` is never read [INFO] [stdout] --> src/packets.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | EntityPosition(VarInt, i16, i16, i16, bool), // entity id, delta x, y ,z, whether on ground [INFO] [stdout] | -------------- field in this variant ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are 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] 52 | EntityPosition(VarInt, i16, i16, i16, ()), // entity id, delta x, y ,z, whether on ground [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/packets.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | Unknown(VarInt), // the packet id of the unknown packet [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are 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] 57 | Unknown(()), // the packet id of the unknown packet [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/asyncio.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | poll_fn(|_| match self.poll_read(output) { [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/asyncio.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | poll_fn(|_| match self.poll_write(input) { [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/datatypes.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | async fn serialize(self, output: &mut O) -> io::Result<()> { [INFO] [stdout] | ^ ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 140 | | // vec length as VarInt [INFO] [stdout] 141 | | let size = self.len(); [INFO] [stdout] 142 | | VarInt(size as i64).serialize(output).await?; [INFO] [stdout] ... | [INFO] [stdout] 148 | | Ok(()) [INFO] [stdout] 149 | | } [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 3 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entity_id` is never read [INFO] [stdout] --> src/bot.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct Mob { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 32 | entity_id: VarInt, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mob` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/packets.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | StatusResponse(MString), [INFO] [stdout] | -------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are 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] 30 | StatusResponse(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/packets.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | LoginSuccess(u128, MString), // UUID and Username [INFO] [stdout] | ------------ ^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 32 | LoginSuccess((), ()), // UUID and Username [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `2` is never read [INFO] [stdout] --> src/packets.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | UpdateHealth(f32, VarInt, f32), // health, food, saturation [INFO] [stdout] | ------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are 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] 35 | UpdateHealth(f32, VarInt, ()), // health, food, saturation [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `5` is never read [INFO] [stdout] --> src/packets.rs:36:52 [INFO] [stdout] | [INFO] [stdout] 36 | PlayerPositionAndLook(f64, f64, f64, f32, f32, u8, VarInt), // x, y, z, yaw, pitch, flags, tp id [INFO] [stdout] | --------------------- field in this variant ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are 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] 36 | PlayerPositionAndLook(f64, f64, f64, f32, f32, (), VarInt), // x, y, z, yaw, pitch, flags, tp id [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packets.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | SpawnLivingEntity( [INFO] [stdout] | ----------------- fields in this variant [INFO] [stdout] 38 | VarInt, [INFO] [stdout] 39 | u128, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | u8, [INFO] [stdout] | ^^ [INFO] [stdout] 45 | u8, [INFO] [stdout] | ^^ [INFO] [stdout] 46 | u8, [INFO] [stdout] | ^^ [INFO] [stdout] 47 | i16, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | i16, [INFO] [stdout] | ^^^ [INFO] [stdout] 49 | i16, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 39 ~ (), [INFO] [stdout] 40 | VarInt, [INFO] [stdout] ... [INFO] [stdout] 43 | f64, [INFO] [stdout] 44 ~ (), [INFO] [stdout] 45 ~ (), [INFO] [stdout] 46 ~ (), [INFO] [stdout] 47 ~ (), [INFO] [stdout] 48 ~ (), [INFO] [stdout] 49 ~ (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `4`, `5`, and `6` are never read [INFO] [stdout] --> src/packets.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | EntityTeleport(VarInt, f64, f64, f64, u8, u8, bool), // entity id, x, y, z, yaw, pitch, whether on ground [INFO] [stdout] | -------------- fields in this variant ^^ ^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 51 | EntityTeleport(VarInt, f64, f64, f64, (), (), ()), // entity id, x, y, z, yaw, pitch, whether on ground [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `4` is never read [INFO] [stdout] --> src/packets.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | EntityPosition(VarInt, i16, i16, i16, bool), // entity id, delta x, y ,z, whether on ground [INFO] [stdout] | -------------- field in this variant ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are 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] 52 | EntityPosition(VarInt, i16, i16, i16, ()), // entity id, delta x, y ,z, whether on ground [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/packets.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | Unknown(VarInt), // the packet id of the unknown packet [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are 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] 57 | Unknown(()), // the packet id of the unknown packet [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/asyncio.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | poll_fn(|_| match self.poll_read(output) { [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/asyncio.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | poll_fn(|_| match self.poll_write(input) { [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] [stderr] error: could not compile `mc_afk_bot` (bin "mc_afk_bot" test) due to 4 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/datatypes.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | async fn serialize(self, output: &mut O) -> io::Result<()> { [INFO] [stdout] | ^ ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 140 | | // vec length as VarInt [INFO] [stdout] 141 | | let size = self.len(); [INFO] [stdout] 142 | | VarInt(size as i64).serialize(output).await?; [INFO] [stdout] ... | [INFO] [stdout] 148 | | Ok(()) [INFO] [stdout] 149 | | } [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 3 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mc_afk_bot` (bin "mc_afk_bot") due to 4 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "82268533bfef6744b38fd1222db8b81c16ef2fac550c236d71e75482c4d413c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82268533bfef6744b38fd1222db8b81c16ef2fac550c236d71e75482c4d413c6", kill_on_drop: false }` [INFO] [stdout] 82268533bfef6744b38fd1222db8b81c16ef2fac550c236d71e75482c4d413c6