[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] testing skius/headlessmc against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskius%2Fheadlessmc" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/skius/headlessmc on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cbd374fa4e1537395a66ab6f2cbdf71ec4381a4c4c88a83a44fee2405bace98 [INFO] running `Command { std: "docker" "start" "-a" "7cbd374fa4e1537395a66ab6f2cbdf71ec4381a4c4c88a83a44fee2405bace98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cbd374fa4e1537395a66ab6f2cbdf71ec4381a4c4c88a83a44fee2405bace98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cbd374fa4e1537395a66ab6f2cbdf71ec4381a4c4c88a83a44fee2405bace98", kill_on_drop: false }` [INFO] [stdout] 7cbd374fa4e1537395a66ab6f2cbdf71ec4381a4c4c88a83a44fee2405bace98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdf27ea624ca60f62c855d36ad6d6fcc033ff4e84af44799c3ca1d66b5797319 [INFO] running `Command { std: "docker" "start" "-a" "bdf27ea624ca60f62c855d36ad6d6fcc033ff4e84af44799c3ca1d66b5797319", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling miniz_oxide v0.4.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling jsonparse v0.1.0 (https://github.com/skius/jsonparse#069b9757) [INFO] [stderr] Compiling flate2 v1.0.17 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling protocol v3.1.7 [INFO] [stderr] Compiling protocol-derive v3.1.7 [INFO] [stderr] Compiling 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 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/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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.12s [INFO] running `Command { std: "docker" "inspect" "bdf27ea624ca60f62c855d36ad6d6fcc033ff4e84af44799c3ca1d66b5797319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdf27ea624ca60f62c855d36ad6d6fcc033ff4e84af44799c3ca1d66b5797319", kill_on_drop: false }` [INFO] [stdout] bdf27ea624ca60f62c855d36ad6d6fcc033ff4e84af44799c3ca1d66b5797319 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a3992b4579627b194c8ae9191df7ee8f17b9a582cef01c1cd3f926a411b8c6f [INFO] running `Command { std: "docker" "start" "-a" "1a3992b4579627b194c8ae9191df7ee8f17b9a582cef01c1cd3f926a411b8c6f", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling pkg-config v0.3.18 [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: 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/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] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Compiling pancurses v0.16.1 [INFO] [stderr] Compiling headlessmc v0.1.0 (/opt/rustwide/workdir) [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] [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: 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/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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.01s [INFO] running `Command { std: "docker" "inspect" "1a3992b4579627b194c8ae9191df7ee8f17b9a582cef01c1cd3f926a411b8c6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a3992b4579627b194c8ae9191df7ee8f17b9a582cef01c1cd3f926a411b8c6f", kill_on_drop: false }` [INFO] [stdout] 1a3992b4579627b194c8ae9191df7ee8f17b9a582cef01c1cd3f926a411b8c6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d7ecbd8fcdf61ae247c668fb05ba07b921588f7a4c45bdc12f7636774c11ab1b [INFO] running `Command { std: "docker" "start" "-a" "d7ecbd8fcdf61ae247c668fb05ba07b921588f7a4c45bdc12f7636774c11ab1b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::connection::packets::types::*` [INFO] [stderr] --> src/connection/packets/serverbound/status.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::connection::packets::types::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Parcel`, `Settings`, and `hint::Hints` [INFO] [stderr] --> src/connection/packets/clientbound/play.rs:2:16 [INFO] [stderr] | [INFO] [stderr] 2 | use protocol::{Parcel, Settings, hint::Hints}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Read` and `Write` [INFO] [stderr] --> src/connection/packets/clientbound/play.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{Write, Read}; [INFO] [stderr] | ^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `settings` [INFO] [stderr] --> src/connection/packets/types.rs:117:40 [INFO] [stderr] | [INFO] [stderr] 117 | fn read_field(read: &mut dyn Read, settings: &Settings, hints: &mut Hints) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hints` [INFO] [stderr] --> src/connection/packets/types.rs:117:61 [INFO] [stderr] | [INFO] [stderr] 117 | fn read_field(read: &mut dyn Read, settings: &Settings, hints: &mut Hints) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hints` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `settings` [INFO] [stderr] --> src/connection/packets/types.rs:139:50 [INFO] [stderr] | [INFO] [stderr] 139 | fn write_field(&self, write: &mut dyn Write, settings: &Settings, hints: &mut Hints) -> Result<(), protocol::Error> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hints` [INFO] [stderr] --> src/connection/packets/types.rs:139:71 [INFO] [stderr] | [INFO] [stderr] 139 | fn write_field(&self, write: &mut dyn Write, settings: &Settings, hints: &mut Hints) -> Result<(), protocol::Error> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hints` [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/types.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Chat` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Chat` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/serverbound/login.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Data` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/serverbound/login.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Data` is not local [INFO] [stderr] | `Enum` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/serverbound/login.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `LoginStart` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_LoginStart` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/serverbound/play.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Data` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/serverbound/play.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Data` is not local [INFO] [stderr] | `Enum` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/serverbound/play.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `KeepAlive` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_KeepAlive` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/serverbound/play.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `ChatMessage` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_ChatMessage` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/serverbound/status.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Data` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/serverbound/status.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Data` is not local [INFO] [stderr] | `Enum` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/serverbound/status.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Request` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Request` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/serverbound/status.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Ping` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Ping` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/serverbound/handshaking.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Data` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/serverbound/handshaking.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Data` is not local [INFO] [stderr] | `Enum` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/serverbound/handshaking.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Handshake` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Handshake` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/clientbound/status.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Data` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/clientbound/status.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Data` is not local [INFO] [stderr] | `Enum` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/clientbound/status.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `JsonResponse` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_JsonResponse` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/clientbound/status.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Pong` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Pong` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/clientbound/login.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Data` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/clientbound/login.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Data` is not local [INFO] [stderr] | `Enum` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/clientbound/login.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `LoginSuccess` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_LoginSuccess` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/clientbound/login.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `SetCompression` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_SetCompression` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/clientbound/login.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Disconnect` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Disconnect` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/clientbound/play.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Data` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Data` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/clientbound/play.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Data` is not local [INFO] [stderr] | `Enum` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Enum_FOR_Data` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/clientbound/play.rs:131:10 [INFO] [stderr] | [INFO] [stderr] 131 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `KeepAlive` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_KeepAlive` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/clientbound/play.rs:136:10 [INFO] [stderr] | [INFO] [stderr] 136 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `ChatMessage` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_ChatMessage` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/connection/packets/clientbound/play.rs:142:10 [INFO] [stderr] | [INFO] [stderr] 142 | #[derive(Protocol, Clone, Debug, PartialEq)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Disconnect` is not local [INFO] [stderr] | `Parcel` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__impl_protocol___Parcel_FOR_Disconnect` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Protocol` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `headlessmc` (lib) generated 36 warnings (run `cargo fix --lib -p headlessmc` to apply 7 suggestions) [INFO] [stderr] warning: unused import: `serverbound::status::Request as RequestSb` [INFO] [stderr] --> examples/read_write_chat.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use serverbound::status::Request as RequestSb; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serverbound::status::Ping as PingSb` [INFO] [stderr] --> examples/read_write_chat.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use serverbound::status::Ping as PingSb; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> examples/read_write_chat.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | std::io::stdin().read_line(&mut buffer); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 22 | let _ = std::io::stdin().read_line(&mut buffer); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `headlessmc` (example "read_write_chat") generated 3 warnings (run `cargo fix --example "read_write_chat" -p headlessmc` to apply 2 suggestions) [INFO] [stderr] warning: `headlessmc` (lib test) generated 36 warnings (36 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/headlessmc-e79784d2944eaa10) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests headlessmc [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d7ecbd8fcdf61ae247c668fb05ba07b921588f7a4c45bdc12f7636774c11ab1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7ecbd8fcdf61ae247c668fb05ba07b921588f7a4c45bdc12f7636774c11ab1b", kill_on_drop: false }` [INFO] [stdout] d7ecbd8fcdf61ae247c668fb05ba07b921588f7a4c45bdc12f7636774c11ab1b