[INFO] fetching crate kubewatch 0.9.2... [INFO] checking kubewatch-0.9.2 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate kubewatch 0.9.2 into /workspace/builds/worker-0-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-0-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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] cd627eb20b952a71ea94181d949313402bbe4926d58c0cabfc5a8148b004f53a [INFO] running `Command { std: "docker" "start" "-a" "cd627eb20b952a71ea94181d949313402bbe4926d58c0cabfc5a8148b004f53a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd627eb20b952a71ea94181d949313402bbe4926d58c0cabfc5a8148b004f53a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd627eb20b952a71ea94181d949313402bbe4926d58c0cabfc5a8148b004f53a", kill_on_drop: false }` [INFO] [stdout] cd627eb20b952a71ea94181d949313402bbe4926d58c0cabfc5a8148b004f53a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] ba733671dfdec469a145258f7983cb83237839f7084f6884385cf424a81aa8c9 [INFO] running `Command { std: "docker" "start" "-a" "ba733671dfdec469a145258f7983cb83237839f7084f6884385cf424a81aa8c9", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking unicase v1.4.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling serde_derive v0.9.15 [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: 3 warnings emitted [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.00s [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 3` [INFO] running `Command { std: "docker" "inspect" "ba733671dfdec469a145258f7983cb83237839f7084f6884385cf424a81aa8c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba733671dfdec469a145258f7983cb83237839f7084f6884385cf424a81aa8c9", kill_on_drop: false }` [INFO] [stdout] ba733671dfdec469a145258f7983cb83237839f7084f6884385cf424a81aa8c9 [INFO] checking kubewatch-0.9.2 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate kubewatch 0.9.2 into /workspace/builds/worker-0-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-0-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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c507b5afc425bad1129f58955b556237e0858319ed8331f99f00149fa2932fae [INFO] running `Command { std: "docker" "start" "-a" "c507b5afc425bad1129f58955b556237e0858319ed8331f99f00149fa2932fae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c507b5afc425bad1129f58955b556237e0858319ed8331f99f00149fa2932fae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c507b5afc425bad1129f58955b556237e0858319ed8331f99f00149fa2932fae", kill_on_drop: false }` [INFO] [stdout] c507b5afc425bad1129f58955b556237e0858319ed8331f99f00149fa2932fae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] da02a8fe4faad49d808c3673ce8d5d21965eca3d62e6d632dd414a68ad061a06 [INFO] running `Command { std: "docker" "start" "-a" "da02a8fe4faad49d808c3673ce8d5d21965eca3d62e6d632dd414a68ad061a06", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking unicase v1.4.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling serde_derive v0.9.15 [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: 3 warnings emitted [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] 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] [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] --> 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] running `Command { std: "docker" "inspect" "da02a8fe4faad49d808c3673ce8d5d21965eca3d62e6d632dd414a68ad061a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da02a8fe4faad49d808c3673ce8d5d21965eca3d62e6d632dd414a68ad061a06", kill_on_drop: false }` [INFO] [stdout] da02a8fe4faad49d808c3673ce8d5d21965eca3d62e6d632dd414a68ad061a06