[INFO] fetching crate tcp-loop 0.1.1... [INFO] checking tcp-loop-0.1.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate tcp-loop 0.1.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate tcp-loop 0.1.1 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2196b839242979ba31acf0f0317dc608a0f208e9fdfe8bfe03d95888ec46b981 [INFO] running `Command { std: "docker" "start" "-a" "2196b839242979ba31acf0f0317dc608a0f208e9fdfe8bfe03d95888ec46b981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2196b839242979ba31acf0f0317dc608a0f208e9fdfe8bfe03d95888ec46b981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2196b839242979ba31acf0f0317dc608a0f208e9fdfe8bfe03d95888ec46b981", kill_on_drop: false }` [INFO] [stdout] 2196b839242979ba31acf0f0317dc608a0f208e9fdfe8bfe03d95888ec46b981 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe2b4fcac190a853fb5ecac65ef209de60f4b1adf0f499e65628d7fef736e419 [INFO] running `Command { std: "docker" "start" "-a" "fe2b4fcac190a853fb5ecac65ef209de60f4b1adf0f499e65628d7fef736e419", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking mio v0.7.13 [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 `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 `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: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: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 `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: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 `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 `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/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/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[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[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[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 `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] 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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [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/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/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: 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: 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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [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] 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] [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] 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: could not compile `tcp-loop` due to 26 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fe2b4fcac190a853fb5ecac65ef209de60f4b1adf0f499e65628d7fef736e419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe2b4fcac190a853fb5ecac65ef209de60f4b1adf0f499e65628d7fef736e419", kill_on_drop: false }` [INFO] [stdout] fe2b4fcac190a853fb5ecac65ef209de60f4b1adf0f499e65628d7fef736e419