[INFO] cloning repository https://github.com/lukeasrodgers/rust-nc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lukeasrodgers/rust-nc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukeasrodgers%2Frust-nc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukeasrodgers%2Frust-nc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9712f3ec52df8f7cb65253b0b5939fed56fb2485 [INFO] checking lukeasrodgers/rust-nc against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukeasrodgers%2Frust-nc" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lukeasrodgers/rust-nc on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lukeasrodgers/rust-nc [INFO] finished tweaking git repo https://github.com/lukeasrodgers/rust-nc [INFO] tweaked toml for git repo https://github.com/lukeasrodgers/rust-nc written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/lukeasrodgers/rust-nc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/carllerche/mio` [INFO] [stderr] Updating git repository `https://github.com/carllerche/nix-rust` [INFO] [stderr] error: the lock file /workspace/builds/worker-1/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/carllerche/mio` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getopts v0.2.21 [INFO] [stderr] Downloaded miow v0.3.6 [INFO] [stderr] Downloaded ntapi v0.3.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e79d6affba5a61761bcc898ed211a48b70676816b55e6f5ab18194be007bfba8 [INFO] running `Command { std: "docker" "start" "-a" "e79d6affba5a61761bcc898ed211a48b70676816b55e6f5ab18194be007bfba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e79d6affba5a61761bcc898ed211a48b70676816b55e6f5ab18194be007bfba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e79d6affba5a61761bcc898ed211a48b70676816b55e6f5ab18194be007bfba8", kill_on_drop: false }` [INFO] [stdout] e79d6affba5a61761bcc898ed211a48b70676816b55e6f5ab18194be007bfba8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef3b2914735880e699e6bf2a34042705b04900c814c4f9fff8676ae045cecc49 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ef3b2914735880e699e6bf2a34042705b04900c814c4f9fff8676ae045cecc49", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking mio v0.8.0 (https://github.com/carllerche/mio#25e8f911) [INFO] [stderr] Checking rust-nc v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `mio` [INFO] [stdout] --> src/listener.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use self::mio::net::tcp::*; [INFO] [stdout] | ^^^ could not find `net` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/listener.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::old_io; [INFO] [stdout] | ^^^^^^^^^^^ no `old_io` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::mio::buf` [INFO] [stdout] --> src/listener.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use self::mio::buf::{ByteBuf}; [INFO] [stdout] | ^^^ could not find `buf` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::net::lookup_host` [INFO] [stdout] --> src/connecter.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::{SocketAddr,lookup_host,IpAddr}; [INFO] [stdout] | ^^^^^^^^^^^ no `lookup_host` in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `mio` [INFO] [stdout] --> src/connecter.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use self::mio::net::tcp::*; [INFO] [stdout] | ^^^ could not find `net` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/connecter.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::old_io; [INFO] [stdout] | ^^^^^^^^^^^ no `old_io` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::mio::buf` [INFO] [stdout] --> src/connecter.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use self::mio::buf::{ByteBuf}; [INFO] [stdout] | ^^^ could not find `buf` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::mio::net` [INFO] [stdout] --> src/connecter.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use self::mio::net::*; [INFO] [stdout] | ^^^ could not find `net` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `mio` [INFO] [stdout] --> src/listener.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use self::mio::net::tcp::*; [INFO] [stdout] | ^^^ could not find `net` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/listener.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::old_io; [INFO] [stdout] | ^^^^^^^^^^^ no `old_io` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::mio::buf` [INFO] [stdout] --> src/listener.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use self::mio::buf::{ByteBuf}; [INFO] [stdout] | ^^^ could not find `buf` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::net::lookup_host` [INFO] [stdout] --> src/connecter.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::{SocketAddr,lookup_host,IpAddr}; [INFO] [stdout] | ^^^^^^^^^^^ no `lookup_host` in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `mio` [INFO] [stdout] --> src/connecter.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use self::mio::net::tcp::*; [INFO] [stdout] | ^^^ could not find `net` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/connecter.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::old_io; [INFO] [stdout] | ^^^^^^^^^^^ no `old_io` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::mio::buf` [INFO] [stdout] --> src/connecter.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use self::mio::buf::{ByteBuf}; [INFO] [stdout] | ^^^ could not find `buf` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::mio::net` [INFO] [stdout] --> src/connecter.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use self::mio::net::*; [INFO] [stdout] | ^^^ could not find `net` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> src/listener.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | let mut event_loop = EventLoop::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `EventLoop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/listener.rs:119:108 [INFO] [stdout] | [INFO] [stdout] 119 | event_loop.register_opt(&listener, SERVER, Interest::readable() | Interest::hup() | Interest::error(), PollOpt::level()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> src/listener.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | let mut event_loop = EventLoop::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `EventLoop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/listener.rs:119:108 [INFO] [stdout] | [INFO] [stdout] 119 | event_loop.register_opt(&listener, SERVER, Interest::readable() | Interest::hup() | Interest::error(), PollOpt::level()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> src/connecter.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | let mut event_loop = EventLoop::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `EventLoop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/connecter.rs:78:119 [INFO] [stdout] | [INFO] [stdout] 78 | ...dable() | Interest::hup() | Interest::error(), PollOpt::level()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonBlock` in this scope [INFO] [stdout] --> src/listener.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | conn: Option>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/listener.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | conn: Option>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonBlock` in this scope [INFO] [stdout] --> src/listener.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | sock: NonBlock [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> src/listener.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | sock: NonBlock [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/listener.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | fn accept(&mut self, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> src/listener.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | impl Handler for ServerHandler { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/listener.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 49 | fn readable(&mut self, event_loop: &mut EventLoop, token: Token, hint: ReadHint) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadHint` in this scope [INFO] [stdout] --> src/listener.rs:49:91 [INFO] [stdout] | [INFO] [stdout] 49 | fn readable(&mut self, event_loop: &mut EventLoop, token: Token, hint: ReadHint) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/listener.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | fn notify(&mut self, event_loop: &mut EventLoop, msg: String) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `v4` in this scope [INFO] [stdout] --> src/listener.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | let listener = v4().unwrap(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoopSender` in this scope [INFO] [stdout] --> src/listener.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | fn readwrite_chan(channel: &EventLoopSender) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonBlock` in this scope [INFO] [stdout] --> src/connecter.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | sock: NonBlock [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/connecter.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | sock: NonBlock [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> src/connecter.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | impl Handler for ClientHandler { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/connecter.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | fn readable(&mut self, event_loop: &mut EventLoop, token: Token, hint: ReadHint) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadHint` in this scope [INFO] [stdout] --> src/connecter.rs:25:91 [INFO] [stdout] | [INFO] [stdout] 25 | fn readable(&mut self, event_loop: &mut EventLoop, token: Token, hint: ReadHint) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/connecter.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | fn notify(&mut self, event_loop: &mut EventLoop, msg: String) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `v4` in this scope [INFO] [stdout] --> src/connecter.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | IpAddr::V4(..) => v4(), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `v6` in this scope [INFO] [stdout] --> src/connecter.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | IpAddr::V6(..) => v6() [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoopSender` in this scope [INFO] [stdout] --> src/connecter.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | fn readwrite_chan(channel: &EventLoopSender) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventLoop` [INFO] [stdout] --> src/connecter.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | let mut event_loop = EventLoop::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `EventLoop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollOpt` [INFO] [stdout] --> src/connecter.rs:78:119 [INFO] [stdout] | [INFO] [stdout] 78 | ...dable() | Interest::hup() | Interest::error(), PollOpt::level()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonBlock` in this scope [INFO] [stdout] --> src/listener.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | conn: Option>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/listener.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | conn: Option>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonBlock` in this scope [INFO] [stdout] --> src/listener.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | sock: NonBlock [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> src/listener.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | sock: NonBlock [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/listener.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | fn accept(&mut self, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> src/listener.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | impl Handler for ServerHandler { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/listener.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 49 | fn readable(&mut self, event_loop: &mut EventLoop, token: Token, hint: ReadHint) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadHint` in this scope [INFO] [stdout] --> src/listener.rs:49:91 [INFO] [stdout] | [INFO] [stdout] 49 | fn readable(&mut self, event_loop: &mut EventLoop, token: Token, hint: ReadHint) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/listener.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | fn notify(&mut self, event_loop: &mut EventLoop, msg: String) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `v4` in this scope [INFO] [stdout] --> src/listener.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | let listener = v4().unwrap(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoopSender` in this scope [INFO] [stdout] --> src/listener.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | fn readwrite_chan(channel: &EventLoopSender) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NonBlock` in this scope [INFO] [stdout] --> src/connecter.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | sock: NonBlock [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/connecter.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | sock: NonBlock [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> src/connecter.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | impl Handler for ClientHandler { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/connecter.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | fn readable(&mut self, event_loop: &mut EventLoop, token: Token, hint: ReadHint) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Options` [INFO] [stdout] --> src/listener.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use getopts::{Options,Matches}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToSocketAddrs` [INFO] [stdout] --> src/listener.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use std::net::{SocketAddr,ToSocketAddrs}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Options` [INFO] [stdout] --> src/connecter.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use getopts::{Options,Matches}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SocketAddr` [INFO] [stdout] --> src/connecter.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::{SocketAddr,lookup_host,IpAddr}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Options` [INFO] [stdout] --> src/util.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use getopts::{Options,Matches}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadHint` in this scope [INFO] [stdout] --> src/connecter.rs:25:91 [INFO] [stdout] | [INFO] [stdout] 25 | fn readable(&mut self, event_loop: &mut EventLoop, token: Token, hint: ReadHint) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/connecter.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | fn notify(&mut self, event_loop: &mut EventLoop, msg: String) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `v4` in this scope [INFO] [stdout] --> src/connecter.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | IpAddr::V4(..) => v4(), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `v6` in this scope [INFO] [stdout] --> src/connecter.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | IpAddr::V6(..) => v6() [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoopSender` in this scope [INFO] [stdout] --> src/connecter.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | fn readwrite_chan(channel: &EventLoopSender) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Options` [INFO] [stdout] --> src/listener.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use getopts::{Options,Matches}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToSocketAddrs` [INFO] [stdout] --> src/listener.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use std::net::{SocketAddr,ToSocketAddrs}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Options` [INFO] [stdout] --> src/connecter.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use getopts::{Options,Matches}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SocketAddr` [INFO] [stdout] --> src/connecter.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::{SocketAddr,lookup_host,IpAddr}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Options` [INFO] [stdout] --> src/util.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use getopts::{Options,Matches}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-nc` [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: build failed [INFO] running `Command { std: "docker" "inspect" "ef3b2914735880e699e6bf2a34042705b04900c814c4f9fff8676ae045cecc49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef3b2914735880e699e6bf2a34042705b04900c814c4f9fff8676ae045cecc49", kill_on_drop: false }` [INFO] [stdout] ef3b2914735880e699e6bf2a34042705b04900c814c4f9fff8676ae045cecc49