[INFO] cloning repository https://github.com/dspeyrer/net [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dspeyrer/net" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdspeyrer%2Fnet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdspeyrer%2Fnet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41b235ed076e0c5228187f6894c57a9ef2b1d1a1 [INFO] checking dspeyrer/net against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdspeyrer%2Fnet" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dspeyrer/net [INFO] finished tweaking git repo https://github.com/dspeyrer/net [INFO] tweaked toml for git repo https://github.com/dspeyrer/net written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dspeyrer/net on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dspeyrer/net 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bilge-impl v0.2.0 [INFO] [stderr] Downloaded bilge v0.2.0 [INFO] [stderr] Downloaded arbitrary-int v1.2.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a8dfc552a70f0f60a428bd0b641d5506e177a53396071fd5a2c08ec8344bf24 [INFO] running `Command { std: "docker" "start" "-a" "3a8dfc552a70f0f60a428bd0b641d5506e177a53396071fd5a2c08ec8344bf24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a8dfc552a70f0f60a428bd0b641d5506e177a53396071fd5a2c08ec8344bf24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a8dfc552a70f0f60a428bd0b641d5506e177a53396071fd5a2c08ec8344bf24", kill_on_drop: false }` [INFO] [stdout] 3a8dfc552a70f0f60a428bd0b641d5506e177a53396071fd5a2c08ec8344bf24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e36fea4632120d212ffadb46a8cc09f8f4e0a632c63f60abb79eb7bfe666c3e [INFO] running `Command { std: "docker" "start" "-a" "6e36fea4632120d212ffadb46a8cc09f8f4e0a632c63f60abb79eb7bfe666c3e", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking arbitrary-int v1.2.7 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking tai64 v4.0.0 [INFO] [stderr] Checking quote v1.0.36 [INFO] [stderr] Checking ctrlc v3.4.4 [INFO] [stderr] Checking macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling bilge-impl v0.2.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking bilge v0.2.0 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking utils v0.1.0 (/opt/rustwide/workdir/utils) [INFO] [stderr] Checking collections v0.1.0 (/opt/rustwide/workdir/collections) [INFO] [stdout] warning: the feature `new_zeroed_alloc` has been stable since 1.92.0 and no longer requires an attribute to enable [INFO] [stdout] --> collections/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(new_zeroed_alloc)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `new_zeroed_alloc` has been stable since 1.92.0 and no longer requires an attribute to enable [INFO] [stdout] --> collections/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(new_zeroed_alloc)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Word` is never used [INFO] [stdout] --> collections/src/map/inner/unaligned.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Word = u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIRROR` is never used [INFO] [stdout] --> collections/src/map/inner/unaligned.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const MIRROR: usize = core::mem::size_of::() - 1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Control` is never constructed [INFO] [stdout] --> collections/src/map/inner/unaligned.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Control { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_full`, `is_empty`, `group`, `set`, and `set_wrap` are never used [INFO] [stdout] --> collections/src/map/inner/unaligned.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Control { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] 16 | #[inline] [INFO] [stdout] 17 | unsafe fn is_full(&self, n: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | unsafe fn is_empty(&self, n: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | unsafe fn group(&self, n: usize) -> Word { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | unsafe fn set(&mut self, n: usize, b: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | unsafe fn set_wrap(&mut self, n: usize, b: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Core` is never constructed [INFO] [stdout] --> collections/src/map/inner/unaligned.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Core { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `x` is never read [INFO] [stdout] --> collections/src/sparse/index.rs:2:2 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Index { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 2 | x: T, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: union `Slot` is never used [INFO] [stdout] --> collections/src/sparse/inner/bitmask.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | union Slot { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Core` is never constructed [INFO] [stdout] --> collections/src/sparse/inner/bitmask.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Core { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> collections/src/sparse/inner/bitmask.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | impl Core { [INFO] [stdout] | ---------------------------------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(f: impl Fn(usize) -> B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub unsafe fn is_a(&self, idx: usize) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | unsafe fn get(&self, idx: usize) -> &Slot { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | unsafe fn get_mut(&mut self, idx: usize) -> &mut Slot { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub unsafe fn take_a(&mut self, idx: usize, b: B) -> A { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub unsafe fn get_a(&self, idx: usize) -> &A { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub unsafe fn get_a_mut(&mut self, idx: usize) -> &mut A { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub unsafe fn take_b(&mut self, idx: usize, a: A) -> B { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub unsafe fn get_b(&self, idx: usize) -> &B { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub unsafe fn get_b_mut(&mut self, idx: usize) -> &mut B { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_b` and `get_b_mut` are never used [INFO] [stdout] --> collections/src/sparse/inner/inline.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 21 | impl Core { [INFO] [stdout] | ---------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub unsafe fn get_b(&self, idx: usize) -> &B { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub unsafe fn get_b_mut(&mut self, idx: usize) -> &mut B { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `head` and `core` are never read [INFO] [stdout] --> collections/src/sparse/slab.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Slab { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | head: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | core: Core, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking runtime v0.1.0 (/opt/rustwide/workdir/runtime) [INFO] [stdout] warning: type alias `Word` is never used [INFO] [stdout] --> collections/src/map/inner/unaligned.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Word = u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIRROR` is never used [INFO] [stdout] --> collections/src/map/inner/unaligned.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const MIRROR: usize = core::mem::size_of::() - 1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Control` is never constructed [INFO] [stdout] --> collections/src/map/inner/unaligned.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Control { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_full`, `is_empty`, `group`, `set`, and `set_wrap` are never used [INFO] [stdout] --> collections/src/map/inner/unaligned.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Control { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] 16 | #[inline] [INFO] [stdout] 17 | unsafe fn is_full(&self, n: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | unsafe fn is_empty(&self, n: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | unsafe fn group(&self, n: usize) -> Word { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | unsafe fn set(&mut self, n: usize, b: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | unsafe fn set_wrap(&mut self, n: usize, b: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Core` is never constructed [INFO] [stdout] --> collections/src/map/inner/unaligned.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Core { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `x` is never read [INFO] [stdout] --> collections/src/sparse/index.rs:2:2 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Index { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 2 | x: T, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: union `Slot` is never used [INFO] [stdout] --> collections/src/sparse/inner/bitmask.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | union Slot { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Core` is never constructed [INFO] [stdout] --> collections/src/sparse/inner/bitmask.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Core { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> collections/src/sparse/inner/bitmask.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | impl Core { [INFO] [stdout] | ---------------------------------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(f: impl Fn(usize) -> B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub unsafe fn is_a(&self, idx: usize) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | unsafe fn get(&self, idx: usize) -> &Slot { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | unsafe fn get_mut(&mut self, idx: usize) -> &mut Slot { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub unsafe fn take_a(&mut self, idx: usize, b: B) -> A { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub unsafe fn get_a(&self, idx: usize) -> &A { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub unsafe fn get_a_mut(&mut self, idx: usize) -> &mut A { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub unsafe fn take_b(&mut self, idx: usize, a: A) -> B { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub unsafe fn get_b(&self, idx: usize) -> &B { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub unsafe fn get_b_mut(&mut self, idx: usize) -> &mut B { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_b` and `get_b_mut` are never used [INFO] [stdout] --> collections/src/sparse/inner/inline.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 21 | impl Core { [INFO] [stdout] | ---------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub unsafe fn get_b(&self, idx: usize) -> &B { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub unsafe fn get_b_mut(&mut self, idx: usize) -> &mut B { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `head` and `core` are never read [INFO] [stdout] --> collections/src/sparse/slab.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Slab { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | head: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | core: Core, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wireguard v0.1.0 (/opt/rustwide/workdir/wireguard) [INFO] [stderr] Checking net v0.1.0 (/opt/rustwide/workdir/net) [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> net/src/tcp/mod.rs:246:23 [INFO] [stdout] | [INFO] [stdout] 246 | fn gen_isn(&self, c: &mut Core) -> Seq { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OptKind` is never used [INFO] [stdout] --> net/src/tcp/mod.rs:115:6 [INFO] [stdout] | [INFO] [stdout] 115 | enum OptKind { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `una`, `nxt`, `wnd`, `up`, `wl1`, and `wl2` are never read [INFO] [stdout] --> net/src/tcp/mod.rs:137:2 [INFO] [stdout] | [INFO] [stdout] 135 | struct SndSeq { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 136 | /// unacknowledged [INFO] [stdout] 137 | una: Seq, [INFO] [stdout] | ^^^ [INFO] [stdout] 138 | /// next [INFO] [stdout] 139 | nxt: Seq, [INFO] [stdout] | ^^^ [INFO] [stdout] 140 | /// window [INFO] [stdout] 141 | wnd: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 142 | /// urgent pointer [INFO] [stdout] 143 | up: Seq, [INFO] [stdout] | ^^ [INFO] [stdout] 144 | /// segment sequence number used for last window update [INFO] [stdout] 145 | wl1: Seq, [INFO] [stdout] | ^^^ [INFO] [stdout] 146 | /// segment acknowledgment number used for last window update [INFO] [stdout] 147 | wl2: Seq, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nxt`, `wnd`, and `up` are never read [INFO] [stdout] --> net/src/tcp/mod.rs:162:2 [INFO] [stdout] | [INFO] [stdout] 160 | struct RcvSeq { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 161 | /// next [INFO] [stdout] 162 | nxt: Seq, [INFO] [stdout] | ^^^ [INFO] [stdout] 163 | /// window [INFO] [stdout] 164 | wnd: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 165 | /// urgent pointer [INFO] [stdout] 166 | up: Seq, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> net/src/tcp/mod.rs:172:2 [INFO] [stdout] | [INFO] [stdout] 170 | enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 171 | /// Represents waiting for a connection request from any remote TCP peer and port. [INFO] [stdout] 172 | Listen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 173 | /// Represents waiting for a matching connection request after having sent a connection request. [INFO] [stdout] 174 | SynSent, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 175 | /// Represents waiting for a confirming connection request acknowledgment after having both received and sent a connection request. [INFO] [stdout] 176 | SynReceived, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 177 | /// Re... [INFO] [stdout] 178 | Established, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 179 | /// Re... [INFO] [stdout] 180 | FinWait1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 181 | /// Represents waiting for a connection termination request from the remote TCP peer. [INFO] [stdout] 182 | FinWait2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 183 | /// Represents waiting for a connection termination request from the local user. [INFO] [stdout] 184 | CloseWait, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 185 | /// Represents waiting for a connection termination request acknowledgment from the remote TCP peer. [INFO] [stdout] 186 | Closing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 187 | /// Re... [INFO] [stdout] 188 | LastAck, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 189 | /// Re... [INFO] [stdout] 190 | TimeWait, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> net/src/tcp/mod.rs:209:2 [INFO] [stdout] | [INFO] [stdout] 205 | struct TCB { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 209 | send: VecDeque, [INFO] [stdout] | ^^^^ [INFO] [stdout] 210 | /// The retransmit queue. [INFO] [stdout] 211 | rexmit: (), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 212 | /// The current segment. [INFO] [stdout] 213 | current: (), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | snd: SndSeq, [INFO] [stdout] | ^^^ [INFO] [stdout] 217 | /// initial send sequence number [INFO] [stdout] 218 | iss: Seq, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | rcv: RcvSeq, [INFO] [stdout] | ^^^ [INFO] [stdout] 222 | /// initial receive sequence number [INFO] [stdout] 223 | irs: Seq, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_acceptable_ack`, `is_acceptable_seg`, and `gen_isn` are never used [INFO] [stdout] --> net/src/tcp/mod.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 226 | impl TCB { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 227 | /// A new acknowledgment (called an "acceptable ack") is one for which the inequality holds: SND.UNA < SEG.ACK =< SND.NXT [INFO] [stdout] 228 | fn is_acceptable_ack(&self, seg_ack: Seq) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | fn is_acceptable_seg(&self, seg_seq: Seq, seg_len: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | fn gen_isn(&self, c: &mut Core) -> Seq { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> net/src/tcp/mod.rs:246:23 [INFO] [stdout] | [INFO] [stdout] 246 | fn gen_isn(&self, c: &mut Core) -> Seq { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OptKind` is never used [INFO] [stdout] --> net/src/tcp/mod.rs:115:6 [INFO] [stdout] | [INFO] [stdout] 115 | enum OptKind { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `una`, `nxt`, `wnd`, `up`, `wl1`, and `wl2` are never read [INFO] [stdout] --> net/src/tcp/mod.rs:137:2 [INFO] [stdout] | [INFO] [stdout] 135 | struct SndSeq { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 136 | /// unacknowledged [INFO] [stdout] 137 | una: Seq, [INFO] [stdout] | ^^^ [INFO] [stdout] 138 | /// next [INFO] [stdout] 139 | nxt: Seq, [INFO] [stdout] | ^^^ [INFO] [stdout] 140 | /// window [INFO] [stdout] 141 | wnd: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 142 | /// urgent pointer [INFO] [stdout] 143 | up: Seq, [INFO] [stdout] | ^^ [INFO] [stdout] 144 | /// segment sequence number used for last window update [INFO] [stdout] 145 | wl1: Seq, [INFO] [stdout] | ^^^ [INFO] [stdout] 146 | /// segment acknowledgment number used for last window update [INFO] [stdout] 147 | wl2: Seq, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nxt`, `wnd`, and `up` are never read [INFO] [stdout] --> net/src/tcp/mod.rs:162:2 [INFO] [stdout] | [INFO] [stdout] 160 | struct RcvSeq { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 161 | /// next [INFO] [stdout] 162 | nxt: Seq, [INFO] [stdout] | ^^^ [INFO] [stdout] 163 | /// window [INFO] [stdout] 164 | wnd: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 165 | /// urgent pointer [INFO] [stdout] 166 | up: Seq, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> net/src/tcp/mod.rs:172:2 [INFO] [stdout] | [INFO] [stdout] 170 | enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 171 | /// Represents waiting for a connection request from any remote TCP peer and port. [INFO] [stdout] 172 | Listen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 173 | /// Represents waiting for a matching connection request after having sent a connection request. [INFO] [stdout] 174 | SynSent, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 175 | /// Represents waiting for a confirming connection request acknowledgment after having both received and sent a connection request. [INFO] [stdout] 176 | SynReceived, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 177 | /// Re... [INFO] [stdout] 178 | Established, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 179 | /// Re... [INFO] [stdout] 180 | FinWait1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 181 | /// Represents waiting for a connection termination request from the remote TCP peer. [INFO] [stdout] 182 | FinWait2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 183 | /// Represents waiting for a connection termination request from the local user. [INFO] [stdout] 184 | CloseWait, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 185 | /// Represents waiting for a connection termination request acknowledgment from the remote TCP peer. [INFO] [stdout] 186 | Closing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 187 | /// Re... [INFO] [stdout] 188 | LastAck, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 189 | /// Re... [INFO] [stdout] 190 | TimeWait, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> net/src/tcp/mod.rs:209:2 [INFO] [stdout] | [INFO] [stdout] 205 | struct TCB { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 209 | send: VecDeque, [INFO] [stdout] | ^^^^ [INFO] [stdout] 210 | /// The retransmit queue. [INFO] [stdout] 211 | rexmit: (), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 212 | /// The current segment. [INFO] [stdout] 213 | current: (), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | snd: SndSeq, [INFO] [stdout] | ^^^ [INFO] [stdout] 217 | /// initial send sequence number [INFO] [stdout] 218 | iss: Seq, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | rcv: RcvSeq, [INFO] [stdout] | ^^^ [INFO] [stdout] 222 | /// initial receive sequence number [INFO] [stdout] 223 | irs: Seq, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_acceptable_ack`, `is_acceptable_seg`, and `gen_isn` are never used [INFO] [stdout] --> net/src/tcp/mod.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 226 | impl TCB { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 227 | /// A new acknowledgment (called an "acceptable ack") is one for which the inequality holds: SND.UNA < SEG.ACK =< SND.NXT [INFO] [stdout] 228 | fn is_acceptable_ack(&self, seg_ack: Seq) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | fn is_acceptable_seg(&self, seg_seq: Seq, seg_len: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | fn gen_isn(&self, c: &mut Core) -> Seq { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.05s [INFO] running `Command { std: "docker" "inspect" "6e36fea4632120d212ffadb46a8cc09f8f4e0a632c63f60abb79eb7bfe666c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e36fea4632120d212ffadb46a8cc09f8f4e0a632c63f60abb79eb7bfe666c3e", kill_on_drop: false }` [INFO] [stdout] 6e36fea4632120d212ffadb46a8cc09f8f4e0a632c63f60abb79eb7bfe666c3e