[INFO] updating cached repository https://github.com/lukeasrodgers/rust-mio-toy-tcp-server
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] a4630a7dc2e757de85dc2a835f46dc281dace818
[INFO] checking lukeasrodgers/rust-mio-toy-tcp-server against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukeasrodgers%2Frust-mio-toy-tcp-server" "/workspace/builds/worker-7/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/lukeasrodgers/rust-mio-toy-tcp-server on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/lukeasrodgers/rust-mio-toy-tcp-server
[INFO] finished tweaking git repo https://github.com/lukeasrodgers/rust-mio-toy-tcp-server
[INFO] tweaked toml for git repo https://github.com/lukeasrodgers/rust-mio-toy-tcp-server written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/lukeasrodgers/rust-mio-toy-tcp-server already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Updating git repository `https://github.com/carllerche/mio`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 4a7f1f1fbe9465dc33d7e6e030e24eac23b8aa41faa44c68dfc1386ec8afb253
[INFO] running `"docker" "start" "-a" "4a7f1f1fbe9465dc33d7e6e030e24eac23b8aa41faa44c68dfc1386ec8afb253"`
[INFO] [stderr]     Checking mio v0.7.0 (https://github.com/carllerche/mio#aaa243cf)
[INFO] [stderr]     Checking mio-echo v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `net` in `mio`
[INFO] [stderr]   --> src/main.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | use mio::net::tcp::{TcpSocket, TcpAcceptor};
[INFO] [stderr]    |          ^^^ could not find `net` in `mio`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `mio::net`
[INFO] [stderr]   --> src/main.rs:10:10
[INFO] [stderr]    |
[INFO] [stderr] 10 | use mio::net::{SockAddr};
[INFO] [stderr]    |          ^^^ could not find `net` in `mio`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `mio::buf`
[INFO] [stderr]   --> src/main.rs:12:10
[INFO] [stderr]    |
[INFO] [stderr] 12 | use mio::buf::{ByteBuf};
[INFO] [stderr]    |          ^^^ could not find `buf` in `mio`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpSocket`
[INFO] [stderr]   --> src/main.rs:19:18
[INFO] [stderr]    |
[INFO] [stderr] 19 |     let server = TcpSocket::v4().unwrap()
[INFO] [stderr]    |                  ^^^^^^^^^ use of undeclared type or module `TcpSocket`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventLoop`
[INFO] [stderr]   --> src/main.rs:23:26
[INFO] [stderr]    |
[INFO] [stderr] 23 |     let mut event_loop = EventLoop::<(), ()>::new().unwrap();
[INFO] [stderr]    |                          ^^^^^^^^^ use of undeclared type or module `EventLoop`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stderr]   --> src/main.rs:52:83
[INFO] [stderr]    |
[INFO] [stderr] 52 |                     let _ = event_loop.register_opt(c, tok, Interest::readable(), PollOpt::edge());
[INFO] [stderr]    |                                                                                   ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `NonBlock`
[INFO] [stderr]   --> src/main.rs:72:36
[INFO] [stderr]    |
[INFO] [stderr] 72 | ...                   Ok(NonBlock::WouldBlock) => {
[INFO] [stderr]    |                          ^^^^^^^^ use of undeclared type or module `NonBlock`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `NonBlock`
[INFO] [stderr]   --> src/main.rs:75:36
[INFO] [stderr]    |
[INFO] [stderr] 75 | ...                   Ok(NonBlock::Ready(_)) => {
[INFO] [stderr]    |                          ^^^^^^^^ use of undeclared type or module `NonBlock`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TcpSocket` in this scope
[INFO] [stderr]   --> src/main.rs:27:22
[INFO] [stderr]    |
[INFO] [stderr] 26 |     struct TcpHandler {
[INFO] [stderr]    |                      - help: you might be missing a type parameter: `<TcpSocket>`
[INFO] [stderr] 27 |         conn: Option<TcpSocket>, // Will store our single socket connection, once established.
[INFO] [stderr]    |                      ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TcpAcceptor` in this scope
[INFO] [stderr]   --> src/main.rs:28:15
[INFO] [stderr]    |
[INFO] [stderr] 28 |         sock: TcpAcceptor // Will store our server.
[INFO] [stderr]    |               ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `EventLoop` in this scope
[INFO] [stderr]   --> src/main.rs:32:47
[INFO] [stderr]    |
[INFO] [stderr] 32 |         fn accept(&mut self, event_loop: &mut EventLoop<(), ()>) {
[INFO] [stderr]    |                                               ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Handler` in this scope
[INFO] [stderr]   --> src/main.rs:59:10
[INFO] [stderr]    |
[INFO] [stderr] 59 |     impl Handler<(), ()> for TcpHandler {
[INFO] [stderr]    |          ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `EventLoop` in this scope
[INFO] [stderr]   --> src/main.rs:60:49
[INFO] [stderr]    |
[INFO] [stderr] 60 |         fn readable(&mut self, event_loop: &mut EventLoop<(), ()>, token: Token, _: ReadHint) {
[INFO] [stderr]    |                                                 ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ReadHint` in this scope
[INFO] [stderr]   --> src/main.rs:60:85
[INFO] [stderr]    |
[INFO] [stderr] 60 |         fn readable(&mut self, event_loop: &mut EventLoop<(), ()>, token: Token, _: ReadHint) {
[INFO] [stderr]    |                                                                                     ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 14 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0405`.
[INFO] [stderr] error: could not compile `mio-echo`.
[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] [stderr] error[E0433]: failed to resolve: could not find `net` in `mio`
[INFO] [stderr]   --> src/main.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | use mio::net::tcp::{TcpSocket, TcpAcceptor};
[INFO] [stderr]    |          ^^^ could not find `net` in `mio`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `mio::net`
[INFO] [stderr]   --> src/main.rs:10:10
[INFO] [stderr]    |
[INFO] [stderr] 10 | use mio::net::{SockAddr};
[INFO] [stderr]    |          ^^^ could not find `net` in `mio`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `mio::buf`
[INFO] [stderr]   --> src/main.rs:12:10
[INFO] [stderr]    |
[INFO] [stderr] 12 | use mio::buf::{ByteBuf};
[INFO] [stderr]    |          ^^^ could not find `buf` in `mio`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpSocket`
[INFO] [stderr]   --> src/main.rs:19:18
[INFO] [stderr]    |
[INFO] [stderr] 19 |     let server = TcpSocket::v4().unwrap()
[INFO] [stderr]    |                  ^^^^^^^^^ use of undeclared type or module `TcpSocket`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventLoop`
[INFO] [stderr]   --> src/main.rs:23:26
[INFO] [stderr]    |
[INFO] [stderr] 23 |     let mut event_loop = EventLoop::<(), ()>::new().unwrap();
[INFO] [stderr]    |                          ^^^^^^^^^ use of undeclared type or module `EventLoop`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stderr]   --> src/main.rs:52:83
[INFO] [stderr]    |
[INFO] [stderr] 52 |                     let _ = event_loop.register_opt(c, tok, Interest::readable(), PollOpt::edge());
[INFO] [stderr]    |                                                                                   ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `NonBlock`
[INFO] [stderr]   --> src/main.rs:72:36
[INFO] [stderr]    |
[INFO] [stderr] 72 | ...                   Ok(NonBlock::WouldBlock) => {
[INFO] [stderr]    |                          ^^^^^^^^ use of undeclared type or module `NonBlock`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `NonBlock`
[INFO] [stderr]   --> src/main.rs:75:36
[INFO] [stderr]    |
[INFO] [stderr] 75 | ...                   Ok(NonBlock::Ready(_)) => {
[INFO] [stderr]    |                          ^^^^^^^^ use of undeclared type or module `NonBlock`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TcpSocket` in this scope
[INFO] [stderr]   --> src/main.rs:27:22
[INFO] [stderr]    |
[INFO] [stderr] 26 |     struct TcpHandler {
[INFO] [stderr]    |                      - help: you might be missing a type parameter: `<TcpSocket>`
[INFO] [stderr] 27 |         conn: Option<TcpSocket>, // Will store our single socket connection, once established.
[INFO] [stderr]    |                      ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TcpAcceptor` in this scope
[INFO] [stderr]   --> src/main.rs:28:15
[INFO] [stderr]    |
[INFO] [stderr] 28 |         sock: TcpAcceptor // Will store our server.
[INFO] [stderr]    |               ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `EventLoop` in this scope
[INFO] [stderr]   --> src/main.rs:32:47
[INFO] [stderr]    |
[INFO] [stderr] 32 |         fn accept(&mut self, event_loop: &mut EventLoop<(), ()>) {
[INFO] [stderr]    |                                               ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Handler` in this scope
[INFO] [stderr]   --> src/main.rs:59:10
[INFO] [stderr]    |
[INFO] [stderr] 59 |     impl Handler<(), ()> for TcpHandler {
[INFO] [stderr]    |          ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `EventLoop` in this scope
[INFO] [stderr]   --> src/main.rs:60:49
[INFO] [stderr]    |
[INFO] [stderr] 60 |         fn readable(&mut self, event_loop: &mut EventLoop<(), ()>, token: Token, _: ReadHint) {
[INFO] [stderr]    |                                                 ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ReadHint` in this scope
[INFO] [stderr]   --> src/main.rs:60:85
[INFO] [stderr]    |
[INFO] [stderr] 60 |         fn readable(&mut self, event_loop: &mut EventLoop<(), ()>, token: Token, _: ReadHint) {
[INFO] [stderr]    |                                                                                     ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 14 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0405`.
[INFO] [stderr] error: could not compile `mio-echo`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "4a7f1f1fbe9465dc33d7e6e030e24eac23b8aa41faa44c68dfc1386ec8afb253"`
[INFO] running `"docker" "rm" "-f" "4a7f1f1fbe9465dc33d7e6e030e24eac23b8aa41faa44c68dfc1386ec8afb253"`
[INFO] [stdout] 4a7f1f1fbe9465dc33d7e6e030e24eac23b8aa41faa44c68dfc1386ec8afb253
