[INFO] fetching crate vortex-dht 0.1.0... [INFO] building vortex-dht-0.1.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate vortex-dht 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate vortex-dht 0.1.0 [INFO] finished tweaking crates.io crate vortex-dht 0.1.0 [INFO] tweaked toml for crates.io crate vortex-dht 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate vortex-dht 0.1.0 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] Updating crates.io index [INFO] [stderr] Locking 110 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.8) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding tokio-uring v0.4.0 (available: v0.5.0) [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 tokio-uring v0.4.0 [INFO] [stderr] Downloaded serde_bencoded v0.3.2 [INFO] [stderr] Downloaded io-uring v0.5.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 8f3f3beaeae2eaa40c53dbde933189031b57e623c99bf4cb8808aef916b4831f [INFO] running `Command { std: "docker" "start" "-a" "8f3f3beaeae2eaa40c53dbde933189031b57e623c99bf4cb8808aef916b4831f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f3f3beaeae2eaa40c53dbde933189031b57e623c99bf4cb8808aef916b4831f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f3f3beaeae2eaa40c53dbde933189031b57e623c99bf4cb8808aef916b4831f", kill_on_drop: false }` [INFO] [stdout] 8f3f3beaeae2eaa40c53dbde933189031b57e623c99bf4cb8808aef916b4831f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 3e95a89ad4ce354c8bd44dea9dae598af1e57fbea27c200768e47a8ee9b936af [INFO] running `Command { std: "docker" "start" "-a" "3e95a89ad4ce354c8bd44dea9dae598af1e57fbea27c200768e47a8ee9b936af", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling io-uring v0.5.13 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling btoi v0.4.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling serde_bencoded v0.3.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-uring v0.4.0 [INFO] [stderr] Compiling vortex-dht v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `table_json` [INFO] [stdout] --> src/lib.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | let table_json = { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_json` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/lib.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | let file = tokio_uring::fs::File::create(&path).await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:524:21 [INFO] [stdout] | [INFO] [stdout] 524 | for mut unknown_node in unknown_nodes [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/krpc/protocol.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct FindNodesResponse { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 142 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FindNodesResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/krpc/protocol.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct GetPeersResponse { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 233 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetPeersResponse` 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 `id` is never read [INFO] [stdout] --> src/krpc/protocol.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct AnnounceResponse { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 318 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnnounceResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/krpc.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn ping(&self, body: Ping) -> QueryBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 123 | pub fn ping(&self, body: Ping) -> QueryBuilder<'_, Ping> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/krpc.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn find_nodes(&self, body: FindNodes) -> QueryBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | pub fn find_nodes(&self, body: FindNodes) -> QueryBuilder<'_, FindNodes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/krpc.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn get_peers(&self, body: GetPeers) -> QueryBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn get_peers(&self, body: GetPeers) -> QueryBuilder<'_, GetPeers> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/krpc.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn announce_peer(&self, body: AnnouncePeer) -> QueryBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 153 | pub fn announce_peer(&self, body: AnnouncePeer) -> QueryBuilder<'_, AnnouncePeer> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.74s [INFO] running `Command { std: "docker" "inspect" "3e95a89ad4ce354c8bd44dea9dae598af1e57fbea27c200768e47a8ee9b936af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e95a89ad4ce354c8bd44dea9dae598af1e57fbea27c200768e47a8ee9b936af", kill_on_drop: false }` [INFO] [stdout] 3e95a89ad4ce354c8bd44dea9dae598af1e57fbea27c200768e47a8ee9b936af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 2030bb774b8070f91a10ffc128172dd5d419264151d2869560334f3021b659e4 [INFO] running `Command { std: "docker" "start" "-a" "2030bb774b8070f91a10ffc128172dd5d419264151d2869560334f3021b659e4", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling btoi v0.4.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling serde_bencoded v0.3.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling vortex-dht v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `table_json` [INFO] [stdout] --> src/lib.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | let table_json = { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_json` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/lib.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | let file = tokio_uring::fs::File::create(&path).await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:524:21 [INFO] [stdout] | [INFO] [stdout] 524 | for mut unknown_node in unknown_nodes [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/krpc/protocol.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct FindNodesResponse { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 142 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FindNodesResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/krpc/protocol.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct GetPeersResponse { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 233 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetPeersResponse` 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 `id` is never read [INFO] [stdout] --> src/krpc/protocol.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct AnnounceResponse { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 318 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnnounceResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/krpc.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn ping(&self, body: Ping) -> QueryBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 123 | pub fn ping(&self, body: Ping) -> QueryBuilder<'_, Ping> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/krpc.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn find_nodes(&self, body: FindNodes) -> QueryBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | pub fn find_nodes(&self, body: FindNodes) -> QueryBuilder<'_, FindNodes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/krpc.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn get_peers(&self, body: GetPeers) -> QueryBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn get_peers(&self, body: GetPeers) -> QueryBuilder<'_, GetPeers> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/krpc.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn announce_peer(&self, body: AnnouncePeer) -> QueryBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 153 | pub fn announce_peer(&self, body: AnnouncePeer) -> QueryBuilder<'_, AnnouncePeer> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stdout] warning: unused variable: `table_json` [INFO] [stdout] --> src/lib.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | let table_json = { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_json` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/lib.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | let file = tokio_uring::fs::File::create(&path).await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:524:21 [INFO] [stdout] | [INFO] [stdout] 524 | for mut unknown_node in unknown_nodes [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/krpc/protocol.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct FindNodesResponse { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 142 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FindNodesResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/krpc/protocol.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct GetPeersResponse { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 233 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetPeersResponse` 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 `id` is never read [INFO] [stdout] --> src/krpc/protocol.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct AnnounceResponse { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 318 | pub id: NodeId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnnounceResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/krpc.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn ping(&self, body: Ping) -> QueryBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 123 | pub fn ping(&self, body: Ping) -> QueryBuilder<'_, Ping> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/krpc.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn find_nodes(&self, body: FindNodes) -> QueryBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | pub fn find_nodes(&self, body: FindNodes) -> QueryBuilder<'_, FindNodes> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/krpc.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn get_peers(&self, body: GetPeers) -> QueryBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn get_peers(&self, body: GetPeers) -> QueryBuilder<'_, GetPeers> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/krpc.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn announce_peer(&self, body: AnnouncePeer) -> QueryBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 153 | pub fn announce_peer(&self, body: AnnouncePeer) -> QueryBuilder<'_, AnnouncePeer> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.75s [INFO] running `Command { std: "docker" "inspect" "2030bb774b8070f91a10ffc128172dd5d419264151d2869560334f3021b659e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2030bb774b8070f91a10ffc128172dd5d419264151d2869560334f3021b659e4", kill_on_drop: false }` [INFO] [stdout] 2030bb774b8070f91a10ffc128172dd5d419264151d2869560334f3021b659e4