[INFO] fetching crate vortex-dht 0.1.0... [INFO] building vortex-dht-0.1.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate vortex-dht 0.1.0 into /workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate vortex-dht 0.1.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfda205cd0a04b1822c0df18b564dd4d7fb05b73c400bfad7bf516fa2212023c [INFO] running `Command { std: "docker" "start" "-a" "cfda205cd0a04b1822c0df18b564dd4d7fb05b73c400bfad7bf516fa2212023c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfda205cd0a04b1822c0df18b564dd4d7fb05b73c400bfad7bf516fa2212023c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfda205cd0a04b1822c0df18b564dd4d7fb05b73c400bfad7bf516fa2212023c", kill_on_drop: false }` [INFO] [stdout] cfda205cd0a04b1822c0df18b564dd4d7fb05b73c400bfad7bf516fa2212023c [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" "-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6767a4cc4ae236f85b919188f915a9f8d1f431f8e75d56f6d05a6f7354323b20 [INFO] running `Command { std: "docker" "start" "-a" "6767a4cc4ae236f85b919188f915a9f8d1f431f8e75d56f6d05a6f7354323b20", 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 socket2 v0.4.10 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling btoi v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling serde_bytes v0.11.19 [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: 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: 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: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 15.53s [INFO] running `Command { std: "docker" "inspect" "6767a4cc4ae236f85b919188f915a9f8d1f431f8e75d56f6d05a6f7354323b20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6767a4cc4ae236f85b919188f915a9f8d1f431f8e75d56f6d05a6f7354323b20", kill_on_drop: false }` [INFO] [stdout] 6767a4cc4ae236f85b919188f915a9f8d1f431f8e75d56f6d05a6f7354323b20 [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" "-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 485b3c8048208e56126f8ebb985a8ff7de8a08a526d27ef31fcee20a41099f39 [INFO] running `Command { std: "docker" "start" "-a" "485b3c8048208e56126f8ebb985a8ff7de8a08a526d27ef31fcee20a41099f39", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling btoi v0.4.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling humantime v2.3.0 [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: 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: 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: 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] [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] [stderr] Compiling regex-automata v0.4.11 [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: 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: 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: 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] [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.88s [INFO] running `Command { std: "docker" "inspect" "485b3c8048208e56126f8ebb985a8ff7de8a08a526d27ef31fcee20a41099f39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "485b3c8048208e56126f8ebb985a8ff7de8a08a526d27ef31fcee20a41099f39", kill_on_drop: false }` [INFO] [stdout] 485b3c8048208e56126f8ebb985a8ff7de8a08a526d27ef31fcee20a41099f39