[INFO] fetching crate sn_interface 0.22.4... [INFO] building sn_interface-0.22.4 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate sn_interface 0.22.4 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate sn_interface 0.22.4 [INFO] finished tweaking crates.io crate sn_interface 0.22.4 [INFO] tweaked toml for crates.io crate sn_interface 0.22.4 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sn_interface 0.22.4 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hex_fmt v0.3.0 [INFO] [stderr] Downloaded ff v0.12.1 [INFO] [stderr] Downloaded blsttc v8.0.2 [INFO] [stderr] Downloaded pairing v0.22.0 [INFO] [stderr] Downloaded tracing-serde v0.2.0 [INFO] [stderr] Downloaded clear_on_drop v0.2.5 [INFO] [stderr] Downloaded group v0.12.1 [INFO] [stderr] Downloaded const-str v0.4.3 [INFO] [stderr] Downloaded indenter v0.3.4 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.16 [INFO] [stderr] Downloaded rmp v0.8.14 [INFO] [stderr] Downloaded crdts v7.3.2 [INFO] [stderr] Downloaded match-lookup v0.1.1 [INFO] [stderr] Downloaded cbc v0.1.2 [INFO] [stderr] Downloaded base-x v0.2.11 [INFO] [stderr] Downloaded cargo-husky v1.5.0 [INFO] [stderr] Downloaded data-encoding-macro v0.1.18 [INFO] [stderr] Downloaded brotli-decompressor v2.3.5 [INFO] [stderr] Downloaded blstrs v0.6.2 [INFO] [stderr] Downloaded subtle-ng v2.5.0 [INFO] [stderr] Downloaded self_encryption v0.28.6 [INFO] [stderr] Downloaded curve25519-dalek v3.2.0 [INFO] [stderr] Downloaded blst v0.3.16 [INFO] [stderr] Downloaded sn_consensus v3.5.2 [INFO] [stderr] Downloaded rand_xorshift v0.2.0 [INFO] [stderr] Downloaded custom_debug_derive v0.5.1 [INFO] [stderr] Downloaded sn_dbc v12.0.0 [INFO] [stderr] Downloaded multibase v0.9.2 [INFO] [stderr] Downloaded rmp-serde v1.3.0 [INFO] [stderr] Downloaded custom_debug v0.5.1 [INFO] [stderr] Downloaded uluru v3.1.0 [INFO] [stderr] Downloaded eyre v0.6.12 [INFO] [stderr] Downloaded base256emoji v1.0.2 [INFO] [stderr] Downloaded block-padding v0.3.3 [INFO] [stderr] Downloaded sn_sdkg v3.1.4 [INFO] [stderr] Downloaded xor_name v5.0.0 [INFO] [stderr] Downloaded bulletproofs v4.0.0 [INFO] [stderr] Downloaded brotli v3.3.4 [INFO] [stderr] Downloaded err-derive v0.3.1 [INFO] [stderr] Downloaded proptest v1.8.0 [INFO] [stderr] Downloaded curve25519-dalek-ng v4.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7609bc7b460f2e364b7484fdfa24832f3bce34d67a5154652d292492b48d01f6 [INFO] running `Command { std: "docker" "start" "-a" "7609bc7b460f2e364b7484fdfa24832f3bce34d67a5154652d292492b48d01f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7609bc7b460f2e364b7484fdfa24832f3bce34d67a5154652d292492b48d01f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7609bc7b460f2e364b7484fdfa24832f3bce34d67a5154652d292492b48d01f6", kill_on_drop: false }` [INFO] [stdout] 7609bc7b460f2e364b7484fdfa24832f3bce34d67a5154652d292492b48d01f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ac662824335c7b2051bc2ad866b58e81ed3afd87071ba57374322c1da4569c2 [INFO] running `Command { std: "docker" "start" "-a" "1ac662824335c7b2051bc2ad866b58e81ed3afd87071ba57374322c1da4569c2", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling subtle-ng v2.5.0 [INFO] [stderr] Compiling err-derive v0.3.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling brotli-decompressor v2.3.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling const-str v0.4.3 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling blst v0.3.16 [INFO] [stderr] Compiling clear_on_drop v0.2.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling uluru v3.1.0 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling pairing v0.22.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling data-encoding-macro v0.1.18 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling custom_debug_derive v0.5.1 [INFO] [stderr] Compiling match-lookup v0.1.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling base256emoji v1.0.2 [INFO] [stderr] Compiling custom_debug v0.5.1 [INFO] [stderr] Compiling multibase v0.9.2 [INFO] [stderr] Compiling blstrs v0.6.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling curve25519-dalek-ng v4.1.1 [INFO] [stderr] Compiling serde_test v1.0.177 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling crdts v7.3.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling bulletproofs v4.0.0 [INFO] [stderr] Compiling xor_name v5.0.0 [INFO] [stderr] Compiling blsttc v8.0.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling sn_sdkg v3.1.4 [INFO] [stderr] Compiling sn_dbc v12.0.0 [INFO] [stderr] Compiling sn_consensus v3.5.2 [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 43.54s [INFO] running `Command { std: "docker" "inspect" "1ac662824335c7b2051bc2ad866b58e81ed3afd87071ba57374322c1da4569c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ac662824335c7b2051bc2ad866b58e81ed3afd87071ba57374322c1da4569c2", kill_on_drop: false }` [INFO] [stdout] 1ac662824335c7b2051bc2ad866b58e81ed3afd87071ba57374322c1da4569c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 029544a7706c2ef8ec0e98fb32f8c664088f9b0f8f3be6cd4f4527e2583ba2be [INFO] running `Command { std: "docker" "start" "-a" "029544a7706c2ef8ec0e98fb32f8c664088f9b0f8f3be6cd4f4527e2583ba2be", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `data-network` [INFO] [stdout] --> src/messaging/data/spentbook.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(not(feature = "data-network"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `proptest` and `test-utils` [INFO] [stdout] = help: consider adding `data-network` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/fees/required_fee_content.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | const AMOUNT_SIZE: usize = std::mem::size_of::(); // Amount size: 8 bytes (u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 17 - const AMOUNT_SIZE: usize = std::mem::size_of::(); // Amount size: 8 bytes (u64) [INFO] [stdout] 17 + const AMOUNT_SIZE: usize = size_of::(); // Amount size: 8 bytes (u64) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/keys/ed25519.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | let name: XorName = xor_name::rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 38 - let name: XorName = xor_name::rand::random(); [INFO] [stdout] 38 + let name: XorName = rand::random(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/types/keys/public_key.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | let mut xor_name: Self = xor_name::rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 165 - let mut xor_name: Self = xor_name::rand::random(); [INFO] [stdout] 165 + let mut xor_name: Self = rand::random(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/messaging/data/mod.rs:75:56 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Eq, PartialEq, Clone, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_DataResponse` [INFO] [stdout] 76 | pub enum DataResponse { [INFO] [stdout] | ------------ `DataResponse` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/messaging/data/spentbook.rs:33:56 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Eq, PartialEq, Clone, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_SpentbookCmd` [INFO] [stdout] 34 | pub enum SpentbookCmd { [INFO] [stdout] | ------------ `SpentbookCmd` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/messaging/serialisation/wire_msg.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Clone, Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_WireMsg` [INFO] [stdout] 26 | pub struct WireMsg { [INFO] [stdout] | ------- `WireMsg` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/messaging/serialisation/wire_msg_header.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(CustomDebug, Eq, PartialEq, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_MsgEnvelope` [INFO] [stdout] 41 | pub struct MsgEnvelope { [INFO] [stdout] | ----------- `MsgEnvelope` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `CustomDebug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `CustomDebug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `CustomDebug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/messaging/system/mod.rs:39:52 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Clone, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_NodeMsg` [INFO] [stdout] ... [INFO] [stdout] 42 | pub enum NodeMsg { [INFO] [stdout] | ------- `NodeMsg` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/messaging/system/dkg.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Clone, Eq, PartialEq, Hash, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_DkgSessionId` [INFO] [stdout] 26 | pub struct DkgSessionId { [INFO] [stdout] | ------------ `DkgSessionId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/messaging/anti_entropy.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone, PartialEq, custom_debug::Debug, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_AntiEntropyMsg` [INFO] [stdout] 16 | pub enum AntiEntropyMsg { [INFO] [stdout] | -------------- `AntiEntropyMsg` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/messaging/anti_entropy.rs:32:56 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone, PartialEq, Eq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_AntiEntropyKind` [INFO] [stdout] 33 | pub enum AntiEntropyKind { [INFO] [stdout] | --------------- `AntiEntropyKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/messaging/authority.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone, Eq, PartialEq, custom_debug::Debug, serde::Deserialize, serde::Serialize)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_NodeSig` [INFO] [stdout] 27 | pub struct NodeSig { [INFO] [stdout] | ------- `NodeSig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/messaging/msg_id.rs:18:80 [INFO] [stdout] | [INFO] [stdout] 18 | Ord, PartialOrd, Clone, Copy, Eq, PartialEq, Serialize, Deserialize, Hash, custom_debug::Debug, [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_MsgId` [INFO] [stdout] 19 | )] [INFO] [stdout] 20 | pub struct MsgId(#[debug(with = "Self::fmt_bytes")] [u8; MESSAGE_ID_LEN]); [INFO] [stdout] | ----- `MsgId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/network_knowledge/node_info.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_MyNodeInfo` [INFO] [stdout] 20 | pub struct MyNodeInfo { [INFO] [stdout] | ---------- `MyNodeInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/network_knowledge/node_state/relocation.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Clone, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_RelocationProof` [INFO] [stdout] 87 | pub struct RelocationProof { [INFO] [stdout] | --------------- `RelocationProof` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/network_knowledge/section_keys.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(custom_debug::Debug, Clone)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_SectionKeyShare` [INFO] [stdout] 22 | pub struct SectionKeyShare { [INFO] [stdout] | --------------- `SectionKeyShare` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types/keys/keypair.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Serialize, Deserialize, Clone, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_Keypair` [INFO] [stdout] 118 | pub enum Keypair { [INFO] [stdout] | ------- `Keypair` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types/keys/keypair.rs:254:56 [INFO] [stdout] | [INFO] [stdout] 254 | #[derive(Clone, Eq, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_BlsKeypairShare` [INFO] [stdout] 255 | pub struct BlsKeypairShare { [INFO] [stdout] | --------------- `BlsKeypairShare` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types/keys/keypair.rs:268:56 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Clone, Eq, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_BlsKeypair` [INFO] [stdout] 269 | pub struct BlsKeypair { [INFO] [stdout] | ---------- `BlsKeypair` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types/keys/public_key.rs:30:62 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Clone, Copy, Eq, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_PublicKey` [INFO] [stdout] 31 | pub enum PublicKey { [INFO] [stdout] | --------- `PublicKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types/keys/signature.rs:29:56 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Clone, Eq, PartialEq, Serialize, Deserialize, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_Signature` [INFO] [stdout] 30 | pub enum Signature { [INFO] [stdout] | --------- `Signature` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types/chunk.rs:14:55 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Hash, Eq, PartialEq, PartialOrd, Ord, Clone, custom_debug::Debug)] [INFO] [stdout] | ^------------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_Chunk` [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ----- `Chunk` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_xorshift v0.4.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.51s [INFO] running `Command { std: "docker" "inspect" "029544a7706c2ef8ec0e98fb32f8c664088f9b0f8f3be6cd4f4527e2583ba2be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "029544a7706c2ef8ec0e98fb32f8c664088f9b0f8f3be6cd4f4527e2583ba2be", kill_on_drop: false }` [INFO] [stdout] 029544a7706c2ef8ec0e98fb32f8c664088f9b0f8f3be6cd4f4527e2583ba2be