[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 master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffnky%2Frust-chat" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fnky/rust-chat on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-9/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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d9a35f202a49f050e7ebb163a2214ed99b63513765b0015ffe34ceda6e731bb [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" "1d9a35f202a49f050e7ebb163a2214ed99b63513765b0015ffe34ceda6e731bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d9a35f202a49f050e7ebb163a2214ed99b63513765b0015ffe34ceda6e731bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d9a35f202a49f050e7ebb163a2214ed99b63513765b0015ffe34ceda6e731bb", kill_on_drop: false }` [INFO] [stdout] 1d9a35f202a49f050e7ebb163a2214ed99b63513765b0015ffe34ceda6e731bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5ef6d2c1c7fe1f776adb0997b728af97f05347bd874225d2da6a32e994d45f3 [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" "b5ef6d2c1c7fe1f776adb0997b728af97f05347bd874225d2da6a32e994d45f3", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking sha1 v0.1.1 [INFO] [stderr] Checking mio v0.8.0 (https://github.com/carllerche/mio#1667a702) [INFO] [stderr] Compiling http-muncher v0.2.5 [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: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 `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] [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: 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 `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] [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] [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 `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] [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: 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" "b5ef6d2c1c7fe1f776adb0997b728af97f05347bd874225d2da6a32e994d45f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5ef6d2c1c7fe1f776adb0997b728af97f05347bd874225d2da6a32e994d45f3", kill_on_drop: false }` [INFO] [stdout] b5ef6d2c1c7fe1f776adb0997b728af97f05347bd874225d2da6a32e994d45f3