[INFO] fetching crate shunit 0.2.0... [INFO] checking shunit-0.2.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate shunit 0.2.0 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate shunit 0.2.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d473de3b50e1e7f68fd2b63a3796530931bcd0e6e64ff91f19557d748d211d3 [INFO] running `Command { std: "docker" "start" "-a" "3d473de3b50e1e7f68fd2b63a3796530931bcd0e6e64ff91f19557d748d211d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d473de3b50e1e7f68fd2b63a3796530931bcd0e6e64ff91f19557d748d211d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d473de3b50e1e7f68fd2b63a3796530931bcd0e6e64ff91f19557d748d211d3", kill_on_drop: false }` [INFO] [stdout] 3d473de3b50e1e7f68fd2b63a3796530931bcd0e6e64ff91f19557d748d211d3 [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02037edcee050b2cd93417217e4f5a7337bb1f505b261691e9c31cf89993e270 [INFO] running `Command { std: "docker" "start" "-a" "02037edcee050b2cd93417217e4f5a7337bb1f505b261691e9c31cf89993e270", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking predicates v2.1.1 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking yaserde v0.8.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking assert_cmd v2.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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] Checking tokio v1.17.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking 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] [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 14.57s [INFO] running `Command { std: "docker" "inspect" "02037edcee050b2cd93417217e4f5a7337bb1f505b261691e9c31cf89993e270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02037edcee050b2cd93417217e4f5a7337bb1f505b261691e9c31cf89993e270", kill_on_drop: false }` [INFO] [stdout] 02037edcee050b2cd93417217e4f5a7337bb1f505b261691e9c31cf89993e270