[INFO] cloning repository https://github.com/oceanwavechina/trust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oceanwavechina/trust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foceanwavechina%2Ftrust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foceanwavechina%2Ftrust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 425be7cbab3fedb687d277681b04486f2ffcb029
[INFO] checking oceanwavechina/trust against try#14e4661efa5acbf985e4fe564baae04683366cc1 for pr-157696
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foceanwavechina%2Ftrust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/oceanwavechina/trust
[INFO] finished tweaking git repo https://github.com/oceanwavechina/trust
[INFO] tweaked toml for git repo https://github.com/oceanwavechina/trust written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/oceanwavechina/trust on toolchain 14e4661efa5acbf985e4fe564baae04683366cc1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/oceanwavechina/trust 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" "+14e4661efa5acbf985e4fe564baae04683366cc1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tun-tap v0.1.2
[INFO] [stderr]   Downloaded futures v0.1.27
[INFO] [stderr]   Downloaded etherparse v0.8.2
[INFO] [stderr]   Downloaded tokio v0.1.20
[INFO] [stderr]   Downloaded mio v0.6.18
[INFO] [stderr]   Downloaded nix v0.13.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ee92336b3f16426e7411cd2331b8b3381da7fbb9bfbbba594f523b39ceb2b983
[INFO] running `Command { std: "docker" "start" "ee92336b3f16426e7411cd2331b8b3381da7fbb9bfbbba594f523b39ceb2b983", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ee92336b3f16426e7411cd2331b8b3381da7fbb9bfbbba594f523b39ceb2b983" "/opt/rustwide/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ee92336b3f16426e7411cd2331b8b3381da7fbb9bfbbba594f523b39ceb2b983", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ee92336b3f16426e7411cd2331b8b3381da7fbb9bfbbba594f523b39ceb2b983" "/opt/rustwide/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.58
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]    Compiling autocfg v0.1.4
[INFO] [stderr]     Checking futures v0.1.27
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]     Checking stable_deref_trait v1.1.1
[INFO] [stderr]     Checking smallvec v0.6.9
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]     Checking nodrop v0.1.13
[INFO] [stderr]     Checking fnv v1.0.6
[INFO] [stderr]     Checking memoffset v0.2.1
[INFO] [stderr]     Checking tokio-trace-core v0.1.0
[INFO] [stderr]    Compiling cc v1.0.37
[INFO] [stderr]     Checking scoped-tls v0.1.2
[INFO] [stderr]     Checking crossbeam-utils v0.6.5
[INFO] [stderr]     Checking log v0.4.6
[INFO] [stderr]     Checking owning_ref v0.4.0
[INFO] [stderr]    Compiling nix v0.13.1
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking bitflags v1.0.4
[INFO] [stderr]     Checking lock_api v0.1.5
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking crossbeam-queue v0.1.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking etherparse v0.8.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling tun-tap v0.1.2
[INFO] [stderr]     Checking crossbeam-epoch v0.7.1
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]     Checking iovec v0.1.2
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking num_cpus v1.10.0
[INFO] [stderr]     Checking tokio-executor v0.1.7
[INFO] [stderr]     Checking tokio-sync v0.1.5
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking crossbeam-deque v0.7.1
[INFO] [stderr]     Checking tokio-timer v0.2.11
[INFO] [stderr]     Checking tokio-current-thread v0.1.6
[INFO] [stderr]     Checking tokio-io v0.1.12
[INFO] [stderr]     Checking mio v0.6.18
[INFO] [stderr]     Checking tokio-threadpool v0.1.14
[INFO] [stderr]     Checking tokio-codec v0.1.1
[INFO] [stderr]     Checking mio-uds v0.6.7
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]     Checking tokio-reactor v0.1.9
[INFO] [stderr]     Checking tokio-fs v0.1.6
[INFO] [stderr]     Checking tokio-uds v0.2.5
[INFO] [stderr]     Checking tokio-udp v0.1.3
[INFO] [stderr]     Checking tokio-tcp v0.1.3
[INFO] [stderr]     Checking tokio v0.1.20
[INFO] [stderr]     Checking tokio-core v0.1.17
[INFO] [stderr]     Checking trust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `duration_float` has been stable since 1.38.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(duration_float)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `#![feature]` attribute can only be used at the crate root
[INFO] [stdout]  --> src/tcp.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(duration_float)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: the crate root is at `src/lib.rs`
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `duration_float` has been stable since 1.38.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(duration_float)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `#![feature]` attribute can only be used at the crate root
[INFO] [stdout]  --> src/tcp.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(duration_float)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: the crate root is at `src/lib.rs`
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/tcp.rs:174:7
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let mut buf =  [0u8; 1500];
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/tcp.rs:152:3
[INFO] [stdout]     |
[INFO] [stdout] 152 |         data: &'a [u8]
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/tcp.rs:174:7
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let mut buf =  [0u8; 1500];
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/tcp.rs:502:10
[INFO] [stdout]     |
[INFO] [stdout] 502 |                     let mut srtt = &mut self.timers.srtt;
[INFO] [stdout]     |                         ----^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iph`
[INFO] [stdout]    --> src/tcp.rs:422:3
[INFO] [stdout]     |
[INFO] [stdout] 422 |         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:494:10
[INFO] [stdout]     |
[INFO] [stdout] 494 |                     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: `e`
[INFO] [stdout]    --> src/lib.rs:158:25
[INFO] [stdout]     |
[INFO] [stdout] 158 |                     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/tcp.rs:174:7
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let mut buf =  [0u8; 1500];
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/tcp.rs:152:3
[INFO] [stdout]     |
[INFO] [stdout] 152 |         data: &'a [u8]
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/tcp.rs:174:7
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let mut buf =  [0u8; 1500];
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cm`
[INFO] [stdout]    --> src/lib.rs:296:13
[INFO] [stdout]     |
[INFO] [stdout] 296 |         let cm = self.h.conn_manager.lock().unwrap();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_cm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `how`
[INFO] [stdout]    --> src/lib.rs:384:28
[INFO] [stdout]     |
[INFO] [stdout] 384 |     pub fn shutdown(&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: methods `is_non_synchronized` and `hava_sent_fin` are never used
[INFO] [stdout]   --> src/tcp.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl State {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 24 |     fn is_non_synchronized(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn hava_sent_fin(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `up`, `wl1`, and `wl2` are never read
[INFO] [stdout]    --> src/tcp.rs:108:2
[INFO] [stdout]     |
[INFO] [stdout] 100 | struct SendSequeceSpace {
[INFO] [stdout]     |        ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 108 |     up: bool,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 109 |     /// segment sequence number used for last window update
[INFO] [stdout] 110 |     wl1: usize,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 111 |     /// segment acknowledgemnt number used for last window update
[INFO] [stdout] 112 |     wl2: usize,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `up` and `irs` are never read
[INFO] [stdout]    --> src/tcp.rs:141:2
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct RecvSequenceSpace {
[INFO] [stdout]     |        ----------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 141 |     up: bool,
[INFO] [stdout]     |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     irs: u32,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send_rst` is never used
[INFO] [stdout]    --> src/tcp.rs:341:5
[INFO] [stdout]     |
[INFO] [stdout] 147 | impl Connection {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 341 |     fn send_rst( &mut self, nic: &mut tun_tap::Iface, ) -> io::Result< () > {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/tcp.rs:502:10
[INFO] [stdout]     |
[INFO] [stdout] 502 |                     let mut srtt = &mut self.timers.srtt;
[INFO] [stdout]     |                         ----^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iph`
[INFO] [stdout]    --> src/tcp.rs:422:3
[INFO] [stdout]     |
[INFO] [stdout] 422 |         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:494:10
[INFO] [stdout]     |
[INFO] [stdout] 494 |                     let nacked = self
[INFO] [stdout]     |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nacked`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/tcp.rs:294:3
[INFO] [stdout]     |
[INFO] [stdout] 294 |         self.ip.set_payload_len(size - self.ip.header_len() as usize);
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 294 |         let _ = self.ip.set_payload_len(size - self.ip.header_len() as usize);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/tcp.rs:304:3
[INFO] [stdout]     |
[INFO] [stdout] 304 |         self.ip.write(& mut unwritten);        // move to next writefull point we have not written yet
[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] 304 |         let _ = self.ip.write(& mut unwritten);        // move to next writefull point we have not written yet
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/tcp.rs:305:3
[INFO] [stdout]     |
[INFO] [stdout] 305 |         self.tcp.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] 305 |         let _ = self.tcp.write(& mut unwritten);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/lib.rs:158:25
[INFO] [stdout]     |
[INFO] [stdout] 158 |                     Err(e) => {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cm`
[INFO] [stdout]    --> src/lib.rs:296:13
[INFO] [stdout]     |
[INFO] [stdout] 296 |         let cm = self.h.conn_manager.lock().unwrap();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_cm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `how`
[INFO] [stdout]    --> src/lib.rs:384:28
[INFO] [stdout]     |
[INFO] [stdout] 384 |     pub fn shutdown(&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: methods `is_non_synchronized` and `hava_sent_fin` are never used
[INFO] [stdout]   --> src/tcp.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl State {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 24 |     fn is_non_synchronized(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn hava_sent_fin(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `up`, `wl1`, and `wl2` are never read
[INFO] [stdout]    --> src/tcp.rs:108:2
[INFO] [stdout]     |
[INFO] [stdout] 100 | struct SendSequeceSpace {
[INFO] [stdout]     |        ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 108 |     up: bool,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 109 |     /// segment sequence number used for last window update
[INFO] [stdout] 110 |     wl1: usize,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 111 |     /// segment acknowledgemnt number used for last window update
[INFO] [stdout] 112 |     wl2: usize,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `up` and `irs` are never read
[INFO] [stdout]    --> src/tcp.rs:141:2
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct RecvSequenceSpace {
[INFO] [stdout]     |        ----------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 141 |     up: bool,
[INFO] [stdout]     |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     irs: u32,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send_rst` is never used
[INFO] [stdout]    --> src/tcp.rs:341:5
[INFO] [stdout]     |
[INFO] [stdout] 147 | impl Connection {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 341 |     fn send_rst( &mut self, nic: &mut tun_tap::Iface, ) -> io::Result< () > {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/tcp.rs:294:3
[INFO] [stdout]     |
[INFO] [stdout] 294 |         self.ip.set_payload_len(size - self.ip.header_len() as usize);
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 294 |         let _ = self.ip.set_payload_len(size - self.ip.header_len() as usize);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/tcp.rs:304:3
[INFO] [stdout]     |
[INFO] [stdout] 304 |         self.ip.write(& mut unwritten);        // move to next writefull point we have not written yet
[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] 304 |         let _ = self.ip.write(& mut unwritten);        // move to next writefull point we have not written yet
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/tcp.rs:305:3
[INFO] [stdout]     |
[INFO] [stdout] 305 |         self.tcp.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] 305 |         let _ = self.tcp.write(& mut unwritten);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 |             stream.write(b"hello from server");
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 29 |             let _ = stream.write(b"hello from server");
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 |             stream.write(b"hello from server");
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 29 |             let _ = stream.write(b"hello from server");
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.88s
[INFO] running `Command { std: "docker" "inspect" "ee92336b3f16426e7411cd2331b8b3381da7fbb9bfbbba594f523b39ceb2b983", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee92336b3f16426e7411cd2331b8b3381da7fbb9bfbbba594f523b39ceb2b983", kill_on_drop: false }`
[INFO] [stdout] ee92336b3f16426e7411cd2331b8b3381da7fbb9bfbbba594f523b39ceb2b983
