[INFO] fetching crate shunit 0.2.0... [INFO] building shunit-0.2.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate shunit 0.2.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate shunit 0.2.0 [INFO] finished tweaking crates.io crate shunit 0.2.0 [INFO] tweaked toml for crates.io crate shunit 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate shunit 0.2.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate shunit 0.2.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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-xid v0.2.2 [INFO] [stderr] Downloaded heck v0.4.0 [INFO] [stderr] Downloaded quote v1.0.16 [INFO] [stderr] Downloaded yaserde v0.8.0 [INFO] [stderr] Downloaded heck v0.3.3 [INFO] [stderr] Downloaded once_cell v1.10.0 [INFO] [stderr] Downloaded version_check v0.9.4 [INFO] [stderr] Downloaded redox_syscall v0.2.13 [INFO] [stderr] Downloaded doc-comment v0.3.3 [INFO] [stderr] Downloaded termtree v0.2.4 [INFO] [stderr] Downloaded predicates v2.1.1 [INFO] [stderr] Downloaded anyhow v1.0.56 [INFO] [stderr] Downloaded ansi_term v0.12.1 [INFO] [stderr] Downloaded unicode-segmentation v1.9.0 [INFO] [stderr] Downloaded atty v0.2.14 [INFO] [stderr] Downloaded smallvec v1.8.0 [INFO] [stderr] Downloaded predicates-tree v1.0.5 [INFO] [stderr] Downloaded num-traits v0.2.14 [INFO] [stderr] Downloaded proc-macro-error-attr v1.0.4 [INFO] [stderr] Downloaded ntapi v0.3.7 [INFO] [stderr] Downloaded regex-automata v0.1.10 [INFO] [stderr] Downloaded tokio v1.17.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.34.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.34.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.34.0 [INFO] [stderr] Downloaded mio v0.8.2 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.34.0 [INFO] [stderr] Downloaded bytes v1.1.0 [INFO] [stderr] Downloaded wait-timeout v0.2.0 [INFO] [stderr] Downloaded assert_cmd v2.0.4 [INFO] [stderr] Downloaded structopt-derive v0.4.18 [INFO] [stderr] Downloaded itertools v0.10.3 [INFO] [stderr] Downloaded structopt v0.3.26 [INFO] [stderr] Downloaded memchr v2.4.1 [INFO] [stderr] Downloaded clap v2.34.0 [INFO] [stderr] Downloaded miow v0.3.7 [INFO] [stderr] Downloaded lock_api v0.4.7 [INFO] [stderr] Downloaded parking_lot_core v0.9.2 [INFO] [stderr] Downloaded parking_lot v0.12.0 [INFO] [stderr] Downloaded bstr v0.2.17 [INFO] [stderr] Downloaded pin-project-lite v0.2.8 [INFO] [stderr] Downloaded windows_i686_gnu v0.34.0 [INFO] [stderr] Downloaded signal-hook-registry v1.4.0 [INFO] [stderr] Downloaded socket2 v0.4.4 [INFO] [stderr] Downloaded tokio-stream v0.1.8 [INFO] [stderr] Downloaded difflib v0.4.0 [INFO] [stderr] Downloaded predicates-core v1.0.3 [INFO] [stderr] Downloaded num-integer v0.1.44 [INFO] [stderr] Downloaded strsim v0.8.0 [INFO] [stderr] Downloaded textwrap v0.11.0 [INFO] [stderr] Downloaded unicode-width v0.1.9 [INFO] [stderr] Downloaded vec_map v0.8.2 [INFO] [stderr] Downloaded proc-macro-error v1.0.4 [INFO] [stderr] Downloaded futures-core v0.3.21 [INFO] [stderr] Downloaded hermit-abi v0.1.19 [INFO] [stderr] Downloaded num_cpus v1.13.1 [INFO] [stderr] Downloaded tokio-macros v1.7.0 [INFO] [stderr] Downloaded autocfg v1.1.0 [INFO] [stderr] Downloaded syn v1.0.89 [INFO] [stderr] Downloaded log v0.4.16 [INFO] [stderr] Downloaded xml-rs v0.8.4 [INFO] [stderr] Downloaded yaserde_derive v0.8.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.36 [INFO] [stderr] Downloaded libc v0.2.121 [INFO] [stderr] Downloaded windows-sys v0.34.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a6122666ccff2764c33392f8838f32de3a19439f84336584ac766017b8748a2 [INFO] running `Command { std: "docker" "start" "-a" "3a6122666ccff2764c33392f8838f32de3a19439f84336584ac766017b8748a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a6122666ccff2764c33392f8838f32de3a19439f84336584ac766017b8748a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a6122666ccff2764c33392f8838f32de3a19439f84336584ac766017b8748a2", kill_on_drop: false }` [INFO] [stdout] 3a6122666ccff2764c33392f8838f32de3a19439f84336584ac766017b8748a2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31f543392399cc45c87298ec47cd3875b3ac66b77c034ff956b27a9b7a73c4ed [INFO] running `Command { std: "docker" "start" "-a" "31f543392399cc45c87298ec47cd3875b3ac66b77c034ff956b27a9b7a73c4ed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling yaserde v0.8.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling yaserde_derive v0.8.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling shunit v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Debug, Default, PartialEq, YaDeserialize, YaSerialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `YaDeserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_DESERIALIZE_FOR_Property` [INFO] [stdout] 2 | #[yaserde(rename = "property")] [INFO] [stdout] 3 | pub struct Property { [INFO] [stdout] | -------- `Property` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaDeserialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `YaDeserialize` (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:1:59 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Debug, Default, PartialEq, YaDeserialize, YaSerialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `YaSerialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_SERIALIZE_FOR_Property` [INFO] [stdout] 2 | #[yaserde(rename = "property")] [INFO] [stdout] 3 | pub struct Property { [INFO] [stdout] | -------- `Property` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaSerialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaSerialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaSerialize` (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:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Debug, Default, PartialEq, YaDeserialize, YaSerialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `YaDeserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_DESERIALIZE_FOR_Properties` [INFO] [stdout] 11 | #[yaserde(rename = "properties")] [INFO] [stdout] 12 | pub struct Properties { [INFO] [stdout] | ---------- `Properties` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaDeserialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaDeserialize` (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:10:59 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Debug, Default, PartialEq, YaDeserialize, YaSerialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `YaSerialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_SERIALIZE_FOR_Properties` [INFO] [stdout] 11 | #[yaserde(rename = "properties")] [INFO] [stdout] 12 | pub struct Properties { [INFO] [stdout] | ---------- `Properties` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaSerialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaSerialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaSerialize` (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:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Default, PartialEq, YaDeserialize, YaSerialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `YaDeserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_DESERIALIZE_FOR_TestError` [INFO] [stdout] 18 | pub struct TestError { [INFO] [stdout] | --------- `TestError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaDeserialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaDeserialize` (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:17:59 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Default, PartialEq, YaDeserialize, YaSerialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `YaSerialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_SERIALIZE_FOR_TestError` [INFO] [stdout] 18 | pub struct TestError { [INFO] [stdout] | --------- `TestError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaSerialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaSerialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaSerialize` (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:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Debug, Default, PartialEq, YaDeserialize, YaSerialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `YaDeserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_DESERIALIZE_FOR_TestCase` [INFO] [stdout] 28 | pub struct TestCase { [INFO] [stdout] | -------- `TestCase` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaDeserialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaDeserialize` (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:27:59 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Debug, Default, PartialEq, YaDeserialize, YaSerialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `YaSerialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_SERIALIZE_FOR_TestCase` [INFO] [stdout] 28 | pub struct TestCase { [INFO] [stdout] | -------- `TestCase` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaSerialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaSerialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaSerialize` (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:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone, Debug, Default, PartialEq, YaDeserialize, YaSerialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `YaDeserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_DESERIALIZE_FOR_TestSuite` [INFO] [stdout] 40 | #[yaserde(rename = "testsuite")] [INFO] [stdout] 41 | pub struct TestSuite { [INFO] [stdout] | --------- `TestSuite` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaDeserialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaDeserialize` (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:39:59 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone, Debug, Default, PartialEq, YaDeserialize, YaSerialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `YaSerialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_SERIALIZE_FOR_TestSuite` [INFO] [stdout] 40 | #[yaserde(rename = "testsuite")] [INFO] [stdout] 41 | pub struct TestSuite { [INFO] [stdout] | --------- `TestSuite` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaSerialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaSerialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.36s [INFO] running `Command { std: "docker" "inspect" "31f543392399cc45c87298ec47cd3875b3ac66b77c034ff956b27a9b7a73c4ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31f543392399cc45c87298ec47cd3875b3ac66b77c034ff956b27a9b7a73c4ed", kill_on_drop: false }` [INFO] [stdout] 31f543392399cc45c87298ec47cd3875b3ac66b77c034ff956b27a9b7a73c4ed [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6bf53d1b324d186f87b4b6a7aef32bd4169ede12c6ba5c61b7bdd0101427cbb [INFO] running `Command { std: "docker" "start" "-a" "d6bf53d1b324d186f87b4b6a7aef32bd4169ede12c6ba5c61b7bdd0101427cbb", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling predicates v2.1.1 [INFO] [stderr] Compiling assert_cmd v2.0.4 [INFO] [stderr] Compiling shunit v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/model.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Debug, Default, PartialEq, YaDeserialize, YaSerialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `YaDeserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_DESERIALIZE_FOR_Property` [INFO] [stdout] 2 | #[yaserde(rename = "property")] [INFO] [stdout] 3 | pub struct Property { [INFO] [stdout] | -------- `Property` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaDeserialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `YaDeserialize` (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:1:59 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Debug, Default, PartialEq, YaDeserialize, YaSerialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `YaSerialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_SERIALIZE_FOR_Property` [INFO] [stdout] 2 | #[yaserde(rename = "property")] [INFO] [stdout] 3 | pub struct Property { [INFO] [stdout] | -------- `Property` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaSerialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaSerialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaSerialize` (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:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Debug, Default, PartialEq, YaDeserialize, YaSerialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `YaDeserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_DESERIALIZE_FOR_Properties` [INFO] [stdout] 11 | #[yaserde(rename = "properties")] [INFO] [stdout] 12 | pub struct Properties { [INFO] [stdout] | ---------- `Properties` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaDeserialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaDeserialize` (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:10:59 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Debug, Default, PartialEq, YaDeserialize, YaSerialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `YaSerialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_SERIALIZE_FOR_Properties` [INFO] [stdout] 11 | #[yaserde(rename = "properties")] [INFO] [stdout] 12 | pub struct Properties { [INFO] [stdout] | ---------- `Properties` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaSerialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaSerialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaSerialize` (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:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Default, PartialEq, YaDeserialize, YaSerialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `YaDeserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_DESERIALIZE_FOR_TestError` [INFO] [stdout] 18 | pub struct TestError { [INFO] [stdout] | --------- `TestError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaDeserialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaDeserialize` (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:17:59 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Debug, Default, PartialEq, YaDeserialize, YaSerialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `YaSerialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_SERIALIZE_FOR_TestError` [INFO] [stdout] 18 | pub struct TestError { [INFO] [stdout] | --------- `TestError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaSerialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaSerialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaSerialize` (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:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Debug, Default, PartialEq, YaDeserialize, YaSerialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `YaDeserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_DESERIALIZE_FOR_TestCase` [INFO] [stdout] 28 | pub struct TestCase { [INFO] [stdout] | -------- `TestCase` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaDeserialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaDeserialize` (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:27:59 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Debug, Default, PartialEq, YaDeserialize, YaSerialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `YaSerialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_SERIALIZE_FOR_TestCase` [INFO] [stdout] 28 | pub struct TestCase { [INFO] [stdout] | -------- `TestCase` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaSerialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaSerialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaSerialize` (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:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone, Debug, Default, PartialEq, YaDeserialize, YaSerialize)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `YaDeserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_DESERIALIZE_FOR_TestSuite` [INFO] [stdout] 40 | #[yaserde(rename = "testsuite")] [INFO] [stdout] 41 | pub struct TestSuite { [INFO] [stdout] | --------- `TestSuite` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaDeserialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaDeserialize` (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:39:59 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone, Debug, Default, PartialEq, YaDeserialize, YaSerialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `YaSerialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_YA_SERIALIZE_FOR_TestSuite` [INFO] [stdout] 40 | #[yaserde(rename = "testsuite")] [INFO] [stdout] 41 | pub struct TestSuite { [INFO] [stdout] | --------- `TestSuite` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `YaSerialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `YaSerialize` may come from an old version of the `yaserde_derive` crate, try updating your dependency with `cargo update -p yaserde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `YaSerialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.55s [INFO] running `Command { std: "docker" "inspect" "d6bf53d1b324d186f87b4b6a7aef32bd4169ede12c6ba5c61b7bdd0101427cbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6bf53d1b324d186f87b4b6a7aef32bd4169ede12c6ba5c61b7bdd0101427cbb", kill_on_drop: false }` [INFO] [stdout] d6bf53d1b324d186f87b4b6a7aef32bd4169ede12c6ba5c61b7bdd0101427cbb