[INFO] fetching crate veriform 0.2.0... [INFO] building veriform-0.2.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate veriform 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate veriform 0.2.0 [INFO] finished tweaking crates.io crate veriform 0.2.0 [INFO] tweaked toml for crates.io crate veriform 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate veriform 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] [stderr] Adding digest v0.8.1 (available: v0.10.7) [INFO] [stderr] Adding displaydoc v0.1.7 (available: v0.2.5) [INFO] [stderr] Adding heapless v0.5.6 (available: v0.9.1) [INFO] [stderr] Adding sha2 v0.8.2 (available: v0.10.9) [INFO] [stderr] Adding tai64 v3.1.0 (available: v4.1.0) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.18.1) [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] Downloading crates ... [INFO] [stderr] Downloaded tai64 v3.1.0 [INFO] [stderr] Downloaded heapless v0.5.6 [INFO] [stderr] Downloaded displaydoc v0.1.7 [INFO] [stderr] Downloaded veriform_derive v0.2.0 [INFO] [stderr] Downloaded vint64 v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 66a968c61ee8efb240e443d699e1b9fa0eede390b5a8eb39ce57415dc74cdd20 [INFO] running `Command { std: "docker" "start" "-a" "66a968c61ee8efb240e443d699e1b9fa0eede390b5a8eb39ce57415dc74cdd20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66a968c61ee8efb240e443d699e1b9fa0eede390b5a8eb39ce57415dc74cdd20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66a968c61ee8efb240e443d699e1b9fa0eede390b5a8eb39ce57415dc74cdd20", kill_on_drop: false }` [INFO] [stdout] 66a968c61ee8efb240e443d699e1b9fa0eede390b5a8eb39ce57415dc74cdd20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 5fbcce5b0f214755d26299df69f390a3305ce311bb9ef27742b1b4bb06401375 [INFO] running `Command { std: "docker" "start" "-a" "5fbcce5b0f214755d26299df69f390a3305ce311bb9ef27742b1b4bb06401375", kill_on_drop: false }` [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling tai64 v3.1.0 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling vint64 v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling veriform_derive v0.2.0 [INFO] [stderr] Compiling veriform v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | intra_doc_link_resolution_failure [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/decoder/sequence/decoder.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | #[cfg(all(test, features = "sha2"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 172 - #[cfg(all(test, features = "sha2"))] [INFO] [stdout] 172 + #[cfg(all(test, feature = "sha2"))] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/lib.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | pub type Decoder = crate::decoder::Decoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 72 - pub type Decoder = crate::decoder::Decoder; [INFO] [stdout] 72 + pub type Decoder = decoder::Decoder; [INFO] [stdout] | [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/error.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Copy, Clone, Debug, Display, Eq, PartialEq)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Kind` [INFO] [stdout] 74 | pub enum Kind { [INFO] [stdout] | ---- `Kind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `Display` (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 12.07s [INFO] running `Command { std: "docker" "inspect" "5fbcce5b0f214755d26299df69f390a3305ce311bb9ef27742b1b4bb06401375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fbcce5b0f214755d26299df69f390a3305ce311bb9ef27742b1b4bb06401375", kill_on_drop: false }` [INFO] [stdout] 5fbcce5b0f214755d26299df69f390a3305ce311bb9ef27742b1b4bb06401375 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 63eef26f3fd8fda0b672854e02eaf4d679787805c2adf0302f220315804d41e1 [INFO] running `Command { std: "docker" "start" "-a" "63eef26f3fd8fda0b672854e02eaf4d679787805c2adf0302f220315804d41e1", kill_on_drop: false }` [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | intra_doc_link_resolution_failure [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/decoder/sequence/decoder.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | #[cfg(all(test, features = "sha2"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 172 - #[cfg(all(test, features = "sha2"))] [INFO] [stdout] 172 + #[cfg(all(test, feature = "sha2"))] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/lib.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | pub type Decoder = crate::decoder::Decoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 72 - pub type Decoder = crate::decoder::Decoder; [INFO] [stdout] 72 + pub type Decoder = decoder::Decoder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling veriform 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/error.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Copy, Clone, Debug, Display, Eq, PartialEq)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Kind` [INFO] [stdout] 74 | pub enum Kind { [INFO] [stdout] | ---- `Kind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | intra_doc_link_resolution_failure [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/decoder/sequence/decoder.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | #[cfg(all(test, features = "sha2"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 172 - #[cfg(all(test, features = "sha2"))] [INFO] [stdout] 172 + #[cfg(all(test, feature = "sha2"))] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/lib.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | pub type Decoder = crate::decoder::Decoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 72 - pub type Decoder = crate::decoder::Decoder; [INFO] [stdout] 72 + pub type Decoder = decoder::Decoder; [INFO] [stdout] | [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] --> tests/derive.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Message, Debug, Eq, PartialEq)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Message` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Message_FOR_EmptyStruct` [INFO] [stdout] 22 | pub struct EmptyStruct {} [INFO] [stdout] | ----------- `EmptyStruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Message` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Message` may come from an old version of the `veriform_derive` crate, try updating your dependency with `cargo update -p veriform_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 `Message` (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] --> tests/derive.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Message, Debug, Eq, PartialEq)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Message` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Message_FOR_ExampleEnum` [INFO] [stdout] 25 | pub enum ExampleEnum { [INFO] [stdout] | ----------- `ExampleEnum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Message` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Message` may come from an old version of the `veriform_derive` crate, try updating your dependency with `cargo update -p veriform_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 `Message` (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] --> tests/derive.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Message, Debug, Eq, PartialEq)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Message` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Message_FOR_ExampleStruct` [INFO] [stdout] 57 | pub struct ExampleStruct { [INFO] [stdout] | ------------- `ExampleStruct` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Message` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Message` may come from an old version of the `veriform_derive` crate, try updating your dependency with `cargo update -p veriform_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 `Message` (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/error.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Copy, Clone, Debug, Display, Eq, PartialEq)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Kind` [INFO] [stdout] 74 | pub enum Kind { [INFO] [stdout] | ---- `Kind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [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 `Display` (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 1.28s [INFO] running `Command { std: "docker" "inspect" "63eef26f3fd8fda0b672854e02eaf4d679787805c2adf0302f220315804d41e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63eef26f3fd8fda0b672854e02eaf4d679787805c2adf0302f220315804d41e1", kill_on_drop: false }` [INFO] [stdout] 63eef26f3fd8fda0b672854e02eaf4d679787805c2adf0302f220315804d41e1