[INFO] fetching crate kubewatch 0.9.2... [INFO] checking kubewatch-0.9.2 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate kubewatch 0.9.2 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate kubewatch 0.9.2 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 crates.io crate kubewatch 0.9.2 [INFO] finished tweaking crates.io crate kubewatch 0.9.2 [INFO] tweaked toml for crates.io crate kubewatch 0.9.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v0.9.15 [INFO] [stderr] Downloaded serde_json v0.9.10 [INFO] [stderr] Downloaded unicode-xid v0.0.4 [INFO] [stderr] Downloaded num-traits v0.1.43 [INFO] [stderr] Downloaded syn v0.11.11 [INFO] [stderr] Downloaded unicase v1.4.2 [INFO] [stderr] Downloaded quote v0.3.15 [INFO] [stderr] Downloaded dtoa v0.4.8 [INFO] [stderr] Downloaded safemem v0.3.3 [INFO] [stderr] Downloaded traitobject v0.1.0 [INFO] [stderr] Downloaded synom v0.11.3 [INFO] [stderr] Downloaded serde_derive v0.9.15 [INFO] [stderr] Downloaded matches v0.1.10 [INFO] [stderr] Downloaded serde_codegen_internals v0.14.2 [INFO] [stderr] Downloaded url v1.7.2 [INFO] [stderr] Downloaded base64 v0.9.3 [INFO] [stderr] Downloaded percent-encoding v1.0.1 [INFO] [stderr] Downloaded mime v0.2.6 [INFO] [stderr] Downloaded hyper v0.10.16 [INFO] [stderr] Downloaded idna v0.1.5 [INFO] [stderr] Downloaded itoa v0.3.4 [INFO] [stderr] Downloaded typeable v0.1.2 [INFO] [stderr] Downloaded language-tags v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 74357014d55b24116cc06d346deb2f1e2ac68e30561e9322971c64d9da8f980f [INFO] running `Command { std: "docker" "start" "-a" "74357014d55b24116cc06d346deb2f1e2ac68e30561e9322971c64d9da8f980f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74357014d55b24116cc06d346deb2f1e2ac68e30561e9322971c64d9da8f980f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74357014d55b24116cc06d346deb2f1e2ac68e30561e9322971c64d9da8f980f", kill_on_drop: false }` [INFO] [stdout] 74357014d55b24116cc06d346deb2f1e2ac68e30561e9322971c64d9da8f980f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6f98da1cbb7cb87117f20bfdce351c34ee6b73b16692046bc57e363889c47d03 [INFO] running `Command { std: "docker" "start" "-a" "6f98da1cbb7cb87117f20bfdce351c34ee6b73b16692046bc57e363889c47d03", kill_on_drop: false }` [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking serde_json v0.9.10 [INFO] [stderr] Checking kubewatch v0.9.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let url = try!(hyper::Url::parse(host).map_err(Error::InvalidUrl)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let url = try!(self.host.join(path).map_err(Error::InvalidUrl)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | let bytes = try!(self.get(&path)).bytes(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let url = try!(hyper::Url::parse(host).map_err(Error::InvalidUrl)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let url = try!(self.host.join(path).map_err(Error::InvalidUrl)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | let bytes = try!(self.get(&path)).bytes(); [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 2.99s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6f98da1cbb7cb87117f20bfdce351c34ee6b73b16692046bc57e363889c47d03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f98da1cbb7cb87117f20bfdce351c34ee6b73b16692046bc57e363889c47d03", kill_on_drop: false }` [INFO] [stdout] 6f98da1cbb7cb87117f20bfdce351c34ee6b73b16692046bc57e363889c47d03 [INFO] checking kubewatch-0.9.2 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate kubewatch 0.9.2 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate kubewatch 0.9.2 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 crates.io crate kubewatch 0.9.2 [INFO] finished tweaking crates.io crate kubewatch 0.9.2 [INFO] tweaked toml for crates.io crate kubewatch 0.9.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] cb5cfac28e380abe4f525ca8aed57b6dbeb225073d6b1af74bbd5d70bbfa2c45 [INFO] running `Command { std: "docker" "start" "-a" "cb5cfac28e380abe4f525ca8aed57b6dbeb225073d6b1af74bbd5d70bbfa2c45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb5cfac28e380abe4f525ca8aed57b6dbeb225073d6b1af74bbd5d70bbfa2c45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb5cfac28e380abe4f525ca8aed57b6dbeb225073d6b1af74bbd5d70bbfa2c45", kill_on_drop: false }` [INFO] [stdout] cb5cfac28e380abe4f525ca8aed57b6dbeb225073d6b1af74bbd5d70bbfa2c45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 3af0e1652e700f709d83ce4a0a2722c3d1d7893606bb38033c1df3dbae6e451a [INFO] running `Command { std: "docker" "start" "-a" "3af0e1652e700f709d83ce4a0a2722c3d1d7893606bb38033c1df3dbae6e451a", kill_on_drop: false }` [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking serde_json v0.9.10 [INFO] [stderr] Checking kubewatch v0.9.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let url = try!(hyper::Url::parse(host).map_err(Error::InvalidUrl)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let url = try!(self.host.join(path).map_err(Error::InvalidUrl)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | let bytes = try!(self.get(&path)).bytes(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let url = try!(hyper::Url::parse(host).map_err(Error::InvalidUrl)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | let url = try!(self.host.join(path).map_err(Error::InvalidUrl)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | let bytes = try!(self.get(&path)).bytes(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | #[derive(Deserialize, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Point` [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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kubewatch` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> examples/watch_pods_with_static_deserialization.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Event` [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 `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] --> examples/watch_pods_with_static_deserialization.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Object` [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] --> examples/watch_pods_with_static_deserialization.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Metadata` [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kubewatch` (example "watch_pods_with_static_deserialization") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "3af0e1652e700f709d83ce4a0a2722c3d1d7893606bb38033c1df3dbae6e451a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3af0e1652e700f709d83ce4a0a2722c3d1d7893606bb38033c1df3dbae6e451a", kill_on_drop: false }` [INFO] [stdout] 3af0e1652e700f709d83ce4a0a2722c3d1d7893606bb38033c1df3dbae6e451a