[INFO] cloning repository https://github.com/SWASTIC-7/tcp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SWASTIC-7/tcp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSWASTIC-7%2Ftcp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSWASTIC-7%2Ftcp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b1766ab276cccc684f69bee799df9f32d0d10cf6 [INFO] checking SWASTIC-7/tcp against master#2c0f4860cc86e2354a55ea04e738848168435c90 for pr-149145 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSWASTIC-7%2Ftcp" "/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/SWASTIC-7/tcp [INFO] finished tweaking git repo https://github.com/SWASTIC-7/tcp [INFO] tweaked toml for git repo https://github.com/SWASTIC-7/tcp written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SWASTIC-7/tcp on toolchain 2c0f4860cc86e2354a55ea04e738848168435c90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SWASTIC-7/tcp 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" "+2c0f4860cc86e2354a55ea04e738848168435c90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parking_lot_core v0.6.3 [INFO] [stderr] Downloaded tun-tap v0.1.4 [INFO] [stderr] Downloaded tokio-core v0.1.18 [INFO] [stderr] Downloaded etherparse v0.16.0 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44902bf60312731c61c51cdd24d60a9c44aa63873127cf6201cc2e251de1ab04 [INFO] running `Command { std: "docker" "start" "-a" "44902bf60312731c61c51cdd24d60a9c44aa63873127cf6201cc2e251de1ab04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44902bf60312731c61c51cdd24d60a9c44aa63873127cf6201cc2e251de1ab04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44902bf60312731c61c51cdd24d60a9c44aa63873127cf6201cc2e251de1ab04", kill_on_drop: false }` [INFO] [stdout] 44902bf60312731c61c51cdd24d60a9c44aa63873127cf6201cc2e251de1ab04 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 846e09932abe2816ead16e2879af9bde25ccdb9eee46ca7733d10ea98273778c [INFO] running `Command { std: "docker" "start" "-a" "846e09932abe2816ead16e2879af9bde25ccdb9eee46ca7733d10ea98273778c", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling cc v1.2.5 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking etherparse v0.16.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Compiling tun-tap v0.1.4 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Checking tcp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `newly_acked` [INFO] [stdout] --> src/tcb.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | let newly_acked = ack.wrapping_sub(self.snd.una); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newly_acked` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `quad` and `reassembly_queue` are never read [INFO] [stdout] --> src/tcb.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Tcb { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 57 | /// Connection identifiers [INFO] [stdout] 58 | pub quad: Quad, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub reassembly_queue: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tcb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SynSent`, `FinWait1`, `CloseWait`, `Closing`, and `LastAck` are never constructed [INFO] [stdout] --> src/tcb.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub enum TcpState { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 92 | SynSent, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | FinWait1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 96 | FinWait2, [INFO] [stdout] 97 | CloseWait, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 98 | Closing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 99 | LastAck, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TcpState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `up`, `wl1`, and `wl2` are never read [INFO] [stdout] --> src/tcb.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct SendSequence { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 126 | pub up: u16, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub wl1: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub wl2: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SendSequence` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `up` is never read [INFO] [stdout] --> src/tcb.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct ReceiveSequence { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 157 | pub up: u16, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReceiveSequence` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ack`, `window`, and `timestamp` are never read [INFO] [stdout] --> src/tcb.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct Segment { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 165 | pub seq: u32, [INFO] [stdout] 166 | pub ack: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 167 | pub flags: u8, [INFO] [stdout] 168 | pub window: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 169 | pub data: Vec, [INFO] [stdout] 170 | pub timestamp: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Segment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `scale` and `effective_wnd` are never read [INFO] [stdout] --> src/tcb.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct WindowManagement { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 183 | pub scale: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub effective_wnd: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WindowManagement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `active_open`, `is_segment_acceptable`, `buffer_segment`, `get_next_buffered_segment`, `is_time_wait_expired`, and `available_window` are never used [INFO] [stdout] --> src/tcb.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 222 | impl Tcb { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn active_open(&mut self, iss: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | fn is_segment_acceptable(&self, seq: u32, len: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 534 | fn buffer_segment(&mut self, seq: u32, data: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 556 | fn get_next_buffered_segment(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 573 | pub fn is_time_wait_expired(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 582 | pub fn available_window(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newly_acked` [INFO] [stdout] --> src/tcb.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | let newly_acked = ack.wrapping_sub(self.snd.una); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newly_acked` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `quad` and `reassembly_queue` are never read [INFO] [stdout] --> src/tcb.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Tcb { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 57 | /// Connection identifiers [INFO] [stdout] 58 | pub quad: Quad, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub reassembly_queue: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tcb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SynSent`, `FinWait1`, `CloseWait`, `Closing`, and `LastAck` are never constructed [INFO] [stdout] --> src/tcb.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub enum TcpState { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 92 | SynSent, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | FinWait1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 96 | FinWait2, [INFO] [stdout] 97 | CloseWait, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 98 | Closing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 99 | LastAck, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TcpState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `up`, `wl1`, and `wl2` are never read [INFO] [stdout] --> src/tcb.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct SendSequence { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 126 | pub up: u16, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub wl1: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub wl2: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SendSequence` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `up` is never read [INFO] [stdout] --> src/tcb.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct ReceiveSequence { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 157 | pub up: u16, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReceiveSequence` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ack`, `window`, and `timestamp` are never read [INFO] [stdout] --> src/tcb.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct Segment { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 165 | pub seq: u32, [INFO] [stdout] 166 | pub ack: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 167 | pub flags: u8, [INFO] [stdout] 168 | pub window: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 169 | pub data: Vec, [INFO] [stdout] 170 | pub timestamp: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Segment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `scale` and `effective_wnd` are never read [INFO] [stdout] --> src/tcb.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct WindowManagement { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 183 | pub scale: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub effective_wnd: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WindowManagement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `active_open`, `is_segment_acceptable`, `buffer_segment`, `get_next_buffered_segment`, `is_time_wait_expired`, and `available_window` are never used [INFO] [stdout] --> src/tcb.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 222 | impl Tcb { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn active_open(&mut self, iss: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | fn is_segment_acceptable(&self, seq: u32, len: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 534 | fn buffer_segment(&mut self, seq: u32, data: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 556 | fn get_next_buffered_segment(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 573 | pub fn is_time_wait_expired(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 582 | pub fn available_window(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.37s [INFO] running `Command { std: "docker" "inspect" "846e09932abe2816ead16e2879af9bde25ccdb9eee46ca7733d10ea98273778c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "846e09932abe2816ead16e2879af9bde25ccdb9eee46ca7733d10ea98273778c", kill_on_drop: false }` [INFO] [stdout] 846e09932abe2816ead16e2879af9bde25ccdb9eee46ca7733d10ea98273778c