[INFO] fetching crate tcp-loop 0.1.1... [INFO] checking tcp-loop-0.1.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate tcp-loop 0.1.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate tcp-loop 0.1.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tcp-loop 0.1.1 [INFO] finished tweaking crates.io crate tcp-loop 0.1.1 [INFO] tweaked toml for crates.io crate tcp-loop 0.1.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57b83fcca65b905566941910078230c932f4c6b6ccd572d630cf355d41ba2a58 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "57b83fcca65b905566941910078230c932f4c6b6ccd572d630cf355d41ba2a58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57b83fcca65b905566941910078230c932f4c6b6ccd572d630cf355d41ba2a58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57b83fcca65b905566941910078230c932f4c6b6ccd572d630cf355d41ba2a58", kill_on_drop: false }` [INFO] [stdout] 57b83fcca65b905566941910078230c932f4c6b6ccd572d630cf355d41ba2a58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efdf980b1889c8b8c384129fd14eb81a9325d0d8fca84ef8a91664d6c151fe13 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "efdf980b1889c8b8c384129fd14eb81a9325d0d8fca84ef8a91664d6c151fe13", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Checking tcp-loop v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `mio::tcp` [INFO] [stdout] --> src/loop_/handler/mod.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use mio::tcp::TcpStream; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `mio::TryRead`, `mio::TryWrite` [INFO] [stdout] --> src/loop_/handler/client.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use mio::{TryRead, TryWrite}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ no `TryWrite` in the root [INFO] [stdout] | | [INFO] [stdout] | no `TryRead` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::tcp` [INFO] [stdout] --> src/loop_/handler/listener.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use mio::tcp::TcpListener; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::tcp` [INFO] [stdout] --> src/loop_/handler/mod.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use mio::tcp::TcpStream; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `mio::TryRead`, `mio::TryWrite` [INFO] [stdout] --> src/loop_/handler/client.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use mio::{TryRead, TryWrite}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ no `TryWrite` in the root [INFO] [stdout] | | [INFO] [stdout] | no `TryRead` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::tcp` [INFO] [stdout] --> src/loop_/handler/listener.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use mio::tcp::TcpListener; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `PollOpt` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | mio::PollOpt::level() [INFO] [stdout] | ^^^^^^^ could not find `PollOpt` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `PollOpt` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | ... mio::PollOpt::level() [INFO] [stdout] | ^^^^^^^ could not find `PollOpt` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `PollOpt` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:139:34 [INFO] [stdout] | [INFO] [stdout] 139 | ... mio::PollOpt::level() [INFO] [stdout] | ^^^^^^^ could not find `PollOpt` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tcp` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | let listener = try!(mio::tcp::listen(&addr)); [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `PollOpt` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 167 | mio::PollOpt::level() [INFO] [stdout] | ^^^^^^^ could not find `PollOpt` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tcp` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:191:43 [INFO] [stdout] | [INFO] [stdout] 191 | let (stream, waiting) = try!(mio::tcp::connect(&addr)); [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `PollOpt` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:199:22 [INFO] [stdout] | [INFO] [stdout] 199 | mio::PollOpt::level() [INFO] [stdout] | ^^^^^^^ could not find `PollOpt` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ReadHint` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:355:39 [INFO] [stdout] | [INFO] [stdout] 355 | if hint.contains(mio::ReadHint::error()) { [INFO] [stdout] | ^^^^^^^^ could not find `ReadHint` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ReadHint` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:391:39 [INFO] [stdout] | [INFO] [stdout] 391 | if hint.contains(mio::ReadHint::hup()) { [INFO] [stdout] | ^^^^^^^^ could not find `ReadHint` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `PollOpt` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | mio::PollOpt::level() [INFO] [stdout] | ^^^^^^^ could not find `PollOpt` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonBlock` in crate `mio` [INFO] [stdout] --> src/loop_/handler/listener.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | listener: mio::NonBlock, [INFO] [stdout] | ^^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonBlock` in crate `mio` [INFO] [stdout] --> src/loop_/handler/listener.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new (listener: mio::NonBlock) -> Listener { [INFO] [stdout] | ^^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonBlock` in crate `mio` [INFO] [stdout] --> src/loop_/handler/listener.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | type Target = mio::NonBlock; [INFO] [stdout] | ^^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonBlock` in crate `mio` [INFO] [stdout] --> src/loop_/handler/listener.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | fn deref (&self) -> &mio::NonBlock { [INFO] [stdout] | ^^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `PollOpt` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | ... mio::PollOpt::level() [INFO] [stdout] | ^^^^^^^ could not find `PollOpt` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `PollOpt` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:139:34 [INFO] [stdout] | [INFO] [stdout] 139 | ... mio::PollOpt::level() [INFO] [stdout] | ^^^^^^^ could not find `PollOpt` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonBlock` in crate `mio` [INFO] [stdout] --> src/loop_/handler/listener.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | fn deref_mut (&mut self) -> &mut mio::NonBlock { [INFO] [stdout] | ^^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonBlock` in crate `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Stream = mio::NonBlock; [INFO] [stdout] | ^^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadHint` in crate `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:347:77 [INFO] [stdout] | [INFO] [stdout] 347 | fn readable (&mut self, eloop: &mut EventLoop, token: Token, hint: mio::ReadHint) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Handler` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:439:22 [INFO] [stdout] | [INFO] [stdout] 439 | mio::Handler::notify(self, eloop, InputMessage::Close { token: token, dirty: true }); [INFO] [stdout] | ^^^^^^^ not found in `mio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use loop_::Handler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Handler` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:445:22 [INFO] [stdout] | [INFO] [stdout] 445 | mio::Handler::notify(self, eloop, InputMessage::Close { token: token, dirty: false }); [INFO] [stdout] | ^^^^^^^ not found in `mio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use loop_::Handler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in crate `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:461:11 [INFO] [stdout] | [INFO] [stdout] 461 | impl mio::Handler for Handler { [INFO] [stdout] | ^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadHint` in crate `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:465:77 [INFO] [stdout] | [INFO] [stdout] 465 | fn readable (&mut self, eloop: &mut EventLoop, token: Token, hint: mio::ReadHint) { [INFO] [stdout] | ^^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in crate `mio` [INFO] [stdout] --> src/loop_/mod.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub type EventLoop = mio::EventLoop; [INFO] [stdout] | ^^^^^^^^^ not found in `mio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use loop_::handler::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in crate `mio` [INFO] [stdout] --> src/loop_/mod.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn channel (&self) -> mio::Sender { [INFO] [stdout] | ^^^^^^ not found in `mio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tcp` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | let listener = try!(mio::tcp::listen(&addr)); [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loop_/handler/client.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | while let Some(read) = try!(self.stream.read_slice(buf)) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loop_/handler/client.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | match try!(self.stream.write_slice(&self.write_buffer[..])) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/loop_/handler/mod.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | factory: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TokenFactory + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loop_/handler/mod.rs:160:24 [INFO] [stdout] | [INFO] [stdout] 160 | let listener = try!(mio::tcp::listen(&addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `PollOpt` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 167 | mio::PollOpt::level() [INFO] [stdout] | ^^^^^^^ could not find `PollOpt` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loop_/handler/mod.rs:191:33 [INFO] [stdout] | [INFO] [stdout] 191 | let (stream, waiting) = try!(mio::tcp::connect(&addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loop_/handler/mod.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | try!(new_client(&mut self.clients, eloop, token, addr, stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loop_/handler/mod.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 328 | try!(new_client(&mut self.clients, eloop, token, addr.clone(), stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loop_/handler/mod.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | try!(new_client(&mut self.clients, eloop, token, addr, stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loop_/mod.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let eloop = try!(EventLoop::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loop_/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | Ok(try!(self.eloop.run(&mut self.handler))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tcp` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:191:43 [INFO] [stdout] | [INFO] [stdout] 191 | let (stream, waiting) = try!(mio::tcp::connect(&addr)); [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `PollOpt` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:199:22 [INFO] [stdout] | [INFO] [stdout] 199 | mio::PollOpt::level() [INFO] [stdout] | ^^^^^^^ could not find `PollOpt` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ReadHint` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:355:39 [INFO] [stdout] | [INFO] [stdout] 355 | if hint.contains(mio::ReadHint::error()) { [INFO] [stdout] | ^^^^^^^^ could not find `ReadHint` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ReadHint` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:391:39 [INFO] [stdout] | [INFO] [stdout] 391 | if hint.contains(mio::ReadHint::hup()) { [INFO] [stdout] | ^^^^^^^^ could not find `ReadHint` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonBlock` in crate `mio` [INFO] [stdout] --> src/loop_/handler/listener.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | listener: mio::NonBlock, [INFO] [stdout] | ^^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonBlock` in crate `mio` [INFO] [stdout] --> src/loop_/handler/listener.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new (listener: mio::NonBlock) -> Listener { [INFO] [stdout] | ^^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonBlock` in crate `mio` [INFO] [stdout] --> src/loop_/handler/listener.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | type Target = mio::NonBlock; [INFO] [stdout] | ^^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonBlock` in crate `mio` [INFO] [stdout] --> src/loop_/handler/listener.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | fn deref (&self) -> &mio::NonBlock { [INFO] [stdout] | ^^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonBlock` in crate `mio` [INFO] [stdout] --> src/loop_/handler/listener.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | fn deref_mut (&mut self) -> &mut mio::NonBlock { [INFO] [stdout] | ^^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonBlock` in crate `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Stream = mio::NonBlock; [INFO] [stdout] | ^^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadHint` in crate `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:347:77 [INFO] [stdout] | [INFO] [stdout] 347 | fn readable (&mut self, eloop: &mut EventLoop, token: Token, hint: mio::ReadHint) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Handler` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:439:22 [INFO] [stdout] | [INFO] [stdout] 439 | mio::Handler::notify(self, eloop, InputMessage::Close { token: token, dirty: true }); [INFO] [stdout] | ^^^^^^^ not found in `mio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use loop_::Handler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Handler` in `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:445:22 [INFO] [stdout] | [INFO] [stdout] 445 | mio::Handler::notify(self, eloop, InputMessage::Close { token: token, dirty: false }); [INFO] [stdout] | ^^^^^^^ not found in `mio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use loop_::Handler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in crate `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:461:11 [INFO] [stdout] | [INFO] [stdout] 461 | impl mio::Handler for Handler { [INFO] [stdout] | ^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadHint` in crate `mio` [INFO] [stdout] --> src/loop_/handler/mod.rs:465:77 [INFO] [stdout] | [INFO] [stdout] 465 | fn readable (&mut self, eloop: &mut EventLoop, token: Token, hint: mio::ReadHint) { [INFO] [stdout] | ^^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in crate `mio` [INFO] [stdout] --> src/loop_/mod.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub type EventLoop = mio::EventLoop; [INFO] [stdout] | ^^^^^^^^^ not found in `mio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use loop_::handler::EventLoop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in crate `mio` [INFO] [stdout] --> src/loop_/mod.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn channel (&self) -> mio::Sender { [INFO] [stdout] | ^^^^^^ not found in `mio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loop_/handler/client.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | while let Some(read) = try!(self.stream.read_slice(buf)) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loop_/handler/client.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | match try!(self.stream.write_slice(&self.write_buffer[..])) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/loop_/handler/mod.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | factory: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn TokenFactory + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loop_/handler/mod.rs:160:24 [INFO] [stdout] | [INFO] [stdout] 160 | let listener = try!(mio::tcp::listen(&addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loop_/handler/mod.rs:191:33 [INFO] [stdout] | [INFO] [stdout] 191 | let (stream, waiting) = try!(mio::tcp::connect(&addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loop_/handler/mod.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | try!(new_client(&mut self.clients, eloop, token, addr, stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loop_/handler/mod.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 328 | try!(new_client(&mut self.clients, eloop, token, addr.clone(), stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loop_/handler/mod.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | try!(new_client(&mut self.clients, eloop, token, addr, stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loop_/mod.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let eloop = try!(EventLoop::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/loop_/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | Ok(try!(self.eloop.run(&mut self.handler))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tcp-loop` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 25 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "efdf980b1889c8b8c384129fd14eb81a9325d0d8fca84ef8a91664d6c151fe13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efdf980b1889c8b8c384129fd14eb81a9325d0d8fca84ef8a91664d6c151fe13", kill_on_drop: false }` [INFO] [stdout] efdf980b1889c8b8c384129fd14eb81a9325d0d8fca84ef8a91664d6c151fe13