[INFO] cloning repository https://github.com/andreivisan/tcp-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andreivisan/tcp-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreivisan%2Ftcp-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreivisan%2Ftcp-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0aa38da16ea382a74c326aab2d22608de8a89bb2
[INFO] checking andreivisan/tcp-rust against 0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0 for pr-158915-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreivisan%2Ftcp-rust" "/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/andreivisan/tcp-rust
[INFO] finished tweaking git repo https://github.com/andreivisan/tcp-rust
[INFO] tweaked toml for git repo https://github.com/andreivisan/tcp-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/andreivisan/tcp-rust on toolchain 0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/andreivisan/tcp-rust 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" "+0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking andreivisan/tcp-rust against 0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0 for pr-158915-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreivisan%2Ftcp-rust" "/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/andreivisan/tcp-rust
[INFO] finished tweaking git repo https://github.com/andreivisan/tcp-rust
[INFO] tweaked toml for git repo https://github.com/andreivisan/tcp-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/andreivisan/tcp-rust on toolchain 0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/andreivisan/tcp-rust 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" "+0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0" "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 tun-tap v0.1.4
[INFO] [stderr]   Downloaded tokio-core v0.1.18
[INFO] [stderr]   Downloaded tokio-executor v0.1.10
[INFO] [stderr]   Downloaded tokio-timer v0.2.13
[INFO] [stderr]   Downloaded tokio-uds v0.2.7
[INFO] [stderr]   Downloaded tokio-tcp v0.1.4
[INFO] [stderr]   Downloaded tokio-udp v0.1.6
[INFO] [stderr]   Downloaded scoped-tls v0.1.2
[INFO] [stderr]   Downloaded iovec v0.1.4
[INFO] [stderr]   Downloaded tokio-codec v0.1.2
[INFO] [stderr]   Downloaded mio-uds v0.6.8
[INFO] [stderr]   Downloaded net2 v0.2.39
[INFO] [stderr]   Downloaded tokio-fs v0.1.7
[INFO] [stderr]   Downloaded tokio-current-thread v0.1.7
[INFO] [stderr]   Downloaded smallvec v0.6.14
[INFO] [stderr]   Downloaded miow v0.2.2
[INFO] [stderr]   Downloaded tokio-reactor v0.1.12
[INFO] [stderr]   Downloaded parking_lot_core v0.6.3
[INFO] [stderr]   Downloaded tokio-sync v0.1.8
[INFO] [stderr]   Downloaded parking_lot v0.9.0
[INFO] [stderr]   Downloaded futures v0.1.31
[INFO] [stderr]   Downloaded tokio-io v0.1.13
[INFO] [stderr]   Downloaded tokio-threadpool v0.1.18
[INFO] [stderr]   Downloaded tokio v0.1.22
[INFO] [stderr]   Downloaded mio v0.6.23
[INFO] [stderr]   Downloaded cc v1.4.3
[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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0825f913cb4ea3d71d903eaa6c36297c7824ddd95f86f19fb808f1190c8b62a1
[INFO] running `Command { std: "docker" "start" "0825f913cb4ea3d71d903eaa6c36297c7824ddd95f86f19fb808f1190c8b62a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0825f913cb4ea3d71d903eaa6c36297c7824ddd95f86f19fb808f1190c8b62a1", 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" "0825f913cb4ea3d71d903eaa6c36297c7824ddd95f86f19fb808f1190c8b62a1" "/opt/rustwide/cargo-home/bin/cargo" "+0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0825f913cb4ea3d71d903eaa6c36297c7824ddd95f86f19fb808f1190c8b62a1", 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" "0825f913cb4ea3d71d903eaa6c36297c7824ddd95f86f19fb808f1190c8b62a1" "/opt/rustwide/cargo-home/bin/cargo" "+0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]     Checking log v0.4.33
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling find-msvc-tools v0.1.11
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]     Checking scoped-tls v0.1.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling cc v1.4.3
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]     Checking tokio-current-thread v0.1.7
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling tun-tap v0.1.4
[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-udp v0.1.6
[INFO] [stderr]     Checking tokio-uds v0.2.7
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking tokio-core v0.1.18
[INFO] [stderr]     Checking tcp-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]  --> src/main.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() -> Result<()> {
[INFO] [stdout]   |              ^^^^^^ -- supplied 1 generic argument
[INFO] [stdout]   |              |
[INFO] [stdout]   |              expected 2 generic arguments
[INFO] [stdout]   |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() -> Result<(), E> {
[INFO] [stdout]   |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]  --> src/main.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() -> Result<()> {
[INFO] [stdout]   |              ^^^^^^ -- supplied 1 generic argument
[INFO] [stdout]   |              |
[INFO] [stdout]   |              expected 2 generic arguments
[INFO] [stdout]   |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() -> Result<(), E> {
[INFO] [stdout]   |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]  --> src/main.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let nic = tun_tap::Iface::new("tun0", tun_tap::Mode::Tun).expect("failed to cr")?;
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Iface`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the nightly-only, unstable trait `Try` is not implemented for `Iface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]  --> src/main.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let nic = tun_tap::Iface::new("tun0", tun_tap::Mode::Tun).expect("failed to cr")?;
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Iface`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the nightly-only, unstable trait `Try` is not implemented for `Iface`
[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/main.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() -> Result<()> {
[INFO] [stdout]   | ----------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 4 |     let nic = tun_tap::Iface::new("tun0", tun_tap::Mode::Tun).expect("failed to cr")?;
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Iface`
[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/main.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() -> Result<()> {
[INFO] [stdout]   | ----------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 4 |     let nic = tun_tap::Iface::new("tun0", tun_tap::Mode::Tun).expect("failed to cr")?;
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Iface`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]  --> src/main.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let nbytes = nic.recv(&mut buf[..])?;
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider providing a type annotation
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout]   = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]  --> src/main.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let nbytes = nic.recv(&mut buf[..])?;
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider providing a type annotation
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout]   = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `recv` found for type `_` in the current scope
[INFO] [stdout]  --> src/main.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let nbytes = nic.recv(&mut buf[..])?;
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `rev` with a similar name, but with different arguments
[INFO] [stdout]  --> /rustc/0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0/library/core/src/iter/traits/iterator.rs:3449:4
[INFO] [stdout] help: trait `UdpSocketExt` which provides `recv` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]   |
[INFO] [stdout] 1 + use net2::ext::UdpSocketExt;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `recv` found for type `_` in the current scope
[INFO] [stdout]  --> src/main.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let nbytes = nic.recv(&mut buf[..])?;
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `rev` with a similar name, but with different arguments
[INFO] [stdout]  --> /rustc/0335fc7ee9e33d92e03d99f3e2fb0fe6119f3cc0/library/core/src/iter/traits/iterator.rs:3449:4
[INFO] [stdout] help: trait `UdpSocketExt` which provides `recv` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]   |
[INFO] [stdout] 1 + use net2::ext::UdpSocketExt;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tcp-rust` (bin "tcp-rust") due to 4 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `tcp-rust` (bin "tcp-rust" test) due to 4 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0825f913cb4ea3d71d903eaa6c36297c7824ddd95f86f19fb808f1190c8b62a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0825f913cb4ea3d71d903eaa6c36297c7824ddd95f86f19fb808f1190c8b62a1", kill_on_drop: false }`
[INFO] [stdout] 0825f913cb4ea3d71d903eaa6c36297c7824ddd95f86f19fb808f1190c8b62a1
