[INFO] fetching crate sn_comms 0.8.0... [INFO] checking sn_comms-0.8.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate sn_comms 0.8.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate sn_comms 0.8.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sn_comms 0.8.0 [INFO] finished tweaking crates.io crate sn_comms 0.8.0 [INFO] tweaked toml for crates.io crate sn_comms 0.8.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 246 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding block-buffer v0.9.0 (available: v0.10.4) [INFO] [stderr] Adding block-padding v0.2.1 (available: v0.3.3) [INFO] [stderr] Adding blstrs v0.6.2 (available: v0.7.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 bulletproofs v4.0.0 (available: v5.0.0) [INFO] [stderr] Adding curve25519-dalek v3.2.0 (available: v3.2.1) [INFO] [stderr] Adding custom_debug v0.5.1 (available: v0.6.1) [INFO] [stderr] Adding custom_debug_derive v0.5.1 (available: v0.6.1) [INFO] [stderr] Adding dashmap v5.5.3 (available: v6.1.0) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding ed25519 v1.5.3 (available: v2.2.3) [INFO] [stderr] Adding ed25519-dalek v1.0.1 (available: v2.1.1) [INFO] [stderr] Adding ff v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding group v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (available: v0.50.1) [INFO] [stderr] Adding pairing v0.22.0 (available: v0.23.0) [INFO] [stderr] Adding pem v1.1.1 (available: v3.0.4) [INFO] [stderr] Adding proptest v1.0.0 (available: v1.5.0) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding quinn v0.9.4 (available: v0.11.5) [INFO] [stderr] Adding quinn-proto v0.9.6 (available: v0.11.8) [INFO] [stderr] Adding quinn-udp v0.3.2 (available: v0.5.5) [INFO] [stderr] Adding radium v0.7.0 (available: v1.1.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (available: v0.3.2) [INFO] [stderr] Adding rcgen v0.9.3 (available: v0.13.1) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding ring v0.16.20 (available: v0.17.8) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding rustls v0.20.9 (available: v0.23.13) [INFO] [stderr] Adding self_encryption v0.28.6 (available: v0.29.2) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.8) [INFO] [stderr] Adding sha3 v0.9.1 (available: v0.10.8) [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 socket2 v0.4.10 (available: v0.5.7) [INFO] [stderr] Adding spin v0.5.2 (available: v0.9.8) [INFO] [stderr] Adding strum v0.24.1 (available: v0.26.3) [INFO] [stderr] Adding strum_macros v0.24.3 (available: v0.26.4) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] [stderr] Adding untrusted v0.7.1 (available: v0.9.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.42.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding wyz v0.5.1 (available: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26a687591944a949ccfd44c0a865fb33560571ca22a6b12942940cbd02b299c0 [INFO] running `Command { std: "docker" "start" "-a" "26a687591944a949ccfd44c0a865fb33560571ca22a6b12942940cbd02b299c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26a687591944a949ccfd44c0a865fb33560571ca22a6b12942940cbd02b299c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26a687591944a949ccfd44c0a865fb33560571ca22a6b12942940cbd02b299c0", kill_on_drop: false }` [INFO] [stdout] 26a687591944a949ccfd44c0a865fb33560571ca22a6b12942940cbd02b299c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d80000a3abb5a70621fa9c421e7b404572a039fe12ecc6dd6733e7d9cb8bb180 [INFO] running `Command { std: "docker" "start" "-a" "d80000a3abb5a70621fa9c421e7b404572a039fe12ecc6dd6733e7d9cb8bb180", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling blst v0.3.13 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking pairing v0.22.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking blstrs v0.6.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling clear_on_drop v0.2.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking hex_fmt v0.3.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling err-derive v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Checking blsttc v8.0.2 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking subtle-ng v2.5.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking curve25519-dalek-ng v4.1.1 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking brotli-decompressor v2.3.5 [INFO] [stderr] Compiling custom_debug_derive v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking data-encoding-macro v0.1.15 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking custom_debug v0.5.1 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking xor_name v5.0.0 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking bulletproofs v4.0.0 [INFO] [stderr] Checking quinn-proto v0.9.6 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking uluru v3.1.0 [INFO] [stderr] Checking quinn-udp v0.3.2 [INFO] [stderr] Checking sn_dbc v12.0.0 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking rcgen v0.9.3 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking sn_sdkg v3.1.4 [INFO] [stderr] Checking sn_consensus v3.5.2 [INFO] [stderr] Checking crdts v7.3.2 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking quinn v0.9.4 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking qp2p v0.36.4 [INFO] [stderr] Checking self_encryption v0.28.6 [INFO] [stderr] Checking sn_interface v0.22.4 [INFO] [stderr] Checking proptest v1.0.0 [INFO] [stderr] Checking sn_comms v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 227 | #[derive(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_CommCmd` [INFO] [stdout] 228 | enum CommCmd { [INFO] [stdout] | ------- `CommCmd` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `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/node_link.rs:324:10 [INFO] [stdout] | [INFO] [stdout] 324 | #[derive(Debug, Error)] [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_NodeLinkError` [INFO] [stdout] 325 | pub(super) enum NodeLinkError { [INFO] [stdout] | ------------- `NodeLinkError` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/lib.rs:715:23 [INFO] [stdout] | [INFO] [stdout] 715 | let _handle = tokio::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 715 - let _handle = tokio::task::spawn(async move { [INFO] [stdout] 715 + let _handle = task::spawn(async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/lib.rs:732:23 [INFO] [stdout] | [INFO] [stdout] 732 | let _handle = tokio::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 732 - let _handle = tokio::task::spawn(async move { [INFO] [stdout] 732 + let _handle = task::spawn(async move { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 227 | #[derive(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_CommCmd` [INFO] [stdout] 228 | enum CommCmd { [INFO] [stdout] | ------- `CommCmd` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `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/node_link.rs:324:10 [INFO] [stdout] | [INFO] [stdout] 324 | #[derive(Debug, Error)] [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_NodeLinkError` [INFO] [stdout] 325 | pub(super) enum NodeLinkError { [INFO] [stdout] | ------------- `NodeLinkError` 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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "d80000a3abb5a70621fa9c421e7b404572a039fe12ecc6dd6733e7d9cb8bb180", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d80000a3abb5a70621fa9c421e7b404572a039fe12ecc6dd6733e7d9cb8bb180", kill_on_drop: false }` [INFO] [stdout] d80000a3abb5a70621fa9c421e7b404572a039fe12ecc6dd6733e7d9cb8bb180