[INFO] fetching crate sn_comms 0.8.0... [INFO] testing sn_comms-0.8.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate sn_comms 0.8.0 into /workspace/builds/worker-0-tc2/source [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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sn_comms 0.8.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 260 packages to latest compatible versions [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 dashmap v5.5.3 (available: v6.1.0) [INFO] [stderr] Adding proptest v1.0.0 (available: v1.7.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a627bcd68c63b765e796b75b9aa40aa15920fedda6e151ed5ed555ef429cc62 [INFO] running `Command { std: "docker" "start" "-a" "9a627bcd68c63b765e796b75b9aa40aa15920fedda6e151ed5ed555ef429cc62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a627bcd68c63b765e796b75b9aa40aa15920fedda6e151ed5ed555ef429cc62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a627bcd68c63b765e796b75b9aa40aa15920fedda6e151ed5ed555ef429cc62", kill_on_drop: false }` [INFO] [stdout] 9a627bcd68c63b765e796b75b9aa40aa15920fedda6e151ed5ed555ef429cc62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4235a2604cf5506e8e1e034550ec7d09d9939008d91d579f62888a640fb8b7ab [INFO] running `Command { std: "docker" "start" "-a" "4235a2604cf5506e8e1e034550ec7d09d9939008d91d579f62888a640fb8b7ab", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling blst v0.3.15 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling clear_on_drop v0.2.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling subtle-ng v2.5.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling pairing v0.22.0 [INFO] [stderr] Compiling brotli-decompressor v2.3.5 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling custom_debug_derive v0.5.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling custom_debug v0.5.1 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling uluru v3.1.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling rcgen v0.9.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling data-encoding-macro v0.1.18 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling blstrs v0.6.2 [INFO] [stderr] Compiling serde_test v1.0.177 [INFO] [stderr] Compiling curve25519-dalek-ng v4.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling xor_name v5.0.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling blsttc v8.0.2 [INFO] [stderr] Compiling quinn-proto v0.9.6 [INFO] [stderr] Compiling bulletproofs v4.0.0 [INFO] [stderr] Compiling crdts v7.3.2 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling sn_consensus v3.5.2 [INFO] [stderr] Compiling sn_sdkg v3.1.4 [INFO] [stderr] Compiling sn_dbc v12.0.0 [INFO] [stderr] Compiling quinn-udp v0.3.2 [INFO] [stderr] Compiling quinn v0.9.4 [INFO] [stderr] Compiling self_encryption v0.28.6 [INFO] [stderr] Compiling qp2p v0.36.4 [INFO] [stderr] Compiling sn_interface v0.22.4 [INFO] [stderr] Compiling 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: `#[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 warning originates in the derive macro `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 2m 08s [INFO] running `Command { std: "docker" "inspect" "4235a2604cf5506e8e1e034550ec7d09d9939008d91d579f62888a640fb8b7ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4235a2604cf5506e8e1e034550ec7d09d9939008d91d579f62888a640fb8b7ab", kill_on_drop: false }` [INFO] [stdout] 4235a2604cf5506e8e1e034550ec7d09d9939008d91d579f62888a640fb8b7ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3970d43b5ab0cf88402877713c5b71cc1f729931e2c8d370dbc06b3cf8b4ff0e [INFO] running `Command { std: "docker" "start" "-a" "3970d43b5ab0cf88402877713c5b71cc1f729931e2c8d370dbc06b3cf8b4ff0e", kill_on_drop: false }` [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling assert_matches v1.5.0 [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: `#[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 warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.0.0 [INFO] [stderr] Compiling sn_comms v0.8.0 (/opt/rustwide/workdir) [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: 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: `#[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 warning originates in the derive macro `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 13.55s [INFO] running `Command { std: "docker" "inspect" "3970d43b5ab0cf88402877713c5b71cc1f729931e2c8d370dbc06b3cf8b4ff0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3970d43b5ab0cf88402877713c5b71cc1f729931e2c8d370dbc06b3cf8b4ff0e", kill_on_drop: false }` [INFO] [stdout] 3970d43b5ab0cf88402877713c5b71cc1f729931e2c8d370dbc06b3cf8b4ff0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ffb89251675937fbe469a727f476e612307ad76789d120e6c40f71b80cef6314 [INFO] running `Command { std: "docker" "start" "-a" "ffb89251675937fbe469a727f476e612307ad76789d120e6c40f71b80cef6314", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lib.rs:227:10 [INFO] [stderr] | [INFO] [stderr] 227 | #[derive(custom_debug::Debug)] [INFO] [stderr] | ^------------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_CommCmd` [INFO] [stderr] 228 | enum CommCmd { [INFO] [stderr] | ------- `CommCmd` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `custom_debug::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `custom_debug::Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `custom_debug::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/node_link.rs:324:10 [INFO] [stderr] | [INFO] [stderr] 324 | #[derive(Debug, Error)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Debug_FOR_NodeLinkError` [INFO] [stderr] 325 | pub(super) enum NodeLinkError { [INFO] [stderr] | ------------- `NodeLinkError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `custom_debug_derive` crate, try updating your dependency with `cargo update -p custom_debug_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `sn_comms` (lib) generated 2 warnings [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/lib.rs:715:23 [INFO] [stderr] | [INFO] [stderr] 715 | let _handle = tokio::task::spawn(async move { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | unused_qualifications, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 715 - let _handle = tokio::task::spawn(async move { [INFO] [stderr] 715 + let _handle = task::spawn(async move { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/lib.rs:732:23 [INFO] [stderr] | [INFO] [stderr] 732 | let _handle = tokio::task::spawn(async move { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 732 - let _handle = tokio::task::spawn(async move { [INFO] [stderr] 732 + let _handle = task::spawn(async move { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `sn_comms` (lib test) generated 4 warnings (2 duplicates) (run `cargo fix --lib -p sn_comms --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sn_comms-aef1f231647459fe) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::successful_send ... ok [INFO] [stdout] test tests::send_after_reconnect ... ok [INFO] [stdout] test tests::incoming_connection_lost ... ok [INFO] [stdout] test tests::failed_send has been running for over 60 seconds [INFO] [stderr] Doc-tests sn_comms [INFO] [stdout] test tests::failed_send ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 280.43s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ffb89251675937fbe469a727f476e612307ad76789d120e6c40f71b80cef6314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffb89251675937fbe469a727f476e612307ad76789d120e6c40f71b80cef6314", kill_on_drop: false }` [INFO] [stdout] ffb89251675937fbe469a727f476e612307ad76789d120e6c40f71b80cef6314