[INFO] cloning repository https://github.com/sendyhalim/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/sendyhalim/tcp-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsendyhalim%2Ftcp-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsendyhalim%2Ftcp-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 625a90b67fc7662c5544920306d01831a0a36ddc [INFO] checking sendyhalim/tcp-rust against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsendyhalim%2Ftcp-rust" "/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/sendyhalim/tcp-rust on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sendyhalim/tcp-rust [INFO] finished tweaking git repo https://github.com/sendyhalim/tcp-rust [INFO] tweaked toml for git repo https://github.com/sendyhalim/tcp-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sendyhalim/tcp-rust 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tun-tap v0.1.2 [INFO] [stderr] Downloaded anyhow v1.0.40 [INFO] [stderr] Downloaded etherparse v0.8.3 [INFO] [stderr] Downloaded nix v0.13.1 [INFO] [stderr] Downloaded tokio-core v0.1.18 [INFO] [stderr] Downloaded libc v0.2.95 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3287e3fb68c3bf97cb77426fc5fa0647dafb3a9906e3e0455d1abd2b0ddd9636 [INFO] running `Command { std: "docker" "start" "-a" "3287e3fb68c3bf97cb77426fc5fa0647dafb3a9906e3e0455d1abd2b0ddd9636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3287e3fb68c3bf97cb77426fc5fa0647dafb3a9906e3e0455d1abd2b0ddd9636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3287e3fb68c3bf97cb77426fc5fa0647dafb3a9906e3e0455d1abd2b0ddd9636", kill_on_drop: false }` [INFO] [stdout] 3287e3fb68c3bf97cb77426fc5fa0647dafb3a9906e3e0455d1abd2b0ddd9636 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55278329ee763ba273c46c2ac30b69e0e786e2c0cb2eab047e019729ccbe2a97 [INFO] running `Command { std: "docker" "start" "-a" "55278329ee763ba273c46c2ac30b69e0e786e2c0cb2eab047e019729ccbe2a97", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking etherparse v0.8.3 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tun-tap v0.1.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-uds v0.2.7 [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.18 [INFO] [stderr] Checking tcp-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/tcp.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/tcp.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/tcp.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let buf = [0u8; 1500]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [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:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | 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: `buf` [INFO] [stdout] --> src/tcp.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let buf = [0u8; 1500]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [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:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | 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: `nacked` [INFO] [stdout] --> src/tcp.rs:398:15 [INFO] [stdout] | [INFO] [stdout] 398 | let nacked = self [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nacked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iph` [INFO] [stdout] --> src/tcp.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | 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: `nacked` [INFO] [stdout] --> src/tcp.rs:398:15 [INFO] [stdout] | [INFO] [stdout] 398 | let nacked = self [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nacked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iph` [INFO] [stdout] --> src/tcp.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | 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/tcp.rs:406:15 [INFO] [stdout] | [INFO] [stdout] 406 | let mut srtt = &mut self.timers.srtt; [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:406:15 [INFO] [stdout] | [INFO] [stdout] 406 | let mut srtt = &mut self.timers.srtt; [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: unused variable: `err` [INFO] [stdout] --> src/lib.rs:167:15 [INFO] [stdout] | [INFO] [stdout] 167 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lib.rs:167:15 [INFO] [stdout] | [INFO] [stdout] 167 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lib.rs:180:11 [INFO] [stdout] | [INFO] [stdout] 180 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lib.rs:180:11 [INFO] [stdout] | [INFO] [stdout] 180 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quad` [INFO] [stdout] --> src/lib.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | for quad in pending { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_quad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quad` [INFO] [stdout] --> src/lib.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | for quad in pending { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_quad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection` [INFO] [stdout] --> src/lib.rs:329:17 [INFO] [stdout] | [INFO] [stdout] 329 | if let Some(connection) = connection_manager.connection_by_quad.remove(&self.quad) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection` [INFO] [stdout] --> src/lib.rs:329:17 [INFO] [stdout] | [INFO] [stdout] 329 | if let Some(connection) = connection_manager.connection_by_quad.remove(&self.quad) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `how` [INFO] [stdout] --> src/lib.rs:334:30 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn shutdown(&mut self, how: std::net::Shutdown) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_how` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `how` [INFO] [stdout] --> src/lib.rs:334:30 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn shutdown(&mut self, how: std::net::Shutdown) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_how` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_synchronized` is never used [INFO] [stdout] --> src/tcp.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 26 | impl TcpState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 27 | pub fn is_synchronized(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_synchronized` is never used [INFO] [stdout] --> src/tcp.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 26 | impl TcpState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 27 | pub fn is_synchronized(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `up` is never read [INFO] [stdout] --> src/tcp.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct RecvSequenceSpace { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | up: bool, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `up` is never read [INFO] [stdout] --> src/tcp.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct RecvSequenceSpace { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | up: bool, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `up`, `wl1`, `wl2`, and `iss` are never read [INFO] [stdout] --> src/tcp.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct SendSequenceSpace { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | up: bool, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 108 | wl1: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | wl2: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | iss: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_rst` is never used [INFO] [stdout] --> src/tcp.rs:487:6 [INFO] [stdout] | [INFO] [stdout] 144 | impl TcpConnection { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 487 | fn send_rst(&mut self, nic: &tun_tap::Iface) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `up`, `wl1`, `wl2`, and `iss` are never read [INFO] [stdout] --> src/tcp.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct SendSequenceSpace { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | up: bool, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 108 | wl1: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | wl2: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | iss: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_rst` is never used [INFO] [stdout] --> src/tcp.rs:487:6 [INFO] [stdout] | [INFO] [stdout] 144 | impl TcpConnection { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 487 | fn send_rst(&mut self, nic: &tun_tap::Iface) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `readyAction` should have a snake case name [INFO] [stdout] --> src/lib.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | let readyAction = map_entry.get_mut().on_packet( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `ready_action` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `readyAction` should have a snake case name [INFO] [stdout] --> src/lib.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | let readyAction = map_entry.get_mut().on_packet( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `ready_action` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:492:5 [INFO] [stdout] | [INFO] [stdout] 492 | self.write(nic, self.send.nxt, 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] 492 | let _ = self.write(nic, self.send.nxt, 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:492:5 [INFO] [stdout] | [INFO] [stdout] 492 | self.write(nic, self.send.nxt, 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] 492 | let _ = self.write(nic, self.send.nxt, 0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:544:5 [INFO] [stdout] | [INFO] [stdout] 544 | / self [INFO] [stdout] 545 | | .iph [INFO] [stdout] 546 | | .set_payload_len(ip_payload_size - self.iph.header_len() as usize); [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] 544 | let _ = self [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:544:5 [INFO] [stdout] | [INFO] [stdout] 544 | / self [INFO] [stdout] 545 | | .iph [INFO] [stdout] 546 | | .set_payload_len(ip_payload_size - self.iph.header_len() as usize); [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] 544 | let _ = self [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 557 | self.iph.write(&mut unwritten_buf); [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] 557 | let _ = self.iph.write(&mut unwritten_buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 557 | self.iph.write(&mut unwritten_buf); [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] 557 | let _ = self.iph.write(&mut unwritten_buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:558:5 [INFO] [stdout] | [INFO] [stdout] 558 | self.tcph.write(&mut unwritten_buf); [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] 558 | let _ = self.tcph.write(&mut unwritten_buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tcp.rs:558:5 [INFO] [stdout] | [INFO] [stdout] 558 | self.tcph.write(&mut unwritten_buf); [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] 558 | let _ = self.tcph.write(&mut unwritten_buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::Entry` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::hash_map::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::Entry` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::hash_map::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.19s [INFO] running `Command { std: "docker" "inspect" "55278329ee763ba273c46c2ac30b69e0e786e2c0cb2eab047e019729ccbe2a97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55278329ee763ba273c46c2ac30b69e0e786e2c0cb2eab047e019729ccbe2a97", kill_on_drop: false }` [INFO] [stdout] 55278329ee763ba273c46c2ac30b69e0e786e2c0cb2eab047e019729ccbe2a97