[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] testing tengrommel/tcpimplement against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftengrommel%2Ftcpimplement" "/workspace/builds/worker-16/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-16/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tengrommel/tcpimplement on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-16/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94da90d052ed18b4d6a34d78eed726835bd51f4d8285f6931869d99f269387c0 [INFO] running `Command { std: "docker" "start" "-a" "94da90d052ed18b4d6a34d78eed726835bd51f4d8285f6931869d99f269387c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94da90d052ed18b4d6a34d78eed726835bd51f4d8285f6931869d99f269387c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94da90d052ed18b4d6a34d78eed726835bd51f4d8285f6931869d99f269387c0", kill_on_drop: false }` [INFO] [stdout] 94da90d052ed18b4d6a34d78eed726835bd51f4d8285f6931869d99f269387c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e7974312363abd0a6460fcc8d9fad23b316063b73dcc286f9d1bd58b305970e [INFO] running `Command { std: "docker" "start" "-a" "0e7974312363abd0a6460fcc8d9fad23b316063b73dcc286f9d1bd58b305970e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling etherparse v0.9.0 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling tun-tap v0.1.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling tcpimplement v0.1.0 (/opt/rustwide/workdir) [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] = 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] [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: 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: field is never read: `up` [INFO] [stdout] --> src/tcp.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | up: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `SendSequenceSpace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tcp.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wl1` [INFO] [stdout] --> src/tcp.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | wl1: 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] --> src/tcp.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wl2` [INFO] [stdout] --> src/tcp.rs:35:5 [INFO] [stdout] | [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] --> src/tcp.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `up` [INFO] [stdout] --> src/tcp.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | up: bool, [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] --> src/tcp.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `irs` [INFO] [stdout] --> src/tcp.rs:59:5 [INFO] [stdout] | [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] --> src/tcp.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Estab` [INFO] [stdout] --> src/tcp.rs:65:5 [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] [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] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.37s [INFO] running `Command { std: "docker" "inspect" "0e7974312363abd0a6460fcc8d9fad23b316063b73dcc286f9d1bd58b305970e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e7974312363abd0a6460fcc8d9fad23b316063b73dcc286f9d1bd58b305970e", kill_on_drop: false }` [INFO] [stdout] 0e7974312363abd0a6460fcc8d9fad23b316063b73dcc286f9d1bd58b305970e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 010528fd39db17b0784b6a9642b6e4144c2b39f87e4286324157a9eb0a11c98d [INFO] running `Command { std: "docker" "start" "-a" "010528fd39db17b0784b6a9642b6e4144c2b39f87e4286324157a9eb0a11c98d", kill_on_drop: false }` [INFO] [stderr] Compiling tcpimplement v0.1.0 (/opt/rustwide/workdir) [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] = 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] [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: 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: field is never read: `up` [INFO] [stdout] --> src/tcp.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | up: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `SendSequenceSpace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tcp.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wl1` [INFO] [stdout] --> src/tcp.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | wl1: 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] --> src/tcp.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wl2` [INFO] [stdout] --> src/tcp.rs:35:5 [INFO] [stdout] | [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] --> src/tcp.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `up` [INFO] [stdout] --> src/tcp.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | up: bool, [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] --> src/tcp.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `irs` [INFO] [stdout] --> src/tcp.rs:59:5 [INFO] [stdout] | [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] --> src/tcp.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Estab` [INFO] [stdout] --> src/tcp.rs:65:5 [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] [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] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/tcpimplement-f5fe1bd0d7775e01) [INFO] running `Command { std: "docker" "inspect" "010528fd39db17b0784b6a9642b6e4144c2b39f87e4286324157a9eb0a11c98d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "010528fd39db17b0784b6a9642b6e4144c2b39f87e4286324157a9eb0a11c98d", kill_on_drop: false }` [INFO] [stdout] 010528fd39db17b0784b6a9642b6e4144c2b39f87e4286324157a9eb0a11c98d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2f70ddeffd9c06c4a616c2784af74419a31765b8f867aca9747060345493dbf7 [INFO] running `Command { std: "docker" "start" "-a" "2f70ddeffd9c06c4a616c2784af74419a31765b8f867aca9747060345493dbf7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:61:17 [INFO] [stderr] | [INFO] [stderr] 61 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/tcp.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | data: &'a [u8], [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ackn` [INFO] [stderr] --> src/tcp.rs:154:13 [INFO] [stderr] | [INFO] [stderr] 154 | let ackn = tcph.acknowledgment_number(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ackn` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `nic` [INFO] [stderr] --> src/tcp.rs:147:9 [INFO] [stderr] | [INFO] [stderr] 147 | nic: &mut tun_tap::Iface, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_nic` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `iph` [INFO] [stderr] --> src/tcp.rs:148:9 [INFO] [stderr] | [INFO] [stderr] 148 | iph: etherparse::Ipv4HeaderSlice<'a>, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_iph` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:44:43 [INFO] [stderr] | [INFO] [stderr] 44 | ... Entry::Vacant(mut e) => { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `up` [INFO] [stderr] --> src/tcp.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | up: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `SendSequenceSpace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tcp.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `wl1` [INFO] [stderr] --> src/tcp.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | wl1: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SendSequenceSpace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tcp.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `wl2` [INFO] [stderr] --> src/tcp.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | wl2: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SendSequenceSpace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tcp.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `up` [INFO] [stderr] --> src/tcp.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | up: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RecvSequenceSpace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tcp.rs:50:10 [INFO] [stderr] | [INFO] [stderr] 50 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `irs` [INFO] [stderr] --> src/tcp.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | irs: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RecvSequenceSpace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tcp.rs:50:10 [INFO] [stderr] | [INFO] [stderr] 50 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Estab` [INFO] [stderr] --> src/tcp.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | Estab, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/tcp.rs:127:9 [INFO] [stderr] | [INFO] [stderr] 127 | c.ip.set_payload_len(syn_ack.header_len() as usize + 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/tcp.rs:136:13 [INFO] [stderr] | [INFO] [stderr] 136 | c.ip.write(&mut unwritten); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/tcp.rs:137:13 [INFO] [stderr] | [INFO] [stderr] 137 | syn_ack.write(&mut unwritten); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `tcpimplement` (bin "tcpimplement" test) generated 15 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tcpimplement-f5fe1bd0d7775e01) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2f70ddeffd9c06c4a616c2784af74419a31765b8f867aca9747060345493dbf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f70ddeffd9c06c4a616c2784af74419a31765b8f867aca9747060345493dbf7", kill_on_drop: false }` [INFO] [stdout] 2f70ddeffd9c06c4a616c2784af74419a31765b8f867aca9747060345493dbf7