[INFO] updating cached repository https://github.com/itechdom/rusty-chatter
[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] 9d7984335993514020087e396bc38362448eca03
[INFO] checking itechdom/rusty-chatter against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitechdom%2Frusty-chatter" "/workspace/builds/worker-4/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/itechdom/rusty-chatter 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/itechdom/rusty-chatter
[INFO] finished tweaking git repo https://github.com/itechdom/rusty-chatter
[INFO] tweaked toml for git repo https://github.com/itechdom/rusty-chatter written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/itechdom/rusty-chatter 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]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-4/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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 1d001ef0fe6e4076297042f74f993fa4b5bbd6034f2734b0dc9fa3704e615ecb
[INFO] running `"docker" "start" "-a" "1d001ef0fe6e4076297042f74f993fa4b5bbd6034f2734b0dc9fa3704e615ecb"`
[INFO] [stderr]     Checking sha1 v0.1.1
[INFO] [stderr]     Checking mio v0.7.0 (https://github.com/carllerche/mio#aaa243cf)
[INFO] [stderr]     Checking rusty-chatter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `mio::tcp`
[INFO] [stderr]  --> src/main.rs:4:10
[INFO] [stderr]   |
[INFO] [stderr] 4 | use mio::tcp::*;
[INFO] [stderr]   |          ^^^ could not find `tcp` in `mio`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `mio::tcp`
[INFO] [stderr]  --> src/main.rs:4:10
[INFO] [stderr]   |
[INFO] [stderr] 4 | use mio::tcp::*;
[INFO] [stderr]   |          ^^^ could not find `tcp` in `mio`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventLoop`
[INFO] [stderr]   --> src/main.rs:24:26
[INFO] [stderr]    |
[INFO] [stderr] 24 |     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 `TcpListener`
[INFO] [stderr]   --> src/main.rs:29:25
[INFO] [stderr]    |
[INFO] [stderr] 29 |     let server_socket = TcpListener::bind(&address).unwrap();
[INFO] [stderr]    |                         ^^^^^^^^^^^ use of undeclared type or module `TcpListener`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stderr]   --> src/main.rs:32:21
[INFO] [stderr]    |
[INFO] [stderr] 32 |                     EventSet::readable(),
[INFO] [stderr]    |                     ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stderr]   --> src/main.rs:33:21
[INFO] [stderr]    |
[INFO] [stderr] 33 |                     PollOpt::edge()).unwrap();
[INFO] [stderr]    |                     ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TcpListener` in this scope
[INFO] [stderr]  --> src/main.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 |     socket: TcpListener,
[INFO] [stderr]   |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]   |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::net::TcpListener;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stderr]  --> src/main.rs:8:14
[INFO] [stderr]   |
[INFO] [stderr] 8 |     clients: HashMap<Token, TcpStream>,
[INFO] [stderr]   |              ^^^^^^^ not found in this scope
[INFO] [stderr]   |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::collections::HashMap;
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::collections::hash_map::HashMap;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stderr]  --> src/main.rs:8:29
[INFO] [stderr]   |
[INFO] [stderr] 8 |     clients: HashMap<Token, TcpStream>,
[INFO] [stderr]   |                             ^^^^^^^^^ not found in this scope
[INFO] [stderr]   |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::net::TcpStream;
[INFO] [stderr]   |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct WebSocketServer<TcpStream> {
[INFO] [stderr]   |                       ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Handler` in this scope
[INFO] [stderr]   --> src/main.rs:12:6
[INFO] [stderr]    |
[INFO] [stderr] 12 | impl Handler for WebSocketServer {
[INFO] [stderr]    |      ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0423]: expected value, found struct `WebSocketServer`
[INFO] [stderr]   --> src/main.rs:25:23
[INFO] [stderr]    |
[INFO] [stderr] 6  | / struct WebSocketServer {
[INFO] [stderr] 7  | |     socket: TcpListener,
[INFO] [stderr] 8  | |     clients: HashMap<Token, TcpStream>,
[INFO] [stderr] 9  | |     token_counter: usize
[INFO] [stderr] 10 | | }
[INFO] [stderr]    | |_- `WebSocketServer` defined here
[INFO] [stderr] ...
[INFO] [stderr] 25 |       let mut handler = WebSocketServer;
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^ did you mean `WebSocketServer { /* fields */ }`?
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventLoop`
[INFO] [stderr]   --> src/main.rs:24:26
[INFO] [stderr]    |
[INFO] [stderr] 24 |     let mut event_loop = EventLoop::new().unwrap();
[INFO] [stderr]    |                          ^^^^^^^^^ use of undeclared type or module `EventLoop`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 10 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0423, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0405`.
[INFO] [stderr] error: could not compile `rusty-chatter`.
[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: use of undeclared type or module `TcpListener`
[INFO] [stderr]   --> src/main.rs:29:25
[INFO] [stderr]    |
[INFO] [stderr] 29 |     let server_socket = TcpListener::bind(&address).unwrap();
[INFO] [stderr]    |                         ^^^^^^^^^^^ use of undeclared type or module `TcpListener`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stderr]   --> src/main.rs:32:21
[INFO] [stderr]    |
[INFO] [stderr] 32 |                     EventSet::readable(),
[INFO] [stderr]    |                     ^^^^^^^^ use of undeclared type or module `EventSet`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stderr]   --> src/main.rs:33:21
[INFO] [stderr]    |
[INFO] [stderr] 33 |                     PollOpt::edge()).unwrap();
[INFO] [stderr]    |                     ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TcpListener` in this scope
[INFO] [stderr]  --> src/main.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 |     socket: TcpListener,
[INFO] [stderr]   |             ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]   |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::net::TcpListener;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stderr]  --> src/main.rs:8:14
[INFO] [stderr]   |
[INFO] [stderr] 8 |     clients: HashMap<Token, TcpStream>,
[INFO] [stderr]   |              ^^^^^^^ not found in this scope
[INFO] [stderr]   |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::collections::HashMap;
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::collections::hash_map::HashMap;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stderr]  --> src/main.rs:8:29
[INFO] [stderr]   |
[INFO] [stderr] 8 |     clients: HashMap<Token, TcpStream>,
[INFO] [stderr]   |                             ^^^^^^^^^ not found in this scope
[INFO] [stderr]   |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::net::TcpStream;
[INFO] [stderr]   |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]   |
[INFO] [stderr] 6 | struct WebSocketServer<TcpStream> {
[INFO] [stderr]   |                       ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Handler` in this scope
[INFO] [stderr]   --> src/main.rs:12:6
[INFO] [stderr]    |
[INFO] [stderr] 12 | impl Handler for WebSocketServer {
[INFO] [stderr]    |      ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0423]: expected value, found struct `WebSocketServer`
[INFO] [stderr]   --> src/main.rs:25:23
[INFO] [stderr]    |
[INFO] [stderr] 6  | / struct WebSocketServer {
[INFO] [stderr] 7  | |     socket: TcpListener,
[INFO] [stderr] 8  | |     clients: HashMap<Token, TcpStream>,
[INFO] [stderr] 9  | |     token_counter: usize
[INFO] [stderr] 10 | | }
[INFO] [stderr]    | |_- `WebSocketServer` defined here
[INFO] [stderr] ...
[INFO] [stderr] 25 |       let mut handler = WebSocketServer;
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^ did you mean `WebSocketServer { /* fields */ }`?
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 10 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0423, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0405`.
[INFO] [stderr] error: could not compile `rusty-chatter`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "1d001ef0fe6e4076297042f74f993fa4b5bbd6034f2734b0dc9fa3704e615ecb"`
[INFO] running `"docker" "rm" "-f" "1d001ef0fe6e4076297042f74f993fa4b5bbd6034f2734b0dc9fa3704e615ecb"`
[INFO] [stdout] 1d001ef0fe6e4076297042f74f993fa4b5bbd6034f2734b0dc9fa3704e615ecb
