[INFO] fetching crate exonum-keys 1.0.0... [INFO] checking exonum-keys-1.0.0 against master#a3f76a26e045a760bb1163b7eab36872985242d5 for pr-130930 [INFO] extracting crate exonum-keys 1.0.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate exonum-keys 1.0.0 on toolchain a3f76a26e045a760bb1163b7eab36872985242d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate exonum-keys 1.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate exonum-keys 1.0.0 [INFO] tweaked toml for crates.io crate exonum-keys 1.0.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate exonum-keys 1.0.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" "+a3f76a26e045a760bb1163b7eab36872985242d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded version_check v0.9.1 [INFO] [stderr] Downloaded remove_dir_all v0.5.2 [INFO] [stderr] Downloaded serde v1.0.105 [INFO] [stderr] Downloaded darling_macro v0.10.2 [INFO] [stderr] Downloaded syn-mid v0.5.0 [INFO] [stderr] Downloaded exonum-proto v1.0.0 [INFO] [stderr] Downloaded autocfg v1.0.0 [INFO] [stderr] Downloaded base64 v0.12.0 [INFO] [stderr] Downloaded strsim v0.9.3 [INFO] [stderr] Downloaded base64-serde v0.5.0 [INFO] [stderr] Downloaded exonum-build v1.0.0 [INFO] [stderr] Downloaded num-traits v0.2.11 [INFO] [stderr] Downloaded flate2 v1.0.14 [INFO] [stderr] Downloaded clap v2.33.0 [INFO] [stderr] Downloaded protobuf v2.12.0 [INFO] [stderr] Downloaded exonum-derive v1.0.0 [INFO] [stderr] Downloaded unicode-segmentation v1.6.0 [INFO] [stderr] Downloaded hermit-abi v0.1.10 [INFO] [stderr] Downloaded num-integer v0.1.42 [INFO] [stderr] Downloaded chrono v0.4.11 [INFO] [stderr] Downloaded libc v0.2.68 [INFO] [stderr] Downloaded winapi-util v0.1.4 [INFO] [stderr] Downloaded tempfile v3.1.0 [INFO] [stderr] Downloaded protobuf-convert v0.4.0 [INFO] [stderr] Downloaded bzip2-sys v0.1.8+1.0.8 [INFO] [stderr] Downloaded anyhow v1.0.28 [INFO] [stderr] Downloaded tar v0.4.26 [INFO] [stderr] Downloaded bzip2 v0.3.3 [INFO] [stderr] Downloaded zip v0.5.5 [INFO] [stderr] Downloaded pwbox v0.3.0 [INFO] [stderr] Downloaded cc v1.0.50 [INFO] [stderr] Downloaded heck v0.3.1 [INFO] [stderr] Downloaded darling v0.10.2 [INFO] [stderr] Downloaded filetime v0.2.8 [INFO] [stderr] Downloaded adler32 v1.0.4 [INFO] [stderr] Downloaded hex v0.4.2 [INFO] [stderr] Downloaded hex-buffer-serde v0.2.1 [INFO] [stderr] Downloaded byteorder v1.3.4 [INFO] [stderr] Downloaded getrandom v0.1.14 [INFO] [stderr] Downloaded serde_derive v1.0.105 [INFO] [stderr] Downloaded itoa v0.4.5 [INFO] [stderr] Downloaded ryu v1.0.3 [INFO] [stderr] Downloaded serde_json v1.0.50 [INFO] [stderr] Downloaded proc-macro-error-attr v0.4.12 [INFO] [stderr] Downloaded toml v0.5.6 [INFO] [stderr] Downloaded bit-vec v0.6.1 [INFO] [stderr] Downloaded darling_core v0.10.2 [INFO] [stderr] Downloaded crc32fast v1.2.0 [INFO] [stderr] Downloaded exonum_libsodium-sys v0.0.23 [INFO] [stderr] Downloaded unicode-width v0.1.7 [INFO] [stderr] Downloaded structopt v0.3.12 [INFO] [stderr] Downloaded walkdir v2.3.1 [INFO] [stderr] Downloaded fnv v1.0.6 [INFO] [stderr] Downloaded podio v0.1.6 [INFO] [stderr] Downloaded exonum_sodiumoxide v0.0.23 [INFO] [stderr] Downloaded secret-tree v0.2.0 [INFO] [stderr] Downloaded protobuf-codegen v2.12.0 [INFO] [stderr] Downloaded smallvec v0.6.13 [INFO] [stderr] Downloaded miniz_oxide v0.3.6 [INFO] [stderr] Downloaded structopt-derive v0.4.5 [INFO] [stderr] Downloaded protoc v2.12.0 [INFO] [stderr] Downloaded protoc-rust v2.12.0 [INFO] [stderr] Downloaded exonum-crypto v1.0.0 [INFO] [stderr] Downloaded num_cpus v1.12.0 [INFO] [stderr] Downloaded xattr v0.2.2 [INFO] [stderr] Downloaded blake2-rfc v0.2.18 [INFO] [stderr] Downloaded jobserver v0.1.21 [INFO] [stderr] Downloaded clear_on_drop v0.2.3 [INFO] [stderr] Downloaded proc-macro-error v0.4.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2dc4594688acefa6521436839b7f3baee7fc6b4651db290a0d388efb738029b [INFO] running `Command { std: "docker" "start" "-a" "c2dc4594688acefa6521436839b7f3baee7fc6b4651db290a0d388efb738029b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2dc4594688acefa6521436839b7f3baee7fc6b4651db290a0d388efb738029b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2dc4594688acefa6521436839b7f3baee7fc6b4651db290a0d388efb738029b", kill_on_drop: false }` [INFO] [stdout] c2dc4594688acefa6521436839b7f3baee7fc6b4651db290a0d388efb738029b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5307d776a4bc5fe69497b6dc01d597f4ea6bcaf16390b4222ee6402ac3319b34 [INFO] running `Command { std: "docker" "start" "-a" "5307d776a4bc5fe69497b6dc01d597f4ea6bcaf16390b4222ee6402ac3319b34", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling protobuf v2.12.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling protoc v2.12.0 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling filetime v0.2.8 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling bzip2-sys v0.1.8+1.0.8 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking base64 v0.12.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking base64-serde v0.5.0 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking bit-vec v0.6.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking serde_json v1.0.50 [INFO] [stderr] Checking hex-buffer-serde v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Checking secret-tree v0.2.0 [INFO] [stderr] Compiling zip v0.5.5 [INFO] [stderr] Compiling exonum_libsodium-sys v0.0.23 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Checking exonum_sodiumoxide v0.0.23 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling structopt-derive v0.4.5 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Checking structopt v0.3.12 [INFO] [stderr] Compiling exonum-derive v1.0.0 [INFO] [stderr] Checking pwbox v0.3.0 [INFO] [stderr] Compiling protobuf-codegen v2.12.0 [INFO] [stderr] Compiling protoc-rust v2.12.0 [INFO] [stderr] Compiling exonum-build v1.0.0 [INFO] [stderr] Compiling protobuf-convert v0.4.0 [INFO] [stderr] Compiling exonum-proto v1.0.0 [INFO] [stderr] Compiling exonum-crypto v1.0.0 [INFO] [stderr] Checking exonum-keys v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::verbose_bit_mask))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::verbose_bit_mask))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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/lib.rs:84:39 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Keys` [INFO] [stdout] 85 | #[non_exhaustive] [INFO] [stdout] 86 | pub struct Keys { [INFO] [stdout] | ---- `Keys` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (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/lib.rs:84:50 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Keys` [INFO] [stdout] 85 | #[non_exhaustive] [INFO] [stdout] 86 | pub struct Keys { [INFO] [stdout] | ---- `Keys` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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/lib.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_EncryptedMasterKey` [INFO] [stdout] 162 | pub struct EncryptedMasterKey { [INFO] [stdout] | ------------------ `EncryptedMasterKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (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/lib.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_EncryptedMasterKey` [INFO] [stdout] 162 | pub struct EncryptedMasterKey { [INFO] [stdout] | ------------------ `EncryptedMasterKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [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/lib.rs:84:39 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Keys` [INFO] [stdout] 85 | #[non_exhaustive] [INFO] [stdout] 86 | pub struct Keys { [INFO] [stdout] | ---- `Keys` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (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/lib.rs:84:50 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Keys` [INFO] [stdout] 85 | #[non_exhaustive] [INFO] [stdout] 86 | pub struct Keys { [INFO] [stdout] | ---- `Keys` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (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/lib.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_EncryptedMasterKey` [INFO] [stdout] 162 | pub struct EncryptedMasterKey { [INFO] [stdout] | ------------------ `EncryptedMasterKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (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/lib.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_EncryptedMasterKey` [INFO] [stdout] 162 | pub struct EncryptedMasterKey { [INFO] [stdout] | ------------------ `EncryptedMasterKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.82s [INFO] running `Command { std: "docker" "inspect" "5307d776a4bc5fe69497b6dc01d597f4ea6bcaf16390b4222ee6402ac3319b34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5307d776a4bc5fe69497b6dc01d597f4ea6bcaf16390b4222ee6402ac3319b34", kill_on_drop: false }` [INFO] [stdout] 5307d776a4bc5fe69497b6dc01d597f4ea6bcaf16390b4222ee6402ac3319b34