[INFO] fetching crate kad 0.6.1... [INFO] checking kad-0.6.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate kad 0.6.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate kad 0.6.1 [INFO] finished tweaking crates.io crate kad 0.6.1 [INFO] tweaked toml for crates.io crate kad 0.6.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kad 0.6.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 140 packages to latest compatible versions [INFO] [stderr] Adding futures-timer v0.1.1 (available: v3.0.3) [INFO] [stderr] Adding humantime v1.3.0 (available: v2.2.0) [INFO] [stderr] Adding num v0.2.1 (available: v0.4.3) [INFO] [stderr] Adding rand v0.5.6 (available: v0.9.2) [INFO] [stderr] Adding simplelog v0.8.0 (available: v0.12.2) [INFO] [stderr] Adding strum v0.21.0 (available: v0.27.2) [INFO] [stderr] Adding strum_macros v0.21.1 (available: v0.27.2) [INFO] [stderr] Adding termcolor v1.1.3 (available: v1.4.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38e73de1e127fd192573cf856396f69dee3b70aa8167f7b6d7caecfff5db2955 [INFO] running `Command { std: "docker" "start" "-a" "38e73de1e127fd192573cf856396f69dee3b70aa8167f7b6d7caecfff5db2955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38e73de1e127fd192573cf856396f69dee3b70aa8167f7b6d7caecfff5db2955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38e73de1e127fd192573cf856396f69dee3b70aa8167f7b6d7caecfff5db2955", kill_on_drop: false }` [INFO] [stdout] 38e73de1e127fd192573cf856396f69dee3b70aa8167f7b6d7caecfff5db2955 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 429123a277a9b4496f98c6c79a99a3b83f94d1c4b9a86e60968952055e37a201 [INFO] running `Command { std: "docker" "start" "-a" "429123a277a9b4496f98c6c79a99a3b83f94d1c4b9a86e60968952055e37a201", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking value-bag v1.11.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking strum v0.21.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking async-lock v3.4.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking async-executor v1.13.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking futures-timer v0.1.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking simplelog v0.8.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Checking polling v3.10.0 [INFO] [stderr] Checking async-io v2.5.0 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.13.2 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking rr-mux v0.10.1 [INFO] [stderr] Checking kad v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `nope` [INFO] [stdout] --> src/lib.rs:95:7 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(nope)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nope)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nope)");` to the top of the `build.rs` [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: unexpected `cfg` condition name: `nope` [INFO] [stdout] --> src/common/id.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(nope)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nope)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nope)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nope` [INFO] [stdout] --> src/dht/locate.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(nope)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nope)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nope)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nope` [INFO] [stdout] --> src/dht/mod.rs:635:11 [INFO] [stdout] | [INFO] [stdout] 635 | #[cfg(nope)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nope)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nope)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nope` [INFO] [stdout] --> src/lib.rs:95:7 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(nope)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nope)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nope)");` to the top of the `build.rs` [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: unexpected `cfg` condition name: `nope` [INFO] [stdout] --> src/common/id.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(nope)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nope)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nope)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nope` [INFO] [stdout] --> src/dht/locate.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(nope)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nope)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nope)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nope` [INFO] [stdout] --> src/dht/mod.rs:635:11 [INFO] [stdout] | [INFO] [stdout] 635 | #[cfg(nope)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nope)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nope)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nope` [INFO] [stdout] --> src/dht/mod.rs:875:11 [INFO] [stdout] | [INFO] [stdout] 875 | #[cfg(nope)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nope)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nope)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state` and `frozen` are never read [INFO] [stdout] --> src/common/entry.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Entry { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | state: EntryState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | frozen: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `meta` are never read [INFO] [stdout] --> src/store/hashmapstore.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct DataEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 17 | value: Data, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | meta: Meta, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `req_id` is never read [INFO] [stdout] --> src/dht/operation.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) struct Operation { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 62 | pub req_id: ReqId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nope` [INFO] [stdout] --> tests/main.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | #[cfg(nope)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nope)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nope)");` to the top of the `build.rs` [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: unused import: `std::marker::PhantomData` [INFO] [stdout] --> tests/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kad::store::HashMapStore` [INFO] [stdout] --> tests/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use kad::store::HashMapStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kad::table::KNodeTable` [INFO] [stdout] --> tests/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use kad::table::KNodeTable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> tests/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sink_rx` [INFO] [stdout] --> tests/main.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | let (sink_tx, sink_rx) = mpsc::channel(10); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sink_rx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockPeer` is never constructed [INFO] [stdout] --> tests/main.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct MockPeer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PeerMap` is never used [INFO] [stdout] --> tests/main.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | type PeerMap = HashMap>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockNetwork` is never constructed [INFO] [stdout] --> tests/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct MockNetwork { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> tests/main.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 32 | / impl MockNetwork [INFO] [stdout] 33 | | where [INFO] [stdout] 34 | | Id: DatabaseId + Debug + Send + Sync + 'static, [INFO] [stdout] 35 | | Info: Debug + Clone + PartialEq + Send + Sync + 'static, [INFO] [stdout] 36 | | Data: Debug + Clone + PartialEq + Send + Sync + 'static, [INFO] [stdout] | |____________________________________________________________- associated function in this implementation [INFO] [stdout] 37 | { [INFO] [stdout] 38 | pub fn new(config: Config, nodes: &[Entry]) -> MockNetwork { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state` and `frozen` are never read [INFO] [stdout] --> src/common/entry.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Entry { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | state: EntryState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | frozen: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `meta` are never read [INFO] [stdout] --> src/store/hashmapstore.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct DataEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 17 | value: Data, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | meta: Meta, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `req_id` is never read [INFO] [stdout] --> src/dht/operation.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) struct Operation { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 62 | pub req_id: ReqId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.30s [INFO] running `Command { std: "docker" "inspect" "429123a277a9b4496f98c6c79a99a3b83f94d1c4b9a86e60968952055e37a201", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "429123a277a9b4496f98c6c79a99a3b83f94d1c4b9a86e60968952055e37a201", kill_on_drop: false }` [INFO] [stdout] 429123a277a9b4496f98c6c79a99a3b83f94d1c4b9a86e60968952055e37a201