[INFO] fetching crate deterministic-pgp-keys 0.5.0... [INFO] testing deterministic-pgp-keys-0.5.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate deterministic-pgp-keys 0.5.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate deterministic-pgp-keys 0.5.0 [INFO] finished tweaking crates.io crate deterministic-pgp-keys 0.5.0 [INFO] tweaked toml for crates.io crate deterministic-pgp-keys 0.5.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate deterministic-pgp-keys 0.5.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate deterministic-pgp-keys 0.5.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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42666b796731e3be770053d2393364447c59c3bab32705d8ad321a5f45ccb495 [INFO] running `Command { std: "docker" "start" "-a" "42666b796731e3be770053d2393364447c59c3bab32705d8ad321a5f45ccb495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42666b796731e3be770053d2393364447c59c3bab32705d8ad321a5f45ccb495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42666b796731e3be770053d2393364447c59c3bab32705d8ad321a5f45ccb495", kill_on_drop: false }` [INFO] [stdout] 42666b796731e3be770053d2393364447c59c3bab32705d8ad321a5f45ccb495 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc93be37098e1892975273a0994c1d114972a24735ebb82be6d0df89f6926f04 [INFO] running `Command { std: "docker" "start" "-a" "cc93be37098e1892975273a0994c1d114972a24735ebb82be6d0df89f6926f04", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling libm v0.2.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde v1.0.154 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling num-bigint-dig v0.8.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling thiserror v1.0.39 [INFO] [stderr] Compiling anyhow v1.0.69 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling crc24 v0.1.6 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling bitcoin_hashes v0.11.0 [INFO] [stderr] Compiling unicode-normalization v0.1.9 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling keccak v0.1.3 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rtoolbox v0.0.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cast5 v0.10.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling hkdf v0.11.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling cfb-mode v0.7.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling twofish v0.6.0 [INFO] [stderr] Compiling blowfish v0.8.0 [INFO] [stderr] Compiling des v0.7.0 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling rpassword v7.2.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling bip39 v1.2.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling zeroize_derive v1.3.3 [INFO] [stderr] Compiling thiserror-impl v1.0.39 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling pkcs1 v0.3.3 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling x25519-dalek v1.1.1 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling rsa v0.6.1 [INFO] [stderr] Compiling deterministic-pgp-keys v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/pgp/composed/signed_key/parse.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::type_complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` and `gperftools` [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: unused import: `self::parse::*` [INFO] [stdout] --> src/pgp/composed/signed_key/mod.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | pub use self::parse::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/pgp/composed/shared.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::type_complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` and `gperftools` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/pgp/composed/shared.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::type_complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` and `gperftools` [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::message::*` [INFO] [stdout] --> src/pgp/composed/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use self::message::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/pgp/crypto/sym.rs:199:16 [INFO] [stdout] | [INFO] [stdout] 199 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` and `gperftools` [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::aead::*` [INFO] [stdout] --> src/pgp/crypto/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::aead::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::aes_kw::*` [INFO] [stdout] --> src/pgp/crypto/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use self::aes_kw::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::checksum::*` [INFO] [stdout] --> src/pgp/crypto/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use self::checksum::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::ecdh::*` [INFO] [stdout] --> src/pgp/crypto/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use self::ecdh::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::eddsa::*` [INFO] [stdout] --> src/pgp/crypto/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use self::eddsa::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::rsa::*` [INFO] [stdout] --> src/pgp/crypto/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use self::rsa::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/pgp/packet/single.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::useless_let_if_seq))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` and `gperftools` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/pgp/packet/packet_sum.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::large_enum_variant))] // TODO: fix me [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` and `gperftools` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/pgp/packet/signature/types.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` and `gperftools` [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::composed::key::*` [INFO] [stdout] --> src/pgp/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub use self::composed::key::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::packet::Signature` [INFO] [stdout] --> src/pgp/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub use self::packet::Signature; [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/pgp/crypto/aead.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AeadAlgorithm` [INFO] [stdout] 3 | #[repr(u8)] [INFO] [stdout] 4 | pub enum AeadAlgorithm { [INFO] [stdout] | ------------- `AeadAlgorithm` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/crypto/hash.rs:16:45 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_HashAlgorithm` [INFO] [stdout] 17 | #[repr(u8)] [INFO] [stdout] 18 | pub enum HashAlgorithm { [INFO] [stdout] | ------------- `HashAlgorithm` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/crypto/public_key.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PublicKeyAlgorithm` [INFO] [stdout] 3 | #[repr(u8)] [INFO] [stdout] 4 | pub enum PublicKeyAlgorithm { [INFO] [stdout] | ------------------ `PublicKeyAlgorithm` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/crypto/sym.rs:73:45 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SymmetricKeyAlgorithm` [INFO] [stdout] 74 | #[repr(u8)] [INFO] [stdout] 75 | pub enum SymmetricKeyAlgorithm { [INFO] [stdout] | --------------------- `SymmetricKeyAlgorithm` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/packet/literal_data.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Copy, Clone, FromPrimitive, PartialEq, Eq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DataMode` [INFO] [stdout] 30 | #[repr(u8)] [INFO] [stdout] 31 | pub enum DataMode { [INFO] [stdout] | -------- `DataMode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/packet/signature/types.rs:453:45 [INFO] [stdout] | [INFO] [stdout] 453 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SignatureVersion` [INFO] [stdout] 454 | #[repr(u8)] [INFO] [stdout] 455 | pub enum SignatureVersion { [INFO] [stdout] | ---------------- `SignatureVersion` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/packet/signature/types.rs:469:45 [INFO] [stdout] | [INFO] [stdout] 469 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SignatureType` [INFO] [stdout] 470 | #[repr(u8)] [INFO] [stdout] 471 | pub enum SignatureType { [INFO] [stdout] | ------------- `SignatureType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/packet/signature/types.rs:760:45 [INFO] [stdout] | [INFO] [stdout] 760 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RevocationCode` [INFO] [stdout] 761 | #[repr(u8)] [INFO] [stdout] 762 | pub enum RevocationCode { [INFO] [stdout] | -------------- `RevocationCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/types/compression.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CompressionAlgorithm` [INFO] [stdout] ... [INFO] [stdout] 6 | pub enum CompressionAlgorithm { [INFO] [stdout] | -------------------- `CompressionAlgorithm` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/types/mpi.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Default, Clone, PartialEq, Eq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_Mpi` [INFO] [stdout] 60 | pub struct Mpi(Vec); [INFO] [stdout] | --- `Mpi` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/pgp/types/packet.rs:34:45 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Tag` [INFO] [stdout] 35 | #[repr(u8)] [INFO] [stdout] 36 | pub enum Tag { [INFO] [stdout] | --- `Tag` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/types/packet.rs:73:45 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Version` [INFO] [stdout] 74 | #[repr(u8)] [INFO] [stdout] 75 | pub enum Version { [INFO] [stdout] | ------- `Version` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/types/packet.rs:126:45 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_KeyVersion` [INFO] [stdout] 127 | #[repr(u8)] [INFO] [stdout] 128 | pub enum KeyVersion { [INFO] [stdout] | ---------- `KeyVersion` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/types/params/plain_secret.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_PlainSecretParams` [INFO] [stdout] 17 | #[zeroize(drop)] [INFO] [stdout] 18 | pub enum PlainSecretParams { [INFO] [stdout] | ----------------- `PlainSecretParams` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/pgp/types/params/plain_secret.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_PlainSecretParams` [INFO] [stdout] 17 | #[zeroize(drop)] [INFO] [stdout] 18 | pub enum PlainSecretParams { [INFO] [stdout] | ----------------- `PlainSecretParams` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/pgp/types/revocation_key.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RevocationKeyClass` [INFO] [stdout] 13 | #[repr(u8)] [INFO] [stdout] 14 | pub enum RevocationKeyClass { [INFO] [stdout] | ------------------ `RevocationKeyClass` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/types/s2k.rs:131:45 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StringToKeyType` [INFO] [stdout] 132 | pub enum StringToKeyType { [INFO] [stdout] | --------------- `StringToKeyType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/types/secret_key_repr.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_ECDHSecretKey` [INFO] [stdout] 23 | #[zeroize(drop)] [INFO] [stdout] 24 | pub struct ECDHSecretKey { [INFO] [stdout] | ------------- `ECDHSecretKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/pgp/types/secret_key_repr.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_ECDHSecretKey` [INFO] [stdout] 23 | #[zeroize(drop)] [INFO] [stdout] 24 | pub struct ECDHSecretKey { [INFO] [stdout] | ------------- `ECDHSecretKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/pgp/types/secret_key_repr.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_EdDSASecretKey` [INFO] [stdout] 45 | #[zeroize(drop)] [INFO] [stdout] 46 | pub struct EdDSASecretKey { [INFO] [stdout] | -------------- `EdDSASecretKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/pgp/types/secret_key_repr.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_EdDSASecretKey` [INFO] [stdout] 45 | #[zeroize(drop)] [INFO] [stdout] 46 | pub struct EdDSASecretKey { [INFO] [stdout] | -------------- `EdDSASecretKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/pgp/types/secret_key_repr.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_DSASecretKey` [INFO] [stdout] 63 | #[zeroize(drop)] [INFO] [stdout] 64 | pub struct DSASecretKey { [INFO] [stdout] | ------------ `DSASecretKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/pgp/types/secret_key_repr.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_DSASecretKey` [INFO] [stdout] 63 | #[zeroize(drop)] [INFO] [stdout] 64 | pub struct DSASecretKey { [INFO] [stdout] | ------------ `DSASecretKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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 33.75s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, nom v4.2.3, num-bigint-dig v0.8.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "cc93be37098e1892975273a0994c1d114972a24735ebb82be6d0df89f6926f04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc93be37098e1892975273a0994c1d114972a24735ebb82be6d0df89f6926f04", kill_on_drop: false }` [INFO] [stdout] cc93be37098e1892975273a0994c1d114972a24735ebb82be6d0df89f6926f04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f16a78b6e8e51762fd6efee813143f5d4442d1dde35fb553a9c9bec9b48357c [INFO] running `Command { std: "docker" "start" "-a" "2f16a78b6e8e51762fd6efee813143f5d4442d1dde35fb553a9c9bec9b48357c", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.154 [INFO] [stderr] Compiling serde v1.0.154 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling serde_json v1.0.94 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling pretty_assertions v1.3.0 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.2 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling bip39 v1.2.0 [INFO] [stderr] Compiling rsa v0.6.1 [INFO] [stderr] Compiling deterministic-pgp-keys v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/pgp/composed/signed_key/parse.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::type_complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` and `gperftools` [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: unused import: `self::parse::*` [INFO] [stdout] --> src/pgp/composed/signed_key/mod.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | pub use self::parse::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/pgp/composed/shared.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::type_complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` and `gperftools` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/pgp/composed/shared.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::type_complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` and `gperftools` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/pgp/crypto/sym.rs:199:16 [INFO] [stdout] | [INFO] [stdout] 199 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` and `gperftools` [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::aead::*` [INFO] [stdout] --> src/pgp/crypto/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::aead::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::aes_kw::*` [INFO] [stdout] --> src/pgp/crypto/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use self::aes_kw::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::checksum::*` [INFO] [stdout] --> src/pgp/crypto/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use self::checksum::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::ecdh::*` [INFO] [stdout] --> src/pgp/crypto/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use self::ecdh::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::eddsa::*` [INFO] [stdout] --> src/pgp/crypto/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use self::eddsa::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::rsa::*` [INFO] [stdout] --> src/pgp/crypto/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use self::rsa::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/pgp/packet/single.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::useless_let_if_seq))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` and `gperftools` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/pgp/packet/packet_sum.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::large_enum_variant))] // TODO: fix me [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` and `gperftools` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/pgp/packet/signature/types.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `getrandom` and `gperftools` [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::composed::key::*` [INFO] [stdout] --> src/pgp/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub use self::composed::key::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::packet::Signature` [INFO] [stdout] --> src/pgp/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub use self::packet::Signature; [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/pgp/crypto/aead.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AeadAlgorithm` [INFO] [stdout] 3 | #[repr(u8)] [INFO] [stdout] 4 | pub enum AeadAlgorithm { [INFO] [stdout] | ------------- `AeadAlgorithm` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/crypto/hash.rs:16:45 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_HashAlgorithm` [INFO] [stdout] 17 | #[repr(u8)] [INFO] [stdout] 18 | pub enum HashAlgorithm { [INFO] [stdout] | ------------- `HashAlgorithm` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/crypto/public_key.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PublicKeyAlgorithm` [INFO] [stdout] 3 | #[repr(u8)] [INFO] [stdout] 4 | pub enum PublicKeyAlgorithm { [INFO] [stdout] | ------------------ `PublicKeyAlgorithm` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/crypto/sym.rs:73:45 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SymmetricKeyAlgorithm` [INFO] [stdout] 74 | #[repr(u8)] [INFO] [stdout] 75 | pub enum SymmetricKeyAlgorithm { [INFO] [stdout] | --------------------- `SymmetricKeyAlgorithm` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/packet/literal_data.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Copy, Clone, FromPrimitive, PartialEq, Eq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DataMode` [INFO] [stdout] 30 | #[repr(u8)] [INFO] [stdout] 31 | pub enum DataMode { [INFO] [stdout] | -------- `DataMode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/packet/signature/types.rs:453:45 [INFO] [stdout] | [INFO] [stdout] 453 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SignatureVersion` [INFO] [stdout] 454 | #[repr(u8)] [INFO] [stdout] 455 | pub enum SignatureVersion { [INFO] [stdout] | ---------------- `SignatureVersion` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/packet/signature/types.rs:469:45 [INFO] [stdout] | [INFO] [stdout] 469 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SignatureType` [INFO] [stdout] 470 | #[repr(u8)] [INFO] [stdout] 471 | pub enum SignatureType { [INFO] [stdout] | ------------- `SignatureType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/packet/signature/types.rs:760:45 [INFO] [stdout] | [INFO] [stdout] 760 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RevocationCode` [INFO] [stdout] 761 | #[repr(u8)] [INFO] [stdout] 762 | pub enum RevocationCode { [INFO] [stdout] | -------------- `RevocationCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/types/compression.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CompressionAlgorithm` [INFO] [stdout] ... [INFO] [stdout] 6 | pub enum CompressionAlgorithm { [INFO] [stdout] | -------------------- `CompressionAlgorithm` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/types/mpi.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Default, Clone, PartialEq, Eq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_Mpi` [INFO] [stdout] 60 | pub struct Mpi(Vec); [INFO] [stdout] | --- `Mpi` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/pgp/types/packet.rs:34:45 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Tag` [INFO] [stdout] 35 | #[repr(u8)] [INFO] [stdout] 36 | pub enum Tag { [INFO] [stdout] | --- `Tag` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/types/packet.rs:73:45 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Version` [INFO] [stdout] 74 | #[repr(u8)] [INFO] [stdout] 75 | pub enum Version { [INFO] [stdout] | ------- `Version` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/types/packet.rs:126:45 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_KeyVersion` [INFO] [stdout] 127 | #[repr(u8)] [INFO] [stdout] 128 | pub enum KeyVersion { [INFO] [stdout] | ---------- `KeyVersion` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/types/params/plain_secret.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_PlainSecretParams` [INFO] [stdout] 17 | #[zeroize(drop)] [INFO] [stdout] 18 | pub enum PlainSecretParams { [INFO] [stdout] | ----------------- `PlainSecretParams` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/pgp/types/params/plain_secret.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_PlainSecretParams` [INFO] [stdout] 17 | #[zeroize(drop)] [INFO] [stdout] 18 | pub enum PlainSecretParams { [INFO] [stdout] | ----------------- `PlainSecretParams` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/pgp/types/revocation_key.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RevocationKeyClass` [INFO] [stdout] 13 | #[repr(u8)] [INFO] [stdout] 14 | pub enum RevocationKeyClass { [INFO] [stdout] | ------------------ `RevocationKeyClass` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/types/s2k.rs:131:45 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StringToKeyType` [INFO] [stdout] 132 | pub enum StringToKeyType { [INFO] [stdout] | --------------- `StringToKeyType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/pgp/types/secret_key_repr.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_ECDHSecretKey` [INFO] [stdout] 23 | #[zeroize(drop)] [INFO] [stdout] 24 | pub struct ECDHSecretKey { [INFO] [stdout] | ------------- `ECDHSecretKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/pgp/types/secret_key_repr.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_ECDHSecretKey` [INFO] [stdout] 23 | #[zeroize(drop)] [INFO] [stdout] 24 | pub struct ECDHSecretKey { [INFO] [stdout] | ------------- `ECDHSecretKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/pgp/types/secret_key_repr.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_EdDSASecretKey` [INFO] [stdout] 45 | #[zeroize(drop)] [INFO] [stdout] 46 | pub struct EdDSASecretKey { [INFO] [stdout] | -------------- `EdDSASecretKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/pgp/types/secret_key_repr.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_EdDSASecretKey` [INFO] [stdout] 45 | #[zeroize(drop)] [INFO] [stdout] 46 | pub struct EdDSASecretKey { [INFO] [stdout] | -------------- `EdDSASecretKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/pgp/types/secret_key_repr.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_DSASecretKey` [INFO] [stdout] 63 | #[zeroize(drop)] [INFO] [stdout] 64 | pub struct DSASecretKey { [INFO] [stdout] | ------------ `DSASecretKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/pgp/types/secret_key_repr.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_DSASecretKey` [INFO] [stdout] 63 | #[zeroize(drop)] [INFO] [stdout] 64 | pub struct DSASecretKey { [INFO] [stdout] | ------------ `DSASecretKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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 21.81s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, nom v4.2.3, num-bigint-dig v0.8.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2f16a78b6e8e51762fd6efee813143f5d4442d1dde35fb553a9c9bec9b48357c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f16a78b6e8e51762fd6efee813143f5d4442d1dde35fb553a9c9bec9b48357c", kill_on_drop: false }` [INFO] [stdout] 2f16a78b6e8e51762fd6efee813143f5d4442d1dde35fb553a9c9bec9b48357c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 902817b5ac3efaee6e14480c82aeb41e83e5493619553f984f44203e46d3a351 [INFO] running `Command { std: "docker" "start" "-a" "902817b5ac3efaee6e14480c82aeb41e83e5493619553f984f44203e46d3a351", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/pgp/composed/signed_key/parse.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::type_complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `getrandom` and `gperftools` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::parse::*` [INFO] [stderr] --> src/pgp/composed/signed_key/mod.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 116 | pub use self::parse::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/pgp/composed/shared.rs:22:16 [INFO] [stderr] | [INFO] [stderr] 22 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::type_complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `getrandom` and `gperftools` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/pgp/composed/shared.rs:39:16 [INFO] [stderr] | [INFO] [stderr] 39 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::type_complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `getrandom` and `gperftools` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/pgp/crypto/sym.rs:199:16 [INFO] [stderr] | [INFO] [stderr] 199 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `getrandom` and `gperftools` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::aead::*` [INFO] [stderr] --> src/pgp/crypto/mod.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub use self::aead::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::aes_kw::*` [INFO] [stderr] --> src/pgp/crypto/mod.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub use self::aes_kw::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::checksum::*` [INFO] [stderr] --> src/pgp/crypto/mod.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub use self::checksum::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::ecdh::*` [INFO] [stderr] --> src/pgp/crypto/mod.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | pub use self::ecdh::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::eddsa::*` [INFO] [stderr] --> src/pgp/crypto/mod.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub use self::eddsa::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::rsa::*` [INFO] [stderr] --> src/pgp/crypto/mod.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | pub use self::rsa::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/pgp/packet/single.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::useless_let_if_seq))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `getrandom` and `gperftools` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/pgp/packet/packet_sum.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::large_enum_variant))] // TODO: fix me [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `getrandom` and `gperftools` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/pgp/packet/signature/types.rs:34:16 [INFO] [stderr] | [INFO] [stderr] 34 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `getrandom` and `gperftools` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::composed::key::*` [INFO] [stderr] --> src/pgp/mod.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | pub use self::composed::key::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::packet::Signature` [INFO] [stderr] --> src/pgp/mod.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | pub use self::packet::Signature; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/crypto/aead.rs:2:45 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AeadAlgorithm` [INFO] [stderr] 3 | #[repr(u8)] [INFO] [stderr] 4 | pub enum AeadAlgorithm { [INFO] [stderr] | ------------- `AeadAlgorithm` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/crypto/hash.rs:16:45 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_HashAlgorithm` [INFO] [stderr] 17 | #[repr(u8)] [INFO] [stderr] 18 | pub enum HashAlgorithm { [INFO] [stderr] | ------------- `HashAlgorithm` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/crypto/public_key.rs:2:45 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PublicKeyAlgorithm` [INFO] [stderr] 3 | #[repr(u8)] [INFO] [stderr] 4 | pub enum PublicKeyAlgorithm { [INFO] [stderr] | ------------------ `PublicKeyAlgorithm` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/crypto/sym.rs:73:45 [INFO] [stderr] | [INFO] [stderr] 73 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SymmetricKeyAlgorithm` [INFO] [stderr] 74 | #[repr(u8)] [INFO] [stderr] 75 | pub enum SymmetricKeyAlgorithm { [INFO] [stderr] | --------------------- `SymmetricKeyAlgorithm` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/packet/literal_data.rs:29:30 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug, Copy, Clone, FromPrimitive, PartialEq, Eq)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_DataMode` [INFO] [stderr] 30 | #[repr(u8)] [INFO] [stderr] 31 | pub enum DataMode { [INFO] [stderr] | -------- `DataMode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/packet/signature/types.rs:453:45 [INFO] [stderr] | [INFO] [stderr] 453 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SignatureVersion` [INFO] [stderr] 454 | #[repr(u8)] [INFO] [stderr] 455 | pub enum SignatureVersion { [INFO] [stderr] | ---------------- `SignatureVersion` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/packet/signature/types.rs:469:45 [INFO] [stderr] | [INFO] [stderr] 469 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SignatureType` [INFO] [stderr] 470 | #[repr(u8)] [INFO] [stderr] 471 | pub enum SignatureType { [INFO] [stderr] | ------------- `SignatureType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/packet/signature/types.rs:760:45 [INFO] [stderr] | [INFO] [stderr] 760 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RevocationCode` [INFO] [stderr] 761 | #[repr(u8)] [INFO] [stderr] 762 | pub enum RevocationCode { [INFO] [stderr] | -------------- `RevocationCode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/types/compression.rs:2:45 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CompressionAlgorithm` [INFO] [stderr] ... [INFO] [stderr] 6 | pub enum CompressionAlgorithm { [INFO] [stderr] | -------------------- `CompressionAlgorithm` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/types/mpi.rs:59:41 [INFO] [stderr] | [INFO] [stderr] 59 | #[derive(Default, Clone, PartialEq, Eq, Zeroize)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Zeroize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_Mpi` [INFO] [stderr] 60 | pub struct Mpi(Vec); [INFO] [stderr] | --- `Mpi` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/types/packet.rs:34:45 [INFO] [stderr] | [INFO] [stderr] 34 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Tag` [INFO] [stderr] 35 | #[repr(u8)] [INFO] [stderr] 36 | pub enum Tag { [INFO] [stderr] | --- `Tag` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/types/packet.rs:73:45 [INFO] [stderr] | [INFO] [stderr] 73 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Version` [INFO] [stderr] 74 | #[repr(u8)] [INFO] [stderr] 75 | pub enum Version { [INFO] [stderr] | ------- `Version` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/types/packet.rs:126:45 [INFO] [stderr] | [INFO] [stderr] 126 | #[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_KeyVersion` [INFO] [stderr] 127 | #[repr(u8)] [INFO] [stderr] 128 | pub enum KeyVersion { [INFO] [stderr] | ---------- `KeyVersion` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/types/params/plain_secret.rs:16:32 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Zeroize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_PlainSecretParams` [INFO] [stderr] 17 | #[zeroize(drop)] [INFO] [stderr] 18 | pub enum PlainSecretParams { [INFO] [stderr] | ----------------- `PlainSecretParams` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/types/params/plain_secret.rs:16:32 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_PlainSecretParams` [INFO] [stderr] 17 | #[zeroize(drop)] [INFO] [stderr] 18 | pub enum PlainSecretParams { [INFO] [stderr] | ----------------- `PlainSecretParams` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/types/revocation_key.rs:12:45 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RevocationKeyClass` [INFO] [stderr] 13 | #[repr(u8)] [INFO] [stderr] 14 | pub enum RevocationKeyClass { [INFO] [stderr] | ------------------ `RevocationKeyClass` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/types/s2k.rs:131:45 [INFO] [stderr] | [INFO] [stderr] 131 | #[derive(Debug, PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StringToKeyType` [INFO] [stderr] 132 | pub enum StringToKeyType { [INFO] [stderr] | --------------- `StringToKeyType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/types/secret_key_repr.rs:22:32 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Zeroize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_ECDHSecretKey` [INFO] [stderr] 23 | #[zeroize(drop)] [INFO] [stderr] 24 | pub struct ECDHSecretKey { [INFO] [stderr] | ------------- `ECDHSecretKey` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/types/secret_key_repr.rs:22:32 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_ECDHSecretKey` [INFO] [stderr] 23 | #[zeroize(drop)] [INFO] [stderr] 24 | pub struct ECDHSecretKey { [INFO] [stderr] | ------------- `ECDHSecretKey` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/types/secret_key_repr.rs:44:32 [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Zeroize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_EdDSASecretKey` [INFO] [stderr] 45 | #[zeroize(drop)] [INFO] [stderr] 46 | pub struct EdDSASecretKey { [INFO] [stderr] | -------------- `EdDSASecretKey` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/types/secret_key_repr.rs:44:32 [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_EdDSASecretKey` [INFO] [stderr] 45 | #[zeroize(drop)] [INFO] [stderr] 46 | pub struct EdDSASecretKey { [INFO] [stderr] | -------------- `EdDSASecretKey` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/types/secret_key_repr.rs:62:32 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Zeroize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_DSASecretKey` [INFO] [stderr] 63 | #[zeroize(drop)] [INFO] [stderr] 64 | pub struct DSASecretKey { [INFO] [stderr] | ------------ `DSASecretKey` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pgp/types/secret_key_repr.rs:62:32 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Clone, PartialEq, Eq, Zeroize)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_DSASecretKey` [INFO] [stderr] 63 | #[zeroize(drop)] [INFO] [stderr] 64 | pub struct DSASecretKey { [INFO] [stderr] | ------------ `DSASecretKey` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `deterministic-pgp-keys` (bin "deterministic-pgp-keys" test) generated 39 warnings (run `cargo fix --bin "deterministic-pgp-keys" --tests` to apply 9 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, nom v4.2.3, num-bigint-dig v0.8.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/deterministic_pgp_keys-05aec11ca3a2423f) [INFO] [stdout] [INFO] [stdout] running 91 tests [INFO] [stdout] test pgp::armor::reader::tests::test_armor_header_line ... ok [INFO] [stdout] test pgp::armor::reader::tests::test_footer_parser ... ok [INFO] [stdout] test pgp::armor::reader::tests::test_dearmor_small_stream ... ok [INFO] [stdout] test pgp::armor::reader::tests::test_key_value_pairs ... ok [INFO] [stdout] test pgp::armor::reader::tests::test_armor_headers ... ok [INFO] [stdout] test pgp::armor::reader::tests::test_parse_armor_full_no_header ... ok [INFO] [stdout] test pgp::armor::reader::tests::test_parse_armor_two_entries ... ok [INFO] [stdout] test pgp::base64_decoder::tests::test_base64_decoder_with_end ... ok [INFO] [stdout] test pgp::armor::reader::tests::test_key_value_pair ... ok [INFO] [stdout] test pgp::composed::key::builder::tests::key_gen_x25519_long ... ignored [INFO] [stdout] test pgp::composed::key::builder::tests::key_gen_x25519_short ... ignored [INFO] [stdout] test pgp::composed::key::builder::tests::test_key_gen_rsa_2048 ... ignored [INFO] [stdout] test pgp::armor::reader::tests::test_parse_armor_missing_header_value ... ok [INFO] [stdout] test pgp::armor::reader::tests::test_armor_header ... ok [INFO] [stdout] test pgp::armor::reader::tests::test_parse_armor_full ... ok [INFO] [stdout] test pgp::base64_reader::tests::test_base64_reader_n_lineending ... ok [INFO] [stdout] test pgp::composed::message::types::tests::test_compression_uncompressed ... ok [INFO] [stdout] test pgp::composed::message::types::tests::test_compression_zlib ... ok [INFO] [stdout] test pgp::composed::message::types::tests::test_compression_zip ... ok [INFO] [stdout] test pgp::base64_decoder::tests::test_base64_decoder_with_end_no_linebreak ... ok [INFO] [stdout] test pgp::base64_decoder::tests::test_base64_decoder_with_end_one_linebreak ... ok [INFO] [stdout] test pgp::base64_decoder::tests::test_base64_decoder_with_line_reader ... ok [INFO] [stdout] test pgp::armor::reader::tests::test_parse_armor_small ... ok [INFO] [stdout] test pgp::composed::message::types::tests::test_rsa_signing_bytes ... ignored [INFO] [stdout] test pgp::composed::message::types::tests::test_rsa_signing_bytes_compressed ... ignored [INFO] [stdout] test pgp::composed::message::types::tests::test_rsa_signing_string ... ignored [INFO] [stdout] test pgp::crypto::aes_kw::tests::wrap_unwrap_192_key_256_kek ... ok [INFO] [stdout] test pgp::crypto::aes_kw::tests::wrap_unwrap_128_key_128_kek ... ok [INFO] [stdout] test pgp::crypto::aes_kw::tests::wrap_unwrap_128_key_192_kek ... ok [INFO] [stdout] test pgp::crypto::aes_kw::tests::wrap_unwrap_192_key_192_kek ... ok [INFO] [stdout] test pgp::crypto::aes_kw::tests::wrap_unwrap_256_key_256_kek ... ok [INFO] [stdout] test pgp::crypto::ecc_curve::tests::test_asn1_der_object_id_val_enc ... ok [INFO] [stdout] test pgp::crypto::aes_kw::tests::wrap_unwrap_128_key_256_kek ... ok [INFO] [stdout] test pgp::crypto::ecc_curve::tests::test_ecc_curve_from_oid ... ok [INFO] [stdout] test pgp::crypto::ecc_curve::tests::test_ecc_curve_to_oid ... ok [INFO] [stdout] test pgp::crypto::sym::tests::decrypt_without_enough_ciphertext ... ok [INFO] [stdout] test pgp::crypto::ecdh::tests::test_encrypt_decrypt ... ok [INFO] [stdout] test pgp::base64_decoder::tests::test_base64_decoder_roundtrip_url_safe_1000 ... ok [INFO] [stdout] test pgp::composed::message::types::tests::test_rsa_encryption ... FAILED [INFO] [stdout] test pgp::composed::message::types::tests::test_x25519_signing_string ... FAILED [INFO] [stdout] test pgp::composed::message::types::tests::test_x25519_signing_bytes ... FAILED [INFO] [stdout] test pgp::line_reader::tests::test_line_reader_n_lineending ... ok [INFO] [stdout] test pgp::composed::message::types::tests::test_x25519_signing_bytes_compressed ... FAILED [INFO] [stdout] test pgp::line_reader::tests::test_line_reader_seek ... ok [INFO] [stdout] test pgp::line_reader::tests::test_line_reader_seek_mix_1 ... ok [INFO] [stdout] test pgp::composed::message::types::tests::test_x25519_encryption ... FAILED [INFO] [stdout] test pgp::line_reader::tests::test_line_reader_nr_lineending ... ok [INFO] [stdout] test pgp::line_reader::tests::test_line_reader_seek_forward ... ok [INFO] [stdout] test pgp::line_reader::tests::test_line_reader_starting_with_newline ... ok [INFO] [stdout] test pgp::line_writer::tests::test_break_line_len_10 ... ok [INFO] [stdout] test pgp::line_writer::tests::simple_writes ... ok [INFO] [stdout] test pgp::line_reader::tests::test_line_reader_seek_mix_2 ... ok [INFO] [stdout] test pgp::line_writer::tests::test_break_line_len_100 ... ok [INFO] [stdout] test pgp::line_writer::tests::test_key_roundtrip ... ok [INFO] [stdout] test pgp::line_writer::tests::test_break_line_len_2 ... ok [INFO] [stdout] test pgp::line_writer::tests::test_break_line_len_74 ... ok [INFO] [stdout] test pgp::normalize_lines::tests::normalized_crlf ... ok [INFO] [stdout] test pgp::packet::literal_data::test_utf8_literal ... ok [INFO] [stdout] test pgp::packet::many::tests::incomplete_packet_parser ... ok [INFO] [stdout] test pgp::packet::many::tests::test_many_parser ... ignored [INFO] [stdout] test pgp::packet::many::tests::test_packet_roundtrip_0001 ... ignored [INFO] [stdout] test pgp::packet::many::tests::test_packet_roundtrip_0002 ... ignored [INFO] [stdout] test pgp::packet::many::tests::test_packet_roundtrip_0009 ... ignored [INFO] [stdout] test pgp::packet::signature::de::tests::test_subpacket_pref_sym_alg ... ok [INFO] [stdout] test pgp::packet::signature::ser::tests::packet_signature_roundtrip_openpgp_sig_1_key_1 ... ok [INFO] [stdout] test pgp::packet::signature::ser::tests::packet_signature_roundtrip_openpgp_sig_1_key_2 ... ok [INFO] [stdout] test pgp::normalize_lines::tests::normalized_cr ... ok [INFO] [stdout] test pgp::normalize_lines::tests::normalized_lf ... ok [INFO] [stdout] test pgp::packet::signature::ser::tests::packet_signature_roundtrip_openpgp_sig_2_keys_1 ... ok [INFO] [stdout] test pgp::packet::signature::types::tests::test_keyflags ... ok [INFO] [stdout] test pgp::types::mpi::tests::test_bignum_mpi ... ok [INFO] [stdout] test pgp::types::mpi::tests::test_mpi ... ok [INFO] [stdout] test pgp::util::tests::test_read_string ... ok [INFO] [stdout] test pgp::util::tests::test_write_packet_len ... ok [INFO] [stdout] test pgp::util::tests::test_write_packet_length ... ok [INFO] [stdout] test pgp::util::tests::test_write_string ... ok [INFO] [stdout] test pgp::types::packet::tests::test_write_header ... ok [INFO] [stdout] test pgp::packet::signature::ser::tests::packet_signature_roundtrip_openpgp_sig_2_keys_2 ... ok [INFO] [stdout] test pgp::line_writer::tests::test_break_line_len_1 ... ok [INFO] [stdout] test pgp::armor::writer::tests::writes_no_doubleline ... ok [INFO] [stdout] test pgp::base64_decoder::tests::test_base64_decoder_roundtrip_standard_1000 ... ok [INFO] [stdout] test pgp::base64_decoder::tests::test_base64_decoder_roundtrip_crypt_1000 ... ok [INFO] [stdout] test pgp::crypto::sym::tests::roundtrip_aes192 ... ok [INFO] [stdout] test pgp::crypto::sym::tests::roundtrip_aes256 ... ok [INFO] [stdout] test pgp::crypto::sym::tests::roundtrip_aes128 ... ok [INFO] [stdout] test pgp::crypto::sym::tests::roundtrip_cast5 ... ok [INFO] [stdout] test pgp::crypto::sym::tests::roundtrip_blowfish ... ok [INFO] [stdout] test pgp::composed::message::types::tests::test_password_encryption ... FAILED [INFO] [stdout] test pgp::crypto::sym::tests::roundtrip_tripledes ... ok [INFO] [stdout] test pgp::crypto::sym::tests::roundtrip_twofish ... ok [INFO] [stdout] test generate::tests::generation_is_stable has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "902817b5ac3efaee6e14480c82aeb41e83e5493619553f984f44203e46d3a351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "902817b5ac3efaee6e14480c82aeb41e83e5493619553f984f44203e46d3a351", kill_on_drop: false }` [INFO] [stdout] 902817b5ac3efaee6e14480c82aeb41e83e5493619553f984f44203e46d3a351