[INFO] cloning repository https://github.com/pantharshit00/tcp-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pantharshit00/tcp-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpantharshit00%2Ftcp-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpantharshit00%2Ftcp-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29e2a5b353ea39d11c01d82f9b0931189fc3fdda [INFO] checking pantharshit00/tcp-rust against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpantharshit00%2Ftcp-rust" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pantharshit00/tcp-rust on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pantharshit00/tcp-rust [INFO] finished tweaking git repo https://github.com/pantharshit00/tcp-rust [INFO] tweaked toml for git repo https://github.com/pantharshit00/tcp-rust written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/pantharshit00/tcp-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5306b87f2478fcbec6a9fe2bb1fdfa1b7ac5acd2fc8f05f37675791e51f09ec [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b5306b87f2478fcbec6a9fe2bb1fdfa1b7ac5acd2fc8f05f37675791e51f09ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5306b87f2478fcbec6a9fe2bb1fdfa1b7ac5acd2fc8f05f37675791e51f09ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5306b87f2478fcbec6a9fe2bb1fdfa1b7ac5acd2fc8f05f37675791e51f09ec", kill_on_drop: false }` [INFO] [stdout] b5306b87f2478fcbec6a9fe2bb1fdfa1b7ac5acd2fc8f05f37675791e51f09ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c70a9ccbb4753b282d1350dfcfe8560a976ef89e62d39479ac72bc0ea3a6cca [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6c70a9ccbb4753b282d1350dfcfe8560a976ef89e62d39479ac72bc0ea3a6cca", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking ioctl-sys v0.5.2 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking etherparse v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Checking thiserror v1.0.15 [INFO] [stderr] Checking tun v0.5.0 [INFO] [stderr] Checking trust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/tcp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/tcp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [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:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | data: &[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: `nic` [INFO] [stdout] --> src/tcp.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | nic: &mut dyn tun::Device, [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:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | iph: etherparse::Ipv4HeaderSlice, [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:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | tcph: etherparse::TcpHeaderSlice, [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:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | data: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | 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: variant is never constructed: `Closed` [INFO] [stdout] --> src/tcp.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Closed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/tcp.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | state: State, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `una` [INFO] [stdout] --> src/tcp.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | una: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nxt` [INFO] [stdout] --> src/tcp.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | nxt: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `up` [INFO] [stdout] --> src/tcp.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | up: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wl1` [INFO] [stdout] --> src/tcp.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | wl1: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wl2` [INFO] [stdout] --> src/tcp.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | wl2: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wnd` [INFO] [stdout] --> src/tcp.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | wnd: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `up` [INFO] [stdout] --> src/tcp.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | up: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/tcp.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | data: &[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: `nic` [INFO] [stdout] --> src/tcp.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | nic: &mut dyn tun::Device, [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:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | iph: etherparse::Ipv4HeaderSlice, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_iph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `irs` [INFO] [stdout] --> src/tcp.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | irs: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcph` [INFO] [stdout] --> src/tcp.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | tcph: etherparse::TcpHeaderSlice, [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:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | data: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tcp.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | 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: variant is never constructed: `Closed` [INFO] [stdout] --> src/tcp.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Closed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/tcp.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | state: State, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `una` [INFO] [stdout] --> src/tcp.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | una: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nxt` [INFO] [stdout] --> src/tcp.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | nxt: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `up` [INFO] [stdout] --> src/tcp.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | up: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wl1` [INFO] [stdout] --> src/tcp.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | wl1: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wl2` [INFO] [stdout] --> src/tcp.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | wl2: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wnd` [INFO] [stdout] --> src/tcp.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | wnd: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `up` [INFO] [stdout] --> src/tcp.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | up: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `irs` [INFO] [stdout] --> src/tcp.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | irs: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.30s [INFO] running `Command { std: "docker" "inspect" "6c70a9ccbb4753b282d1350dfcfe8560a976ef89e62d39479ac72bc0ea3a6cca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c70a9ccbb4753b282d1350dfcfe8560a976ef89e62d39479ac72bc0ea3a6cca", kill_on_drop: false }` [INFO] [stdout] 6c70a9ccbb4753b282d1350dfcfe8560a976ef89e62d39479ac72bc0ea3a6cca