[INFO] cloning repository https://github.com/darkwater/minecraft-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/darkwater/minecraft-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarkwater%2Fminecraft-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarkwater%2Fminecraft-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29279d70c68fb2f5e229120e168ca7e8c6706786 [INFO] checking darkwater/minecraft-server/29279d70c68fb2f5e229120e168ca7e8c6706786 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%2Fdarkwater%2Fminecraft-server" "/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/darkwater/minecraft-server 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/darkwater/minecraft-server [INFO] finished tweaking git repo https://github.com/darkwater/minecraft-server [INFO] tweaked toml for git repo https://github.com/darkwater/minecraft-server written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/darkwater/minecraft-server 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-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] 2ecfa1cd88345b941bf04cefd66999a4e706e04b1830009f20e042eaeba84f8d [INFO] running `Command { std: "docker" "start" "-a" "2ecfa1cd88345b941bf04cefd66999a4e706e04b1830009f20e042eaeba84f8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ecfa1cd88345b941bf04cefd66999a4e706e04b1830009f20e042eaeba84f8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ecfa1cd88345b941bf04cefd66999a4e706e04b1830009f20e042eaeba84f8d", kill_on_drop: false }` [INFO] [stdout] 2ecfa1cd88345b941bf04cefd66999a4e706e04b1830009f20e042eaeba84f8d [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] 34b7cdb7176dd07a9baf870f36c09670d4db56617ecb13c75e17ef78374de434 [INFO] running `Command { std: "docker" "start" "-a" "34b7cdb7176dd07a9baf870f36c09670d4db56617ecb13c75e17ef78374de434", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking lock_api v0.4.10 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tracing-attributes v0.1.24 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking minecraft-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Identifier` is never constructed [INFO] [stdout] --> src/protocol/data_types/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Identifier(pub String); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityMetadata` is never constructed [INFO] [stdout] --> src/protocol/data_types/mod.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct EntityMetadata(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Slot` is never constructed [INFO] [stdout] --> src/protocol/data_types/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Slot(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NbtTag` is never constructed [INFO] [stdout] --> src/protocol/data_types/mod.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct NbtTag(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Angle` is never constructed [INFO] [stdout] --> src/protocol/data_types/mod.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Angle(pub u8); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `protocol_version`, `server_address`, and `server_port` are never read [INFO] [stdout] --> src/protocol/packets/handshaking/handshake.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SbHandshake { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 8 | protocol_version: VarInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | server_address: McString<255>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | server_port: UnsignedShort, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SbHandshake` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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:24:19 [INFO] [stdout] | [INFO] [stdout] 19 | let (socket, addr) = listener.accept().await?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | match client_handler::handle(socket).await { [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/protocol/data_types/varints.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 102 | let mut bytes = Bytes::from_static(v); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | VarInt::decode(&mut bytes).unwrap().0 [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/protocol/data_types/varints.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 113 | let mut bytes = Bytes::from_static(v); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | VarLong::decode(&mut bytes).unwrap().0 [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/protocol/packets/macros.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 19 | let mut data = bytes::BytesMut::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | data: crate::protocol::data_types::ByteArray(data.freeze()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/packets/login/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / define_clientbound_packet! { CbLoginPacket { [INFO] [stdout] 16 | | Disconnect(CbDisconnect) => 0x00, [INFO] [stdout] 17 | | LoginSuccess(CbLoginSuccess) => 0x02, [INFO] [stdout] 18 | | }} [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_clientbound_packet` (in Nightly builds, run with -Z macro-backtrace for more info) [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/protocol/packets/packet.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 22 | fn decode(mut src: impl Buf) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let data = ByteArray(src.copy_to_bytes(data_length)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | [INFO] [stdout] 35 | Ok(UncompressedPacket { packet_id, data }) [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] | [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/protocol/packets/macros.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 19 | let mut data = bytes::BytesMut::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | data: crate::protocol::data_types::ByteArray(data.freeze()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/packets/status/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / define_clientbound_packet! { CbStatusPacket { [INFO] [stdout] 11 | | StatusResponse(CbStatusResponse) => 0x00, [INFO] [stdout] 12 | | PongResponse(CbPongResponse) => 0x01, [INFO] [stdout] 13 | | }} [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_clientbound_packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `minecraft-server` (bin "minecraft-server" test) due to 7 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `Identifier` is never constructed [INFO] [stdout] --> src/protocol/data_types/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Identifier(pub String); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntityMetadata` is never constructed [INFO] [stdout] --> src/protocol/data_types/mod.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct EntityMetadata(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Slot` is never constructed [INFO] [stdout] --> src/protocol/data_types/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Slot(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NbtTag` is never constructed [INFO] [stdout] --> src/protocol/data_types/mod.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct NbtTag(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Angle` is never constructed [INFO] [stdout] --> src/protocol/data_types/mod.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Angle(pub u8); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `protocol_version`, `server_address`, and `server_port` are never read [INFO] [stdout] --> src/protocol/packets/handshaking/handshake.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SbHandshake { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 8 | protocol_version: VarInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | server_address: McString<255>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | server_port: UnsignedShort, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SbHandshake` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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:24:19 [INFO] [stdout] | [INFO] [stdout] 19 | let (socket, addr) = listener.accept().await?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | match client_handler::handle(socket).await { [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/protocol/packets/macros.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 19 | let mut data = bytes::BytesMut::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | data: crate::protocol::data_types::ByteArray(data.freeze()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/packets/login/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / define_clientbound_packet! { CbLoginPacket { [INFO] [stdout] 16 | | Disconnect(CbDisconnect) => 0x00, [INFO] [stdout] 17 | | LoginSuccess(CbLoginSuccess) => 0x02, [INFO] [stdout] 18 | | }} [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_clientbound_packet` (in Nightly builds, run with -Z macro-backtrace for more info) [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/protocol/packets/packet.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 22 | fn decode(mut src: impl Buf) -> Result { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let data = ByteArray(src.copy_to_bytes(data_length)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | [INFO] [stdout] 35 | Ok(UncompressedPacket { packet_id, data }) [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] | [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/protocol/packets/macros.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 19 | let mut data = bytes::BytesMut::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | data: crate::protocol::data_types::ByteArray(data.freeze()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/packets/status/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / define_clientbound_packet! { CbStatusPacket { [INFO] [stdout] 11 | | StatusResponse(CbStatusResponse) => 0x00, [INFO] [stdout] 12 | | PongResponse(CbPongResponse) => 0x01, [INFO] [stdout] 13 | | }} [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `define_clientbound_packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `minecraft-server` (bin "minecraft-server") due to 5 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "34b7cdb7176dd07a9baf870f36c09670d4db56617ecb13c75e17ef78374de434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34b7cdb7176dd07a9baf870f36c09670d4db56617ecb13c75e17ef78374de434", kill_on_drop: false }` [INFO] [stdout] 34b7cdb7176dd07a9baf870f36c09670d4db56617ecb13c75e17ef78374de434