[INFO] updating cached repository https://github.com/bon-chi/r-chat
[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] 01e3fcd3ee9286d53bc2d51a7110cbf3b7bc573c
[INFO] checking bon-chi/r-chat against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbon-chi%2Fr-chat" "/workspace/builds/worker-1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bon-chi/r-chat 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/bon-chi/r-chat
[INFO] finished tweaking git repo https://github.com/bon-chi/r-chat
[INFO] tweaked toml for git repo https://github.com/bon-chi/r-chat written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/bon-chi/r-chat 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-1/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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 9693a8e28f21b5a3b1bf0ff42a362bc64f6ffaa0852dc693e9279b8ca550ebba
[INFO] running `"docker" "start" "-a" "9693a8e28f21b5a3b1bf0ff42a362bc64f6ffaa0852dc693e9279b8ca550ebba"`
[INFO] [stderr]    Compiling http-muncher v0.2.5
[INFO] [stderr]     Checking mio v0.7.0 (https://github.com/carllerche/mio#aaa243cf)
[INFO] [stderr]     Checking chat 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[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stderr]   --> src/main.rs:55:37
[INFO] [stderr]    |
[INFO] [stderr] 55 | ...                   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:56:37
[INFO] [stderr]    |
[INFO] [stderr] 56 | ...                   PollOpt::edge() | PollOpt::oneshot())
[INFO] [stderr]    |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stderr]   --> src/main.rs:56:55
[INFO] [stderr]    |
[INFO] [stderr] 56 | ...                   PollOpt::edge() | PollOpt::oneshot())
[INFO] [stderr]    |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stderr]   --> src/main.rs:64:39
[INFO] [stderr]    |
[INFO] [stderr] 64 | ...                   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:65:39
[INFO] [stderr]    |
[INFO] [stderr] 65 | ...                   PollOpt::edge() | PollOpt::oneshot())
[INFO] [stderr]    |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stderr]   --> src/main.rs:65:57
[INFO] [stderr]    |
[INFO] [stderr] 65 | ...                   PollOpt::edge() | PollOpt::oneshot())
[INFO] [stderr]    |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventLoop`
[INFO] [stderr]    --> src/main.rs:135:26
[INFO] [stderr]     |
[INFO] [stderr] 135 |     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:137:25
[INFO] [stderr]     |
[INFO] [stderr] 137 |     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:145:25
[INFO] [stderr]     |
[INFO] [stderr] 145 |                         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:146:25
[INFO] [stderr]     |
[INFO] [stderr] 146 |                         PollOpt::edge())
[INFO] [stderr]     |                         ^^^^^^^ use of undeclared type or module `PollOpt`
[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[E0412]: cannot find type `TcpListener` in this scope
[INFO] [stderr]   --> src/main.rs:25:13
[INFO] [stderr]    |
[INFO] [stderr] 25 |     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[E0405]: cannot find trait `Handler` in this scope
[INFO] [stderr]   --> src/main.rs:32:6
[INFO] [stderr]    |
[INFO] [stderr] 32 | impl Handler for WebSocketServer {
[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:37:31
[INFO] [stderr]    |
[INFO] [stderr] 37 |              event_loop: &mut EventLoop<WebSocketServer>,
[INFO] [stderr]    |                               ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `EventSet` in this scope
[INFO] [stderr]   --> src/main.rs:39:22
[INFO] [stderr]    |
[INFO] [stderr] 39 |              events: EventSet) {
[INFO] [stderr]    |                      ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stderr]    --> src/main.rs:101:13
[INFO] [stderr]     |
[INFO] [stderr] 101 |     socket: 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] 
[INFO] [stderr] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stderr]    --> src/main.rs:106:20
[INFO] [stderr]     |
[INFO] [stderr] 106 |     fn new(socket: TcpStream) -> WebSocketClient {
[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] 
[INFO] [stderr] error[E0423]: expected value, found struct `HttpParser`
[INFO] [stderr]    --> src/main.rs:109:42
[INFO] [stderr]     |
[INFO] [stderr] 78  | / struct HttpParser {
[INFO] [stderr] 79  | |     current_key: Option<String>,
[INFO] [stderr] 80  | |     headers: Rc<RefCell<HashMap<String, String>>>,
[INFO] [stderr] 81  | | }
[INFO] [stderr]     | |_- `HttpParser` defined here
[INFO] [stderr] ...
[INFO] [stderr] 109 |               http_parser: Parser::request(HttpParser),
[INFO] [stderr]     |                                            ^^^^^^^^^^ did you mean `HttpParser { /* fields */ }`?
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 18 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[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stderr]   --> src/main.rs:55:37
[INFO] [stderr]    |
[INFO] [stderr] 55 | ...                   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:56:37
[INFO] [stderr]    |
[INFO] [stderr] 56 | ...                   PollOpt::edge() | PollOpt::oneshot())
[INFO] [stderr]    |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stderr]   --> src/main.rs:56:55
[INFO] [stderr]    |
[INFO] [stderr] 56 | ...                   PollOpt::edge() | PollOpt::oneshot())
[INFO] [stderr]    |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventSet`
[INFO] [stderr]   --> src/main.rs:64:39
[INFO] [stderr]    |
[INFO] [stderr] 64 | ...                   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:65:39
[INFO] [stderr]    |
[INFO] [stderr] 65 | ...                   PollOpt::edge() | PollOpt::oneshot())
[INFO] [stderr]    |                       ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt`
[INFO] [stderr]   --> src/main.rs:65:57
[INFO] [stderr]    |
[INFO] [stderr] 65 | ...                   PollOpt::edge() | PollOpt::oneshot())
[INFO] [stderr]    |                                         ^^^^^^^ use of undeclared type or module `PollOpt`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventLoop`
[INFO] [stderr]    --> src/main.rs:135:26
[INFO] [stderr]     |
[INFO] [stderr] 135 |     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:137:25
[INFO] [stderr]     |
[INFO] [stderr] 137 |     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:145:25
[INFO] [stderr]     |
[INFO] [stderr] 145 |                         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:146:25
[INFO] [stderr]     |
[INFO] [stderr] 146 |                         PollOpt::edge())
[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:25:13
[INFO] [stderr]    |
[INFO] [stderr] 25 |     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[E0405]: cannot find trait `Handler` in this scope
[INFO] [stderr]   --> src/main.rs:32:6
[INFO] [stderr]    |
[INFO] [stderr] 32 | impl Handler for WebSocketServer {
[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:37:31
[INFO] [stderr]    |
[INFO] [stderr] 37 |              event_loop: &mut EventLoop<WebSocketServer>,
[INFO] [stderr]    |                               ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `EventSet` in this scope
[INFO] [stderr]   --> src/main.rs:39:22
[INFO] [stderr]    |
[INFO] [stderr] 39 |              events: EventSet) {
[INFO] [stderr]    |                      ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stderr]    --> src/main.rs:101:13
[INFO] [stderr]     |
[INFO] [stderr] 101 |     socket: 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] 
[INFO] [stderr] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stderr]    --> src/main.rs:106:20
[INFO] [stderr]     |
[INFO] [stderr] 106 |     fn new(socket: TcpStream) -> WebSocketClient {
[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] 
[INFO] [stderr] error[E0423]: expected value, found struct `HttpParser`
[INFO] [stderr]    --> src/main.rs:109:42
[INFO] [stderr]     |
[INFO] [stderr] 78  | / struct HttpParser {
[INFO] [stderr] 79  | |     current_key: Option<String>,
[INFO] [stderr] 80  | |     headers: Rc<RefCell<HashMap<String, String>>>,
[INFO] [stderr] 81  | | }
[INFO] [stderr]     | |_- `HttpParser` defined here
[INFO] [stderr] ...
[INFO] [stderr] 109 |               http_parser: Parser::request(HttpParser),
[INFO] [stderr]     |                                            ^^^^^^^^^^ did you mean `HttpParser { /* fields */ }`?
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `chat`.
[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: aborting due to 18 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 `chat`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "9693a8e28f21b5a3b1bf0ff42a362bc64f6ffaa0852dc693e9279b8ca550ebba"`
[INFO] running `"docker" "rm" "-f" "9693a8e28f21b5a3b1bf0ff42a362bc64f6ffaa0852dc693e9279b8ca550ebba"`
[INFO] [stdout] 9693a8e28f21b5a3b1bf0ff42a362bc64f6ffaa0852dc693e9279b8ca550ebba
