[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] checking Haizza1/trust against master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaizza1%2Ftrust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Haizza1/trust on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "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-3-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" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded etherparse v0.9.0
[INFO] [stderr]   Downloaded tun-tap v0.1.2
[INFO] [stderr]   Downloaded tokio-core v0.1.18
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5daeecd429929fda68abda5162ffee7d2fa39feed367d0ed16bea9daa13a1dbf
[INFO] running `Command { std: "docker" "start" "-a" "5daeecd429929fda68abda5162ffee7d2fa39feed367d0ed16bea9daa13a1dbf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5daeecd429929fda68abda5162ffee7d2fa39feed367d0ed16bea9daa13a1dbf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5daeecd429929fda68abda5162ffee7d2fa39feed367d0ed16bea9daa13a1dbf", kill_on_drop: false }`
[INFO] [stdout] 5daeecd429929fda68abda5162ffee7d2fa39feed367d0ed16bea9daa13a1dbf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ea23808fa6e1eabcce569dd01a9ff302ef8ca4d13fae57cee1d1031dcd85cc4c
[INFO] running `Command { std: "docker" "start" "-a" "ea23808fa6e1eabcce569dd01a9ff302ef8ca4d13fae57cee1d1031dcd85cc4c", kill_on_drop: false }`
[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]     Checking futures v0.1.31
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking slab v0.4.3
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]     Checking scoped-tls v0.1.2
[INFO] [stderr]     Checking etherparse v0.9.0
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.37
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking tokio-threadpool v0.1.18
[INFO] [stderr]     Checking tokio-current-thread v0.1.7
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]    Compiling tun-tap v0.1.2
[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-tcp v0.1.4
[INFO] [stderr]     Checking tokio-udp v0.1.6
[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] 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: 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[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] 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 test) due to 4 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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" "ea23808fa6e1eabcce569dd01a9ff302ef8ca4d13fae57cee1d1031dcd85cc4c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea23808fa6e1eabcce569dd01a9ff302ef8ca4d13fae57cee1d1031dcd85cc4c", kill_on_drop: false }`
[INFO] [stdout] ea23808fa6e1eabcce569dd01a9ff302ef8ca4d13fae57cee1d1031dcd85cc4c
