[INFO] updating cached repository goyox86/rust-chat [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/goyox86/rust-chat [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/goyox86/rust-chat" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/goyox86/rust-chat"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/goyox86/rust-chat'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/goyox86/rust-chat" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/goyox86/rust-chat"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/goyox86/rust-chat'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e5f38f92f15e54225804a4d2eaf2d48067325a9c [INFO] sha for GitHub repo goyox86/rust-chat: e5f38f92f15e54225804a4d2eaf2d48067325a9c [INFO] validating manifest of goyox86/rust-chat on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of goyox86/rust-chat on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing goyox86/rust-chat [INFO] finished frobbing goyox86/rust-chat [INFO] frobbed toml for goyox86/rust-chat written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/goyox86/rust-chat/Cargo.toml [INFO] started frobbing goyox86/rust-chat [INFO] finished frobbing goyox86/rust-chat [INFO] frobbed toml for goyox86/rust-chat written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/goyox86/rust-chat/Cargo.toml [INFO] crate goyox86/rust-chat already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/goyox86/rust-chat/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/carllerche/mio` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/carllerche/mio` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking goyox86/rust-chat against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-0/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/goyox86/rust-chat:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] d6dbb01e1b9e038bcef6205721bc104321d91a8dd937011f08a205f3be702d50 [INFO] running `"docker" "start" "-a" "d6dbb01e1b9e038bcef6205721bc104321d91a8dd937011f08a205f3be702d50"` [INFO] [stderr] Checking mio v0.7.0 (https://github.com/carllerche/mio#51e1c458) [INFO] [stderr] Checking chat v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `mio::tcp` [INFO] [stderr] --> src/main.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | 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:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | 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:82:45 [INFO] [stderr] | [INFO] [stderr] 82 | 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:83:45 [INFO] [stderr] | [INFO] [stderr] 83 | PollOpt::edge() | PollOpt::oneshot()).unwrap(); [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:83:63 [INFO] [stderr] | [INFO] [stderr] 83 | PollOpt::edge() | PollOpt::oneshot()).unwrap(); [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:89:43 [INFO] [stderr] | [INFO] [stderr] 89 | PollOpt::edge() | PollOpt::oneshot()).unwrap(); [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:89:61 [INFO] [stderr] | [INFO] [stderr] 89 | PollOpt::edge() | PollOpt::oneshot()).unwrap(); [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:98:35 [INFO] [stderr] | [INFO] [stderr] 98 | PollOpt::edge() | PollOpt::oneshot()).unwrap(); [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:98:53 [INFO] [stderr] | [INFO] [stderr] 98 | PollOpt::edge() | PollOpt::oneshot()).unwrap(); [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:133:46 [INFO] [stderr] | [INFO] [stderr] 133 | self.interest.remove(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 `EventSet` [INFO] [stderr] --> src/main.rs:134:46 [INFO] [stderr] | [INFO] [stderr] 134 | self.interest.insert(EventSet::writable()); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stderr] --> src/main.rs:161:30 [INFO] [stderr] | [INFO] [stderr] 161 | self.interest.remove(EventSet::writable()); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stderr] --> src/main.rs:162:30 [INFO] [stderr] | [INFO] [stderr] 162 | self.interest.insert(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 `EventSet` [INFO] [stderr] --> src/main.rs:175:23 [INFO] [stderr] | [INFO] [stderr] 175 | interest: 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 `TcpSocket` [INFO] [stderr] --> src/main.rs:184:25 [INFO] [stderr] | [INFO] [stderr] 184 | let server_socket = 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:189:26 [INFO] [stderr] | [INFO] [stderr] 189 | 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 `EventSet` [INFO] [stderr] --> src/main.rs:199:28 [INFO] [stderr] | [INFO] [stderr] 199 | 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:200:28 [INFO] [stderr] | [INFO] [stderr] 200 | 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:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | socket: TcpListener, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 6 | use mio::net::TcpListener; [INFO] [stderr] | [INFO] [stderr] 6 | use std::net::TcpListener; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stderr] --> src/main.rs:58:6 [INFO] [stderr] | [INFO] [stderr] 58 | 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:62:42 [INFO] [stderr] | [INFO] [stderr] 62 | fn ready(&mut self, event_loop: &mut EventLoop, [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:63:35 [INFO] [stderr] | [INFO] [stderr] 63 | token: Token, 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:112:13 [INFO] [stderr] | [INFO] [stderr] 112 | socket: TcpStream, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 6 | use mio::net::TcpStream; [INFO] [stderr] | [INFO] [stderr] 6 | use std::net::TcpStream; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stderr] --> src/main.rs:115:15 [INFO] [stderr] | [INFO] [stderr] 115 | interest: 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:165:20 [INFO] [stderr] | [INFO] [stderr] 165 | fn new(socket: TcpStream) -> WebSocketClient { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 6 | use mio::net::TcpStream; [INFO] [stderr] | [INFO] [stderr] 6 | use std::net::TcpStream; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `mio::tcp::*` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use mio::tcp::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 24 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[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stderr] --> src/main.rs:82:45 [INFO] [stderr] | [INFO] [stderr] 82 | 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:83:45 [INFO] [stderr] | [INFO] [stderr] 83 | PollOpt::edge() | PollOpt::oneshot()).unwrap(); [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:83:63 [INFO] [stderr] | [INFO] [stderr] 83 | PollOpt::edge() | PollOpt::oneshot()).unwrap(); [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:89:43 [INFO] [stderr] | [INFO] [stderr] 89 | PollOpt::edge() | PollOpt::oneshot()).unwrap(); [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:89:61 [INFO] [stderr] | [INFO] [stderr] 89 | PollOpt::edge() | PollOpt::oneshot()).unwrap(); [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:98:35 [INFO] [stderr] | [INFO] [stderr] 98 | PollOpt::edge() | PollOpt::oneshot()).unwrap(); [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:98:53 [INFO] [stderr] | [INFO] [stderr] 98 | PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stderr] [INFO] [stderr] error: Could not compile `chat`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stderr] --> src/main.rs:133:46 [INFO] [stderr] | [INFO] [stderr] 133 | self.interest.remove(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 `EventSet` [INFO] [stderr] --> src/main.rs:134:46 [INFO] [stderr] | [INFO] [stderr] 134 | self.interest.insert(EventSet::writable()); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stderr] --> src/main.rs:161:30 [INFO] [stderr] | [INFO] [stderr] 161 | self.interest.remove(EventSet::writable()); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stderr] --> src/main.rs:162:30 [INFO] [stderr] | [INFO] [stderr] 162 | self.interest.insert(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 `EventSet` [INFO] [stderr] --> src/main.rs:175:23 [INFO] [stderr] | [INFO] [stderr] 175 | interest: 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 `TcpSocket` [INFO] [stderr] --> src/main.rs:184:25 [INFO] [stderr] | [INFO] [stderr] 184 | let server_socket = 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:189:26 [INFO] [stderr] | [INFO] [stderr] 189 | 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 `EventSet` [INFO] [stderr] --> src/main.rs:199:28 [INFO] [stderr] | [INFO] [stderr] 199 | 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:200:28 [INFO] [stderr] | [INFO] [stderr] 200 | 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:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | socket: TcpListener, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 6 | use mio::net::TcpListener; [INFO] [stderr] | [INFO] [stderr] 6 | use std::net::TcpListener; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stderr] --> src/main.rs:58:6 [INFO] [stderr] | [INFO] [stderr] 58 | 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:62:42 [INFO] [stderr] | [INFO] [stderr] 62 | fn ready(&mut self, event_loop: &mut EventLoop, [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:63:35 [INFO] [stderr] | [INFO] [stderr] 63 | token: Token, 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:112:13 [INFO] [stderr] | [INFO] [stderr] 112 | socket: TcpStream, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 6 | use mio::net::TcpStream; [INFO] [stderr] | [INFO] [stderr] 6 | use std::net::TcpStream; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stderr] --> src/main.rs:115:15 [INFO] [stderr] | [INFO] [stderr] 115 | interest: 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:165:20 [INFO] [stderr] | [INFO] [stderr] 165 | fn new(socket: TcpStream) -> WebSocketClient { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 6 | use mio::net::TcpStream; [INFO] [stderr] | [INFO] [stderr] 6 | use std::net::TcpStream; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `mio::tcp::*` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use mio::tcp::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 24 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 `chat`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d6dbb01e1b9e038bcef6205721bc104321d91a8dd937011f08a205f3be702d50"` [INFO] running `"docker" "rm" "-f" "d6dbb01e1b9e038bcef6205721bc104321d91a8dd937011f08a205f3be702d50"` [INFO] [stdout] d6dbb01e1b9e038bcef6205721bc104321d91a8dd937011f08a205f3be702d50