[INFO] cloning repository https://github.com/tengrommel/tcp-impl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tengrommel/tcp-impl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftengrommel%2Ftcp-impl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftengrommel%2Ftcp-impl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a4c219b3729ccdad5bed17298002600e2a461af [INFO] checking tengrommel/tcp-impl against try#173780a87744406b7489b28349c0176f14bb3881 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftengrommel%2Ftcp-impl" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tengrommel/tcp-impl on toolchain 173780a87744406b7489b28349c0176f14bb3881 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tengrommel/tcp-impl [INFO] finished tweaking git repo https://github.com/tengrommel/tcp-impl [INFO] tweaked toml for git repo https://github.com/tengrommel/tcp-impl written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tengrommel/tcp-impl 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" "+173780a87744406b7489b28349c0176f14bb3881" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b09101d9559779ccd17ad478f4e1b06dbf56f23018fad479baee102e5fa39cc2 [INFO] running `Command { std: "docker" "start" "-a" "b09101d9559779ccd17ad478f4e1b06dbf56f23018fad479baee102e5fa39cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b09101d9559779ccd17ad478f4e1b06dbf56f23018fad479baee102e5fa39cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b09101d9559779ccd17ad478f4e1b06dbf56f23018fad479baee102e5fa39cc2", kill_on_drop: false }` [INFO] [stdout] b09101d9559779ccd17ad478f4e1b06dbf56f23018fad479baee102e5fa39cc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdcd144230228abd420913894a65c0f403e19dca572f2ba6349c83c1acc8b824 [INFO] running `Command { std: "docker" "start" "-a" "bdcd144230228abd420913894a65c0f403e19dca572f2ba6349c83c1acc8b824", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking lock_api v0.3.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking tokio-executor v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Checking tokio-sync v0.1.7 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking tokio-timer v0.2.12 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking etherparse v0.9.0 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-reactor v0.1.11 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Compiling tun-tap v0.1.2 [INFO] [stderr] Checking tokio-threadpool v0.1.17 [INFO] [stderr] Checking tokio-udp v0.1.5 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking untitled v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::DebugList` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::DebugList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::DebugList` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::DebugList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/tcp.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | data: &'a [u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut c = Connection { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let mut ip = etherparse::Ipv4Header::new( [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut unwritten = { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nic` [INFO] [stdout] --> src/tcp.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | nic: &mut tun_tap::Iface, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_nic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iph` [INFO] [stdout] --> src/tcp.rs:116:26 [INFO] [stdout] | [INFO] [stdout] 116 | iph: etherparse::Ipv4HeaderSlice<'a>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_iph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcph` [INFO] [stdout] --> src/tcp.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | tcph: etherparse::TcpHeaderSlice<'a>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tcph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/tcp.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | data: &'a [u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let flags = u16::from_be_bytes([buf[0], buf[1]]); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | ... Entry::Vacant(mut e) => { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Closed` and `Listen` are never constructed [INFO] [stdout] --> src/tcp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 4 | Closed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | Listen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/tcp.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Connection { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 11 | state: State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `una`, `nxt`, `up`, `wl1`, and `wl2` are never read [INFO] [stdout] --> src/tcp.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct SendSequenceSpace { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 17 | // send unacknowledged [INFO] [stdout] 18 | una: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | // send next [INFO] [stdout] 20 | nxt: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | up: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | // segment sequence number used for last window update [INFO] [stdout] 26 | wl1: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | // segment acknowledgement number used for last window update [INFO] [stdout] 28 | wl2: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `wnd`, `up`, and `irs` are never read [INFO] [stdout] --> src/tcp.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct RecvSequenceSpace { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | wnd: u16, [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | // receive urgent pointer [INFO] [stdout] 39 | up: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | // initial send sequence number [INFO] [stdout] 41 | irs: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/tcp.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | data: &'a [u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut c = Connection { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let mut ip = etherparse::Ipv4Header::new( [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut unwritten = { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nic` [INFO] [stdout] --> src/tcp.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | nic: &mut tun_tap::Iface, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_nic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iph` [INFO] [stdout] --> src/tcp.rs:116:26 [INFO] [stdout] | [INFO] [stdout] 116 | iph: etherparse::Ipv4HeaderSlice<'a>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_iph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcph` [INFO] [stdout] --> src/tcp.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | tcph: etherparse::TcpHeaderSlice<'a>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tcph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/tcp.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | data: &'a [u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let flags = u16::from_be_bytes([buf[0], buf[1]]); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | ip.write(&mut unwritten); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 105 | let _ = ip.write(&mut unwritten); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | syn_ack.write(&mut unwritten); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = syn_ack.write(&mut unwritten); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | nic.send(&buf[..unwritten]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 110 | let _ = nic.send(&buf[..unwritten]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | ... Entry::Vacant(mut e) => { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Closed` and `Listen` are never constructed [INFO] [stdout] --> src/tcp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 4 | Closed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | Listen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/tcp.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Connection { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 11 | state: State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `una`, `nxt`, `up`, `wl1`, and `wl2` are never read [INFO] [stdout] --> src/tcp.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct SendSequenceSpace { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 17 | // send unacknowledged [INFO] [stdout] 18 | una: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | // send next [INFO] [stdout] 20 | nxt: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | up: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | // segment sequence number used for last window update [INFO] [stdout] 26 | wl1: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | // segment acknowledgement number used for last window update [INFO] [stdout] 28 | wl2: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `wnd`, `up`, and `irs` are never read [INFO] [stdout] --> src/tcp.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct RecvSequenceSpace { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | wnd: u16, [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | // receive urgent pointer [INFO] [stdout] 39 | up: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | // initial send sequence number [INFO] [stdout] 41 | irs: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | ip.write(&mut unwritten); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 105 | let _ = ip.write(&mut unwritten); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | syn_ack.write(&mut unwritten); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = syn_ack.write(&mut unwritten); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | nic.send(&buf[..unwritten]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 110 | let _ = nic.send(&buf[..unwritten]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.67s [INFO] running `Command { std: "docker" "inspect" "bdcd144230228abd420913894a65c0f403e19dca572f2ba6349c83c1acc8b824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdcd144230228abd420913894a65c0f403e19dca572f2ba6349c83c1acc8b824", kill_on_drop: false }` [INFO] [stdout] bdcd144230228abd420913894a65c0f403e19dca572f2ba6349c83c1acc8b824