[INFO] cloning repository https://github.com/emctague/craftserve [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emctague/craftserve" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femctague%2Fcraftserve", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femctague%2Fcraftserve'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8bb5536ecb249162713a0ae76a0e9453d6a6fd56 [INFO] checking emctague/craftserve against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femctague%2Fcraftserve" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emctague/craftserve on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/emctague/craftserve [INFO] finished tweaking git repo https://github.com/emctague/craftserve [INFO] tweaked toml for git repo https://github.com/emctague/craftserve written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/emctague/craftserve 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded md5 v0.6.1 [INFO] [stderr] Downloaded wasi v0.5.0 [INFO] [stderr] Downloaded ppv-lite86 v0.2.5 [INFO] [stderr] Downloaded getrandom v0.1.10 [INFO] [stderr] Downloaded c2-chacha v0.2.2 [INFO] [stderr] Downloaded num-derive v0.2.5 [INFO] [stderr] Downloaded rand v0.7.0 [INFO] [stderr] Downloaded libc v0.2.62 [INFO] [stderr] Downloaded autocfg v0.1.6 [INFO] [stderr] Downloaded rand_core v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56a52ee9f3e1fc75a278d63a660f2b84fd2580f0ba4a12cd74f795061383d059 [INFO] running `Command { std: "docker" "start" "-a" "56a52ee9f3e1fc75a278d63a660f2b84fd2580f0ba4a12cd74f795061383d059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56a52ee9f3e1fc75a278d63a660f2b84fd2580f0ba4a12cd74f795061383d059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56a52ee9f3e1fc75a278d63a660f2b84fd2580f0ba4a12cd74f795061383d059", kill_on_drop: false }` [INFO] [stdout] 56a52ee9f3e1fc75a278d63a660f2b84fd2580f0ba4a12cd74f795061383d059 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26ebe6b9dfc16690ebc97854b4b9e19c65f355c187ac81332efba62c72c9ae2f [INFO] running `Command { std: "docker" "start" "-a" "26ebe6b9dfc16690ebc97854b4b9e19c65f355c187ac81332efba62c72c9ae2f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling getrandom v0.1.10 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking craftserve v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::login::IncomingTypes::LoginStart` [INFO] [stdout] --> src/login.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::login::IncomingTypes::LoginStart; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/play.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::login::IncomingTypes::LoginStart` [INFO] [stdout] --> src/login.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::login::IncomingTypes::LoginStart; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/play.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/login.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/status.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/play.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `byte` is assigned to, but never used [INFO] [stdout] --> src/api_stream.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | let mut byte = (value & 0b01111111) as u8; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_byte` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `byte` is never read [INFO] [stdout] --> src/api_stream.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | byte |= 0b10000000; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/api_stream.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | Stream::TCP(v) => 0, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/packet.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | fn transmit(&self, stream: &mut Stream) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/login.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/status.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/play.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/handshake.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let packet : Packet = Packet::new(stream); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `byte` is assigned to, but never used [INFO] [stdout] --> src/api_stream.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | let mut byte = (value & 0b01111111) as u8; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_byte` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `byte` is never read [INFO] [stdout] --> src/api_stream.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | byte |= 0b10000000; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/status.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let packet : Packet = Packet::new(stream); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/api_stream.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | Stream::TCP(v) => 0, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/packet.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | fn transmit(&self, stream: &mut Stream) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/login.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let packet : Packet = Packet::new(stream); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/handshake.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let packet : Packet = Packet::new(stream); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/status.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let packet : Packet = Packet::new(stream); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `address`, and `port` are never read [INFO] [stdout] --> src/handshake.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | struct HandshakeData { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 20 | pub version: i32, // Protocol Version VarInt [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | pub address: String, // Hostname / IP used to connect to server [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | pub port: u16, // Port used to connect to server [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandshakeData` 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: unused variable: `packet` [INFO] [stdout] --> src/login.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let packet : Packet = Packet::new(stream); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `address`, and `port` are never read [INFO] [stdout] --> src/handshake.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | struct HandshakeData { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 20 | pub version: i32, // Protocol Version VarInt [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | pub address: String, // Hostname / IP used to connect to server [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | pub port: u16, // Port used to connect to server [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandshakeData` 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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.14s [INFO] running `Command { std: "docker" "inspect" "26ebe6b9dfc16690ebc97854b4b9e19c65f355c187ac81332efba62c72c9ae2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26ebe6b9dfc16690ebc97854b4b9e19c65f355c187ac81332efba62c72c9ae2f", kill_on_drop: false }` [INFO] [stdout] 26ebe6b9dfc16690ebc97854b4b9e19c65f355c187ac81332efba62c72c9ae2f [INFO] checking emctague/craftserve against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femctague%2Fcraftserve" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emctague/craftserve on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/emctague/craftserve [INFO] finished tweaking git repo https://github.com/emctague/craftserve [INFO] tweaked toml for git repo https://github.com/emctague/craftserve written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/emctague/craftserve 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a00b1d39c6bd8c7324d5a064de9abbdbae2a5524eb27b285ae3834bad727df88 [INFO] running `Command { std: "docker" "start" "-a" "a00b1d39c6bd8c7324d5a064de9abbdbae2a5524eb27b285ae3834bad727df88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a00b1d39c6bd8c7324d5a064de9abbdbae2a5524eb27b285ae3834bad727df88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a00b1d39c6bd8c7324d5a064de9abbdbae2a5524eb27b285ae3834bad727df88", kill_on_drop: false }` [INFO] [stdout] a00b1d39c6bd8c7324d5a064de9abbdbae2a5524eb27b285ae3834bad727df88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1e1f59a5fc4575021e41ee690414a1e8462b756d3f93b5c43155ab90e307d2c [INFO] running `Command { std: "docker" "start" "-a" "c1e1f59a5fc4575021e41ee690414a1e8462b756d3f93b5c43155ab90e307d2c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling getrandom v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking craftserve v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::login::IncomingTypes::LoginStart` [INFO] [stdout] --> src/login.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::login::IncomingTypes::LoginStart; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/play.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::login::IncomingTypes::LoginStart` [INFO] [stdout] --> src/login.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::login::IncomingTypes::LoginStart; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/play.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/login.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/status.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/play.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `byte` is assigned to, but never used [INFO] [stdout] --> src/api_stream.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | let mut byte = (value & 0b01111111) as u8; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_byte` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `byte` is never read [INFO] [stdout] --> src/api_stream.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | byte |= 0b10000000; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/api_stream.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | Stream::TCP(v) => 0, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/login.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/status.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/play.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/packet.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | fn transmit(&self, stream: &mut Stream) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/handshake.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let packet : Packet = Packet::new(stream); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `byte` is assigned to, but never used [INFO] [stdout] --> src/api_stream.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | let mut byte = (value & 0b01111111) as u8; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_byte` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `byte` is never read [INFO] [stdout] --> src/api_stream.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | byte |= 0b10000000; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/api_stream.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | Stream::TCP(v) => 0, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/status.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let packet : Packet = Packet::new(stream); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/packet.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | fn transmit(&self, stream: &mut Stream) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/handshake.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let packet : Packet = Packet::new(stream); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/login.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let packet : Packet = Packet::new(stream); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/status.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let packet : Packet = Packet::new(stream); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/login.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let packet : Packet = Packet::new(stream); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `address`, and `port` are never read [INFO] [stdout] --> src/handshake.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | struct HandshakeData { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 20 | pub version: i32, // Protocol Version VarInt [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | pub address: String, // Hostname / IP used to connect to server [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | pub port: u16, // Port used to connect to server [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandshakeData` 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/handshake.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_IncomingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/handshake.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_IncomingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/handshake.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_NextState` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/handshake.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_NextState` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/status.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_IncomingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/status.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_IncomingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/status.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OutgoingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/status.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_OutgoingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/login.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_IncomingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/login.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_IncomingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/login.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OutgoingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/login.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_OutgoingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/play.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_IncomingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/play.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_IncomingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/play.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OutgoingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/play.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_OutgoingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `address`, and `port` are never read [INFO] [stdout] --> src/handshake.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | struct HandshakeData { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 20 | pub version: i32, // Protocol Version VarInt [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | pub address: String, // Hostname / IP used to connect to server [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | pub port: u16, // Port used to connect to server [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandshakeData` 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/handshake.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_IncomingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/handshake.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_IncomingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/handshake.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_NextState` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/handshake.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_NextState` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/status.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_IncomingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/status.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_IncomingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/status.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OutgoingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/status.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_OutgoingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/login.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_IncomingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/login.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_IncomingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/login.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OutgoingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/login.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_OutgoingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/play.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_IncomingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/play.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_IncomingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/play.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OutgoingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/play.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_OutgoingTypes` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `craftserve` (bin "craftserve") due to 17 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `craftserve` (bin "craftserve" test) due to 17 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c1e1f59a5fc4575021e41ee690414a1e8462b756d3f93b5c43155ab90e307d2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1e1f59a5fc4575021e41ee690414a1e8462b756d3f93b5c43155ab90e307d2c", kill_on_drop: false }` [INFO] [stdout] c1e1f59a5fc4575021e41ee690414a1e8462b756d3f93b5c43155ab90e307d2c