[INFO] cloning repository https://github.com/skius/headlessmc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/skius/headlessmc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskius%2Fheadlessmc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskius%2Fheadlessmc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 288869abbe27206703290460993d968ae8e37f6d [INFO] checking skius/headlessmc against try#8384de5d92dd9b1c0b67caa5c1c1b11bf606490f for pr-146300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskius%2Fheadlessmc" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/skius/headlessmc [INFO] finished tweaking git repo https://github.com/skius/headlessmc [INFO] tweaked toml for git repo https://github.com/skius/headlessmc written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/skius/headlessmc on toolchain 8384de5d92dd9b1c0b67caa5c1c1b11bf606490f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/skius/headlessmc 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" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/skius/jsonparse` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniz_oxide v0.4.1 [INFO] [stderr] Downloaded pancurses v0.16.1 [INFO] [stderr] Downloaded ncurses v5.99.0 [INFO] [stderr] Downloaded protocol-derive v3.1.7 [INFO] [stderr] Downloaded protocol v3.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9287781c257560915552d149ed3d6a8899e8c38611278eb7ed2bdec21d37778 [INFO] running `Command { std: "docker" "start" "-a" "b9287781c257560915552d149ed3d6a8899e8c38611278eb7ed2bdec21d37778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9287781c257560915552d149ed3d6a8899e8c38611278eb7ed2bdec21d37778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9287781c257560915552d149ed3d6a8899e8c38611278eb7ed2bdec21d37778", kill_on_drop: false }` [INFO] [stdout] b9287781c257560915552d149ed3d6a8899e8c38611278eb7ed2bdec21d37778 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f1ab60447af48edf21c503e44d10eb6808bc5e4dd1b8d0e4e9abd7e9c692511 [INFO] running `Command { std: "docker" "start" "-a" "6f1ab60447af48edf21c503e44d10eb6808bc5e4dd1b8d0e4e9abd7e9c692511", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking miniz_oxide v0.4.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking jsonparse v0.1.0 (https://github.com/skius/jsonparse#069b9757) [INFO] [stderr] Compiling protocol-derive v3.1.7 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Checking flate2 v1.0.17 [INFO] [stderr] Checking pancurses v0.16.1 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking protocol v3.1.7 [INFO] [stderr] Checking headlessmc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::connection::packets::types::*` [INFO] [stdout] --> src/connection/packets/serverbound/status.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::connection::packets::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Parcel`, `Settings`, and `hint::Hints` [INFO] [stdout] --> src/connection/packets/clientbound/play.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use protocol::{Parcel, Settings, hint::Hints}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/connection/packets/clientbound/play.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Write, Read}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::connection::packets::types::*` [INFO] [stdout] --> src/connection/packets/serverbound/status.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::connection::packets::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Parcel`, `Settings`, and `hint::Hints` [INFO] [stdout] --> src/connection/packets/clientbound/play.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use protocol::{Parcel, Settings, hint::Hints}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/connection/packets/clientbound/play.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Write, Read}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/connection/packets/types.rs:117:40 [INFO] [stdout] | [INFO] [stdout] 117 | fn read_field(read: &mut dyn Read, settings: &Settings, hints: &mut Hints) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hints` [INFO] [stdout] --> src/connection/packets/types.rs:117:61 [INFO] [stdout] | [INFO] [stdout] 117 | fn read_field(read: &mut dyn Read, settings: &Settings, hints: &mut Hints) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/connection/packets/types.rs:139:50 [INFO] [stdout] | [INFO] [stdout] 139 | fn write_field(&self, write: &mut dyn Write, settings: &Settings, hints: &mut Hints) -> Result<(), protocol::Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hints` [INFO] [stdout] --> src/connection/packets/types.rs:139:71 [INFO] [stdout] | [INFO] [stdout] 139 | fn write_field(&self, write: &mut dyn Write, settings: &Settings, hints: &mut Hints) -> Result<(), protocol::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/connection/packets/types.rs:117:40 [INFO] [stdout] | [INFO] [stdout] 117 | fn read_field(read: &mut dyn Read, settings: &Settings, hints: &mut Hints) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hints` [INFO] [stdout] --> src/connection/packets/types.rs:117:61 [INFO] [stdout] | [INFO] [stdout] 117 | fn read_field(read: &mut dyn Read, settings: &Settings, hints: &mut Hints) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/connection/packets/types.rs:139:50 [INFO] [stdout] | [INFO] [stdout] 139 | fn write_field(&self, write: &mut dyn Write, settings: &Settings, hints: &mut Hints) -> Result<(), protocol::Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hints` [INFO] [stdout] --> src/connection/packets/types.rs:139:71 [INFO] [stdout] | [INFO] [stdout] 139 | fn write_field(&self, write: &mut dyn Write, settings: &Settings, hints: &mut Hints) -> Result<(), protocol::Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/types.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Chat` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Chat` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/login.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/login.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Enum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/login.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `LoginStart` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_LoginStart` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/play.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/play.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Enum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/play.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `KeepAlive` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_KeepAlive` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/play.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ChatMessage` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_ChatMessage` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/status.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/status.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Enum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/status.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Request` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Request` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/status.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Ping` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Ping` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/handshaking.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/handshaking.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Enum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/handshaking.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Handshake` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Handshake` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/status.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/status.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Enum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/status.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `JsonResponse` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_JsonResponse` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/status.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Pong` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Pong` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/login.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/types.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Chat` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Chat` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/login.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Enum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/login.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `LoginSuccess` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_LoginSuccess` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/login.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/login.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SetCompression` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_SetCompression` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/login.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Enum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/login.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Disconnect` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Disconnect` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/play.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/login.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `LoginStart` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_LoginStart` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/play.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/play.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Enum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/play.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Enum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/play.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `KeepAlive` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_KeepAlive` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/play.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `KeepAlive` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_KeepAlive` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/play.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ChatMessage` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_ChatMessage` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/play.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ChatMessage` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_ChatMessage` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/status.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/play.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Disconnect` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Disconnect` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/status.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Enum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/status.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Request` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Request` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/status.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Ping` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Ping` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/handshaking.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/handshaking.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Enum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/serverbound/handshaking.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Handshake` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Handshake` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/status.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/status.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Enum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/status.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `JsonResponse` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_JsonResponse` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/status.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Pong` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Pong` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/login.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/login.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Enum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/login.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `LoginSuccess` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_LoginSuccess` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/login.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SetCompression` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_SetCompression` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/login.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Disconnect` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Disconnect` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/play.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/play.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | `Enum` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/play.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `KeepAlive` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_KeepAlive` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/play.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ChatMessage` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_ChatMessage` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection/packets/clientbound/play.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Disconnect` is not local [INFO] [stdout] | `Parcel` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Disconnect` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Protocol` may come from an old version of the `protocol_derive` crate, try updating your dependency with `cargo update -p protocol_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serverbound::status::Request as RequestSb` [INFO] [stdout] --> examples/read_write_chat.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serverbound::status::Request as RequestSb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serverbound::status::Ping as PingSb` [INFO] [stdout] --> examples/read_write_chat.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serverbound::status::Ping as PingSb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/read_write_chat.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | std::io::stdin().read_line(&mut buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | let _ = std::io::stdin().read_line(&mut buffer); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.03s [INFO] running `Command { std: "docker" "inspect" "6f1ab60447af48edf21c503e44d10eb6808bc5e4dd1b8d0e4e9abd7e9c692511", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f1ab60447af48edf21c503e44d10eb6808bc5e4dd1b8d0e4e9abd7e9c692511", kill_on_drop: false }` [INFO] [stdout] 6f1ab60447af48edf21c503e44d10eb6808bc5e4dd1b8d0e4e9abd7e9c692511