[INFO] cloning repository https://github.com/tengrommel/tcpimplement [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tengrommel/tcpimplement" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftengrommel%2Ftcpimplement", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftengrommel%2Ftcpimplement'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb9fafcaa8b1b19261614e10b3527e42529cb762 [INFO] checking tengrommel/tcpimplement against master#d49be02cf6d2e2a01264fcdef1e20c826710c0f5 for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftengrommel%2Ftcpimplement" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tengrommel/tcpimplement on toolchain d49be02cf6d2e2a01264fcdef1e20c826710c0f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tengrommel/tcpimplement [INFO] finished tweaking git repo https://github.com/tengrommel/tcpimplement [INFO] tweaked toml for git repo https://github.com/tengrommel/tcpimplement written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tengrommel/tcpimplement 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" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6214f3eaea7bd7af79255e8ce6cbc8c2f7e64f9c0124cd643c3ea3ef30f18361 [INFO] running `Command { std: "docker" "start" "-a" "6214f3eaea7bd7af79255e8ce6cbc8c2f7e64f9c0124cd643c3ea3ef30f18361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6214f3eaea7bd7af79255e8ce6cbc8c2f7e64f9c0124cd643c3ea3ef30f18361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6214f3eaea7bd7af79255e8ce6cbc8c2f7e64f9c0124cd643c3ea3ef30f18361", kill_on_drop: false }` [INFO] [stdout] 6214f3eaea7bd7af79255e8ce6cbc8c2f7e64f9c0124cd643c3ea3ef30f18361 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91cc3d4728fe4b22bde9a1718a1ff051807314df2739a769dea99ab03c445231 [INFO] running `Command { std: "docker" "start" "-a" "91cc3d4728fe4b22bde9a1718a1ff051807314df2739a769dea99ab03c445231", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking etherparse v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tun-tap v0.1.2 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-uds v0.2.6 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking tcpimplement v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/tcp.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | 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: unused variable: `data` [INFO] [stdout] --> src/tcp.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | 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: unused variable: `ackn` [INFO] [stdout] --> src/tcp.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let ackn = tcph.acknowledgment_number(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ackn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nic` [INFO] [stdout] --> src/tcp.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | 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:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | 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: `ackn` [INFO] [stdout] --> src/tcp.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let ackn = tcph.acknowledgment_number(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ackn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nic` [INFO] [stdout] --> src/tcp.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | 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:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | 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: `e` [INFO] [stdout] --> src/main.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | ... Entry::Vacant(mut e) => { [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: fields `up`, `wl1`, and `wl2` are never read [INFO] [stdout] --> src/tcp.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct SendSequenceSpace { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | up: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 32 | // segment sequence number used for last window update [INFO] [stdout] 33 | wl1: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | // segment sequence number used for last window update [INFO] [stdout] 35 | wl2: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SendSequenceSpace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `up` and `irs` are never read [INFO] [stdout] --> src/tcp.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct RecvSequenceSpace { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | up: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 58 | // initial receive sequence number [INFO] [stdout] 59 | irs: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecvSequenceSpace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Estab` is never constructed [INFO] [stdout] --> src/tcp.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum State { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 65 | Estab, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | ... Entry::Vacant(mut e) => { [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: fields `up`, `wl1`, and `wl2` are never read [INFO] [stdout] --> src/tcp.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct SendSequenceSpace { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | up: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 32 | // segment sequence number used for last window update [INFO] [stdout] 33 | wl1: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | // segment sequence number used for last window update [INFO] [stdout] 35 | wl2: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SendSequenceSpace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `up` and `irs` are never read [INFO] [stdout] --> src/tcp.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct RecvSequenceSpace { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | up: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 58 | // initial receive sequence number [INFO] [stdout] 59 | irs: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecvSequenceSpace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Estab` is never constructed [INFO] [stdout] --> src/tcp.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum State { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 65 | Estab, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | c.ip.set_payload_len(syn_ack.header_len() as usize + 0); [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] 127 | let _ = c.ip.set_payload_len(syn_ack.header_len() as usize + 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | c.ip.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] 136 | let _ = c.ip.write(&mut unwritten); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | 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] 137 | 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:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | c.ip.set_payload_len(syn_ack.header_len() as usize + 0); [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] 127 | let _ = c.ip.set_payload_len(syn_ack.header_len() as usize + 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | c.ip.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] 136 | let _ = c.ip.write(&mut unwritten); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | 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] 137 | let _ = syn_ack.write(&mut unwritten); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.86s [INFO] running `Command { std: "docker" "inspect" "91cc3d4728fe4b22bde9a1718a1ff051807314df2739a769dea99ab03c445231", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91cc3d4728fe4b22bde9a1718a1ff051807314df2739a769dea99ab03c445231", kill_on_drop: false }` [INFO] [stdout] 91cc3d4728fe4b22bde9a1718a1ff051807314df2739a769dea99ab03c445231