[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 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAhrcantos%2Fgamma_cubed" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ahrcantos/gamma_cubed on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-tc1/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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nu-ansi-term v0.49.0 [INFO] [stderr] Downloaded tracing-tree v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfe3d1c62b631519c84738378b124691d9e7e7274fab3a2008317d8e4958a2bd [INFO] running `Command { std: "docker" "start" "-a" "bfe3d1c62b631519c84738378b124691d9e7e7274fab3a2008317d8e4958a2bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfe3d1c62b631519c84738378b124691d9e7e7274fab3a2008317d8e4958a2bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfe3d1c62b631519c84738378b124691d9e7e7274fab3a2008317d8e4958a2bd", kill_on_drop: false }` [INFO] [stdout] bfe3d1c62b631519c84738378b124691d9e7e7274fab3a2008317d8e4958a2bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a9e0282f5744635cd500779e5a1244871456f69fde54273eec566555bb6f217 [INFO] running `Command { std: "docker" "start" "-a" "4a9e0282f5744635cd500779e5a1244871456f69fde54273eec566555bb6f217", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking nu-ansi-term v0.49.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [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 tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking serde v1.0.197 [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: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/protocol/mc/varint.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | [INFO] [stdout] 76 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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] | ^ [INFO] [stdout] | [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] | ^ [INFO] [stdout] | [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] = note: `UShort` 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] 6 | pub struct UShort(()); [INFO] [stdout] | ~~ [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] 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] 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] warning: 16 warnings emitted [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: 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] = note: `UShort` 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] 6 | pub struct UShort(()); [INFO] [stdout] | ~~ [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] 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] 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] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.93s [INFO] running `Command { std: "docker" "inspect" "4a9e0282f5744635cd500779e5a1244871456f69fde54273eec566555bb6f217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a9e0282f5744635cd500779e5a1244871456f69fde54273eec566555bb6f217", kill_on_drop: false }` [INFO] [stdout] 4a9e0282f5744635cd500779e5a1244871456f69fde54273eec566555bb6f217 [INFO] checking Ahrcantos/gamma_cubed against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [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 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1416ee16752e307c15c8700479fc44de6595ca809bf406dee30a183cfa053be [INFO] running `Command { std: "docker" "start" "-a" "b1416ee16752e307c15c8700479fc44de6595ca809bf406dee30a183cfa053be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1416ee16752e307c15c8700479fc44de6595ca809bf406dee30a183cfa053be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1416ee16752e307c15c8700479fc44de6595ca809bf406dee30a183cfa053be", kill_on_drop: false }` [INFO] [stdout] b1416ee16752e307c15c8700479fc44de6595ca809bf406dee30a183cfa053be [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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7095eb66ac16bc1d786e9dc06d58cd277348389e10b12c1395de39406ad777f1 [INFO] running `Command { std: "docker" "start" "-a" "7095eb66ac16bc1d786e9dc06d58cd277348389e10b12c1395de39406ad777f1", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking nu-ansi-term v0.49.0 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [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 thiserror v1.0.58 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking serde v1.0.197 [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: the item `BytesMut` is imported redundantly [INFO] [stdout] --> src/protocol/mc/varint.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | [INFO] [stdout] 76 | use super::*; [INFO] [stdout] | -------- the item `BytesMut` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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] | ^ [INFO] [stdout] | [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] | ^ [INFO] [stdout] | [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] = note: `UShort` 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] 6 | pub struct UShort(()); [INFO] [stdout] | ~~ [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] 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] 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] warning: 16 warnings emitted [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: 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] = note: `UShort` 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] 6 | pub struct UShort(()); [INFO] [stdout] | ~~ [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] 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] 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] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.71s [INFO] running `Command { std: "docker" "inspect" "7095eb66ac16bc1d786e9dc06d58cd277348389e10b12c1395de39406ad777f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7095eb66ac16bc1d786e9dc06d58cd277348389e10b12c1395de39406ad777f1", kill_on_drop: false }` [INFO] [stdout] 7095eb66ac16bc1d786e9dc06d58cd277348389e10b12c1395de39406ad777f1