[INFO] cloning repository https://github.com/Haizza1/trust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Haizza1/trust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaizza1%2Ftrust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaizza1%2Ftrust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d6d41eb1cd3b72063d02bb8a5b9a2e03cc5a0af0
[INFO] building Haizza1/trust against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaizza1%2Ftrust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Haizza1/trust on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Haizza1/trust
[INFO] finished tweaking git repo https://github.com/Haizza1/trust
[INFO] tweaked toml for git repo https://github.com/Haizza1/trust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Haizza1/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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3dd3166d5d9b139a2e2f793a45cc99ce95c17b04d3975d7362a95533286ada31
[INFO] running `Command { std: "docker" "start" "-a" "3dd3166d5d9b139a2e2f793a45cc99ce95c17b04d3975d7362a95533286ada31", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3dd3166d5d9b139a2e2f793a45cc99ce95c17b04d3975d7362a95533286ada31", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3dd3166d5d9b139a2e2f793a45cc99ce95c17b04d3975d7362a95533286ada31", kill_on_drop: false }`
[INFO] [stdout] 3dd3166d5d9b139a2e2f793a45cc99ce95c17b04d3975d7362a95533286ada31
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d31682d730411ad9a41540f1ddaab828bbd33163fe5f40e914e6ea77ea85d7a6
[INFO] running `Command { std: "docker" "start" "-a" "d31682d730411ad9a41540f1ddaab828bbd33163fe5f40e914e6ea77ea85d7a6", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling futures v0.1.31
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling slab v0.4.3
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling scoped-tls v0.1.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling etherparse v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling tun-tap v0.1.2
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling tokio-fs v0.1.7
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling tokio-uds v0.2.7
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling tokio-core v0.1.18
[INFO] [stderr]    Compiling trust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/lib.rs:38:32
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 let datai = iph
[INFO] [stdout]    |                                ^ help: add `;` here
[INFO] [stdout] 39 |             },
[INFO] [stdout]    |             - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `iph` in this scope
[INFO] [stdout]   --> src/lib.rs:38:29
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 let datai = iph
[INFO] [stdout]    |                             ^^^ help: a local variable with a similar name exists: `ih`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::Entry`
[INFO] [stdout]   --> src/lib.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |                 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] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:33:44
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn packet_loop(mut nic: tun_tap::Iface, ih: InterfaceHandle) {
[INFO] [stdout]    | ------------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 33 |         let nbytes = nic.recv(&mut buf[..])?;
[INFO] [stdout]    |                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn packet_loop(mut nic: tun_tap::Iface, ih: InterfaceHandle) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                                              +++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:55:28
[INFO] [stdout]    |
[INFO] [stdout] 52 |             thread::spawn(move || packet_loop(nic, ih));
[INFO] [stdout]    |                                                        - help: remove this semicolon
[INFO] [stdout] ...
[INFO] [stdout] 55 |         Ok(Interface { ih, jh })
[INFO] [stdout]    |                            ^^ expected `JoinHandle<()>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `JoinHandle<()>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `how`
[INFO] [stdout]    --> src/lib.rs:163:28
[INFO] [stdout]     |
[INFO] [stdout] 163 |     pub fn shutdown(&self, how: Shutdown) -> io::Result<()> {
[INFO] [stdout]     |                            ^^^ help: if this is intentional, prefix it with an underscore: `_how`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `trust` (lib) due to 4 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d31682d730411ad9a41540f1ddaab828bbd33163fe5f40e914e6ea77ea85d7a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d31682d730411ad9a41540f1ddaab828bbd33163fe5f40e914e6ea77ea85d7a6", kill_on_drop: false }`
[INFO] [stdout] d31682d730411ad9a41540f1ddaab828bbd33163fe5f40e914e6ea77ea85d7a6
