[INFO] cloning repository https://github.com/qiaoin/trust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qiaoin/trust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiaoin%2Ftrust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiaoin%2Ftrust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 28fbe6570cb4b04128cb53aec73363dffa16a717
[INFO] checking qiaoin/trust against 49a6044d37d694890450f52ceaceb66277a36b1e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqiaoin%2Ftrust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/qiaoin/trust
[INFO] finished tweaking git repo https://github.com/qiaoin/trust
[INFO] tweaked toml for git repo https://github.com/qiaoin/trust written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/qiaoin/trust on toolchain 49a6044d37d694890450f52ceaceb66277a36b1e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/qiaoin/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" "+49a6044d37d694890450f52ceaceb66277a36b1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded etherparse v0.9.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7bfb9fc2e750ade8d0a21cb1a4770d4a994df351a7515f52baceb03697d68c71
[INFO] running `Command { std: "docker" "start" "7bfb9fc2e750ade8d0a21cb1a4770d4a994df351a7515f52baceb03697d68c71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7bfb9fc2e750ade8d0a21cb1a4770d4a994df351a7515f52baceb03697d68c71", 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" "7bfb9fc2e750ade8d0a21cb1a4770d4a994df351a7515f52baceb03697d68c71" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7bfb9fc2e750ade8d0a21cb1a4770d4a994df351a7515f52baceb03697d68c71", 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" "7bfb9fc2e750ade8d0a21cb1a4770d4a994df351a7515f52baceb03697d68c71" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]     Checking slab v0.4.3
[INFO] [stderr]    Compiling cc v1.0.69
[INFO] [stderr]     Checking scoped-tls v0.1.2
[INFO] [stderr]     Checking etherparse v0.9.0
[INFO] [stderr]    Compiling tun-tap v0.1.2
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking tokio-current-thread v0.1.7
[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 nix v0.20.0
[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-tcp v0.1.4
[INFO] [stderr]     Checking tokio-udp v0.1.6
[INFO] [stderr]     Checking tokio-uds v0.2.7
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking tokio-core v0.1.18
[INFO] [stderr]     Checking trust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `iph`
[INFO] [stdout]    --> src/tcp.rs:449:9
[INFO] [stdout]     |
[INFO] [stdout] 449 |         iph: etherparse::Ipv4HeaderSlice<'a>,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_iph`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iph`
[INFO] [stdout]    --> src/tcp.rs:449:9
[INFO] [stdout]     |
[INFO] [stdout] 449 |         iph: etherparse::Ipv4HeaderSlice<'a>,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_iph`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `quad`
[INFO] [stdout]    --> src/lib.rs:216:13
[INFO] [stdout]     |
[INFO] [stdout] 216 |         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: `cm`
[INFO] [stdout]    --> src/lib.rs:250:13
[INFO] [stdout]     |
[INFO] [stdout] 250 |         let cm = self.h.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:345:28
[INFO] [stdout]     |
[INFO] [stdout] 345 |     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: unused variable: `quad`
[INFO] [stdout]    --> src/lib.rs:216:13
[INFO] [stdout]     |
[INFO] [stdout] 216 |         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: `cm`
[INFO] [stdout]    --> src/lib.rs:250:13
[INFO] [stdout]     |
[INFO] [stdout] 250 |         let cm = self.h.manager.lock().unwrap();
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_cm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_synchronized` is never used
[INFO] [stdout]   --> src/tcp.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl State {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] 28 |     // (RFC 793 Page 32) 在 RESET 的时候使用，目前未实现 RESET
[INFO] [stdout] 29 |     fn is_synchronized(&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:116:5
[INFO] [stdout]     |
[INFO] [stdout] 108 | struct SendSequenceSpace {
[INFO] [stdout]     |        ----------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 116 |     up: bool,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 117 |     /// segment sequence number used for last window update
[INFO] [stdout] 118 |     wl1: u32,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 119 |     /// segment acknowledgment number used for last window update
[INFO] [stdout] 120 |     wl2: u32,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `up` is never read
[INFO] [stdout]    --> src/tcp.rs:142:5
[INFO] [stdout]     |
[INFO] [stdout] 136 | struct RecvSequenceSpace {
[INFO] [stdout]     |        ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 142 |     up: bool,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send_rst` is never used
[INFO] [stdout]    --> src/tcp.rs:355:8
[INFO] [stdout]     |
[INFO] [stdout] 147 | impl Connection {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 355 |     fn send_rst(&mut self, nic: &mut tun_tap::Iface) -> io::Result<()> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `how`
[INFO] [stdout]    --> src/lib.rs:345:28
[INFO] [stdout]     |
[INFO] [stdout] 345 |     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: method `is_synchronized` is never used
[INFO] [stdout]   --> src/tcp.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl State {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] 28 |     // (RFC 793 Page 32) 在 RESET 的时候使用，目前未实现 RESET
[INFO] [stdout] 29 |     fn is_synchronized(&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:116:5
[INFO] [stdout]     |
[INFO] [stdout] 108 | struct SendSequenceSpace {
[INFO] [stdout]     |        ----------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 116 |     up: bool,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 117 |     /// segment sequence number used for last window update
[INFO] [stdout] 118 |     wl1: u32,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 119 |     /// segment acknowledgment number used for last window update
[INFO] [stdout] 120 |     wl2: u32,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `up` is never read
[INFO] [stdout]    --> src/tcp.rs:142:5
[INFO] [stdout]     |
[INFO] [stdout] 136 | struct RecvSequenceSpace {
[INFO] [stdout]     |        ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 142 |     up: bool,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send_rst` is never used
[INFO] [stdout]    --> src/tcp.rs:355:8
[INFO] [stdout]     |
[INFO] [stdout] 147 | impl Connection {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 355 |     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:293:9
[INFO] [stdout]     |
[INFO] [stdout] 293 | /         self.ip
[INFO] [stdout] 294 | |             .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] 293 |         let _ = self.ip
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/tcp.rs:300:9
[INFO] [stdout]     |
[INFO] [stdout] 300 |         self.ip.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] 300 |         let _ = self.ip.write(&mut unwritten);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/tcp.rs:333:9
[INFO] [stdout]     |
[INFO] [stdout] 333 |         self.tcp.write(&mut tcp_header_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] 333 |         let _ = self.tcp.write(&mut tcp_header_buf);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/tcp.rs:293:9
[INFO] [stdout]     |
[INFO] [stdout] 293 | /         self.ip
[INFO] [stdout] 294 | |             .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] 293 |         let _ = self.ip
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/tcp.rs:300:9
[INFO] [stdout]     |
[INFO] [stdout] 300 |         self.ip.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] 300 |         let _ = self.ip.write(&mut unwritten);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/tcp.rs:333:9
[INFO] [stdout]     |
[INFO] [stdout] 333 |         self.tcp.write(&mut tcp_header_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] 333 |         let _ = self.tcp.write(&mut tcp_header_buf);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.85s
[INFO] running `Command { std: "docker" "inspect" "7bfb9fc2e750ade8d0a21cb1a4770d4a994df351a7515f52baceb03697d68c71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7bfb9fc2e750ade8d0a21cb1a4770d4a994df351a7515f52baceb03697d68c71", kill_on_drop: false }`
[INFO] [stdout] 7bfb9fc2e750ade8d0a21cb1a4770d4a994df351a7515f52baceb03697d68c71
