[INFO] fetching crate wgconfd 0.3.0... [INFO] checking wgconfd-0.3.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate wgconfd 0.3.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate wgconfd 0.3.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wgconfd 0.3.0 [INFO] finished tweaking crates.io crate wgconfd 0.3.0 [INFO] tweaked toml for crates.io crate wgconfd 0.3.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate wgconfd 0.3.0 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3298d27ec84497e3d560df168406054af44c4c09250fb9030816fb4d8679939d [INFO] running `Command { std: "docker" "start" "-a" "3298d27ec84497e3d560df168406054af44c4c09250fb9030816fb4d8679939d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3298d27ec84497e3d560df168406054af44c4c09250fb9030816fb4d8679939d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3298d27ec84497e3d560df168406054af44c4c09250fb9030816fb4d8679939d", kill_on_drop: false }` [INFO] [stdout] 3298d27ec84497e3d560df168406054af44c4c09250fb9030816fb4d8679939d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd807a86691d77eb25a9edabe179851182e54ac8d6908b40159c2de3c17b182b [INFO] running `Command { std: "docker" "start" "-a" "cd807a86691d77eb25a9edabe179851182e54ac8d6908b40159c2de3c17b182b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking serde_json v1.0.45 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking wgconfd v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/proto.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[serde(from = "ServerRepr", into = "ServerRepr")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ----------------------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/proto.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[serde(from = "ServerRepr", into = "ServerRepr")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ----------------------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [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/config.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(serde_derive::Deserialize)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Source` [INFO] [stdout] 11 | #[serde(deny_unknown_fields)] [INFO] [stdout] 12 | pub struct Source { [INFO] [stdout] | ------ `Source` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/config.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(serde_derive::Deserialize)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Peer` [INFO] [stdout] 25 | #[serde(deny_unknown_fields)] [INFO] [stdout] 26 | pub struct Peer { [INFO] [stdout] | ---- `Peer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/config.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(serde_derive::Deserialize)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] ... [INFO] [stdout] 82 | pub struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/config.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(serde_derive::Deserialize)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ConfigRepr` [INFO] [stdout] 90 | #[serde(deny_unknown_fields)] [INFO] [stdout] 91 | struct ConfigRepr { [INFO] [stdout] | ---------- `ConfigRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/model.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Secret` [INFO] [stdout] 31 | pub struct Secret(PathBuf); [INFO] [stdout] | ------ `Secret` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/model.rs:30:35 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Secret` [INFO] [stdout] 31 | pub struct Secret(PathBuf); [INFO] [stdout] | ------ `Secret` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/model.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Peer` [INFO] [stdout] 198 | pub struct Peer { [INFO] [stdout] | ---- `Peer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/model.rs:197:35 [INFO] [stdout] | [INFO] [stdout] 197 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Peer` [INFO] [stdout] 198 | pub struct Peer { [INFO] [stdout] | ---- `Peer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/model.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Config` [INFO] [stdout] 207 | pub struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/model.rs:206:35 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 207 | pub struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/proto.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Server` [INFO] [stdout] 19 | pub struct Server { [INFO] [stdout] | ------ `Server` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/proto.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Server` [INFO] [stdout] 19 | pub struct Server { [INFO] [stdout] | ------ `Server` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/proto.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ServerRepr` [INFO] [stdout] 25 | #[serde(deny_unknown_fields)] [INFO] [stdout] 26 | struct ServerRepr { [INFO] [stdout] | ---------- `ServerRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/proto.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ServerRepr` [INFO] [stdout] 25 | #[serde(deny_unknown_fields)] [INFO] [stdout] 26 | struct ServerRepr { [INFO] [stdout] | ---------- `ServerRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/proto.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_RoadWarrior` [INFO] [stdout] 80 | #[serde(from = "RoadWarriorRepr", into = "RoadWarriorRepr")] [INFO] [stdout] 81 | pub struct RoadWarrior { [INFO] [stdout] | ----------- `RoadWarrior` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/proto.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RoadWarrior` [INFO] [stdout] 80 | #[serde(from = "RoadWarriorRepr", into = "RoadWarriorRepr")] [INFO] [stdout] 81 | pub struct RoadWarrior { [INFO] [stdout] | ----------- `RoadWarrior` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/proto.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_RoadWarriorRepr` [INFO] [stdout] 87 | #[serde(deny_unknown_fields)] [INFO] [stdout] 88 | pub struct RoadWarriorRepr { [INFO] [stdout] | --------------- `RoadWarriorRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/proto.rs:86:35 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RoadWarriorRepr` [INFO] [stdout] 87 | #[serde(deny_unknown_fields)] [INFO] [stdout] 88 | pub struct RoadWarriorRepr { [INFO] [stdout] | --------------- `RoadWarriorRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/proto.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Source` [INFO] [stdout] 148 | #[serde(from = "SourceRepr", into = "SourceRepr")] [INFO] [stdout] 149 | pub struct Source { [INFO] [stdout] | ------ `Source` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/proto.rs:147:35 [INFO] [stdout] | [INFO] [stdout] 147 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Source` [INFO] [stdout] 148 | #[serde(from = "SourceRepr", into = "SourceRepr")] [INFO] [stdout] 149 | pub struct Source { [INFO] [stdout] | ------ `Source` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/proto.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SourceNextRepr` [INFO] [stdout] 167 | struct SourceNextRepr { [INFO] [stdout] | -------------- `SourceNextRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/proto.rs:166:35 [INFO] [stdout] | [INFO] [stdout] 166 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SourceNextRepr` [INFO] [stdout] 167 | struct SourceNextRepr { [INFO] [stdout] | -------------- `SourceNextRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/proto.rs:176:10 [INFO] [stdout] | [INFO] [stdout] 176 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SourceRepr` [INFO] [stdout] 177 | struct SourceRepr { [INFO] [stdout] | ---------- `SourceRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/proto.rs:176:35 [INFO] [stdout] | [INFO] [stdout] 176 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SourceRepr` [INFO] [stdout] 177 | struct SourceRepr { [INFO] [stdout] | ---------- `SourceRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/config.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(serde_derive::Deserialize)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Source` [INFO] [stdout] 11 | #[serde(deny_unknown_fields)] [INFO] [stdout] 12 | pub struct Source { [INFO] [stdout] | ------ `Source` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [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/config.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(serde_derive::Deserialize)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Peer` [INFO] [stdout] 25 | #[serde(deny_unknown_fields)] [INFO] [stdout] 26 | pub struct Peer { [INFO] [stdout] | ---- `Peer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/config.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(serde_derive::Deserialize)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] ... [INFO] [stdout] 82 | pub struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/config.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(serde_derive::Deserialize)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ConfigRepr` [INFO] [stdout] 90 | #[serde(deny_unknown_fields)] [INFO] [stdout] 91 | struct ConfigRepr { [INFO] [stdout] | ---------- `ConfigRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/model.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Secret` [INFO] [stdout] 31 | pub struct Secret(PathBuf); [INFO] [stdout] | ------ `Secret` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/model.rs:30:35 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Secret` [INFO] [stdout] 31 | pub struct Secret(PathBuf); [INFO] [stdout] | ------ `Secret` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/model.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Peer` [INFO] [stdout] 198 | pub struct Peer { [INFO] [stdout] | ---- `Peer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/model.rs:197:35 [INFO] [stdout] | [INFO] [stdout] 197 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Peer` [INFO] [stdout] 198 | pub struct Peer { [INFO] [stdout] | ---- `Peer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/model.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Config` [INFO] [stdout] 207 | pub struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/model.rs:206:35 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 207 | pub struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/proto.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Server` [INFO] [stdout] 19 | pub struct Server { [INFO] [stdout] | ------ `Server` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/proto.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Server` [INFO] [stdout] 19 | pub struct Server { [INFO] [stdout] | ------ `Server` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/proto.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ServerRepr` [INFO] [stdout] 25 | #[serde(deny_unknown_fields)] [INFO] [stdout] 26 | struct ServerRepr { [INFO] [stdout] | ---------- `ServerRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/proto.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ServerRepr` [INFO] [stdout] 25 | #[serde(deny_unknown_fields)] [INFO] [stdout] 26 | struct ServerRepr { [INFO] [stdout] | ---------- `ServerRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/proto.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_RoadWarrior` [INFO] [stdout] 80 | #[serde(from = "RoadWarriorRepr", into = "RoadWarriorRepr")] [INFO] [stdout] 81 | pub struct RoadWarrior { [INFO] [stdout] | ----------- `RoadWarrior` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/proto.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RoadWarrior` [INFO] [stdout] 80 | #[serde(from = "RoadWarriorRepr", into = "RoadWarriorRepr")] [INFO] [stdout] 81 | pub struct RoadWarrior { [INFO] [stdout] | ----------- `RoadWarrior` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/proto.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_RoadWarriorRepr` [INFO] [stdout] 87 | #[serde(deny_unknown_fields)] [INFO] [stdout] 88 | pub struct RoadWarriorRepr { [INFO] [stdout] | --------------- `RoadWarriorRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/proto.rs:86:35 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RoadWarriorRepr` [INFO] [stdout] 87 | #[serde(deny_unknown_fields)] [INFO] [stdout] 88 | pub struct RoadWarriorRepr { [INFO] [stdout] | --------------- `RoadWarriorRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/proto.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Source` [INFO] [stdout] 148 | #[serde(from = "SourceRepr", into = "SourceRepr")] [INFO] [stdout] 149 | pub struct Source { [INFO] [stdout] | ------ `Source` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/proto.rs:147:35 [INFO] [stdout] | [INFO] [stdout] 147 | #[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Source` [INFO] [stdout] 148 | #[serde(from = "SourceRepr", into = "SourceRepr")] [INFO] [stdout] 149 | pub struct Source { [INFO] [stdout] | ------ `Source` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/proto.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SourceNextRepr` [INFO] [stdout] 167 | struct SourceNextRepr { [INFO] [stdout] | -------------- `SourceNextRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/proto.rs:166:35 [INFO] [stdout] | [INFO] [stdout] 166 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SourceNextRepr` [INFO] [stdout] 167 | struct SourceNextRepr { [INFO] [stdout] | -------------- `SourceNextRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (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/proto.rs:176:10 [INFO] [stdout] | [INFO] [stdout] 176 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SourceRepr` [INFO] [stdout] 177 | struct SourceRepr { [INFO] [stdout] | ---------- `SourceRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (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/proto.rs:176:35 [INFO] [stdout] | [INFO] [stdout] 176 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SourceRepr` [INFO] [stdout] 177 | struct SourceRepr { [INFO] [stdout] | ---------- `SourceRepr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.32s [INFO] running `Command { std: "docker" "inspect" "cd807a86691d77eb25a9edabe179851182e54ac8d6908b40159c2de3c17b182b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd807a86691d77eb25a9edabe179851182e54ac8d6908b40159c2de3c17b182b", kill_on_drop: false }` [INFO] [stdout] cd807a86691d77eb25a9edabe179851182e54ac8d6908b40159c2de3c17b182b