[INFO] cloning repository https://github.com/superggn/trust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/superggn/trust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuperggn%2Ftrust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuperggn%2Ftrust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5bd620c0306caa28192d66d97c094289c4be04b4
[INFO] testing superggn/trust against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuperggn%2Ftrust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/superggn/trust
[INFO] finished tweaking git repo https://github.com/superggn/trust
[INFO] tweaked toml for git repo https://github.com/superggn/trust written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/superggn/trust on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/superggn/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded memoffset v0.5.6
[INFO] [stderr]   Downloaded parking_lot_core v0.6.3
[INFO] [stderr]   Downloaded net2 v0.2.39
[INFO] [stderr]   Downloaded tun-tap v0.1.4
[INFO] [stderr]   Downloaded smallvec v0.6.14
[INFO] [stderr]   Downloaded etherparse v0.8.3
[INFO] [stderr]   Downloaded tokio-core v0.1.18
[INFO] [stderr]   Downloaded crossbeam-deque v0.7.4
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 16b4e36946650c48d95123bb9ba71fee3e477fd586eb9b6cd5294f5305bd9f73
[INFO] running `Command { std: "docker" "start" "-a" "16b4e36946650c48d95123bb9ba71fee3e477fd586eb9b6cd5294f5305bd9f73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "16b4e36946650c48d95123bb9ba71fee3e477fd586eb9b6cd5294f5305bd9f73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16b4e36946650c48d95123bb9ba71fee3e477fd586eb9b6cd5294f5305bd9f73", kill_on_drop: false }`
[INFO] [stdout] 16b4e36946650c48d95123bb9ba71fee3e477fd586eb9b6cd5294f5305bd9f73
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3c8f867ae1a17c10c3c6fde10ef483b432ad0c5a639d01baf3cdcae5bbd56d06
[INFO] running `Command { std: "docker" "start" "-a" "3c8f867ae1a17c10c3c6fde10ef483b432ad0c5a639d01baf3cdcae5bbd56d06", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]    Compiling scoped-tls v0.1.2
[INFO] [stderr]    Compiling etherparse v0.8.3
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling net2 v0.2.39
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling crossbeam-deque v0.7.4
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling cc v1.0.84
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling tokio-uds v0.2.7
[INFO] [stderr]    Compiling tokio-fs v0.1.7
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling tun-tap v0.1.4
[INFO] [stderr]    Compiling tokio-core v0.1.18
[INFO] [stderr]    Compiling trust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0599]: no variant or associated item named `SynRcvd` found for enum `State` in the current scope
[INFO] [stdout]   --> src/tcp.rs:88:27
[INFO] [stdout]    |
[INFO] [stdout]  4 | enum State {
[INFO] [stdout]    | ---------- variant or associated item `SynRcvd` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 88 |             state: State::SynRcvd,
[INFO] [stdout]    |                           ^^^^^^^ variant or associated item not found in `State`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/tcp.rs:90:22
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 una: (),
[INFO] [stdout]    |                      ^^ expected `u32`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/tcp.rs:91:22
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 nxt: (),
[INFO] [stdout]    |                      ^^ expected `u32`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/tcp.rs:92:22
[INFO] [stdout]    |
[INFO] [stdout] 92 |                 wnd: (),
[INFO] [stdout]    |                      ^^ expected `u16`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/tcp.rs:93:21
[INFO] [stdout]    |
[INFO] [stdout] 93 |                 up: (),
[INFO] [stdout]    |                     ^^ expected `bool`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/tcp.rs:94:22
[INFO] [stdout]    |
[INFO] [stdout] 94 |                 wl1: (),
[INFO] [stdout]    |                      ^^ expected `usize`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/tcp.rs:95:22
[INFO] [stdout]    |
[INFO] [stdout] 95 |                 wl2: (),
[INFO] [stdout]    |                      ^^ expected `usize`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/tcp.rs:96:22
[INFO] [stdout]    |
[INFO] [stdout] 96 |                 iss: (),
[INFO] [stdout]    |                      ^^ expected `u32`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/tcp.rs:99:22
[INFO] [stdout]    |
[INFO] [stdout] 99 |                 nxt: (),
[INFO] [stdout]    |                      ^^ expected `u32`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/tcp.rs:100:22
[INFO] [stdout]     |
[INFO] [stdout] 100 |                 wnd: (),
[INFO] [stdout]     |                      ^^ expected `u16`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/tcp.rs:101:21
[INFO] [stdout]     |
[INFO] [stdout] 101 |                 up: (),
[INFO] [stdout]     |                     ^^ expected `bool`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/tcp.rs:102:22
[INFO] [stdout]     |
[INFO] [stdout] 102 |                 irs: (),
[INFO] [stdout]     |                      ^^ expected `u32`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `[u8]: std::io::Write` is not satisfied
[INFO] [stdout]    --> src/tcp.rs:150:22
[INFO] [stdout]     |
[INFO] [stdout] 150 |             ip.write(unwritten);
[INFO] [stdout]     |                ----- ^^^^^^^^^ the trait `std::io::Write` is not implemented for `[u8]`
[INFO] [stdout]     |                |
[INFO] [stdout]     |                required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `Ipv4Header::write`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/etherparse-0.8.3/src/internet/ipv4.rs:225:21
[INFO] [stdout]     |
[INFO] [stdout] 225 |     pub fn write<T: io::Write + Sized>(&self, writer: &mut T) -> Result<(), WriteError> {
[INFO] [stdout]     |                     ^^^^^^^^^ required by this bound in `Ipv4Header::write`
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 150 |             ip.write(&mut unwritten);
[INFO] [stdout]     |                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]    --> src/tcp.rs:150:22
[INFO] [stdout]     |
[INFO] [stdout] 150 |             ip.write(unwritten);
[INFO] [stdout]     |                ----- ^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |                |
[INFO] [stdout]     |                required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout] note: required by a bound in `Ipv4Header::write`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/etherparse-0.8.3/src/internet/ipv4.rs:225:33
[INFO] [stdout]     |
[INFO] [stdout] 225 |     pub fn write<T: io::Write + Sized>(&self, writer: &mut T) -> Result<(), WriteError> {
[INFO] [stdout]     |                                 ^^^^^ required by this bound in `Ipv4Header::write`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `[u8]: std::io::Write` is not satisfied
[INFO] [stdout]    --> src/tcp.rs:151:27
[INFO] [stdout]     |
[INFO] [stdout] 151 |             syn_ack.write(unwritten);
[INFO] [stdout]     |                     ----- ^^^^^^^^^ the trait `std::io::Write` is not implemented for `[u8]`
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `TcpHeader::write`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/etherparse-0.8.3/src/transport/tcp.rs:332:21
[INFO] [stdout]     |
[INFO] [stdout] 332 |     pub fn write<T: io::Write + Sized>(&self, writer: &mut T) -> Result<(), std::io::Error> {
[INFO] [stdout]     |                     ^^^^^^^^^ required by this bound in `TcpHeader::write`
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 151 |             syn_ack.write(&mut unwritten);
[INFO] [stdout]     |                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]    --> src/tcp.rs:151:27
[INFO] [stdout]     |
[INFO] [stdout] 151 |             syn_ack.write(unwritten);
[INFO] [stdout]     |                     ----- ^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `[u8]`
[INFO] [stdout] note: required by a bound in `TcpHeader::write`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/etherparse-0.8.3/src/transport/tcp.rs:332:33
[INFO] [stdout]     |
[INFO] [stdout] 332 |     pub fn write<T: io::Write + Sized>(&self, writer: &mut T) -> Result<(), std::io::Error> {
[INFO] [stdout]     |                                 ^^^^^ required by this bound in `TcpHeader::write`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/tcp.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout]  81 |     ) -> io::Result<Option<Self>> {
[INFO] [stdout]     |          ------------------------ expected `Result<Option<Connection>, std::io::Error>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 154 |         nic.send(&buf[..unwritten])
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Option<Connection>, Error>`, found `Result<usize, Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Result<Option<Connection>, _>`
[INFO] [stdout]                found enum `Result<usize, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `or_default` exists for enum `std::collections::hash_map::Entry<'_, Quad, Connection>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/main.rs:49:30
[INFO] [stdout]    |
[INFO] [stdout] 44 | /                         connections
[INFO] [stdout] 45 | |                             .entry(Quad {
[INFO] [stdout] 46 | |                                 src: (src, tcp_header.source_port()),
[INFO] [stdout] 47 | |                                 dst: (dst, tcp_header.destination_port()),
[INFO] [stdout] 48 | |                             })
[INFO] [stdout] 49 | |                             .or_default()
[INFO] [stdout]    | |                             -^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]    | |_____________________________|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/tcp.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 |   pub struct Connection {
[INFO] [stdout]    |   --------------------- doesn't satisfy `Connection: Default`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `Connection: Default`
[INFO] [stdout] help: consider annotating `Connection` with `#[derive(Default)]`
[INFO] [stdout]   --> src/tcp.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 + #[derive(Default)]
[INFO] [stdout] 13 | pub struct Connection {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/main.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | /     loop {
[INFO] [stdout] 17 | |         // 每次 recv 就是往 buf 里面填充数据帧
[INFO] [stdout] 18 | |         let nbytes = nic.recv(&mut buf[..])?;
[INFO] [stdout] 19 | |         let eth_flags = u16::from_be_bytes([buf[0], buf[1]]);
[INFO] [stdout] ...  |
[INFO] [stdout] 68 | |         println!("nic: {:?}", nic);
[INFO] [stdout] 69 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 70 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude`
[INFO] [stdout]  --> src/tcp.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `trust` (bin "trust") due to 18 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3c8f867ae1a17c10c3c6fde10ef483b432ad0c5a639d01baf3cdcae5bbd56d06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c8f867ae1a17c10c3c6fde10ef483b432ad0c5a639d01baf3cdcae5bbd56d06", kill_on_drop: false }`
[INFO] [stdout] 3c8f867ae1a17c10c3c6fde10ef483b432ad0c5a639d01baf3cdcae5bbd56d06
