[INFO] cloning repository https://github.com/allemanfredi/simple-eth-node-discoverer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/allemanfredi/simple-eth-node-discoverer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fallemanfredi%2Fsimple-eth-node-discoverer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fallemanfredi%2Fsimple-eth-node-discoverer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e35e0c3d87a108361c616c2a2e335e6e2dc60de [INFO] checking allemanfredi/simple-eth-node-discoverer against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fallemanfredi%2Fsimple-eth-node-discoverer" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/allemanfredi/simple-eth-node-discoverer [INFO] finished tweaking git repo https://github.com/allemanfredi/simple-eth-node-discoverer [INFO] tweaked toml for git repo https://github.com/allemanfredi/simple-eth-node-discoverer written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/allemanfredi/simple-eth-node-discoverer on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/allemanfredi/simple-eth-node-discoverer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce8ddec72eca96861dd7ed8abf134c7a33bcf3a1d6e3d2dab8868b5710e51d14 [INFO] running `Command { std: "docker" "start" "-a" "ce8ddec72eca96861dd7ed8abf134c7a33bcf3a1d6e3d2dab8868b5710e51d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce8ddec72eca96861dd7ed8abf134c7a33bcf3a1d6e3d2dab8868b5710e51d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce8ddec72eca96861dd7ed8abf134c7a33bcf3a1d6e3d2dab8868b5710e51d14", kill_on_drop: false }` [INFO] [stdout] ce8ddec72eca96861dd7ed8abf134c7a33bcf3a1d6e3d2dab8868b5710e51d14 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e945b46959e8203d7ddeefa54938b851de5e9a179a47a34f34dc495aee9134d6 [INFO] running `Command { std: "docker" "start" "-a" "e945b46959e8203d7ddeefa54938b851de5e9a179a47a34f34dc495aee9134d6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Compiling generic-array v0.14.2 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking utils v0.1.0 (/opt/rustwide/workdir/utils) [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking subtle v2.2.3 [INFO] [stderr] Checking cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking block-buffer v0.8.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking sha3 v0.9.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.112 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking settings v0.1.0 (/opt/rustwide/workdir/settings) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> settings/src/lib.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DefaultPeer` [INFO] [stdout] 8 | pub struct DefaultPeer { [INFO] [stdout] | ----------- `DefaultPeer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> settings/src/lib.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Settings` [INFO] [stdout] 14 | pub struct Settings { [INFO] [stdout] | -------- `Settings` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> settings/src/lib.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DefaultPeer` [INFO] [stdout] 8 | pub struct DefaultPeer { [INFO] [stdout] | ----------- `DefaultPeer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> settings/src/lib.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Settings` [INFO] [stdout] 14 | pub struct Settings { [INFO] [stdout] | -------- `Settings` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking peers v0.1.0 (/opt/rustwide/workdir/peers) [INFO] [stdout] warning: unused imports: `Signature` and `verify` [INFO] [stdout] --> peers/src/discover/protocol.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use secp256k1::{sign, verify, Message, PublicKey, SecretKey, Signature}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FIND_NODE` and `NEIGHBORS` [INFO] [stdout] --> peers/src/discover/protocol.rs:10:54 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::discover::packets::{Data, Header, Packet, FIND_NODE, NEIGHBORS, PING, PONG}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::peer::Peer` [INFO] [stdout] --> peers/src/discover/protocol.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::peer::Peer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Signature` and `verify` [INFO] [stdout] --> peers/src/discover/protocol.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use secp256k1::{sign, verify, Message, PublicKey, SecretKey, Signature}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FIND_NODE` and `NEIGHBORS` [INFO] [stdout] --> peers/src/discover/protocol.rs:10:54 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::discover::packets::{Data, Header, Packet, FIND_NODE, NEIGHBORS, PING, PONG}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::peer::Peer` [INFO] [stdout] --> peers/src/discover/protocol.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::peer::Peer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recipient_ip` [INFO] [stdout] --> peers/src/discover/protocol.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | Data::Pong(recipient_ip, recipient_tcp_port, ping_hash, _, node_id) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recipient_ip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recipient_tcp_port` [INFO] [stdout] --> peers/src/discover/protocol.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 129 | Data::Pong(recipient_ip, recipient_tcp_port, ping_hash, _, node_id) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recipient_tcp_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_id` [INFO] [stdout] --> peers/src/discover/protocol.rs:129:72 [INFO] [stdout] | [INFO] [stdout] 129 | Data::Pong(recipient_ip, recipient_tcp_port, ping_hash, _, node_id) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `self_peers` [INFO] [stdout] --> peers/src/peers_handler.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let self_peers = self.peers.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_peers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> peers/src/peer.rs:14:62 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(ip: [u8; 4], tcp_port: u16, id: Uuid, stream: &mut TcpStream) -> Peer { [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] 14 | pub fn new(ip: [u8; 4], tcp_port: u16, id: Uuid, stream: &mut TcpStream) -> Peer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> peers/src/peers_handler.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | self.spawn_connect_with_default_peers(default_peers); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 63 | let _ = self.spawn_connect_with_default_peers(default_peers); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> peers/src/peers_handler.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | self.spawn_discover_new_peers(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 64 | let _ = self.spawn_discover_new_peers(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recipient_ip` [INFO] [stdout] --> peers/src/discover/protocol.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | Data::Pong(recipient_ip, recipient_tcp_port, ping_hash, _, node_id) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recipient_ip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recipient_tcp_port` [INFO] [stdout] --> peers/src/discover/protocol.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 129 | Data::Pong(recipient_ip, recipient_tcp_port, ping_hash, _, node_id) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recipient_tcp_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_id` [INFO] [stdout] --> peers/src/discover/protocol.rs:129:72 [INFO] [stdout] | [INFO] [stdout] 129 | Data::Pong(recipient_ip, recipient_tcp_port, ping_hash, _, node_id) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `self_peers` [INFO] [stdout] --> peers/src/peers_handler.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let self_peers = self.peers.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_peers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> peers/src/peer.rs:14:62 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(ip: [u8; 4], tcp_port: u16, id: Uuid, stream: &mut TcpStream) -> Peer { [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] 14 | pub fn new(ip: [u8; 4], tcp_port: u16, id: Uuid, stream: &mut TcpStream) -> Peer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> peers/src/peers_handler.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | self.spawn_connect_with_default_peers(default_peers); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 63 | let _ = self.spawn_connect_with_default_peers(default_peers); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> peers/src/peers_handler.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | self.spawn_discover_new_peers(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 64 | let _ = self.spawn_discover_new_peers(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking simple-eth-node-discoverer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.25s [INFO] running `Command { std: "docker" "inspect" "e945b46959e8203d7ddeefa54938b851de5e9a179a47a34f34dc495aee9134d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e945b46959e8203d7ddeefa54938b851de5e9a179a47a34f34dc495aee9134d6", kill_on_drop: false }` [INFO] [stdout] e945b46959e8203d7ddeefa54938b851de5e9a179a47a34f34dc495aee9134d6