[INFO] cloning repository https://github.com/PonasKovas/mc_afk_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PonasKovas/mc_afk_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPonasKovas%2Fmc_afk_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPonasKovas%2Fmc_afk_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30509dcce8f06d54025eb56672ca941d508a12d6 [INFO] testing PonasKovas/mc_afk_bot against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPonasKovas%2Fmc_afk_bot" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PonasKovas/mc_afk_bot [INFO] finished tweaking git repo https://github.com/PonasKovas/mc_afk_bot [INFO] tweaked toml for git repo https://github.com/PonasKovas/mc_afk_bot written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PonasKovas/mc_afk_bot on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/PonasKovas/mc_afk_bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v0.3.1 [INFO] [stderr] Downloaded instant v0.1.8 [INFO] [stderr] Downloaded bytes v0.6.0 [INFO] [stderr] Downloaded async-trait v0.1.41 [INFO] [stderr] Downloaded bimap v0.5.3 [INFO] [stderr] Downloaded cc v1.0.62 [INFO] [stderr] Downloaded fltk v0.11.4 [INFO] [stderr] Downloaded mio v0.7.6 [INFO] [stderr] Downloaded socket2 v0.3.16 [INFO] [stderr] Downloaded miow v0.3.6 [INFO] [stderr] Downloaded syn v1.0.53 [INFO] [stderr] Downloaded tokio v0.3.4 [INFO] [stderr] Downloaded fltk-derive v0.11.4 [INFO] [stderr] Downloaded fltk-sys v0.11.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3d8704931e9f879fffb54d9da07b306a4e4dfb24c42c0f0fd4790430d076bf1 [INFO] running `Command { std: "docker" "start" "-a" "c3d8704931e9f879fffb54d9da07b306a4e4dfb24c42c0f0fd4790430d076bf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3d8704931e9f879fffb54d9da07b306a4e4dfb24c42c0f0fd4790430d076bf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3d8704931e9f879fffb54d9da07b306a4e4dfb24c42c0f0fd4790430d076bf1", kill_on_drop: false }` [INFO] [stdout] c3d8704931e9f879fffb54d9da07b306a4e4dfb24c42c0f0fd4790430d076bf1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d50f56b9a89826c19e95ca8e5092b482f92ecb069a61a4e4fc240b4fad2a1de [INFO] running `Command { std: "docker" "start" "-a" "3d50f56b9a89826c19e95ca8e5092b482f92ecb069a61a4e4fc240b4fad2a1de", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling instant v0.1.8 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v0.3.4 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling bytes v0.6.0 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling bimap v0.5.3 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling mio v0.7.6 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling fltk-sys v0.11.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling fltk-derive v0.11.4 [INFO] [stderr] Compiling tokio-macros v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling fltk v0.11.4 [INFO] [stderr] Compiling mc_afk_bot v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `future_poll_fn` has been stable since 1.64.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(future_poll_fn)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bot.rs:568:61 [INFO] [stdout] | [INFO] [stdout] 568 | ... let mut old = state_lock.statistics.iter_mut().find(|e| (e.0).0 == (statistic.0).0 && (e.1).0 == (statistic.1).0).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entity_id` is never read [INFO] [stdout] --> src/bot.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct Mob { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 32 | entity_id: VarInt, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mob` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/packets.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | StatusResponse(MString), [INFO] [stdout] | -------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - StatusResponse(MString), [INFO] [stdout] 30 + StatusResponse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/packets.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | LoginSuccess(u128, MString), // UUID and Username [INFO] [stdout] | ------------ ^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 32 - LoginSuccess(u128, MString), // UUID and Username [INFO] [stdout] 32 + LoginSuccess((), ()), // UUID and Username [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `2` is never read [INFO] [stdout] --> src/packets.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | UpdateHealth(f32, VarInt, f32), // health, food, saturation [INFO] [stdout] | ------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 35 - UpdateHealth(f32, VarInt, f32), // health, food, saturation [INFO] [stdout] 35 + UpdateHealth(f32, VarInt, ()), // health, food, saturation [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `5` is never read [INFO] [stdout] --> src/packets.rs:36:52 [INFO] [stdout] | [INFO] [stdout] 36 | PlayerPositionAndLook(f64, f64, f64, f32, f32, u8, VarInt), // x, y, z, yaw, pitch, flags, tp id [INFO] [stdout] | --------------------- field in this variant ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 - PlayerPositionAndLook(f64, f64, f64, f32, f32, u8, VarInt), // x, y, z, yaw, pitch, flags, tp id [INFO] [stdout] 36 + PlayerPositionAndLook(f64, f64, f64, f32, f32, (), VarInt), // x, y, z, yaw, pitch, flags, tp id [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packets.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | SpawnLivingEntity( [INFO] [stdout] | ----------------- fields in this variant [INFO] [stdout] 38 | VarInt, [INFO] [stdout] 39 | u128, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | u8, [INFO] [stdout] | ^^ [INFO] [stdout] 45 | u8, [INFO] [stdout] | ^^ [INFO] [stdout] 46 | u8, [INFO] [stdout] | ^^ [INFO] [stdout] 47 | i16, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | i16, [INFO] [stdout] | ^^^ [INFO] [stdout] 49 | i16, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 39 ~ (), [INFO] [stdout] 40 | VarInt, [INFO] [stdout] ... [INFO] [stdout] 43 | f64, [INFO] [stdout] 44 ~ (), [INFO] [stdout] 45 ~ (), [INFO] [stdout] 46 ~ (), [INFO] [stdout] 47 ~ (), [INFO] [stdout] 48 ~ (), [INFO] [stdout] 49 ~ (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `4`, `5`, and `6` are never read [INFO] [stdout] --> src/packets.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | EntityTeleport(VarInt, f64, f64, f64, u8, u8, bool), // entity id, x, y, z, yaw, pitch, whether on ground [INFO] [stdout] | -------------- fields in this variant ^^ ^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 51 - EntityTeleport(VarInt, f64, f64, f64, u8, u8, bool), // entity id, x, y, z, yaw, pitch, whether on ground [INFO] [stdout] 51 + EntityTeleport(VarInt, f64, f64, f64, (), (), ()), // entity id, x, y, z, yaw, pitch, whether on ground [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `4` is never read [INFO] [stdout] --> src/packets.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | EntityPosition(VarInt, i16, i16, i16, bool), // entity id, delta x, y ,z, whether on ground [INFO] [stdout] | -------------- field in this variant ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 52 - EntityPosition(VarInt, i16, i16, i16, bool), // entity id, delta x, y ,z, whether on ground [INFO] [stdout] 52 + EntityPosition(VarInt, i16, i16, i16, ()), // entity id, delta x, y ,z, whether on ground [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/packets.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | Unknown(VarInt), // the packet id of the unknown packet [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 - Unknown(VarInt), // the packet id of the unknown packet [INFO] [stdout] 57 + Unknown(()), // the packet id of the unknown packet [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 37s [INFO] running `Command { std: "docker" "inspect" "3d50f56b9a89826c19e95ca8e5092b482f92ecb069a61a4e4fc240b4fad2a1de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d50f56b9a89826c19e95ca8e5092b482f92ecb069a61a4e4fc240b4fad2a1de", kill_on_drop: false }` [INFO] [stdout] 3d50f56b9a89826c19e95ca8e5092b482f92ecb069a61a4e4fc240b4fad2a1de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 317930130e8afefa2e8393d9a4e50c1ddaa8797aa9c1be0102270947779af46d [INFO] running `Command { std: "docker" "start" "-a" "317930130e8afefa2e8393d9a4e50c1ddaa8797aa9c1be0102270947779af46d", kill_on_drop: false }` [INFO] [stderr] Compiling mc_afk_bot v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `future_poll_fn` has been stable since 1.64.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(future_poll_fn)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bot.rs:568:61 [INFO] [stdout] | [INFO] [stdout] 568 | ... let mut old = state_lock.statistics.iter_mut().find(|e| (e.0).0 == (statistic.0).0 && (e.1).0 == (statistic.1).0).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entity_id` is never read [INFO] [stdout] --> src/bot.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct Mob { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 32 | entity_id: VarInt, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mob` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/packets.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | StatusResponse(MString), [INFO] [stdout] | -------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - StatusResponse(MString), [INFO] [stdout] 30 + StatusResponse(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/packets.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | LoginSuccess(u128, MString), // UUID and Username [INFO] [stdout] | ------------ ^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 32 - LoginSuccess(u128, MString), // UUID and Username [INFO] [stdout] 32 + LoginSuccess((), ()), // UUID and Username [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `2` is never read [INFO] [stdout] --> src/packets.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | UpdateHealth(f32, VarInt, f32), // health, food, saturation [INFO] [stdout] | ------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 35 - UpdateHealth(f32, VarInt, f32), // health, food, saturation [INFO] [stdout] 35 + UpdateHealth(f32, VarInt, ()), // health, food, saturation [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `5` is never read [INFO] [stdout] --> src/packets.rs:36:52 [INFO] [stdout] | [INFO] [stdout] 36 | PlayerPositionAndLook(f64, f64, f64, f32, f32, u8, VarInt), // x, y, z, yaw, pitch, flags, tp id [INFO] [stdout] | --------------------- field in this variant ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 - PlayerPositionAndLook(f64, f64, f64, f32, f32, u8, VarInt), // x, y, z, yaw, pitch, flags, tp id [INFO] [stdout] 36 + PlayerPositionAndLook(f64, f64, f64, f32, f32, (), VarInt), // x, y, z, yaw, pitch, flags, tp id [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/packets.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | SpawnLivingEntity( [INFO] [stdout] | ----------------- fields in this variant [INFO] [stdout] 38 | VarInt, [INFO] [stdout] 39 | u128, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | u8, [INFO] [stdout] | ^^ [INFO] [stdout] 45 | u8, [INFO] [stdout] | ^^ [INFO] [stdout] 46 | u8, [INFO] [stdout] | ^^ [INFO] [stdout] 47 | i16, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | i16, [INFO] [stdout] | ^^^ [INFO] [stdout] 49 | i16, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 39 ~ (), [INFO] [stdout] 40 | VarInt, [INFO] [stdout] ... [INFO] [stdout] 43 | f64, [INFO] [stdout] 44 ~ (), [INFO] [stdout] 45 ~ (), [INFO] [stdout] 46 ~ (), [INFO] [stdout] 47 ~ (), [INFO] [stdout] 48 ~ (), [INFO] [stdout] 49 ~ (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `4`, `5`, and `6` are never read [INFO] [stdout] --> src/packets.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | EntityTeleport(VarInt, f64, f64, f64, u8, u8, bool), // entity id, x, y, z, yaw, pitch, whether on ground [INFO] [stdout] | -------------- fields in this variant ^^ ^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 51 - EntityTeleport(VarInt, f64, f64, f64, u8, u8, bool), // entity id, x, y, z, yaw, pitch, whether on ground [INFO] [stdout] 51 + EntityTeleport(VarInt, f64, f64, f64, (), (), ()), // entity id, x, y, z, yaw, pitch, whether on ground [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `4` is never read [INFO] [stdout] --> src/packets.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | EntityPosition(VarInt, i16, i16, i16, bool), // entity id, delta x, y ,z, whether on ground [INFO] [stdout] | -------------- field in this variant ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 52 - EntityPosition(VarInt, i16, i16, i16, bool), // entity id, delta x, y ,z, whether on ground [INFO] [stdout] 52 + EntityPosition(VarInt, i16, i16, i16, ()), // entity id, delta x, y ,z, whether on ground [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/packets.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | Unknown(VarInt), // the packet id of the unknown packet [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 - Unknown(VarInt), // the packet id of the unknown packet [INFO] [stdout] 57 + Unknown(()), // the packet id of the unknown packet [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s [INFO] running `Command { std: "docker" "inspect" "317930130e8afefa2e8393d9a4e50c1ddaa8797aa9c1be0102270947779af46d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "317930130e8afefa2e8393d9a4e50c1ddaa8797aa9c1be0102270947779af46d", kill_on_drop: false }` [INFO] [stdout] 317930130e8afefa2e8393d9a4e50c1ddaa8797aa9c1be0102270947779af46d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 87cf977b534807cf72d9b0db4c15059d521dbfd32b378172c9f313d2cac1c678 [INFO] running `Command { std: "docker" "start" "-a" "87cf977b534807cf72d9b0db4c15059d521dbfd32b378172c9f313d2cac1c678", kill_on_drop: false }` [INFO] [stderr] warning: the feature `future_poll_fn` has been stable since 1.64.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 1 | #![feature(future_poll_fn)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bot.rs:568:61 [INFO] [stderr] | [INFO] [stderr] 568 | ... let mut old = state_lock.statistics.iter_mut().find(|e| (e.0).0 == (statistic.0).0 && (e.1).0 == (statistic.1).0).unwrap(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `entity_id` is never read [INFO] [stderr] --> src/bot.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 31 | struct Mob { [INFO] [stderr] | --- field in this struct [INFO] [stderr] 32 | entity_id: VarInt, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Mob` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/packets.rs:30:20 [INFO] [stderr] | [INFO] [stderr] 30 | StatusResponse(MString), [INFO] [stderr] | -------------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 30 - StatusResponse(MString), [INFO] [stderr] 30 + StatusResponse(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/packets.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 32 | LoginSuccess(u128, MString), // UUID and Username [INFO] [stderr] | ------------ ^^^^ ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 32 - LoginSuccess(u128, MString), // UUID and Username [INFO] [stderr] 32 + LoginSuccess((), ()), // UUID and Username [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `2` is never read [INFO] [stderr] --> src/packets.rs:35:31 [INFO] [stderr] | [INFO] [stderr] 35 | UpdateHealth(f32, VarInt, f32), // health, food, saturation [INFO] [stderr] | ------------ ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 35 - UpdateHealth(f32, VarInt, f32), // health, food, saturation [INFO] [stderr] 35 + UpdateHealth(f32, VarInt, ()), // health, food, saturation [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `5` is never read [INFO] [stderr] --> src/packets.rs:36:52 [INFO] [stderr] | [INFO] [stderr] 36 | PlayerPositionAndLook(f64, f64, f64, f32, f32, u8, VarInt), // x, y, z, yaw, pitch, flags, tp id [INFO] [stderr] | --------------------- field in this variant ^^ [INFO] [stderr] | [INFO] [stderr] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 36 - PlayerPositionAndLook(f64, f64, f64, f32, f32, u8, VarInt), // x, y, z, yaw, pitch, flags, tp id [INFO] [stderr] 36 + PlayerPositionAndLook(f64, f64, f64, f32, f32, (), VarInt), // x, y, z, yaw, pitch, flags, tp id [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/packets.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 37 | SpawnLivingEntity( [INFO] [stderr] | ----------------- fields in this variant [INFO] [stderr] 38 | VarInt, [INFO] [stderr] 39 | u128, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | u8, [INFO] [stderr] | ^^ [INFO] [stderr] 45 | u8, [INFO] [stderr] | ^^ [INFO] [stderr] 46 | u8, [INFO] [stderr] | ^^ [INFO] [stderr] 47 | i16, [INFO] [stderr] | ^^^ [INFO] [stderr] 48 | i16, [INFO] [stderr] | ^^^ [INFO] [stderr] 49 | i16, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 39 ~ (), [INFO] [stderr] 40 | VarInt, [INFO] [stderr] ... [INFO] [stderr] 43 | f64, [INFO] [stderr] 44 ~ (), [INFO] [stderr] 45 ~ (), [INFO] [stderr] 46 ~ (), [INFO] [stderr] 47 ~ (), [INFO] [stderr] 48 ~ (), [INFO] [stderr] 49 ~ (), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `4`, `5`, and `6` are never read [INFO] [stderr] --> src/packets.rs:51:43 [INFO] [stderr] | [INFO] [stderr] 51 | EntityTeleport(VarInt, f64, f64, f64, u8, u8, bool), // entity id, x, y, z, yaw, pitch, whether on ground [INFO] [stderr] | -------------- fields in this variant ^^ ^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 51 - EntityTeleport(VarInt, f64, f64, f64, u8, u8, bool), // entity id, x, y, z, yaw, pitch, whether on ground [INFO] [stderr] 51 + EntityTeleport(VarInt, f64, f64, f64, (), (), ()), // entity id, x, y, z, yaw, pitch, whether on ground [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `4` is never read [INFO] [stderr] --> src/packets.rs:52:43 [INFO] [stderr] | [INFO] [stderr] 52 | EntityPosition(VarInt, i16, i16, i16, bool), // entity id, delta x, y ,z, whether on ground [INFO] [stderr] | -------------- field in this variant ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 52 - EntityPosition(VarInt, i16, i16, i16, bool), // entity id, delta x, y ,z, whether on ground [INFO] [stderr] 52 + EntityPosition(VarInt, i16, i16, i16, ()), // entity id, delta x, y ,z, whether on ground [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/packets.rs:57:13 [INFO] [stderr] | [INFO] [stderr] 57 | Unknown(VarInt), // the packet id of the unknown packet [INFO] [stderr] | ------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ClientBound` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 57 - Unknown(VarInt), // the packet id of the unknown packet [INFO] [stderr] 57 + Unknown(()), // the packet id of the unknown packet [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `mc_afk_bot` (bin "mc_afk_bot" test) generated 11 warnings (run `cargo fix --bin "mc_afk_bot" -p mc_afk_bot --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mc_afk_bot-ffbee6ef8fb1430e) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "87cf977b534807cf72d9b0db4c15059d521dbfd32b378172c9f313d2cac1c678", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87cf977b534807cf72d9b0db4c15059d521dbfd32b378172c9f313d2cac1c678", kill_on_drop: false }` [INFO] [stdout] 87cf977b534807cf72d9b0db4c15059d521dbfd32b378172c9f313d2cac1c678