[INFO] cloning repository https://github.com/sephriot/eth-handshake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sephriot/eth-handshake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsephriot%2Feth-handshake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsephriot%2Feth-handshake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b56a294fbb7d5fa8d2ecac0be018ecad09a59da [INFO] testing sephriot/eth-handshake against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsephriot%2Feth-handshake" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sephriot/eth-handshake [INFO] finished tweaking git repo https://github.com/sephriot/eth-handshake [INFO] tweaked toml for git repo https://github.com/sephriot/eth-handshake written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sephriot/eth-handshake on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sephriot/eth-handshake 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generic-array v1.0.0 [INFO] [stderr] Downloaded ruint-macro v1.1.0 [INFO] [stderr] Downloaded alloy-rlp-derive v0.3.3 [INFO] [stderr] Downloaded ecies v0.2.6 [INFO] [stderr] Downloaded alloy-rlp v0.3.3 [INFO] [stderr] Downloaded num_enum v0.7.1 [INFO] [stderr] Downloaded const-hex v1.10.0 [INFO] [stderr] Downloaded num_enum_derive v0.7.1 [INFO] [stderr] Downloaded openssl-sys v0.9.97 [INFO] [stderr] Downloaded secp256k1 v0.28.0 [INFO] [stderr] Downloaded ruint v1.11.1 [INFO] [stderr] Downloaded winnow v0.5.30 [INFO] [stderr] Downloaded pest v2.7.5 [INFO] [stderr] Downloaded openssl v0.10.61 [INFO] [stderr] Downloaded syn v2.0.42 [INFO] [stderr] Downloaded alloy-primitives v0.5.3 [INFO] [stderr] Downloaded secp256k1-sys v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c2e005f570f4b199e2d46204db5158419eb73da8c2ffd8d0704e25dcaa115cd [INFO] running `Command { std: "docker" "start" "-a" "4c2e005f570f4b199e2d46204db5158419eb73da8c2ffd8d0704e25dcaa115cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c2e005f570f4b199e2d46204db5158419eb73da8c2ffd8d0704e25dcaa115cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c2e005f570f4b199e2d46204db5158419eb73da8c2ffd8d0704e25dcaa115cd", kill_on_drop: false }` [INFO] [stdout] 4c2e005f570f4b199e2d46204db5158419eb73da8c2ffd8d0704e25dcaa115cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff51d3963977023365794539f0174fe02c7e36f5937bbbc14c7c82d568827442 [INFO] running `Command { std: "docker" "start" "-a" "ff51d3963977023365794539f0174fe02c7e36f5937bbbc14c7c82d568827442", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling winnow v0.5.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling thiserror v1.0.52 [INFO] [stderr] Compiling ruint-macro v1.1.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling syn v2.0.42 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling generic-array v1.0.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling secp256k1-sys v0.9.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling proc-macro-crate v2.0.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling alloy-rlp-derive v0.3.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling num_enum_derive v0.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.52 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling secp256k1 v0.28.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling num_enum v0.7.1 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling const-hex v1.10.0 [INFO] [stderr] Compiling alloy-rlp v0.3.3 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling ruint v1.11.1 [INFO] [stderr] Compiling alloy-primitives v0.5.3 [INFO] [stderr] Compiling ecies v0.2.6 [INFO] [stderr] Compiling eth-handshake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `idx` and `len` are never read [INFO] [stdout] --> src/error.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | OutOfBounds { idx: usize, len: usize }, [INFO] [stdout] | ----------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ECIESError` 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 `0` is never read [INFO] [stdout] --> src/error.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | Secp256k1(secp256k1::Error), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ECIESError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - Secp256k1(secp256k1::Error), [INFO] [stdout] 9 + Secp256k1(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | RLPDecoding(alloy_rlp::Error), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ECIESError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - RLPDecoding(alloy_rlp::Error), [INFO] [stdout] 10 + RLPDecoding(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | IO(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ECIESError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - IO(io::Error), [INFO] [stdout] 15 + IO(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/error.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | UnknownError { message: String }, [INFO] [stdout] | ------------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ECIESError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Eth66`, `Eth67`, and `Eth68` are never constructed [INFO] [stdout] --> src/p2pmessage.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum EthVersion { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 83 | Eth66 = 66, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 84 | [INFO] [stdout] 85 | Eth67 = 67, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 86 | [INFO] [stdout] 87 | Eth68 = 68, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EthVersion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `total_messages` is never used [INFO] [stdout] --> src/p2pmessage.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 90 | impl EthVersion { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 91 | pub const fn total_messages(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EthMessageID` is never used [INFO] [stdout] --> src/p2pmessage.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum EthMessageID { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HelloMessageWithProtocols` is never constructed [INFO] [stdout] --> src/p2pmessage.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct HelloMessageWithProtocols { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Protocol` is never constructed [INFO] [stdout] --> src/p2pmessage.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct Protocol { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `eth` are never used [INFO] [stdout] --> src/p2pmessage.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 144 | impl Protocol { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 145 | pub const fn new(cap: Capability, messages: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub const fn eth(version: EthVersion) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.44s [INFO] running `Command { std: "docker" "inspect" "ff51d3963977023365794539f0174fe02c7e36f5937bbbc14c7c82d568827442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff51d3963977023365794539f0174fe02c7e36f5937bbbc14c7c82d568827442", kill_on_drop: false }` [INFO] [stdout] ff51d3963977023365794539f0174fe02c7e36f5937bbbc14c7c82d568827442 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 647d5d0c260cafec894bddd4029ec6390b71a98bbfcb77ed4e183630d3c0937c [INFO] running `Command { std: "docker" "start" "-a" "647d5d0c260cafec894bddd4029ec6390b71a98bbfcb77ed4e183630d3c0937c", kill_on_drop: false }` [INFO] [stdout] warning: fields `idx` and `len` are never read [INFO] [stdout] --> src/error.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | OutOfBounds { idx: usize, len: usize }, [INFO] [stdout] | ----------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ECIESError` 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 `0` is never read [INFO] [stdout] --> src/error.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | Secp256k1(secp256k1::Error), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ECIESError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - Secp256k1(secp256k1::Error), [INFO] [stdout] 9 + Secp256k1(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | RLPDecoding(alloy_rlp::Error), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ECIESError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - RLPDecoding(alloy_rlp::Error), [INFO] [stdout] 10 + RLPDecoding(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling eth-handshake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | IO(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ECIESError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - IO(io::Error), [INFO] [stdout] 15 + IO(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/error.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | UnknownError { message: String }, [INFO] [stdout] | ------------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ECIESError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Eth66`, `Eth67`, and `Eth68` are never constructed [INFO] [stdout] --> src/p2pmessage.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum EthVersion { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 83 | Eth66 = 66, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 84 | [INFO] [stdout] 85 | Eth67 = 67, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 86 | [INFO] [stdout] 87 | Eth68 = 68, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EthVersion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `total_messages` is never used [INFO] [stdout] --> src/p2pmessage.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 90 | impl EthVersion { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 91 | pub const fn total_messages(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EthMessageID` is never used [INFO] [stdout] --> src/p2pmessage.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum EthMessageID { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HelloMessageWithProtocols` is never constructed [INFO] [stdout] --> src/p2pmessage.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct HelloMessageWithProtocols { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Protocol` is never constructed [INFO] [stdout] --> src/p2pmessage.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct Protocol { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `eth` are never used [INFO] [stdout] --> src/p2pmessage.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 144 | impl Protocol { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 145 | pub const fn new(cap: Capability, messages: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub const fn eth(version: EthVersion) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `idx` and `len` are never read [INFO] [stdout] --> src/error.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | OutOfBounds { idx: usize, len: usize }, [INFO] [stdout] | ----------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ECIESError` 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 `0` is never read [INFO] [stdout] --> src/error.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | Secp256k1(secp256k1::Error), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ECIESError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - Secp256k1(secp256k1::Error), [INFO] [stdout] 9 + Secp256k1(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | RLPDecoding(alloy_rlp::Error), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ECIESError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - RLPDecoding(alloy_rlp::Error), [INFO] [stdout] 10 + RLPDecoding(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | IO(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ECIESError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - IO(io::Error), [INFO] [stdout] 15 + IO(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/error.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | UnknownError { message: String }, [INFO] [stdout] | ------------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ECIESError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Eth66`, `Eth67`, and `Eth68` are never constructed [INFO] [stdout] --> src/p2pmessage.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum EthVersion { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 83 | Eth66 = 66, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 84 | [INFO] [stdout] 85 | Eth67 = 67, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 86 | [INFO] [stdout] 87 | Eth68 = 68, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EthVersion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `total_messages` is never used [INFO] [stdout] --> src/p2pmessage.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 90 | impl EthVersion { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 91 | pub const fn total_messages(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EthMessageID` is never used [INFO] [stdout] --> src/p2pmessage.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum EthMessageID { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HelloMessageWithProtocols` is never constructed [INFO] [stdout] --> src/p2pmessage.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct HelloMessageWithProtocols { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Protocol` is never constructed [INFO] [stdout] --> src/p2pmessage.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct Protocol { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `eth` are never used [INFO] [stdout] --> src/p2pmessage.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 144 | impl Protocol { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 145 | pub const fn new(cap: Capability, messages: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub const fn eth(version: EthVersion) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.25s [INFO] running `Command { std: "docker" "inspect" "647d5d0c260cafec894bddd4029ec6390b71a98bbfcb77ed4e183630d3c0937c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "647d5d0c260cafec894bddd4029ec6390b71a98bbfcb77ed4e183630d3c0937c", kill_on_drop: false }` [INFO] [stdout] 647d5d0c260cafec894bddd4029ec6390b71a98bbfcb77ed4e183630d3c0937c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d0f71f7570e4a47a3914d26c638a99d18e1cc600aaf35f1de948f5e4c30e46c6 [INFO] running `Command { std: "docker" "start" "-a" "d0f71f7570e4a47a3914d26c638a99d18e1cc600aaf35f1de948f5e4c30e46c6", kill_on_drop: false }` [INFO] [stderr] warning: fields `idx` and `len` are never read [INFO] [stderr] --> src/error.rs:7:19 [INFO] [stderr] | [INFO] [stderr] 7 | OutOfBounds { idx: usize, len: usize }, [INFO] [stderr] | ----------- ^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ECIESError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | Secp256k1(secp256k1::Error), [INFO] [stderr] | --------- ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ECIESError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 9 - Secp256k1(secp256k1::Error), [INFO] [stderr] 9 + Secp256k1(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | RLPDecoding(alloy_rlp::Error), [INFO] [stderr] | ----------- ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ECIESError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 10 - RLPDecoding(alloy_rlp::Error), [INFO] [stderr] 10 + RLPDecoding(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | IO(io::Error), [INFO] [stderr] | -- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ECIESError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 15 - IO(io::Error), [INFO] [stderr] 15 + IO(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `message` is never read [INFO] [stderr] --> src/error.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | UnknownError { message: String }, [INFO] [stderr] | ------------ ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ECIESError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Eth66`, `Eth67`, and `Eth68` are never constructed [INFO] [stderr] --> src/p2pmessage.rs:83:5 [INFO] [stderr] | [INFO] [stderr] 82 | pub enum EthVersion { [INFO] [stderr] | ---------- variants in this enum [INFO] [stderr] 83 | Eth66 = 66, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 84 | [INFO] [stderr] 85 | Eth67 = 67, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 86 | [INFO] [stderr] 87 | Eth68 = 68, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `EthVersion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `total_messages` is never used [INFO] [stderr] --> src/p2pmessage.rs:91:18 [INFO] [stderr] | [INFO] [stderr] 90 | impl EthVersion { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] 91 | pub const fn total_messages(&self) -> u8 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `EthMessageID` is never used [INFO] [stderr] --> src/p2pmessage.rs:104:10 [INFO] [stderr] | [INFO] [stderr] 104 | pub enum EthMessageID { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `HelloMessageWithProtocols` is never constructed [INFO] [stderr] --> src/p2pmessage.rs:130:12 [INFO] [stderr] | [INFO] [stderr] 130 | pub struct HelloMessageWithProtocols { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Protocol` is never constructed [INFO] [stderr] --> src/p2pmessage.rs:139:12 [INFO] [stderr] | [INFO] [stderr] 139 | pub struct Protocol { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `new` and `eth` are never used [INFO] [stderr] --> src/p2pmessage.rs:145:18 [INFO] [stderr] | [INFO] [stderr] 144 | impl Protocol { [INFO] [stderr] | ------------- associated functions in this implementation [INFO] [stderr] 145 | pub const fn new(cap: Capability, messages: u8) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 149 | pub const fn eth(version: EthVersion) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `eth-handshake` (lib) generated 11 warnings [INFO] [stderr] warning: `eth-handshake` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/eth_handshake-0403c3f41bfdaaea) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running unittests main.rs (/opt/rustwide/target/debug/deps/eth_handshake-2040f6dd27767fb1) [INFO] [stdout] test util::test::test_enode ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests eth_handshake [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d0f71f7570e4a47a3914d26c638a99d18e1cc600aaf35f1de948f5e4c30e46c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0f71f7570e4a47a3914d26c638a99d18e1cc600aaf35f1de948f5e4c30e46c6", kill_on_drop: false }` [INFO] [stdout] d0f71f7570e4a47a3914d26c638a99d18e1cc600aaf35f1de948f5e4c30e46c6