[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] building sephriot/eth-handshake against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsephriot%2Feth-handshake" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-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 wasm-bindgen-macro-support v0.2.89 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.89 [INFO] [stderr] Downloaded unarray v0.1.4 [INFO] [stderr] Downloaded fastrlp v0.3.1 [INFO] [stderr] Downloaded semver v1.0.20 [INFO] [stderr] Downloaded const-hex v1.10.0 [INFO] [stderr] Downloaded ark-ff-macros v0.3.0 [INFO] [stderr] Downloaded alloy-primitives v0.5.3 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.89 [INFO] [stderr] Downloaded generic-array v1.0.0 [INFO] [stderr] Downloaded pest v2.7.5 [INFO] [stderr] Downloaded js-sys v0.3.66 [INFO] [stderr] Downloaded rustix v0.38.28 [INFO] [stderr] Downloaded proptest v1.4.0 [INFO] [stderr] Downloaded ruint v1.11.1 [INFO] [stderr] Downloaded toml_edit v0.20.2 [INFO] [stderr] Downloaded wasm-bindgen v0.2.89 [INFO] [stderr] Downloaded syn v2.0.42 [INFO] [stderr] Downloaded openssl-sys v0.9.97 [INFO] [stderr] Downloaded ark-serialize v0.3.0 [INFO] [stderr] Downloaded openssl v0.10.61 [INFO] [stderr] Downloaded ark-std v0.3.0 [INFO] [stderr] Downloaded ark-ff v0.3.0 [INFO] [stderr] Downloaded winnow v0.5.30 [INFO] [stderr] Downloaded auto_impl v1.1.0 [INFO] [stderr] Downloaded parity-scale-codec v3.6.9 [INFO] [stderr] Downloaded ark-ff-asm v0.3.0 [INFO] [stderr] Downloaded rusty-fork v0.3.0 [INFO] [stderr] Downloaded smol_str v0.2.0 [INFO] [stderr] Downloaded proc-macro-crate v2.0.1 [INFO] [stderr] Downloaded num_enum v0.7.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.89 [INFO] [stderr] Downloaded pkg-config v0.3.28 [INFO] [stderr] Downloaded num_enum_derive v0.7.1 [INFO] [stderr] Downloaded parity-scale-codec-derive v3.6.9 [INFO] [stderr] Downloaded rlp v0.5.2 [INFO] [stderr] Downloaded alloy-rlp v0.3.3 [INFO] [stderr] Downloaded ecies v0.2.6 [INFO] [stderr] Downloaded secp256k1 v0.28.0 [INFO] [stderr] Downloaded keccak v0.1.4 [INFO] [stderr] Downloaded thiserror-impl v1.0.52 [INFO] [stderr] Downloaded thiserror v1.0.52 [INFO] [stderr] Downloaded ruint-macro v1.1.0 [INFO] [stderr] Downloaded alloy-rlp-derive v0.3.3 [INFO] [stderr] Downloaded linux-raw-sys v0.4.12 [INFO] [stderr] Downloaded secp256k1-sys v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 0732b11624f7258f64b967d5c878a8b47c9de6a2e0a51cd8b6bc3c4bd08f294e [INFO] running `Command { std: "docker" "start" "-a" "0732b11624f7258f64b967d5c878a8b47c9de6a2e0a51cd8b6bc3c4bd08f294e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0732b11624f7258f64b967d5c878a8b47c9de6a2e0a51cd8b6bc3c4bd08f294e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0732b11624f7258f64b967d5c878a8b47c9de6a2e0a51cd8b6bc3c4bd08f294e", kill_on_drop: false }` [INFO] [stdout] 0732b11624f7258f64b967d5c878a8b47c9de6a2e0a51cd8b6bc3c4bd08f294e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 78f2b62444cbce7918bd6b09ccc6f29cef95285450b1d1c9977969d211f707e2 [INFO] running `Command { std: "docker" "start" "-a" "78f2b62444cbce7918bd6b09ccc6f29cef95285450b1d1c9977969d211f707e2", 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 lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling winnow v0.5.30 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling thiserror v1.0.52 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Compiling ruint-macro v1.1.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling syn v2.0.42 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling generic-array v1.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling secp256k1-sys v0.9.1 [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 libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling derive_more v0.99.17 [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 thiserror-impl v1.0.52 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling num_enum_derive v0.7.1 [INFO] [stderr] Compiling num_enum v0.7.1 [INFO] [stderr] Compiling secp256k1 v0.28.0 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling regex v1.10.2 [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 51.53s [INFO] running `Command { std: "docker" "inspect" "78f2b62444cbce7918bd6b09ccc6f29cef95285450b1d1c9977969d211f707e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78f2b62444cbce7918bd6b09ccc6f29cef95285450b1d1c9977969d211f707e2", kill_on_drop: false }` [INFO] [stdout] 78f2b62444cbce7918bd6b09ccc6f29cef95285450b1d1c9977969d211f707e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] cdb3539c0a3136225a29a15e1fe5a5a5dc0256cbc667d54d0d8d8c335d145d3e [INFO] running `Command { std: "docker" "start" "-a" "cdb3539c0a3136225a29a15e1fe5a5a5dc0256cbc667d54d0d8d8c335d145d3e", 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] [stderr] Compiling eth-handshake v0.1.0 (/opt/rustwide/workdir) [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] [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 1.95s [INFO] running `Command { std: "docker" "inspect" "cdb3539c0a3136225a29a15e1fe5a5a5dc0256cbc667d54d0d8d8c335d145d3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdb3539c0a3136225a29a15e1fe5a5a5dc0256cbc667d54d0d8d8c335d145d3e", kill_on_drop: false }` [INFO] [stdout] cdb3539c0a3136225a29a15e1fe5a5a5dc0256cbc667d54d0d8d8c335d145d3e