[INFO] updating cached repository https://github.com/itechdom/rusty-chatter [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9d7984335993514020087e396bc38362448eca03 [INFO] testing itechdom/rusty-chatter against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitechdom%2Frusty-chatter" "work/builds/worker-4/source"` [INFO] [stderr] Cloning into 'work/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/itechdom/rusty-chatter on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/itechdom/rusty-chatter [INFO] finished tweaking git repo https://github.com/itechdom/rusty-chatter [INFO] tweaked toml for git repo https://github.com/itechdom/rusty-chatter written to work/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/itechdom/rusty-chatter already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/carllerche/mio` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 8a1fb378c78f2ad742880a5d6ee3c57b64b8f421a64ac2e5dd2937fb7592cd7f [INFO] running `"docker" "start" "-a" "8a1fb378c78f2ad742880a5d6ee3c57b64b8f421a64ac2e5dd2937fb7592cd7f"` [INFO] [stderr] Compiling sha1 v0.1.1 [INFO] [stderr] Compiling mio v0.7.0 (https://github.com/carllerche/mio#145a8376) [INFO] [stderr] Compiling rusty-chatter v0.1.0 (/opt/rustwide/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 `EventLoop` [INFO] [stderr] --> src/main.rs:24:26 [INFO] [stderr] | [INFO] [stderr] 24 | 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:29:25 [INFO] [stderr] | [INFO] [stderr] 29 | 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:32:21 [INFO] [stderr] | [INFO] [stderr] 32 | 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:33:21 [INFO] [stderr] | [INFO] [stderr] 33 | 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:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | 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[E0412]: cannot find type `HashMap` in this scope [INFO] [stderr] --> src/main.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | clients: HashMap, [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 std::collections::HashMap; [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::hash_map::HashMap; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stderr] --> src/main.rs:8:29 [INFO] [stderr] | [INFO] [stderr] 8 | clients: HashMap, [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[E0405]: cannot find trait `Handler` in this scope [INFO] [stderr] --> src/main.rs:12:6 [INFO] [stderr] | [INFO] [stderr] 12 | impl Handler for WebSocketServer { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found struct `WebSocketServer` [INFO] [stderr] --> src/main.rs:25:23 [INFO] [stderr] | [INFO] [stderr] 25 | let mut handler = WebSocketServer; [INFO] [stderr] | ^^^^^^^^^^^^^^^ did you mean `WebSocketServer { /* 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 10 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 `rusty-chatter`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8a1fb378c78f2ad742880a5d6ee3c57b64b8f421a64ac2e5dd2937fb7592cd7f"` [INFO] running `"docker" "rm" "-f" "8a1fb378c78f2ad742880a5d6ee3c57b64b8f421a64ac2e5dd2937fb7592cd7f"` [INFO] [stdout] 8a1fb378c78f2ad742880a5d6ee3c57b64b8f421a64ac2e5dd2937fb7592cd7f