[INFO] cloning repository https://github.com/Ahrcantos/gamma_cubed [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ahrcantos/gamma_cubed" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAhrcantos%2Fgamma_cubed", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAhrcantos%2Fgamma_cubed'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 258d5de1af4e73b9537152593cc6d6f4e8f0b677 [INFO] checking Ahrcantos/gamma_cubed/258d5de1af4e73b9537152593cc6d6f4e8f0b677 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%2FAhrcantos%2Fgamma_cubed" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ahrcantos/gamma_cubed 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/Ahrcantos/gamma_cubed [INFO] finished tweaking git repo https://github.com/Ahrcantos/gamma_cubed [INFO] tweaked toml for git repo https://github.com/Ahrcantos/gamma_cubed written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Ahrcantos/gamma_cubed 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 4f692e94eb6a0099548c6cbd79ebb9acedeaf5cb887b4017f90aea7371be96dc [INFO] running `Command { std: "docker" "start" "-a" "4f692e94eb6a0099548c6cbd79ebb9acedeaf5cb887b4017f90aea7371be96dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f692e94eb6a0099548c6cbd79ebb9acedeaf5cb887b4017f90aea7371be96dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f692e94eb6a0099548c6cbd79ebb9acedeaf5cb887b4017f90aea7371be96dc", kill_on_drop: false }` [INFO] [stdout] 4f692e94eb6a0099548c6cbd79ebb9acedeaf5cb887b4017f90aea7371be96dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] fb7f5e743e12c1a8b24c875f0b6d37033032cc2408dccd70b9020e296df561f9 [INFO] running `Command { std: "docker" "start" "-a" "fb7f5e743e12c1a8b24c875f0b6d37033032cc2408dccd70b9020e296df561f9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking nu-ansi-term v0.49.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking tracing-tree v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking gamma-cubed v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/actors/read_packet.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/actors/read_packet.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 26 | ConnectionState::Handshake => handle_handshake_state(&raw_packet), [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] 27 | ConnectionState::Status => handle_status_state(&raw_packet), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 28 | ConnectionState::Login => handle_login_state(&raw_packet), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 29 | ConnectionState::Configuration => handle_configuration_state(&raw_packet), [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] 30 | _ => None, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/actors/read_packet.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/actors/read_packet.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 26 | ConnectionState::Handshake => handle_handshake_state(&raw_packet), [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] 27 | ConnectionState::Status => handle_status_state(&raw_packet), [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 28 | ConnectionState::Login => handle_login_state(&raw_packet), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 29 | ConnectionState::Configuration => handle_configuration_state(&raw_packet), [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] 30 | _ => None, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/protocol/mc/ushort.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | fn serialize(&self, buffer: &mut BytesMut) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/protocol/packet/config.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | fn serialize(&self, buffer: &mut bytes::BytesMut) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/protocol/packet/login.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | fn serialize(&self, buffer: &mut bytes::BytesMut) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/protocol/mc/ushort.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | fn serialize(&self, buffer: &mut BytesMut) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/protocol/packet/config.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | fn serialize(&self, buffer: &mut bytes::BytesMut) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/protocol/packet/login.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | fn serialize(&self, buffer: &mut bytes::BytesMut) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connection_state_receiver` is never read [INFO] [stdout] --> src/actors/connection.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct ConnectionActorHandle { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 99 | connection_state_receiver: watch::Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peek` is never used [INFO] [stdout] --> src/parser.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'i> Scanner<'i> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn peek(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `boolean` is never used [INFO] [stdout] --> src/parser.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn boolean(scanner: &mut Scanner) -> ParserResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/protocol/mc/byte_array.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl ByteArray { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(bytes: Bytes) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol/mc/ushort.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct UShort(pub u16); [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UShort` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol/packet.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | LoginStart(LoginStartPacket), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Packet` 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] 28 | LoginStart(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol/packet.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | ServerboundPluginMessage(ServerboundPluginMessagePacket), [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Packet` 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] 34 | ServerboundPluginMessage(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Disconnect` and `EncryptionRequest` are never constructed [INFO] [stdout] --> src/protocol/packet.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Packet { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | Disconnect(DisconnectPacket), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | EncryptionRequest(EncryptionRequestPacket), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Packet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `identifier` and `data` are never read [INFO] [stdout] --> src/protocol/packet/config.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ServerboundPluginMessagePacket { [INFO] [stdout] | ------------------------------ fields in this struct [INFO] [stdout] 10 | identifier: mc::String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | data: Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerboundPluginMessagePacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `reason` is never used [INFO] [stdout] --> src/protocol/packet/disconnect.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl DisconnectPacket { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 11 | pub fn reason(reason: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `server_id`, `public_key`, and `verify_token` are never read [INFO] [stdout] --> src/protocol/packet/encryption.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct EncryptionRequestPacket { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 5 | server_id: mc::String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | public_key: mc::ByteArray, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | verify_token: mc::ByteArray, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EncryptionRequestPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `player_id` are never read [INFO] [stdout] --> src/protocol/packet/login.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct LoginStartPacket { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 10 | name: mc::String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | player_id: mc::Uuid, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoginStartPacket` 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/parser.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 82 | let mut buffer = BytesMut::with_capacity(length); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | Ok(buffer.freeze()) [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/mc/array.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 33 | let mut items: Vec = Vec::with_capacity(length as usize); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | Ok(Self { items }) [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/packet/config.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 24 | let data = BytesMut::from(data).freeze(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | [INFO] [stdout] 26 | Ok(Self { identifier, data }) [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/raw_packet.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 45 | let data = byte_array(scanner, (packet_length.inner() - packet_id_length) as usize)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | [INFO] [stdout] 47 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 48 | | packet_id, [INFO] [stdout] 49 | | length: packet_length, [INFO] [stdout] 50 | | data, [INFO] [stdout] 51 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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 4 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gamma-cubed` (bin "gamma-cubed") due to 5 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `connection_state_receiver` is never read [INFO] [stdout] --> src/actors/connection.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct ConnectionActorHandle { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 99 | connection_state_receiver: watch::Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peek` is never used [INFO] [stdout] --> src/parser.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'i> Scanner<'i> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn peek(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/protocol/mc/byte_array.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl ByteArray { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(bytes: Bytes) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol/mc/ushort.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct UShort(pub u16); [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UShort` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol/packet.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | LoginStart(LoginStartPacket), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Packet` 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] 28 | LoginStart(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol/packet.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | ServerboundPluginMessage(ServerboundPluginMessagePacket), [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Packet` 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] 34 | ServerboundPluginMessage(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Disconnect` and `EncryptionRequest` are never constructed [INFO] [stdout] --> src/protocol/packet.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Packet { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | Disconnect(DisconnectPacket), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | EncryptionRequest(EncryptionRequestPacket), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Packet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `identifier` and `data` are never read [INFO] [stdout] --> src/protocol/packet/config.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ServerboundPluginMessagePacket { [INFO] [stdout] | ------------------------------ fields in this struct [INFO] [stdout] 10 | identifier: mc::String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | data: Bytes, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerboundPluginMessagePacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `reason` is never used [INFO] [stdout] --> src/protocol/packet/disconnect.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl DisconnectPacket { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 11 | pub fn reason(reason: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `server_id`, `public_key`, and `verify_token` are never read [INFO] [stdout] --> src/protocol/packet/encryption.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct EncryptionRequestPacket { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 5 | server_id: mc::String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | public_key: mc::ByteArray, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | verify_token: mc::ByteArray, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EncryptionRequestPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `player_id` are never read [INFO] [stdout] --> src/protocol/packet/login.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct LoginStartPacket { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 10 | name: mc::String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | player_id: mc::Uuid, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoginStartPacket` 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/parser.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 82 | let mut buffer = BytesMut::with_capacity(length); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | Ok(buffer.freeze()) [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/mc/array.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 33 | let mut items: Vec = Vec::with_capacity(length as usize); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | Ok(Self { items }) [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/packet/config.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 24 | let data = BytesMut::from(data).freeze(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | [INFO] [stdout] 26 | Ok(Self { identifier, data }) [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/raw_packet.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 45 | let data = byte_array(scanner, (packet_length.inner() - packet_id_length) as usize)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | [INFO] [stdout] 47 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 48 | | packet_id, [INFO] [stdout] 49 | | length: packet_length, [INFO] [stdout] 50 | | data, [INFO] [stdout] 51 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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 4 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gamma-cubed` (bin "gamma-cubed" test) due to 5 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fb7f5e743e12c1a8b24c875f0b6d37033032cc2408dccd70b9020e296df561f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb7f5e743e12c1a8b24c875f0b6d37033032cc2408dccd70b9020e296df561f9", kill_on_drop: false }` [INFO] [stdout] fb7f5e743e12c1a8b24c875f0b6d37033032cc2408dccd70b9020e296df561f9