[INFO] cloning repository https://github.com/fnky/rust-chat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fnky/rust-chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffnky%2Frust-chat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffnky%2Frust-chat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0be15bdbb3e43f16f43bbf916c389ba75ddf4368 [INFO] checking fnky/rust-chat against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffnky%2Frust-chat" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fnky/rust-chat 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 git repo https://github.com/fnky/rust-chat [INFO] finished tweaking git repo https://github.com/fnky/rust-chat [INFO] tweaked toml for git repo https://github.com/fnky/rust-chat written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/fnky/rust-chat already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/carllerche/mio` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/carllerche/mio` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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] c890032ca92e94b5293954c1143d97de0e935f4edaa09f1cdf89d7e3b83ad1e9 [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" "c890032ca92e94b5293954c1143d97de0e935f4edaa09f1cdf89d7e3b83ad1e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c890032ca92e94b5293954c1143d97de0e935f4edaa09f1cdf89d7e3b83ad1e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c890032ca92e94b5293954c1143d97de0e935f4edaa09f1cdf89d7e3b83ad1e9", kill_on_drop: false }` [INFO] [stdout] c890032ca92e94b5293954c1143d97de0e935f4edaa09f1cdf89d7e3b83ad1e9 [INFO] running `Command { std: "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" "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] e2162c4c6a876902153d89277d831f372f1ddc49af571ab187b4042c21b71c30 [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" "e2162c4c6a876902153d89277d831f372f1ddc49af571ab187b4042c21b71c30", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling http-muncher v0.2.5 [INFO] [stderr] Checking sha1 v0.1.1 [INFO] [stderr] Checking mio v0.8.0 (https://github.com/carllerche/mio#25e8f911) [INFO] [stderr] Checking chat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `mio::tcp` [INFO] [stdout] --> src/main.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use mio::tcp::*; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::tcp` [INFO] [stdout] --> src/main.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use mio::tcp::*; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/main.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | interest: EventSet::readable(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/main.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | interest: EventSet::readable(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/main.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | self.interest.remove(EventSet::writable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/main.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | self.interest.insert(EventSet::readable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/main.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | self.interest.remove(EventSet::readable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/main.rs:118:34 [INFO] [stdout] | [INFO] [stdout] 118 | self.interest.insert(EventSet::writable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/main.rs:159:35 [INFO] [stdout] | [INFO] [stdout] 159 | ... EventSet::readable(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/main.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 160 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/main.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | self.interest.remove(EventSet::writable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/main.rs:160:53 [INFO] [stdout] | [INFO] [stdout] 160 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/main.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | self.interest.insert(EventSet::readable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/main.rs:168:33 [INFO] [stdout] | [INFO] [stdout] 168 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/main.rs:168:51 [INFO] [stdout] | [INFO] [stdout] 168 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/main.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | self.interest.remove(EventSet::readable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/main.rs:118:34 [INFO] [stdout] | [INFO] [stdout] 118 | self.interest.insert(EventSet::writable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/main.rs:180:33 [INFO] [stdout] | [INFO] [stdout] 180 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/main.rs:180:51 [INFO] [stdout] | [INFO] [stdout] 180 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpSocket` [INFO] [stdout] --> src/main.rs:191:23 [INFO] [stdout] | [INFO] [stdout] 191 | let server_socket = TcpSocket::v4().unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TcpSocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> src/main.rs:198:24 [INFO] [stdout] | [INFO] [stdout] 198 | let mut event_loop = EventLoop::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `EventLoop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/main.rs:208:27 [INFO] [stdout] | [INFO] [stdout] 208 | EventSet::readable(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/main.rs:209:27 [INFO] [stdout] | [INFO] [stdout] 209 | PollOpt::edge()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/main.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | socket: TcpStream, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | interest: EventSet, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/main.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | fn new(socket: TcpStream) -> WebSocketClient { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> src/main.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | socket: TcpListener, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> src/main.rs:137:6 [INFO] [stdout] | [INFO] [stdout] 137 | impl Handler for WebSocketServer { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/main.rs:141:40 [INFO] [stdout] | [INFO] [stdout] 141 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: EventSet) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stdout] --> src/main.rs:141:90 [INFO] [stdout] | [INFO] [stdout] 141 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: EventSet) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/main.rs:159:35 [INFO] [stdout] | [INFO] [stdout] 159 | ... EventSet::readable(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/main.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 160 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [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[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/main.rs:160:53 [INFO] [stdout] | [INFO] [stdout] 160 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/main.rs:168:33 [INFO] [stdout] | [INFO] [stdout] 168 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/main.rs:168:51 [INFO] [stdout] | [INFO] [stdout] 168 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/main.rs:180:33 [INFO] [stdout] | [INFO] [stdout] 180 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/main.rs:180:51 [INFO] [stdout] | [INFO] [stdout] 180 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpSocket` [INFO] [stdout] --> src/main.rs:191:23 [INFO] [stdout] | [INFO] [stdout] 191 | let server_socket = TcpSocket::v4().unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TcpSocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> src/main.rs:198:24 [INFO] [stdout] | [INFO] [stdout] 198 | let mut event_loop = EventLoop::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `EventLoop` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chat` [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventSet` [INFO] [stdout] --> src/main.rs:208:27 [INFO] [stdout] | [INFO] [stdout] 208 | EventSet::readable(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] [INFO] [stdout] [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[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/main.rs:209:27 [INFO] [stdout] | [INFO] [stdout] 209 | PollOpt::edge()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/main.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | socket: TcpStream, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | interest: EventSet, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/main.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | fn new(socket: TcpStream) -> WebSocketClient { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> src/main.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | socket: TcpListener, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> src/main.rs:137:6 [INFO] [stdout] | [INFO] [stdout] 137 | impl Handler for WebSocketServer { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/main.rs:141:40 [INFO] [stdout] | [INFO] [stdout] 141 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: EventSet) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stdout] --> src/main.rs:141:90 [INFO] [stdout] | [INFO] [stdout] 141 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: EventSet) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [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" "e2162c4c6a876902153d89277d831f372f1ddc49af571ab187b4042c21b71c30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2162c4c6a876902153d89277d831f372f1ddc49af571ab187b4042c21b71c30", kill_on_drop: false }` [INFO] [stdout] e2162c4c6a876902153d89277d831f372f1ddc49af571ab187b4042c21b71c30