[INFO] updating cached repository https://github.com/goyox86/rust-chat [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/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] e5f38f92f15e54225804a4d2eaf2d48067325a9c [INFO] checking goyox86/rust-chat against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoyox86%2Frust-chat" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/goyox86/rust-chat on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/goyox86/rust-chat [INFO] finished tweaking git repo https://github.com/goyox86/rust-chat [INFO] tweaked toml for git repo https://github.com/goyox86/rust-chat written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/goyox86/rust-chat already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-14/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 `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/carllerche/mio` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] e64cc27718e1cfa391c0916ea5c67d88dc0cfe7e299078f59bed09ff538ca6b6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "e64cc27718e1cfa391c0916ea5c67d88dc0cfe7e299078f59bed09ff538ca6b6"` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling http-muncher v0.2.5 [INFO] [stderr] Checking sha1 v0.1.1 [INFO] [stderr] Checking mio v0.7.0 (https://github.com/carllerche/mio#976f2354) [INFO] [stderr] Checking chat v0.1.0 (/opt/rustwide/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[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[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: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] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [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] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [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] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 6 | use std::net::TcpStream; [INFO] [stderr] | [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[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] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [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] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [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] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 6 | use std::net::TcpStream; [INFO] [stderr] | [INFO] [stderr] [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] [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" "e64cc27718e1cfa391c0916ea5c67d88dc0cfe7e299078f59bed09ff538ca6b6"` [INFO] running `"docker" "rm" "-f" "e64cc27718e1cfa391c0916ea5c67d88dc0cfe7e299078f59bed09ff538ca6b6"` [INFO] [stdout] e64cc27718e1cfa391c0916ea5c67d88dc0cfe7e299078f59bed09ff538ca6b6