[INFO] updating cached repository scrogson/chat.rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/scrogson/chat.rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/scrogson/chat.rs" "work/ex/beta-1.38-1/sources/1.37.0/gh/scrogson/chat.rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/scrogson/chat.rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/scrogson/chat.rs" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/scrogson/chat.rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/scrogson/chat.rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 29649f800d5c8f908c4b748b88f6d8870fb298dc [INFO] sha for GitHub repo scrogson/chat.rs: 29649f800d5c8f908c4b748b88f6d8870fb298dc [INFO] validating manifest of scrogson/chat.rs on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of scrogson/chat.rs on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing scrogson/chat.rs [INFO] finished frobbing scrogson/chat.rs [INFO] frobbed toml for scrogson/chat.rs written to work/ex/beta-1.38-1/sources/1.37.0/gh/scrogson/chat.rs/Cargo.toml [INFO] started frobbing scrogson/chat.rs [INFO] finished frobbing scrogson/chat.rs [INFO] frobbed toml for scrogson/chat.rs written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/scrogson/chat.rs/Cargo.toml [INFO] crate scrogson/chat.rs already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/scrogson/chat.rs/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" "+1.37.0" "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" "+beta-2019-08-13" "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" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing scrogson/chat.rs against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/scrogson/chat.rs:/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=warn" "-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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 79fb2d777f4cb646f75538880fc32a447cb3d91b7b393eb4f67ce4436434d7fa [INFO] running `"docker" "start" "-a" "79fb2d777f4cb646f75538880fc32a447cb3d91b7b393eb4f67ce4436434d7fa"` [INFO] [stderr] Compiling http-muncher v0.2.5 [INFO] [stderr] Compiling mio v0.7.0 (https://github.com/carllerche/mio#51e1c458) [INFO] [stderr] Compiling chat v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `mio::tcp` [INFO] [stderr] --> src/main.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | 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:79:23 [INFO] [stderr] | [INFO] [stderr] 79 | 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 `EventSet` [INFO] [stderr] --> src/main.rs:116:38 [INFO] [stderr] | [INFO] [stderr] 116 | 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:117:38 [INFO] [stderr] | [INFO] [stderr] 117 | 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:137:46 [INFO] [stderr] | [INFO] [stderr] 137 | 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:138:46 [INFO] [stderr] | [INFO] [stderr] 138 | 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:169:38 [INFO] [stderr] | [INFO] [stderr] 169 | 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:172:42 [INFO] [stderr] | [INFO] [stderr] 172 | self.interest.insert(EventSet::hup()); [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:174:42 [INFO] [stderr] | [INFO] [stderr] 174 | 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:191:30 [INFO] [stderr] | [INFO] [stderr] 191 | 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:192:30 [INFO] [stderr] | [INFO] [stderr] 192 | 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:222:86 [INFO] [stderr] | [INFO] [stderr] 222 | event_loop.register(&self.clients[&new_token].socket, new_token, 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:223:41 [INFO] [stderr] | [INFO] [stderr] 223 | 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:223:59 [INFO] [stderr] | [INFO] [stderr] 223 | 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:229:43 [INFO] [stderr] | [INFO] [stderr] 229 | 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:229:61 [INFO] [stderr] | [INFO] [stderr] 229 | 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:238:35 [INFO] [stderr] | [INFO] [stderr] 238 | 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:238:53 [INFO] [stderr] | [INFO] [stderr] 238 | 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 `Shutdown` [INFO] [stderr] --> src/main.rs:243:36 [INFO] [stderr] | [INFO] [stderr] 243 | client.socket.shutdown(Shutdown::Both); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `Shutdown` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener` [INFO] [stderr] --> src/main.rs:251:25 [INFO] [stderr] | [INFO] [stderr] 251 | 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 `EventLoop` [INFO] [stderr] --> src/main.rs:253:26 [INFO] [stderr] | [INFO] [stderr] 253 | 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:262:25 [INFO] [stderr] | [INFO] [stderr] 262 | 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:263:25 [INFO] [stderr] | [INFO] [stderr] 263 | PollOpt::edge()).unwrap(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stderr] --> src/main.rs:65:13 [INFO] [stderr] | [INFO] [stderr] 65 | 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] 9 | use mio::net::TcpStream; [INFO] [stderr] | [INFO] [stderr] 9 | use std::net::TcpStream; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stderr] --> src/main.rs:67:15 [INFO] [stderr] | [INFO] [stderr] 67 | 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:73:20 [INFO] [stderr] | [INFO] [stderr] 73 | 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] 9 | use mio::net::TcpStream; [INFO] [stderr] | [INFO] [stderr] 9 | use std::net::TcpStream; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stderr] --> src/main.rs:197:13 [INFO] [stderr] | [INFO] [stderr] 197 | 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] 9 | use mio::net::TcpListener; [INFO] [stderr] | [INFO] [stderr] 9 | use std::net::TcpListener; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stderr] --> src/main.rs:202:6 [INFO] [stderr] | [INFO] [stderr] 202 | 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:206:42 [INFO] [stderr] | [INFO] [stderr] 206 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: EventSet) { [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:206:92 [INFO] [stderr] | [INFO] [stderr] 206 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: EventSet) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/frame.rs:5:28 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{Read, Write, Error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `mio::tcp::*` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use mio::tcp::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 30 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" "79fb2d777f4cb646f75538880fc32a447cb3d91b7b393eb4f67ce4436434d7fa"` [INFO] running `"docker" "rm" "-f" "79fb2d777f4cb646f75538880fc32a447cb3d91b7b393eb4f67ce4436434d7fa"` [INFO] [stdout] 79fb2d777f4cb646f75538880fc32a447cb3d91b7b393eb4f67ce4436434d7fa