[INFO] cloning repository https://github.com/garritfra/wireguard-manager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/garritfra/wireguard-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarritfra%2Fwireguard-manager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarritfra%2Fwireguard-manager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1c2a9d20e0626068a3cbec5ba6b25a5067199a3 [INFO] checking garritfra/wireguard-manager against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarritfra%2Fwireguard-manager" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/garritfra/wireguard-manager on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/garritfra/wireguard-manager [INFO] finished tweaking git repo https://github.com/garritfra/wireguard-manager [INFO] tweaked toml for git repo https://github.com/garritfra/wireguard-manager written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/garritfra/wireguard-manager already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 910bd85282548a977f9cf8856f3c1cb30fd3104779c1ced97d96f2b6939e4fed [INFO] running `Command { std: "docker" "start" "-a" "910bd85282548a977f9cf8856f3c1cb30fd3104779c1ced97d96f2b6939e4fed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "910bd85282548a977f9cf8856f3c1cb30fd3104779c1ced97d96f2b6939e4fed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "910bd85282548a977f9cf8856f3c1cb30fd3104779c1ced97d96f2b6939e4fed", kill_on_drop: false }` [INFO] [stdout] 910bd85282548a977f9cf8856f3c1cb30fd3104779c1ced97d96f2b6939e4fed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2737b91b9ea8adadfecf67fae3be2c3181cbe93bcacffa8b5ebbdfca1c9bcc04 [INFO] running `Command { std: "docker" "start" "-a" "2737b91b9ea8adadfecf67fae3be2c3181cbe93bcacffa8b5ebbdfca1c9bcc04", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking serde v1.0.106 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking wireguard-manager v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/interface.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Interface<'a> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parser/parser.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse(path: &Path) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_named` and `new` are never used [INFO] [stdout] --> src/peer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a> Peer<'a> { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 11 | pub fn new_named(name: &'a str, public_key: [u8; 32], allowed_ips: &'a str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn new(public_key: [u8; 32], allowed_ips: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/interface.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Interface<'a> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parser/parser.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse(path: &Path) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_named` and `new` are never used [INFO] [stdout] --> src/peer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a> Peer<'a> { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 11 | pub fn new_named(name: &'a str, public_key: [u8; 32], allowed_ips: &'a str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn new(public_key: [u8; 32], allowed_ips: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.72s [INFO] running `Command { std: "docker" "inspect" "2737b91b9ea8adadfecf67fae3be2c3181cbe93bcacffa8b5ebbdfca1c9bcc04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2737b91b9ea8adadfecf67fae3be2c3181cbe93bcacffa8b5ebbdfca1c9bcc04", kill_on_drop: false }` [INFO] [stdout] 2737b91b9ea8adadfecf67fae3be2c3181cbe93bcacffa8b5ebbdfca1c9bcc04 [INFO] checking garritfra/wireguard-manager against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarritfra%2Fwireguard-manager" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/garritfra/wireguard-manager on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/garritfra/wireguard-manager [INFO] finished tweaking git repo https://github.com/garritfra/wireguard-manager [INFO] tweaked toml for git repo https://github.com/garritfra/wireguard-manager written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/garritfra/wireguard-manager already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49497ac7b91318962464895c505bf5d85af4644f853d8804e22c55e52f153a1e [INFO] running `Command { std: "docker" "start" "-a" "49497ac7b91318962464895c505bf5d85af4644f853d8804e22c55e52f153a1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49497ac7b91318962464895c505bf5d85af4644f853d8804e22c55e52f153a1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49497ac7b91318962464895c505bf5d85af4644f853d8804e22c55e52f153a1e", kill_on_drop: false }` [INFO] [stdout] 49497ac7b91318962464895c505bf5d85af4644f853d8804e22c55e52f153a1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 191733b9c1c02c85cf06652f4db5e97c37a33b14db97e4ddc9defde83d6684cd [INFO] running `Command { std: "docker" "start" "-a" "191733b9c1c02c85cf06652f4db5e97c37a33b14db97e4ddc9defde83d6684cd", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking serde v1.0.106 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking wireguard-manager v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/interface.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Interface<'a> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parser/parser.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse(path: &Path) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_named` and `new` are never used [INFO] [stdout] --> src/peer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a> Peer<'a> { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 11 | pub fn new_named(name: &'a str, public_key: [u8; 32], allowed_ips: &'a str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn new(public_key: [u8; 32], allowed_ips: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/interface.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Interface` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/interface.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Interface<'a> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/interface.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Interface` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parser/parser.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse(path: &Path) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_named` and `new` are never used [INFO] [stdout] --> src/peer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a> Peer<'a> { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 11 | pub fn new_named(name: &'a str, public_key: [u8; 32], allowed_ips: &'a str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn new(public_key: [u8; 32], allowed_ips: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/peer.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Peer` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/peer.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Peer` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/interface.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Interface` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/interface.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Interface` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/peer.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Peer` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/peer.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Peer` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wireguard-manager` (bin "wireguard-manager" test) due to 5 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wireguard-manager` (bin "wireguard-manager") due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "191733b9c1c02c85cf06652f4db5e97c37a33b14db97e4ddc9defde83d6684cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "191733b9c1c02c85cf06652f4db5e97c37a33b14db97e4ddc9defde83d6684cd", kill_on_drop: false }` [INFO] [stdout] 191733b9c1c02c85cf06652f4db5e97c37a33b14db97e4ddc9defde83d6684cd