[INFO] updating cached repository bon-chi/r-chat [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/bon-chi/r-chat [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/bon-chi/r-chat" "work/ex/beta-1.38-1/sources/1.37.0/gh/bon-chi/r-chat"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/bon-chi/r-chat'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/bon-chi/r-chat" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/bon-chi/r-chat"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/bon-chi/r-chat'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 01e3fcd3ee9286d53bc2d51a7110cbf3b7bc573c [INFO] sha for GitHub repo bon-chi/r-chat: 01e3fcd3ee9286d53bc2d51a7110cbf3b7bc573c [INFO] validating manifest of bon-chi/r-chat 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 bon-chi/r-chat 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 bon-chi/r-chat [INFO] finished frobbing bon-chi/r-chat [INFO] frobbed toml for bon-chi/r-chat written to work/ex/beta-1.38-1/sources/1.37.0/gh/bon-chi/r-chat/Cargo.toml [INFO] started frobbing bon-chi/r-chat [INFO] finished frobbing bon-chi/r-chat [INFO] frobbed toml for bon-chi/r-chat written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/bon-chi/r-chat/Cargo.toml [INFO] crate bon-chi/r-chat 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/bon-chi/r-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" "+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] [stderr] Blocking waiting for file lock on package cache [INFO] testing bon-chi/r-chat against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/bon-chi/r-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=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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 1c090695f267a9924ef14c906ee9d4e69e4f0f18ad8a2609941ccdf36e76c5aa [INFO] running `"docker" "start" "-a" "1c090695f267a9924ef14c906ee9d4e69e4f0f18ad8a2609941ccdf36e76c5aa"` [INFO] [stderr] Compiling http-muncher v0.2.5 [INFO] [stderr] Compiling sha1 v0.1.1 [INFO] [stderr] Compiling mio v0.7.0 (https://github.com/carllerche/mio#3626fdd2) [INFO] [stderr] Compiling chat v0.1.0 (/opt/crater/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[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] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 2 | use mio::net::TcpListener; [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, [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] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 2 | use mio::net::TcpStream; [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] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 2 | use mio::net::TcpStream; [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] 109 | http_parser: Parser::request(HttpParser), [INFO] [stderr] | ^^^^^^^^^^ did you mean `HttpParser { /* fields */ }`? [INFO] [stderr] [INFO] [stderr] warning: unused import: `mio::tcp::*` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use mio::tcp::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [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: Could not compile `chat`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1c090695f267a9924ef14c906ee9d4e69e4f0f18ad8a2609941ccdf36e76c5aa"` [INFO] running `"docker" "rm" "-f" "1c090695f267a9924ef14c906ee9d4e69e4f0f18ad8a2609941ccdf36e76c5aa"` [INFO] [stdout] 1c090695f267a9924ef14c906ee9d4e69e4f0f18ad8a2609941ccdf36e76c5aa