[INFO] fetching crate sn_interface 0.22.4... [INFO] testing sn_interface-0.22.4 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate sn_interface 0.22.4 into /workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sn_interface 0.22.4 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 200 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.0) [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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4aa7bdde9a19e3a7d3ddd7235ca60dd176b484b39dc5db251c66ba1143561f7 [INFO] running `Command { std: "docker" "start" "-a" "d4aa7bdde9a19e3a7d3ddd7235ca60dd176b484b39dc5db251c66ba1143561f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4aa7bdde9a19e3a7d3ddd7235ca60dd176b484b39dc5db251c66ba1143561f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4aa7bdde9a19e3a7d3ddd7235ca60dd176b484b39dc5db251c66ba1143561f7", kill_on_drop: false }` [INFO] [stdout] d4aa7bdde9a19e3a7d3ddd7235ca60dd176b484b39dc5db251c66ba1143561f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ecb8e5c15ada087dc87dbb9f0c2e09e16b7dfd62a3419673613bcc8181f34c0 [INFO] running `Command { std: "docker" "start" "-a" "9ecb8e5c15ada087dc87dbb9f0c2e09e16b7dfd62a3419673613bcc8181f34c0", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling bulletproofs v4.0.0 [INFO] [stderr] Compiling xor_name v5.0.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling pairing v0.22.0 [INFO] [stderr] Compiling blstrs v0.6.2 [INFO] [stderr] Compiling blsttc v8.0.2 [INFO] [stderr] Compiling sn_dbc v12.0.0 [INFO] [stderr] Compiling sn_consensus v3.5.2 [INFO] [stderr] Compiling sn_sdkg v3.1.4 [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 29.01s [INFO] running `Command { std: "docker" "inspect" "9ecb8e5c15ada087dc87dbb9f0c2e09e16b7dfd62a3419673613bcc8181f34c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ecb8e5c15ada087dc87dbb9f0c2e09e16b7dfd62a3419673613bcc8181f34c0", kill_on_drop: false }` [INFO] [stdout] 9ecb8e5c15ada087dc87dbb9f0c2e09e16b7dfd62a3419673613bcc8181f34c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f04c22c37063f78eeaf80eb22f7453c3b5a34f9441397693788b0c4dd3ed12e0 [INFO] running `Command { std: "docker" "start" "-a" "f04c22c37063f78eeaf80eb22f7453c3b5a34f9441397693788b0c4dd3ed12e0", kill_on_drop: false }` [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling rand_xorshift v0.2.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 rusty-fork v0.3.0 [INFO] [stderr] Compiling bit-set v0.8.0 [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] Finished `test` profile [unoptimized + debuginfo] target(s) in 26.18s [INFO] running `Command { std: "docker" "inspect" "f04c22c37063f78eeaf80eb22f7453c3b5a34f9441397693788b0c4dd3ed12e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f04c22c37063f78eeaf80eb22f7453c3b5a34f9441397693788b0c4dd3ed12e0", kill_on_drop: false }` [INFO] [stdout] f04c22c37063f78eeaf80eb22f7453c3b5a34f9441397693788b0c4dd3ed12e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8bace4319504c2157a58fe6aa58233f17db477f3ab17fccc7e26f935dca58c83 [INFO] running `Command { std: "docker" "start" "-a" "8bace4319504c2157a58fe6aa58233f17db477f3ab17fccc7e26f935dca58c83", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `data-network` [INFO] [stderr] --> src/messaging/data/spentbook.rs:57:19 [INFO] [stderr] | [INFO] [stderr] 57 | #[cfg(not(feature = "data-network"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `proptest` and `test-utils` [INFO] [stderr] = help: consider adding `data-network` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/types/fees/required_fee_content.rs:17:28 [INFO] [stderr] | [INFO] [stderr] 17 | const AMOUNT_SIZE: usize = std::mem::size_of::(); // Amount size: 8 bytes (u64) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | unused_qualifications, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 17 - const AMOUNT_SIZE: usize = std::mem::size_of::(); // Amount size: 8 bytes (u64) [INFO] [stderr] 17 + const AMOUNT_SIZE: usize = size_of::(); // Amount size: 8 bytes (u64) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/types/keys/ed25519.rs:38:29 [INFO] [stderr] | [INFO] [stderr] 38 | let name: XorName = xor_name::rand::random(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 38 - let name: XorName = xor_name::rand::random(); [INFO] [stderr] 38 + let name: XorName = rand::random(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/types/keys/public_key.rs:165:34 [INFO] [stderr] | [INFO] [stderr] 165 | let mut xor_name: Self = xor_name::rand::random(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 165 - let mut xor_name: Self = xor_name::rand::random(); [INFO] [stderr] 165 + let mut xor_name: Self = rand::random(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/messaging/data/mod.rs:75:56 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Eq, PartialEq, Clone, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_DataResponse` [INFO] [stderr] 76 | pub enum DataResponse { [INFO] [stderr] | ------------ `DataResponse` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/messaging/data/spentbook.rs:33:56 [INFO] [stderr] | [INFO] [stderr] 33 | #[derive(Eq, PartialEq, Clone, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_SpentbookCmd` [INFO] [stderr] 34 | pub enum SpentbookCmd { [INFO] [stderr] | ------------ `SpentbookCmd` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/messaging/serialisation/wire_msg.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(Clone, Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_WireMsg` [INFO] [stderr] 26 | pub struct WireMsg { [INFO] [stderr] | ------- `WireMsg` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/messaging/serialisation/wire_msg_header.rs:40:10 [INFO] [stderr] | [INFO] [stderr] 40 | #[derive(CustomDebug, Eq, PartialEq, Clone, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_MsgEnvelope` [INFO] [stderr] 41 | pub struct MsgEnvelope { [INFO] [stderr] | ----------- `MsgEnvelope` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `CustomDebug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `CustomDebug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/messaging/system/mod.rs:39:52 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Clone, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_NodeMsg` [INFO] [stderr] ... [INFO] [stderr] 42 | pub enum NodeMsg { [INFO] [stderr] | ------- `NodeMsg` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/messaging/system/dkg.rs:25:62 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(Clone, Eq, PartialEq, Hash, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_DkgSessionId` [INFO] [stderr] 26 | pub struct DkgSessionId { [INFO] [stderr] | ------------ `DkgSessionId` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/messaging/anti_entropy.rs:15:28 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Clone, PartialEq, custom_debug::Debug, serde::Serialize, serde::Deserialize)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_AntiEntropyMsg` [INFO] [stderr] 16 | pub enum AntiEntropyMsg { [INFO] [stderr] | -------------- `AntiEntropyMsg` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/messaging/anti_entropy.rs:32:56 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Clone, PartialEq, Eq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_AntiEntropyKind` [INFO] [stderr] 33 | pub enum AntiEntropyKind { [INFO] [stderr] | --------------- `AntiEntropyKind` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/messaging/authority.rs:26:32 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Clone, Eq, PartialEq, custom_debug::Debug, serde::Deserialize, serde::Serialize)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_NodeSig` [INFO] [stderr] 27 | pub struct NodeSig { [INFO] [stderr] | ------- `NodeSig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/messaging/msg_id.rs:18:80 [INFO] [stderr] | [INFO] [stderr] 18 | Ord, PartialOrd, Clone, Copy, Eq, PartialEq, Serialize, Deserialize, Hash, custom_debug::Debug, [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_MsgId` [INFO] [stderr] 19 | )] [INFO] [stderr] 20 | pub struct MsgId(#[debug(with = "Self::fmt_bytes")] [u8; MESSAGE_ID_LEN]); [INFO] [stderr] | ----- `MsgId` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/network_knowledge/node_info.rs:19:17 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Clone, custom_debug::Debug)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_MyNodeInfo` [INFO] [stderr] 20 | pub struct MyNodeInfo { [INFO] [stderr] | ---------- `MyNodeInfo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/network_knowledge/node_state/relocation.rs:86:52 [INFO] [stderr] | [INFO] [stderr] 86 | #[derive(Clone, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_RelocationProof` [INFO] [stderr] 87 | pub struct RelocationProof { [INFO] [stderr] | --------------- `RelocationProof` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/network_knowledge/section_keys.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(custom_debug::Debug, Clone)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_SectionKeyShare` [INFO] [stderr] 22 | pub struct SectionKeyShare { [INFO] [stderr] | --------------- `SectionKeyShare` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types/keys/keypair.rs:117:41 [INFO] [stderr] | [INFO] [stderr] 117 | #[derive(Serialize, Deserialize, Clone, custom_debug::Debug)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_Keypair` [INFO] [stderr] 118 | pub enum Keypair { [INFO] [stderr] | ------- `Keypair` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types/keys/keypair.rs:254:56 [INFO] [stderr] | [INFO] [stderr] 254 | #[derive(Clone, Eq, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_BlsKeypairShare` [INFO] [stderr] 255 | pub struct BlsKeypairShare { [INFO] [stderr] | --------------- `BlsKeypairShare` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types/keys/keypair.rs:268:56 [INFO] [stderr] | [INFO] [stderr] 268 | #[derive(Clone, Eq, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_BlsKeypair` [INFO] [stderr] 269 | pub struct BlsKeypair { [INFO] [stderr] | ---------- `BlsKeypair` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types/keys/public_key.rs:30:62 [INFO] [stderr] | [INFO] [stderr] 30 | #[derive(Clone, Copy, Eq, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_PublicKey` [INFO] [stderr] 31 | pub enum PublicKey { [INFO] [stderr] | --------- `PublicKey` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types/keys/signature.rs:29:56 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Clone, Eq, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_Signature` [INFO] [stderr] 30 | pub enum Signature { [INFO] [stderr] | --------- `Signature` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types/chunk.rs:14:55 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Hash, Eq, PartialEq, PartialOrd, Ord, Clone, custom_debug::Debug)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_Chunk` [INFO] [stderr] 15 | pub struct Chunk { [INFO] [stderr] | ----- `Chunk` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `sn_interface` (lib) generated 23 warnings (run `cargo fix --lib -p sn_interface` to apply 3 suggestions) [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/messaging/serialisation/wire_msg.rs:245:19 [INFO] [stderr] | [INFO] [stderr] 245 | name: xor_name::rand::random(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | unused_qualifications, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 245 - name: xor_name::rand::random(), [INFO] [stderr] 245 + name: rand::random(), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/messaging/serialisation/wire_msg.rs:279:19 [INFO] [stderr] | [INFO] [stderr] 279 | name: xor_name::rand::random(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 279 - name: xor_name::rand::random(), [INFO] [stderr] 279 + name: rand::random(), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/messaging/serialisation/wire_msg.rs:286:63 [INFO] [stderr] | [INFO] [stderr] 286 | ClientMsg::Query(DataQuery::GetChunk(ChunkAddress(xor_name::rand::random()))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 286 - ClientMsg::Query(DataQuery::GetChunk(ChunkAddress(xor_name::rand::random()))); [INFO] [stderr] 286 + ClientMsg::Query(DataQuery::GetChunk(ChunkAddress(rand::random()))); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/network_knowledge/section_tree/mod.rs:579:56 [INFO] [stderr] | [INFO] [stderr] 579 | tree.get_signed_by_name(&p1.substituted_in(xor_name::rand::random()))?, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 579 - tree.get_signed_by_name(&p1.substituted_in(xor_name::rand::random()))?, [INFO] [stderr] 579 + tree.get_signed_by_name(&p1.substituted_in(rand::random()))?, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/network_knowledge/section_tree/mod.rs:585:45 [INFO] [stderr] | [INFO] [stderr] 585 | tree.closest(&p1.substituted_in(xor_name::rand::random()), None) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 585 - tree.closest(&p1.substituted_in(xor_name::rand::random()), None) [INFO] [stderr] 585 + tree.closest(&p1.substituted_in(rand::random()), None) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/network_knowledge/section_tree/mod.rs:592:45 [INFO] [stderr] | [INFO] [stderr] 592 | tree.closest(&p1.substituted_in(xor_name::rand::random()), None) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 592 - tree.closest(&p1.substituted_in(xor_name::rand::random()), None) [INFO] [stderr] 592 + tree.closest(&p1.substituted_in(rand::random()), None) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/network_knowledge/section_tree/mod.rs:671:56 [INFO] [stderr] | [INFO] [stderr] 671 | tree.get_signed_by_name(&p0.substituted_in(xor_name::rand::random()))?, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 671 - tree.get_signed_by_name(&p0.substituted_in(xor_name::rand::random()))?, [INFO] [stderr] 671 + tree.get_signed_by_name(&p0.substituted_in(rand::random()))?, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/network_knowledge/section_tree/mod.rs:678:56 [INFO] [stderr] | [INFO] [stderr] 678 | tree.get_signed_by_name(&p1.substituted_in(xor_name::rand::random()))?, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 678 - tree.get_signed_by_name(&p1.substituted_in(xor_name::rand::random()))?, [INFO] [stderr] 678 + tree.get_signed_by_name(&p1.substituted_in(rand::random()))?, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/network_knowledge/section_tree/mod.rs:686:56 [INFO] [stderr] | [INFO] [stderr] 686 | tree.get_signed_by_name(&p0.substituted_in(xor_name::rand::random()))?, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 686 - tree.get_signed_by_name(&p0.substituted_in(xor_name::rand::random()))?, [INFO] [stderr] 686 + tree.get_signed_by_name(&p0.substituted_in(rand::random()))?, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/network_knowledge/section_tree/mod.rs:692:66 [INFO] [stderr] | [INFO] [stderr] 692 | tree.get_signed_by_name(&prefix("11").substituted_in(xor_name::rand::random()))?, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 692 - tree.get_signed_by_name(&prefix("11").substituted_in(xor_name::rand::random()))?, [INFO] [stderr] 692 + tree.get_signed_by_name(&prefix("11").substituted_in(rand::random()))?, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/network_knowledge/section_tree/mod.rs:697:57 [INFO] [stderr] | [INFO] [stderr] 697 | tree.get_signed_by_name(&p10.substituted_in(xor_name::rand::random()))?, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 697 - tree.get_signed_by_name(&p10.substituted_in(xor_name::rand::random()))?, [INFO] [stderr] 697 + tree.get_signed_by_name(&p10.substituted_in(rand::random()))?, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/network_knowledge/section_tree/mod.rs:750:38 [INFO] [stderr] | [INFO] [stderr] 750 | let n01 = p01.substituted_in(xor_name::rand::random()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 750 - let n01 = p01.substituted_in(xor_name::rand::random()); [INFO] [stderr] 750 + let n01 = p01.substituted_in(rand::random()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/network_knowledge/section_tree/mod.rs:751:38 [INFO] [stderr] | [INFO] [stderr] 751 | let n10 = p10.substituted_in(xor_name::rand::random()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 751 - let n10 = p10.substituted_in(xor_name::rand::random()); [INFO] [stderr] 751 + let n10 = p10.substituted_in(rand::random()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/network_knowledge/section_tree/mod.rs:752:38 [INFO] [stderr] | [INFO] [stderr] 752 | let n11 = p11.substituted_in(xor_name::rand::random()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 752 - let n11 = p11.substituted_in(xor_name::rand::random()); [INFO] [stderr] 752 + let n11 = p11.substituted_in(rand::random()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/op_cost/mod.rs:236:37 [INFO] [stderr] | [INFO] [stderr] 236 | let minimum_storage_bytes = mem::size_of::(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 236 - let minimum_storage_bytes = mem::size_of::(); [INFO] [stderr] 236 + let minimum_storage_bytes = size_of::(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/types/fees/required_fee_content.rs:17:28 [INFO] [stderr] | [INFO] [stderr] 17 | const AMOUNT_SIZE: usize = std::mem::size_of::(); // Amount size: 8 bytes (u64) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 17 - const AMOUNT_SIZE: usize = std::mem::size_of::(); // Amount size: 8 bytes (u64) [INFO] [stderr] 17 + const AMOUNT_SIZE: usize = size_of::(); // Amount size: 8 bytes (u64) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/types/keys/mod.rs:137:48 [INFO] [stderr] | [INFO] [stderr] 137 | let sks = SecretKeySet::random(3, &mut bls::rand::thread_rng()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 137 - let sks = SecretKeySet::random(3, &mut bls::rand::thread_rng()); [INFO] [stderr] 137 + let sks = SecretKeySet::random(3, &mut rand::thread_rng()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/types/register/mod.rs:189:20 [INFO] [stderr] | [INFO] [stderr] 189 | let name = xor_name::rand::random(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 189 - let name = xor_name::rand::random(); [INFO] [stderr] 189 + let name = rand::random(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/types/register/mod.rs:209:29 [INFO] [stderr] | [INFO] [stderr] 209 | let name: XorName = xor_name::rand::random(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 209 - let name: XorName = xor_name::rand::random(); [INFO] [stderr] 209 + let name: XorName = rand::random(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/types/register/mod.rs:261:29 [INFO] [stderr] | [INFO] [stderr] 261 | let name: XorName = xor_name::rand::random(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 261 - let name: XorName = xor_name::rand::random(); [INFO] [stderr] 261 + let name: XorName = rand::random(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/types/register/mod.rs:356:20 [INFO] [stderr] | [INFO] [stderr] 356 | let name = xor_name::rand::random(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 356 - let name = xor_name::rand::random(); [INFO] [stderr] 356 + let name = rand::random(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/types/register/mod.rs:417:20 [INFO] [stderr] | [INFO] [stderr] 417 | let name = xor_name::rand::random(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 417 - let name = xor_name::rand::random(); [INFO] [stderr] 417 + let name = rand::random(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/types/register/mod.rs:491:20 [INFO] [stderr] | [INFO] [stderr] 491 | let name = xor_name::rand::random(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 491 - let name = xor_name::rand::random(); [INFO] [stderr] 491 + let name = rand::random(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/types/register/mod.rs:527:23 [INFO] [stderr] | [INFO] [stderr] 527 | let xorname = xor_name::rand::random(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 527 - let xorname = xor_name::rand::random(); [INFO] [stderr] 527 + let xorname = rand::random(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/types/register/mod.rs:573:24 [INFO] [stderr] | [INFO] [stderr] 573 | let name = xor_name::rand::random(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 573 - let name = xor_name::rand::random(); [INFO] [stderr] 573 + let name = rand::random(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/types/register/mod.rs:603:24 [INFO] [stderr] | [INFO] [stderr] 603 | let name = xor_name::rand::random(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 603 - let name = xor_name::rand::random(); [INFO] [stderr] 603 + let name = rand::random(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/types/register/mod.rs:642:24 [INFO] [stderr] | [INFO] [stderr] 642 | let name = xor_name::rand::random(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 642 - let name = xor_name::rand::random(); [INFO] [stderr] 642 + let name = rand::random(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/types/register/mod.rs:782:24 [INFO] [stderr] | [INFO] [stderr] 782 | let name = xor_name::rand::random(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 782 - let name = xor_name::rand::random(); [INFO] [stderr] 782 + let name = rand::random(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/types/register/mod.rs:903:27 [INFO] [stderr] | [INFO] [stderr] 903 | let xorname = xor_name::rand::random(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 903 - let xorname = xor_name::rand::random(); [INFO] [stderr] 903 + let xorname = rand::random(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `sn_interface` (lib test) generated 51 warnings (22 duplicates) (run `cargo fix --lib -p sn_interface --tests` to apply 29 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sn_interface-69d7f1dbfaf9e6c0) [INFO] [stdout] [INFO] [stdout] running 102 tests [INFO] [stdout] test messaging::data::tests::try_from ... ok [INFO] [stdout] test messaging::serialisation::wire_msg::tests::serialisation_node_msg ... ok [INFO] [stdout] test messaging::data::tests::debug_format_functional ... ok [INFO] [stdout] test messaging::serialisation::wire_msg::tests::serialisation_client_msg ... ok [INFO] [stdout] test messaging::signature_aggregator::tests::invalid_share ... ok [INFO] [stdout] test messaging::system::section_sig::tests::verify_keyed_sig ... ok [INFO] [stdout] test messaging::signature_aggregator::tests::test_total_participation_aggregator ... ok [INFO] [stdout] test messaging::signature_aggregator::tests::repeated_voting ... ok [INFO] [stdout] test messaging::signature_aggregator::tests::test_signature_aggregator ... ok [INFO] [stdout] test messaging::data::tests::wire_msg_payload ... ok [INFO] [stdout] test network_knowledge::section_member_history::tests::members_should_be_archived_if_they_leave_or_relocate ... ok [INFO] [stdout] test network_knowledge::sections_dag::tests::get_chain_from_genesis_to_last ... ok [INFO] [stdout] test network_knowledge::sections_dag::tests::insert_duplicate_key ... ok [INFO] [stdout] test network_knowledge::sections_dag::tests::insert_fork ... ok [INFO] [stdout] test network_knowledge::sections_dag::tests::insert_last ... ok [INFO] [stdout] test network_knowledge::sections_dag::tests::invalid_signature ... ok [INFO] [stdout] test network_knowledge::sections_dag::tests::merge ... ok [INFO] [stdout] test network_knowledge::sections_dag::tests::merge_fork ... ok [INFO] [stdout] test network_knowledge::sections_dag::tests::merge_with_branches ... ok [INFO] [stdout] test network_knowledge::section_member_history::tests::retain_archived_members_of_the_latest_sections_while_pruning ... ok [INFO] [stdout] test network_knowledge::sections_dag::tests::self_verify_invalid_sigs ... ok [INFO] [stdout] test network_knowledge::sections_dag::tests::test_partial_dag_for_genesis_key ... ok [INFO] [stdout] test network_knowledge::sections_dag::tests::verify_ancestors ... ok [INFO] [stdout] test network_knowledge::sections_dag::tests::verify_children ... ok [INFO] [stdout] test network_knowledge::sections_dag::tests::verify_leaves ... ok [INFO] [stdout] test network_knowledge::sections_dag::tests::verify_parent_during_split ... ok [INFO] [stdout] test network_knowledge::sections_dag::tests::verify_parents_during_churn ... ok [INFO] [stdout] test network_knowledge::sections_dag::tests::verify_ser_de ... ok [INFO] [stdout] test network_knowledge::section_member_history::tests::archived_members_should_not_be_moved_to_members_list ... ok [INFO] [stdout] test network_knowledge::tests::byte_slice_trailing_zeros ... ok [INFO] [stdout] test network_knowledge::sections_dag::tests::wrong_parent_child_order ... ok [INFO] [stdout] test network_knowledge::tests::proptest_supermajority ... ok [INFO] [stdout] test network_knowledge::tests::supermajority_of_small_group ... ok [INFO] [stdout] test op_cost::test::calculates_required_tokens ... ok [INFO] [stdout] test op_cost::test::emptier_section_requires_fewer_tokens ... ok [INFO] [stdout] test op_cost::test::fewer_tokens_required_in_larger_net ... ok [INFO] [stdout] test op_cost::test::section_share_of_max_supply_decreases_as_network_grows ... ok [INFO] [stdout] test op_cost::test::smaller_chunks_require_fewer_tokens ... ok [INFO] [stdout] test op_cost::test::splitting_into_multiple_chunks_require_fewer_tokens_than_same_bytes_in_single_chunk ... ok [INFO] [stdout] test op_cost::test::tokens ... ok [INFO] [stdout] test op_cost::test::tokens_are_required_up_to_max_network_size ... ok [INFO] [stdout] test types::cache::item::tests::expired_when_duration_is_zero ... ok [INFO] [stdout] test network_knowledge::tests::signed_sap_field_should_not_be_changed_if_the_update_is_for_a_different_prefix ... ok [INFO] [stdout] test types::cache::item::tests::not_expired_when_duration_is_none ... ok [INFO] [stdout] test types::cache::tests::clear_not_expired_item ... ok [INFO] [stdout] test types::cache::tests::drop_excess_entry_zero_entry ... ok [INFO] [stdout] test types::cache::tests::drop_excess_entry_one_entry ... ok [INFO] [stdout] test types::cache::tests::remove_expired_do_not_remove_not_expired_item ... ok [INFO] [stdout] test types::cache::tests::remove_expired_item ... ok [INFO] [stdout] test types::cache::tests::remove_return_none_if_not_found ... ok [INFO] [stdout] test types::cache::tests::remove_remove_expired_item ... ok [INFO] [stdout] test types::cache::tests::set_and_get_value_with_custom_duration ... ok [INFO] [stdout] test types::cache::tests::set_and_get_value_with_default_duration ... ok [INFO] [stdout] test types::cache::tests::set_do_not_get_expired_value ... ok [INFO] [stdout] test types::cache::tests::set_and_get_value_without_duration ... ok [INFO] [stdout] test types::cache::tests::set_replace_existing_value ... ok [INFO] [stdout] test types::chunk::tests::deterministic_address ... ok [INFO] [stdout] test types::cache::tests::set_do_not_return_expired_value ... ok [INFO] [stdout] test types::chunk::tests::deterministic_test ... ok [INFO] [stdout] test types::chunk::tests::deterministic_name ... ok [INFO] [stdout] test types::chunk::tests::serialisation ... ok [INFO] [stdout] test types::keys::keypair::tests::bls_from_hex_should_deserialize_hex_to_keypair ... ok [INFO] [stdout] test types::keys::keypair::tests::should_serialise_a_bls_keypair ... ok [INFO] [stdout] test types::keys::keypair::tests::should_serialise_a_bls_share ... ok [INFO] [stdout] test types::keys::keypair::tests::should_serialise_an_ed25519_keypair ... ok [INFO] [stdout] test types::fees::tests::required_fee_can_be_read_by_client ... ok [INFO] [stdout] test types::keys::keypair::tests::to_hex_should_convert_bls_keypair_to_hex ... ok [INFO] [stdout] test types::keys::keypair::tests::to_hex_should_convert_ed25519_keypair_to_hex ... ok [INFO] [stdout] test types::keys::public_key::tests::serialisation_public_key ... ok [INFO] [stdout] test types::keys::public_key::tests::zbase32_encode_decode_public_key ... ok [INFO] [stdout] test types::keys::signature::tests::ed25519_rmp_roundtrip ... ok [INFO] [stdout] test types::register::reg_crdt::tests::creating_entry_hash ... ok [INFO] [stdout] test types::keys::test_utils::obtain_sk_set_from_shares ... ok [INFO] [stdout] test types::register::tests::exceeding_max_reg_entries_errors ... ok [INFO] [stdout] test network_knowledge::section_tree::tests::return_opposite_prefix_if_none_matching ... ok [INFO] [stdout] test network_knowledge::section_tree::tests::updating_with_same_sap_should_return_false ... ok [INFO] [stdout] test network_knowledge::section_tree::tests::outdated_sap_result_in_no_update ... ok [INFO] [stdout] test types::register::tests::proptest_converge_with_shuffled_ops_including_bad_ops_which_error_and_are_not_applied ... ok [INFO] [stdout] test network_knowledge::section_tree::tests::sap_with_same_parent_and_prefix_should_result_in_error_during_update ... ok [INFO] [stdout] test network_knowledge::section_tree::tests::proof_chain_should_contain_a_single_branch_during_update ... ok [INFO] [stdout] test network_knowledge::section_tree::tests::insert_existing_prefix ... ok [INFO] [stdout] test types::register::tests::proptest_reg_doesnt_crash_with_random_data ... ok [INFO] [stdout] test types::register::tests::register_concurrent_write_ops ... ok [INFO] [stdout] test types::register::tests::register_create ... ok [INFO] [stdout] test types::register::tests::register_generate_entry_hash ... ok [INFO] [stdout] test types::register::tests::register_get_by_hash ... ok [INFO] [stdout] test types::register::tests::register_query_public_policy ... ok [INFO] [stdout] test network_knowledge::section_tree::tests::closest ... ok [INFO] [stdout] test network_knowledge::section_tree::tests::get_matching has been running for over 60 seconds [INFO] [stdout] test network_knowledge::section_tree::tests::get_matching_prefix has been running for over 60 seconds [INFO] [stdout] test network_knowledge::section_tree::tests::insert_ancestor_of_existing_prefix has been running for over 60 seconds [INFO] [stdout] test network_knowledge::section_tree::tests::insert_direct_descendants_of_existing_prefix has been running for over 60 seconds [INFO] [stdout] test network_knowledge::section_tree::tests::insert_indirect_descendants_of_existing_prefix has been running for over 60 seconds [INFO] [stdout] test network_knowledge::section_tree::tests::proptest_section_tree_fields_should_stay_in_sync has been running for over 60 seconds [INFO] [stdout] test network_knowledge::section_tree::tests::insert_ancestor_of_existing_prefix ... ok [INFO] [stdout] test network_knowledge::sections_dag::tests::proptest_merge_sections_dag has been running for over 60 seconds [INFO] [stdout] test types::register::tests::proptest_converge_with_shuffled_op_set_across_arbitrary_number_of_replicas has been running for over 60 seconds [INFO] [stdout] test types::register::tests::proptest_converge_with_shuffled_ops_from_many_replicas_across_arbitrary_number_of_replicas has been running for over 60 seconds [INFO] [stdout] test network_knowledge::section_tree::tests::get_matching_prefix ... ok [INFO] [stdout] test types::register::tests::proptest_converge_with_shuffled_ops_from_many_while_dropping_some_at_random has been running for over 60 seconds [INFO] [stdout] test types::register::tests::proptest_dropped_data_can_be_reapplied_and_we_converge has been running for over 60 seconds [INFO] [stdout] test network_knowledge::section_tree::tests::get_matching ... ok [INFO] [stdout] test types::register::tests::proptest_reg_converge_with_many_random_data has been running for over 60 seconds [INFO] [stdout] test types::register::tests::proptest_reg_converge_with_many_random_data_across_arbitrary_number_of_replicas has been running for over 60 seconds [INFO] [stdout] test types::register::tests::proptest_reg_converge_with_many_random_data_random_entry_children has been running for over 60 seconds [INFO] [stdout] test network_knowledge::section_tree::tests::insert_direct_descendants_of_existing_prefix ... ok [INFO] [stdout] test network_knowledge::section_tree::tests::insert_indirect_descendants_of_existing_prefix ... ok [INFO] [stdout] test types::register::tests::proptest_reg_converge_with_many_random_data ... ok [INFO] [stdout] test network_knowledge::section_tree::tests::proptest_section_tree_fields_should_stay_in_sync ... ok [INFO] [stdout] test types::register::tests::proptest_dropped_data_can_be_reapplied_and_we_converge ... ok [INFO] [stdout] test types::register::tests::proptest_reg_converge_with_many_random_data_across_arbitrary_number_of_replicas ... ok [INFO] [stdout] test network_knowledge::sections_dag::tests::proptest_merge_sections_dag ... ok [INFO] [stdout] test types::register::tests::proptest_converge_with_shuffled_ops_from_many_replicas_across_arbitrary_number_of_replicas ... ok [INFO] [stdout] test types::register::tests::proptest_converge_with_shuffled_ops_from_many_while_dropping_some_at_random ... ok [INFO] [stdout] test types::register::tests::proptest_converge_with_shuffled_op_set_across_arbitrary_number_of_replicas ... ok [ERROR] error running command: command timed out after 900 seconds [INFO] running `Command { std: "docker" "inspect" "8bace4319504c2157a58fe6aa58233f17db477f3ab17fccc7e26f935dca58c83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bace4319504c2157a58fe6aa58233f17db477f3ab17fccc7e26f935dca58c83", kill_on_drop: false }` [INFO] [stdout] 8bace4319504c2157a58fe6aa58233f17db477f3ab17fccc7e26f935dca58c83