[INFO] fetching crate sn_interface 0.22.4... [INFO] testing sn_interface-0.22.4 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759 [INFO] extracting crate sn_interface 0.22.4 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate sn_interface 0.22.4 [INFO] finished tweaking crates.io crate sn_interface 0.22.4 [INFO] tweaked toml for crates.io crate sn_interface 0.22.4 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sn_interface 0.22.4 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 178 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding brotli v3.3.4 (available: v3.5.0) [INFO] [stderr] Adding brotli-decompressor v2.3.5 (available: v2.5.1) [INFO] [stderr] Adding curve25519-dalek v3.2.0 (available: v3.2.1) [INFO] [stderr] Adding custom_debug v0.5.1 (available: v0.6.2) [INFO] [stderr] Adding ed25519 v1.5.3 (available: v2.2.3) [INFO] [stderr] Adding ed25519-dalek v1.0.1 (available: v2.2.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_xorshift v0.2.0 (available: v0.4.0) [INFO] [stderr] Adding self_encryption v0.28.6 (available: v0.34.2) [INFO] [stderr] Adding signature v1.6.4 (available: v2.2.0) [INFO] [stderr] Adding sn_dbc v12.0.0 (available: v20.0.0) [INFO] [stderr] Adding strum v0.24.1 (available: v0.27.2) [INFO] [stderr] Adding strum_macros v0.24.3 (available: v0.27.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_xorshift v0.2.0 [INFO] [stderr] Downloaded cargo-husky v1.5.0 [INFO] [stderr] Downloaded self_encryption v0.28.6 [INFO] [stderr] Downloaded sn_dbc v12.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f715d6a8217fdeed0f2cb5e2c4c892501a40d28cd34ab925eb8b16072495d650 [INFO] running `Command { std: "docker" "start" "-a" "f715d6a8217fdeed0f2cb5e2c4c892501a40d28cd34ab925eb8b16072495d650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f715d6a8217fdeed0f2cb5e2c4c892501a40d28cd34ab925eb8b16072495d650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f715d6a8217fdeed0f2cb5e2c4c892501a40d28cd34ab925eb8b16072495d650", kill_on_drop: false }` [INFO] [stdout] f715d6a8217fdeed0f2cb5e2c4c892501a40d28cd34ab925eb8b16072495d650 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1314f2e5386a7f67bae5f85a9cc4739c57798322dfca287742f28c15d8ab8daf [INFO] running `Command { std: "docker" "start" "-a" "1314f2e5386a7f67bae5f85a9cc4739c57798322dfca287742f28c15d8ab8daf", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling blst v0.3.16 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling err-derive v0.3.1 [INFO] [stderr] Compiling subtle-ng v2.5.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling brotli-decompressor v2.3.5 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Compiling uluru v3.1.0 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling pairing v0.22.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling custom_debug_derive v0.5.1 [INFO] [stderr] Compiling match-lookup v0.1.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling custom_debug v0.5.1 [INFO] [stderr] Compiling base256emoji v1.0.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling data-encoding-macro v0.1.18 [INFO] [stderr] Compiling multibase v0.9.2 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling blstrs v0.6.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_test v1.0.177 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling curve25519-dalek-ng v4.1.1 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling crdts v7.3.2 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling bulletproofs v4.0.0 [INFO] [stderr] Compiling blsttc v8.0.2 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling xor_name v5.0.0 [INFO] [stderr] Compiling sn_consensus v3.5.2 [INFO] [stderr] Compiling sn_sdkg v3.1.4 [INFO] [stderr] Compiling sn_dbc v12.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling self_encryption v0.28.6 [INFO] [stderr] Compiling sn_interface v0.22.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `data-network` [INFO] [stdout] --> src/messaging/data/spentbook.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(not(feature = "data-network"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `proptest` and `test-utils` [INFO] [stdout] = help: consider adding `data-network` 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: unnecessary qualification [INFO] [stdout] --> src/types/fees/required_fee_content.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | const AMOUNT_SIZE: usize = std::mem::size_of::(); // Amount size: 8 bytes (u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 17 - const AMOUNT_SIZE: usize = std::mem::size_of::(); // Amount size: 8 bytes (u64) [INFO] [stdout] 17 + const AMOUNT_SIZE: usize = size_of::(); // Amount size: 8 bytes (u64) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/keys/ed25519.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | let name: XorName = xor_name::rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 38 - let name: XorName = xor_name::rand::random(); [INFO] [stdout] 38 + let name: XorName = rand::random(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/keys/public_key.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | let mut xor_name: Self = xor_name::rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 165 - let mut xor_name: Self = xor_name::rand::random(); [INFO] [stdout] 165 + let mut xor_name: Self = rand::random(); [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/messaging/data/mod.rs:75:56 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Eq, PartialEq, Clone, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_DataResponse` [INFO] [stdout] 76 | pub enum DataResponse { [INFO] [stdout] | ------------ `DataResponse` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/data/spentbook.rs:33:56 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Eq, PartialEq, Clone, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_SpentbookCmd` [INFO] [stdout] 34 | pub enum SpentbookCmd { [INFO] [stdout] | ------------ `SpentbookCmd` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/serialisation/wire_msg.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Clone, Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_WireMsg` [INFO] [stdout] 26 | pub struct WireMsg { [INFO] [stdout] | ------- `WireMsg` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `Debug` (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/messaging/serialisation/wire_msg_header.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(CustomDebug, Eq, PartialEq, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_MsgEnvelope` [INFO] [stdout] 41 | pub struct MsgEnvelope { [INFO] [stdout] | ----------- `MsgEnvelope` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `CustomDebug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `CustomDebug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `CustomDebug` (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/messaging/system/mod.rs:39:52 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_NodeMsg` [INFO] [stdout] ... [INFO] [stdout] 42 | pub enum NodeMsg { [INFO] [stdout] | ------- `NodeMsg` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/system/dkg.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Clone, Eq, PartialEq, Hash, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_DkgSessionId` [INFO] [stdout] 26 | pub struct DkgSessionId { [INFO] [stdout] | ------------ `DkgSessionId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/anti_entropy.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, PartialEq, custom_debug::Debug, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_AntiEntropyMsg` [INFO] [stdout] 16 | pub enum AntiEntropyMsg { [INFO] [stdout] | -------------- `AntiEntropyMsg` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/anti_entropy.rs:32:56 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone, PartialEq, Eq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_AntiEntropyKind` [INFO] [stdout] 33 | pub enum AntiEntropyKind { [INFO] [stdout] | --------------- `AntiEntropyKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/authority.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Eq, PartialEq, custom_debug::Debug, serde::Deserialize, serde::Serialize)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_NodeSig` [INFO] [stdout] 27 | pub struct NodeSig { [INFO] [stdout] | ------- `NodeSig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/msg_id.rs:18:80 [INFO] [stdout] | [INFO] [stdout] 18 | Ord, PartialOrd, Clone, Copy, Eq, PartialEq, Serialize, Deserialize, Hash, custom_debug::Debug, [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_MsgId` [INFO] [stdout] 19 | )] [INFO] [stdout] 20 | pub struct MsgId(#[debug(with = "Self::fmt_bytes")] [u8; MESSAGE_ID_LEN]); [INFO] [stdout] | ----- `MsgId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/network_knowledge/node_info.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_MyNodeInfo` [INFO] [stdout] 20 | pub struct MyNodeInfo { [INFO] [stdout] | ---------- `MyNodeInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/network_knowledge/node_state/relocation.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Clone, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_RelocationProof` [INFO] [stdout] 87 | pub struct RelocationProof { [INFO] [stdout] | --------------- `RelocationProof` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/network_knowledge/section_keys.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(custom_debug::Debug, Clone)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_SectionKeyShare` [INFO] [stdout] 22 | pub struct SectionKeyShare { [INFO] [stdout] | --------------- `SectionKeyShare` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/types/keys/keypair.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Serialize, Deserialize, Clone, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_Keypair` [INFO] [stdout] 118 | pub enum Keypair { [INFO] [stdout] | ------- `Keypair` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/types/keys/keypair.rs:254:56 [INFO] [stdout] | [INFO] [stdout] 254 | #[derive(Clone, Eq, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_BlsKeypairShare` [INFO] [stdout] 255 | pub struct BlsKeypairShare { [INFO] [stdout] | --------------- `BlsKeypairShare` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/types/keys/keypair.rs:268:56 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Clone, Eq, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_BlsKeypair` [INFO] [stdout] 269 | pub struct BlsKeypair { [INFO] [stdout] | ---------- `BlsKeypair` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/types/keys/public_key.rs:30:62 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Clone, Copy, Eq, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_PublicKey` [INFO] [stdout] 31 | pub enum PublicKey { [INFO] [stdout] | --------- `PublicKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/types/keys/signature.rs:29:56 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Eq, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_Signature` [INFO] [stdout] 30 | pub enum Signature { [INFO] [stdout] | --------- `Signature` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/types/chunk.rs:14:55 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Hash, Eq, PartialEq, PartialOrd, Ord, Clone, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_Chunk` [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ----- `Chunk` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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 4m 20s [INFO] running `Command { std: "docker" "inspect" "1314f2e5386a7f67bae5f85a9cc4739c57798322dfca287742f28c15d8ab8daf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1314f2e5386a7f67bae5f85a9cc4739c57798322dfca287742f28c15d8ab8daf", kill_on_drop: false }` [INFO] [stdout] 1314f2e5386a7f67bae5f85a9cc4739c57798322dfca287742f28c15d8ab8daf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 183c2093f441fce57ef6cab11a812299126036ffe11ab65b2ae3e71dcef32ba7 [INFO] running `Command { std: "docker" "start" "-a" "183c2093f441fce57ef6cab11a812299126036ffe11ab65b2ae3e71dcef32ba7", kill_on_drop: false }` [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rusty-fork v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `data-network` [INFO] [stdout] --> src/messaging/data/spentbook.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(not(feature = "data-network"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `proptest` and `test-utils` [INFO] [stdout] = help: consider adding `data-network` 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: unnecessary qualification [INFO] [stdout] --> src/types/fees/required_fee_content.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | const AMOUNT_SIZE: usize = std::mem::size_of::(); // Amount size: 8 bytes (u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 17 - const AMOUNT_SIZE: usize = std::mem::size_of::(); // Amount size: 8 bytes (u64) [INFO] [stdout] 17 + const AMOUNT_SIZE: usize = size_of::(); // Amount size: 8 bytes (u64) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/keys/ed25519.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | let name: XorName = xor_name::rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 38 - let name: XorName = xor_name::rand::random(); [INFO] [stdout] 38 + let name: XorName = rand::random(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/keys/public_key.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | let mut xor_name: Self = xor_name::rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 165 - let mut xor_name: Self = xor_name::rand::random(); [INFO] [stdout] 165 + let mut xor_name: Self = rand::random(); [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/messaging/data/mod.rs:75:56 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Eq, PartialEq, Clone, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_DataResponse` [INFO] [stdout] 76 | pub enum DataResponse { [INFO] [stdout] | ------------ `DataResponse` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/data/spentbook.rs:33:56 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Eq, PartialEq, Clone, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_SpentbookCmd` [INFO] [stdout] 34 | pub enum SpentbookCmd { [INFO] [stdout] | ------------ `SpentbookCmd` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/serialisation/wire_msg.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Clone, Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_WireMsg` [INFO] [stdout] 26 | pub struct WireMsg { [INFO] [stdout] | ------- `WireMsg` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `Debug` (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/messaging/serialisation/wire_msg_header.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(CustomDebug, Eq, PartialEq, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_MsgEnvelope` [INFO] [stdout] 41 | pub struct MsgEnvelope { [INFO] [stdout] | ----------- `MsgEnvelope` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `CustomDebug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `CustomDebug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `CustomDebug` (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/messaging/system/mod.rs:39:52 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_NodeMsg` [INFO] [stdout] ... [INFO] [stdout] 42 | pub enum NodeMsg { [INFO] [stdout] | ------- `NodeMsg` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/system/dkg.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Clone, Eq, PartialEq, Hash, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_DkgSessionId` [INFO] [stdout] 26 | pub struct DkgSessionId { [INFO] [stdout] | ------------ `DkgSessionId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/anti_entropy.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, PartialEq, custom_debug::Debug, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_AntiEntropyMsg` [INFO] [stdout] 16 | pub enum AntiEntropyMsg { [INFO] [stdout] | -------------- `AntiEntropyMsg` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/anti_entropy.rs:32:56 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone, PartialEq, Eq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_AntiEntropyKind` [INFO] [stdout] 33 | pub enum AntiEntropyKind { [INFO] [stdout] | --------------- `AntiEntropyKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/authority.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Eq, PartialEq, custom_debug::Debug, serde::Deserialize, serde::Serialize)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_NodeSig` [INFO] [stdout] 27 | pub struct NodeSig { [INFO] [stdout] | ------- `NodeSig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/msg_id.rs:18:80 [INFO] [stdout] | [INFO] [stdout] 18 | Ord, PartialOrd, Clone, Copy, Eq, PartialEq, Serialize, Deserialize, Hash, custom_debug::Debug, [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_MsgId` [INFO] [stdout] 19 | )] [INFO] [stdout] 20 | pub struct MsgId(#[debug(with = "Self::fmt_bytes")] [u8; MESSAGE_ID_LEN]); [INFO] [stdout] | ----- `MsgId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/network_knowledge/node_info.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_MyNodeInfo` [INFO] [stdout] 20 | pub struct MyNodeInfo { [INFO] [stdout] | ---------- `MyNodeInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/network_knowledge/node_state/relocation.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Clone, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_RelocationProof` [INFO] [stdout] 87 | pub struct RelocationProof { [INFO] [stdout] | --------------- `RelocationProof` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/network_knowledge/section_keys.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(custom_debug::Debug, Clone)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_SectionKeyShare` [INFO] [stdout] 22 | pub struct SectionKeyShare { [INFO] [stdout] | --------------- `SectionKeyShare` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/types/keys/keypair.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Serialize, Deserialize, Clone, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_Keypair` [INFO] [stdout] 118 | pub enum Keypair { [INFO] [stdout] | ------- `Keypair` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/types/keys/keypair.rs:254:56 [INFO] [stdout] | [INFO] [stdout] 254 | #[derive(Clone, Eq, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_BlsKeypairShare` [INFO] [stdout] 255 | pub struct BlsKeypairShare { [INFO] [stdout] | --------------- `BlsKeypairShare` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/types/keys/keypair.rs:268:56 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Clone, Eq, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_BlsKeypair` [INFO] [stdout] 269 | pub struct BlsKeypair { [INFO] [stdout] | ---------- `BlsKeypair` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/types/keys/public_key.rs:30:62 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Clone, Copy, Eq, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_PublicKey` [INFO] [stdout] 31 | pub enum PublicKey { [INFO] [stdout] | --------- `PublicKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/types/keys/signature.rs:29:56 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Eq, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_Signature` [INFO] [stdout] 30 | pub enum Signature { [INFO] [stdout] | --------- `Signature` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/types/chunk.rs:14:55 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Hash, Eq, PartialEq, PartialOrd, Ord, Clone, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_Chunk` [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ----- `Chunk` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proptest v1.8.0 [INFO] [stderr] Compiling sn_interface v0.22.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `data-network` [INFO] [stdout] --> src/messaging/data/spentbook.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(not(feature = "data-network"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `proptest` and `test-utils` [INFO] [stdout] = help: consider adding `data-network` 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: unnecessary qualification [INFO] [stdout] --> src/messaging/serialisation/wire_msg.rs:245:19 [INFO] [stdout] | [INFO] [stdout] 245 | name: xor_name::rand::random(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 245 - name: xor_name::rand::random(), [INFO] [stdout] 245 + name: rand::random(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/messaging/serialisation/wire_msg.rs:279:19 [INFO] [stdout] | [INFO] [stdout] 279 | name: xor_name::rand::random(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 279 - name: xor_name::rand::random(), [INFO] [stdout] 279 + name: rand::random(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/messaging/serialisation/wire_msg.rs:286:63 [INFO] [stdout] | [INFO] [stdout] 286 | ClientMsg::Query(DataQuery::GetChunk(ChunkAddress(xor_name::rand::random()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 286 - ClientMsg::Query(DataQuery::GetChunk(ChunkAddress(xor_name::rand::random()))); [INFO] [stdout] 286 + ClientMsg::Query(DataQuery::GetChunk(ChunkAddress(rand::random()))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/network_knowledge/section_tree/mod.rs:579:56 [INFO] [stdout] | [INFO] [stdout] 579 | tree.get_signed_by_name(&p1.substituted_in(xor_name::rand::random()))?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 579 - tree.get_signed_by_name(&p1.substituted_in(xor_name::rand::random()))?, [INFO] [stdout] 579 + tree.get_signed_by_name(&p1.substituted_in(rand::random()))?, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/network_knowledge/section_tree/mod.rs:585:45 [INFO] [stdout] | [INFO] [stdout] 585 | tree.closest(&p1.substituted_in(xor_name::rand::random()), None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 585 - tree.closest(&p1.substituted_in(xor_name::rand::random()), None) [INFO] [stdout] 585 + tree.closest(&p1.substituted_in(rand::random()), None) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/network_knowledge/section_tree/mod.rs:592:45 [INFO] [stdout] | [INFO] [stdout] 592 | tree.closest(&p1.substituted_in(xor_name::rand::random()), None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 592 - tree.closest(&p1.substituted_in(xor_name::rand::random()), None) [INFO] [stdout] 592 + tree.closest(&p1.substituted_in(rand::random()), None) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/network_knowledge/section_tree/mod.rs:671:56 [INFO] [stdout] | [INFO] [stdout] 671 | tree.get_signed_by_name(&p0.substituted_in(xor_name::rand::random()))?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 671 - tree.get_signed_by_name(&p0.substituted_in(xor_name::rand::random()))?, [INFO] [stdout] 671 + tree.get_signed_by_name(&p0.substituted_in(rand::random()))?, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/network_knowledge/section_tree/mod.rs:678:56 [INFO] [stdout] | [INFO] [stdout] 678 | tree.get_signed_by_name(&p1.substituted_in(xor_name::rand::random()))?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 678 - tree.get_signed_by_name(&p1.substituted_in(xor_name::rand::random()))?, [INFO] [stdout] 678 + tree.get_signed_by_name(&p1.substituted_in(rand::random()))?, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/network_knowledge/section_tree/mod.rs:686:56 [INFO] [stdout] | [INFO] [stdout] 686 | tree.get_signed_by_name(&p0.substituted_in(xor_name::rand::random()))?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 686 - tree.get_signed_by_name(&p0.substituted_in(xor_name::rand::random()))?, [INFO] [stdout] 686 + tree.get_signed_by_name(&p0.substituted_in(rand::random()))?, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/network_knowledge/section_tree/mod.rs:692:66 [INFO] [stdout] | [INFO] [stdout] 692 | tree.get_signed_by_name(&prefix("11").substituted_in(xor_name::rand::random()))?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 692 - tree.get_signed_by_name(&prefix("11").substituted_in(xor_name::rand::random()))?, [INFO] [stdout] 692 + tree.get_signed_by_name(&prefix("11").substituted_in(rand::random()))?, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/network_knowledge/section_tree/mod.rs:697:57 [INFO] [stdout] | [INFO] [stdout] 697 | tree.get_signed_by_name(&p10.substituted_in(xor_name::rand::random()))?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 697 - tree.get_signed_by_name(&p10.substituted_in(xor_name::rand::random()))?, [INFO] [stdout] 697 + tree.get_signed_by_name(&p10.substituted_in(rand::random()))?, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/network_knowledge/section_tree/mod.rs:750:38 [INFO] [stdout] | [INFO] [stdout] 750 | let n01 = p01.substituted_in(xor_name::rand::random()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 750 - let n01 = p01.substituted_in(xor_name::rand::random()); [INFO] [stdout] 750 + let n01 = p01.substituted_in(rand::random()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/network_knowledge/section_tree/mod.rs:751:38 [INFO] [stdout] | [INFO] [stdout] 751 | let n10 = p10.substituted_in(xor_name::rand::random()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 751 - let n10 = p10.substituted_in(xor_name::rand::random()); [INFO] [stdout] 751 + let n10 = p10.substituted_in(rand::random()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/network_knowledge/section_tree/mod.rs:752:38 [INFO] [stdout] | [INFO] [stdout] 752 | let n11 = p11.substituted_in(xor_name::rand::random()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 752 - let n11 = p11.substituted_in(xor_name::rand::random()); [INFO] [stdout] 752 + let n11 = p11.substituted_in(rand::random()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/op_cost/mod.rs:236:37 [INFO] [stdout] | [INFO] [stdout] 236 | let minimum_storage_bytes = mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 236 - let minimum_storage_bytes = mem::size_of::(); [INFO] [stdout] 236 + let minimum_storage_bytes = size_of::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/fees/required_fee_content.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | const AMOUNT_SIZE: usize = std::mem::size_of::(); // Amount size: 8 bytes (u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 17 - const AMOUNT_SIZE: usize = std::mem::size_of::(); // Amount size: 8 bytes (u64) [INFO] [stdout] 17 + const AMOUNT_SIZE: usize = size_of::(); // Amount size: 8 bytes (u64) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/keys/ed25519.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | let name: XorName = xor_name::rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 38 - let name: XorName = xor_name::rand::random(); [INFO] [stdout] 38 + let name: XorName = rand::random(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/keys/public_key.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | let mut xor_name: Self = xor_name::rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 165 - let mut xor_name: Self = xor_name::rand::random(); [INFO] [stdout] 165 + let mut xor_name: Self = rand::random(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/keys/mod.rs:137:48 [INFO] [stdout] | [INFO] [stdout] 137 | let sks = SecretKeySet::random(3, &mut bls::rand::thread_rng()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 137 - let sks = SecretKeySet::random(3, &mut bls::rand::thread_rng()); [INFO] [stdout] 137 + let sks = SecretKeySet::random(3, &mut rand::thread_rng()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/register/mod.rs:189:20 [INFO] [stdout] | [INFO] [stdout] 189 | let name = xor_name::rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 189 - let name = xor_name::rand::random(); [INFO] [stdout] 189 + let name = rand::random(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/register/mod.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 209 | let name: XorName = xor_name::rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 209 - let name: XorName = xor_name::rand::random(); [INFO] [stdout] 209 + let name: XorName = rand::random(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/register/mod.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | let name: XorName = xor_name::rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 261 - let name: XorName = xor_name::rand::random(); [INFO] [stdout] 261 + let name: XorName = rand::random(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/register/mod.rs:356:20 [INFO] [stdout] | [INFO] [stdout] 356 | let name = xor_name::rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 356 - let name = xor_name::rand::random(); [INFO] [stdout] 356 + let name = rand::random(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/register/mod.rs:417:20 [INFO] [stdout] | [INFO] [stdout] 417 | let name = xor_name::rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 417 - let name = xor_name::rand::random(); [INFO] [stdout] 417 + let name = rand::random(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/register/mod.rs:491:20 [INFO] [stdout] | [INFO] [stdout] 491 | let name = xor_name::rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 491 - let name = xor_name::rand::random(); [INFO] [stdout] 491 + let name = rand::random(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/register/mod.rs:527:23 [INFO] [stdout] | [INFO] [stdout] 527 | let xorname = xor_name::rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 527 - let xorname = xor_name::rand::random(); [INFO] [stdout] 527 + let xorname = rand::random(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/register/mod.rs:573:24 [INFO] [stdout] | [INFO] [stdout] 573 | let name = xor_name::rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 573 - let name = xor_name::rand::random(); [INFO] [stdout] 573 + let name = rand::random(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/register/mod.rs:603:24 [INFO] [stdout] | [INFO] [stdout] 603 | let name = xor_name::rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 603 - let name = xor_name::rand::random(); [INFO] [stdout] 603 + let name = rand::random(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/register/mod.rs:642:24 [INFO] [stdout] | [INFO] [stdout] 642 | let name = xor_name::rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 642 - let name = xor_name::rand::random(); [INFO] [stdout] 642 + let name = rand::random(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/register/mod.rs:782:24 [INFO] [stdout] | [INFO] [stdout] 782 | let name = xor_name::rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 782 - let name = xor_name::rand::random(); [INFO] [stdout] 782 + let name = rand::random(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/register/mod.rs:903:27 [INFO] [stdout] | [INFO] [stdout] 903 | let xorname = xor_name::rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 903 - let xorname = xor_name::rand::random(); [INFO] [stdout] 903 + let xorname = rand::random(); [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/messaging/data/mod.rs:75:56 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Eq, PartialEq, Clone, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_DataResponse` [INFO] [stdout] 76 | pub enum DataResponse { [INFO] [stdout] | ------------ `DataResponse` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/data/spentbook.rs:33:56 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Eq, PartialEq, Clone, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_SpentbookCmd` [INFO] [stdout] 34 | pub enum SpentbookCmd { [INFO] [stdout] | ------------ `SpentbookCmd` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/serialisation/wire_msg.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Clone, Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_WireMsg` [INFO] [stdout] 26 | pub struct WireMsg { [INFO] [stdout] | ------- `WireMsg` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `Debug` (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/messaging/serialisation/wire_msg_header.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(CustomDebug, Eq, PartialEq, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_MsgEnvelope` [INFO] [stdout] 41 | pub struct MsgEnvelope { [INFO] [stdout] | ----------- `MsgEnvelope` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `CustomDebug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `CustomDebug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `CustomDebug` (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/messaging/system/mod.rs:39:52 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_NodeMsg` [INFO] [stdout] ... [INFO] [stdout] 42 | pub enum NodeMsg { [INFO] [stdout] | ------- `NodeMsg` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/system/dkg.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Clone, Eq, PartialEq, Hash, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_DkgSessionId` [INFO] [stdout] 26 | pub struct DkgSessionId { [INFO] [stdout] | ------------ `DkgSessionId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/anti_entropy.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, PartialEq, custom_debug::Debug, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_AntiEntropyMsg` [INFO] [stdout] 16 | pub enum AntiEntropyMsg { [INFO] [stdout] | -------------- `AntiEntropyMsg` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/anti_entropy.rs:32:56 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone, PartialEq, Eq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_AntiEntropyKind` [INFO] [stdout] 33 | pub enum AntiEntropyKind { [INFO] [stdout] | --------------- `AntiEntropyKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/authority.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Eq, PartialEq, custom_debug::Debug, serde::Deserialize, serde::Serialize)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_NodeSig` [INFO] [stdout] 27 | pub struct NodeSig { [INFO] [stdout] | ------- `NodeSig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/messaging/msg_id.rs:18:80 [INFO] [stdout] | [INFO] [stdout] 18 | Ord, PartialOrd, Clone, Copy, Eq, PartialEq, Serialize, Deserialize, Hash, custom_debug::Debug, [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_MsgId` [INFO] [stdout] 19 | )] [INFO] [stdout] 20 | pub struct MsgId(#[debug(with = "Self::fmt_bytes")] [u8; MESSAGE_ID_LEN]); [INFO] [stdout] | ----- `MsgId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/network_knowledge/node_info.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_MyNodeInfo` [INFO] [stdout] 20 | pub struct MyNodeInfo { [INFO] [stdout] | ---------- `MyNodeInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/network_knowledge/node_state/relocation.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Clone, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_RelocationProof` [INFO] [stdout] 87 | pub struct RelocationProof { [INFO] [stdout] | --------------- `RelocationProof` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/network_knowledge/section_keys.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(custom_debug::Debug, Clone)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_SectionKeyShare` [INFO] [stdout] 22 | pub struct SectionKeyShare { [INFO] [stdout] | --------------- `SectionKeyShare` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/types/keys/keypair.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Serialize, Deserialize, Clone, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_Keypair` [INFO] [stdout] 118 | pub enum Keypair { [INFO] [stdout] | ------- `Keypair` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/types/keys/keypair.rs:254:56 [INFO] [stdout] | [INFO] [stdout] 254 | #[derive(Clone, Eq, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_BlsKeypairShare` [INFO] [stdout] 255 | pub struct BlsKeypairShare { [INFO] [stdout] | --------------- `BlsKeypairShare` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/types/keys/keypair.rs:268:56 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Clone, Eq, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_BlsKeypair` [INFO] [stdout] 269 | pub struct BlsKeypair { [INFO] [stdout] | ---------- `BlsKeypair` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/types/keys/public_key.rs:30:62 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Clone, Copy, Eq, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_PublicKey` [INFO] [stdout] 31 | pub enum PublicKey { [INFO] [stdout] | --------- `PublicKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/types/keys/signature.rs:29:56 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Eq, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_Signature` [INFO] [stdout] 30 | pub enum Signature { [INFO] [stdout] | --------- `Signature` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (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/types/chunk.rs:14:55 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Hash, Eq, PartialEq, PartialOrd, Ord, Clone, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_Chunk` [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ----- `Chunk` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_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 `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sn_interface` (lib test); 51 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d98a5da813da67eb189387b8ccfb73cf481275d8/bin/rustc --crate-name sn_interface --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("proptest", "test-utils"))' -C metadata=70bd0333bb989dfc -C extra-filename=-6c13af05fa1beb48 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern assert_matches=/opt/rustwide/target/debug/deps/libassert_matches-7f4fcfc700bd22ea.rlib --extern bincode=/opt/rustwide/target/debug/deps/libbincode-86069115a82dfe5d.rlib --extern bls=/opt/rustwide/target/debug/deps/libblsttc-3437cd862214747b.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-ad0e177a2596dbf7.rlib --extern cargo_husky=/opt/rustwide/target/debug/deps/libcargo_husky-75d49b724126885a.rlib --extern crdts=/opt/rustwide/target/debug/deps/libcrdts-89f3028c8ba54540.rlib --extern custom_debug=/opt/rustwide/target/debug/deps/libcustom_debug-53e3540f270dd754.rlib --extern ed25519=/opt/rustwide/target/debug/deps/libed25519-a08296dff5d85893.rlib --extern ed25519_dalek=/opt/rustwide/target/debug/deps/libed25519_dalek-7e23d92a348e08fc.rlib --extern eyre=/opt/rustwide/target/debug/deps/libeyre-08afa9ca88bc2925.rlib --extern hex=/opt/rustwide/target/debug/deps/libhex-f8780b52ba33bd3a.rlib --extern hex_fmt=/opt/rustwide/target/debug/deps/libhex_fmt-0b848fd57d3b591c.rlib --extern itertools=/opt/rustwide/target/debug/deps/libitertools-0137efe9306940fe.rlib --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-5f41077b1fb4f2c7.rlib --extern multibase=/opt/rustwide/target/debug/deps/libmultibase-47e73da9f0dbdcc9.rlib --extern num_cpus=/opt/rustwide/target/debug/deps/libnum_cpus-e4412cc24bcad615.rlib --extern proptest=/opt/rustwide/target/debug/deps/libproptest-d3a77104abb3ff2a.rlib --extern rand_07=/opt/rustwide/target/debug/deps/librand-fb72782a77a8ca6b.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-5c6e1bdf97791d2e.rlib --extern rand_xorshift=/opt/rustwide/target/debug/deps/librand_xorshift-878cd39e7c8276d3.rlib --extern rayon=/opt/rustwide/target/debug/deps/librayon-c897cf7471a4e475.rlib --extern rmp_serde=/opt/rustwide/target/debug/deps/librmp_serde-7d566bd6cdd10f8e.rlib --extern self_encryption=/opt/rustwide/target/debug/deps/libself_encryption-994366176fd1b1eb.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-c927fa0c0603cd12.rlib --extern serde_bytes=/opt/rustwide/target/debug/deps/libserde_bytes-650f7a01aaef2f58.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-1a288594cda761c7.rlib --extern signature=/opt/rustwide/target/debug/deps/libsignature-a6cab4a73c37b958.rlib --extern sn_consensus=/opt/rustwide/target/debug/deps/libsn_consensus-f5718fac2d4146a8.rlib --extern sn_dbc=/opt/rustwide/target/debug/deps/libsn_dbc-e149b273cab9d44d.rlib --extern sn_sdkg=/opt/rustwide/target/debug/deps/libsn_sdkg-98cdc6da6ecca252.rlib --extern strum=/opt/rustwide/target/debug/deps/libstrum-24b0fcbb7b388ec3.rlib --extern strum_macros=/opt/rustwide/target/debug/deps/libstrum_macros-0bbfad6f786f498c.so --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-f03b661abb6b0fff.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-a1af4216607374e4.rlib --extern tiny_keccak=/opt/rustwide/target/debug/deps/libtiny_keccak-387d4b844ff9af5f.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-be32bcc39f93b6d4.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-eec0e14aa4078c3c.rlib --extern tracing_core=/opt/rustwide/target/debug/deps/libtracing_core-82f1c6f81a2d2dca.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-d6d221917907bce3.rlib --extern uluru=/opt/rustwide/target/debug/deps/libuluru-1965162b238dde07.rlib --extern xor_name=/opt/rustwide/target/debug/deps/libxor_name-b65d6bdf3a733e89.rlib --cap-lints=forbid -Copt-level=3 -L native=/opt/rustwide/target/debug/build/blst-c0c0a61fcab78dd9/out -L native=/opt/rustwide/target/debug/build/clear_on_drop-2270ed9a737edde8/out` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "183c2093f441fce57ef6cab11a812299126036ffe11ab65b2ae3e71dcef32ba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "183c2093f441fce57ef6cab11a812299126036ffe11ab65b2ae3e71dcef32ba7", kill_on_drop: false }` [INFO] [stdout] 183c2093f441fce57ef6cab11a812299126036ffe11ab65b2ae3e71dcef32ba7