[INFO] cloning repository https://github.com/accusitive/mycelium [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/accusitive/mycelium" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faccusitive%2Fmycelium", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faccusitive%2Fmycelium'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2a511c780bc55f7cc4de75ba606618ec0c1217a [INFO] checking accusitive/mycelium against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faccusitive%2Fmycelium" "/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/accusitive/mycelium on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/accusitive/mycelium [INFO] finished tweaking git repo https://github.com/accusitive/mycelium [INFO] tweaked toml for git repo https://github.com/accusitive/mycelium written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/accusitive/mycelium 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minecraft-varint v0.2.0 [INFO] [stderr] Downloaded hexdump v0.1.1 [INFO] [stderr] Downloaded nibbler v0.2.3 [INFO] [stderr] Downloaded base64 v0.20.0-alpha.1 [INFO] [stderr] Downloaded time v0.3.5 [INFO] [stderr] Downloaded flexi_logger v0.22.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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cc7e27ca36b4701f379619436c808f228516b1002e77c4b7b46a8fe74ee8031 [INFO] running `Command { std: "docker" "start" "-a" "6cc7e27ca36b4701f379619436c808f228516b1002e77c4b7b46a8fe74ee8031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cc7e27ca36b4701f379619436c808f228516b1002e77c4b7b46a8fe74ee8031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cc7e27ca36b4701f379619436c808f228516b1002e77c4b7b46a8fe74ee8031", kill_on_drop: false }` [INFO] [stdout] 6cc7e27ca36b4701f379619436c808f228516b1002e77c4b7b46a8fe74ee8031 [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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5351a0f7e472fe7442847fba6b4cd8c5fb10d6ca5692e4c1120697c50c786f11 [INFO] running `Command { std: "docker" "start" "-a" "5351a0f7e472fe7442847fba6b4cd8c5fb10d6ca5692e4c1120697c50c786f11", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling syn v1.0.83 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking nibbler v0.2.3 [INFO] [stderr] Checking base64 v0.20.0-alpha.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking minecraft-varint v0.2.0 [INFO] [stderr] Checking hexdump v0.1.1 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking time v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking flexi_logger v0.22.0 [INFO] [stderr] Checking hematite-nbt v0.5.2 [INFO] [stderr] Checking mycelium v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Cursor, Error, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SocketAddr` [INFO] [stdout] --> src/main.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::{SocketAddr, TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nbt::Map` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use nbt::Map; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HeldItemChange` [INFO] [stdout] --> src/main.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | ClientSettings, HeldItemChange, JoinGame, PlayerPosition, PluginMessageS, ServerBoundKeepAlive, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::varuint_size` [INFO] [stdout] --> src/packet.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::varuint_size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Cursor, Error, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SocketAddr` [INFO] [stdout] --> src/main.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::{SocketAddr, TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nbt::Map` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use nbt::Map; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HeldItemChange` [INFO] [stdout] --> src/main.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | ClientSettings, HeldItemChange, JoinGame, PlayerPosition, PluginMessageS, ServerBoundKeepAlive, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::varuint_size` [INFO] [stdout] --> src/packet.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::varuint_size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/packet.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | fn read_with_len(r: &mut S, id: u32, len: u32) -> Option where Self: Sized { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/packet.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | fn read_with_len(r: &mut S, id: u32, len: u32) -> Option where Self: Sized { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/packet.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | fn read_with_len(r: &mut S, id: u32, len: u32) -> Option where Self: Sized { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/packets/handshake.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | fn read(r: &mut S) -> Option [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/packets/handshake.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | fn read(r: &mut S) -> Option [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/packet.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | fn read_with_len(r: &mut S, id: u32, len: u32) -> Option where Self: Sized { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/packet.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | fn read_with_len(r: &mut S, id: u32, len: u32) -> Option where Self: Sized { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/packet.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | fn read_with_len(r: &mut S, id: u32, len: u32) -> Option where Self: Sized { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/packets/handshake.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | fn read(r: &mut S) -> Option [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/packets/handshake.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | fn read(r: &mut S) -> Option [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut is_running = true; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_keepalive` [INFO] [stdout] --> src/main.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | let mut expected_keepalive = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_keepalive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/main.rs:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | let pos: PlayerPosition = PlayerPosition::read(&mut self.stream).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `posros` [INFO] [stdout] --> src/main.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | let posros: ServerBoundPlayerPositionAndRotation = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_posros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keep_alive` [INFO] [stdout] --> src/main.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | let keep_alive = ServerBoundKeepAlive::read(&mut self.stream).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keep_alive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let mut expected_keepalive = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address` and `port` are never read [INFO] [stdout] --> src/packets/handshake.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Handshake { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 14 | pub protocol: VarIntType, [INFO] [stdout] 15 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | pub port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Handshake` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_hardcore` is never read [INFO] [stdout] --> src/packets/play.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct JoinGame { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 15 | pub entity_id: u32, [INFO] [stdout] 16 | pub is_hardcore: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JoinGame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packets/play.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ClientSettings { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 27 | pub locale: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | pub view_distance: i8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 29 | pub chat_mode: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 30 | pub chat_colors: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | pub displayed_skin_parts: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | /// 0: left, 1: right [INFO] [stdout] 33 | pub main_hand: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 34 | pub use_text_filtering: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub allow_server_listing: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientSettings` 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 `channel` and `data` are never read [INFO] [stdout] --> src/packets/play.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct PluginMessageS { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 43 | pub channel: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 44 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PluginMessageS` 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 `x`, `y`, `z`, and `on_ground` are never read [INFO] [stdout] --> src/packets/play.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct PlayerPosition { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 48 | pub x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 49 | pub y: f64, [INFO] [stdout] | ^ [INFO] [stdout] 50 | pub z: f64, [INFO] [stdout] | ^ [INFO] [stdout] 51 | pub on_ground: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerPosition` 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 `x`, `y`, `z`, `yaw`, `pitch`, and `on_ground` are never read [INFO] [stdout] --> src/packets/play.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ServerBoundPlayerPositionAndRotation { [INFO] [stdout] | ------------------------------------ fields in this struct [INFO] [stdout] 55 | pub x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 56 | pub y: f64, [INFO] [stdout] | ^ [INFO] [stdout] 57 | pub z: f64, [INFO] [stdout] | ^ [INFO] [stdout] 58 | pub yaw: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | pub pitch: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 60 | pub on_ground: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerBoundPlayerPositionAndRotation` 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 `dismount_veicle` is never read [INFO] [stdout] --> src/packets/play.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ClientBoundPlayerPositionAndRotation { [INFO] [stdout] | ------------------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub dismount_veicle: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientBoundPlayerPositionAndRotation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Palette` is never constructed [INFO] [stdout] --> src/packets/play.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct Palette { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Palette` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkSection` is never constructed [INFO] [stdout] --> src/packets/play.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct ChunkSection { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChunkSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkColumn` is never constructed [INFO] [stdout] --> src/packets/play.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct ChunkColumn { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChunkColumn` 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/packets/play.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct ServerBoundKeepAlive(pub i64); [INFO] [stdout] | -------------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `ServerBoundKeepAlive` 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] 111 | pub struct ServerBoundKeepAlive(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `System` and `GameInfo` are never constructed [INFO] [stdout] --> src/packets/play.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub enum ChatPosition { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 115 | Chat = 0, [INFO] [stdout] 116 | System = 1, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 117 | GameInfo = 2 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatPosition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut is_running = true; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_keepalive` [INFO] [stdout] --> src/main.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | let mut expected_keepalive = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_keepalive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/main.rs:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | let pos: PlayerPosition = PlayerPosition::read(&mut self.stream).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `posros` [INFO] [stdout] --> src/main.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | let posros: ServerBoundPlayerPositionAndRotation = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_posros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keep_alive` [INFO] [stdout] --> src/main.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | let keep_alive = ServerBoundKeepAlive::read(&mut self.stream).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keep_alive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let mut expected_keepalive = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address` and `port` are never read [INFO] [stdout] --> src/packets/handshake.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Handshake { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 14 | pub protocol: VarIntType, [INFO] [stdout] 15 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | pub port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Handshake` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_hardcore` is never read [INFO] [stdout] --> src/packets/play.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct JoinGame { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 15 | pub entity_id: u32, [INFO] [stdout] 16 | pub is_hardcore: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JoinGame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packets/play.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ClientSettings { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 27 | pub locale: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | pub view_distance: i8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 29 | pub chat_mode: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 30 | pub chat_colors: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | pub displayed_skin_parts: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | /// 0: left, 1: right [INFO] [stdout] 33 | pub main_hand: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 34 | pub use_text_filtering: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub allow_server_listing: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientSettings` 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 `channel` and `data` are never read [INFO] [stdout] --> src/packets/play.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct PluginMessageS { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 43 | pub channel: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 44 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PluginMessageS` 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 `x`, `y`, `z`, and `on_ground` are never read [INFO] [stdout] --> src/packets/play.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct PlayerPosition { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 48 | pub x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 49 | pub y: f64, [INFO] [stdout] | ^ [INFO] [stdout] 50 | pub z: f64, [INFO] [stdout] | ^ [INFO] [stdout] 51 | pub on_ground: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerPosition` 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 `x`, `y`, `z`, `yaw`, `pitch`, and `on_ground` are never read [INFO] [stdout] --> src/packets/play.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ServerBoundPlayerPositionAndRotation { [INFO] [stdout] | ------------------------------------ fields in this struct [INFO] [stdout] 55 | pub x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 56 | pub y: f64, [INFO] [stdout] | ^ [INFO] [stdout] 57 | pub z: f64, [INFO] [stdout] | ^ [INFO] [stdout] 58 | pub yaw: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | pub pitch: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 60 | pub on_ground: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerBoundPlayerPositionAndRotation` 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 `dismount_veicle` is never read [INFO] [stdout] --> src/packets/play.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ClientBoundPlayerPositionAndRotation { [INFO] [stdout] | ------------------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub dismount_veicle: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientBoundPlayerPositionAndRotation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Palette` is never constructed [INFO] [stdout] --> src/packets/play.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct Palette { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Palette` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkSection` is never constructed [INFO] [stdout] --> src/packets/play.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct ChunkSection { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChunkSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkColumn` is never constructed [INFO] [stdout] --> src/packets/play.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct ChunkColumn { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChunkColumn` 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/packets/play.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct ServerBoundKeepAlive(pub i64); [INFO] [stdout] | -------------------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `ServerBoundKeepAlive` 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] 111 | pub struct ServerBoundKeepAlive(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `System` and `GameInfo` are never constructed [INFO] [stdout] --> src/packets/play.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub enum ChatPosition { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 115 | Chat = 0, [INFO] [stdout] 116 | System = 1, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 117 | GameInfo = 2 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatPosition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.43s [INFO] running `Command { std: "docker" "inspect" "5351a0f7e472fe7442847fba6b4cd8c5fb10d6ca5692e4c1120697c50c786f11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5351a0f7e472fe7442847fba6b4cd8c5fb10d6ca5692e4c1120697c50c786f11", kill_on_drop: false }` [INFO] [stdout] 5351a0f7e472fe7442847fba6b4cd8c5fb10d6ca5692e4c1120697c50c786f11