[INFO] cloning repository https://github.com/KeenS/chat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KeenS/chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeenS%2Fchat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeenS%2Fchat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b00667a99b416c5e46e066d5b04cef19d0a51003 [INFO] checking KeenS/chat against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeenS%2Fchat" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KeenS/chat on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KeenS/chat [INFO] finished tweaking git repo https://github.com/KeenS/chat [INFO] tweaked toml for git repo https://github.com/KeenS/chat written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/KeenS/chat already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", 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] [stderr] Updating git repository `https://github.com/carllerche/bytes` [INFO] [stderr] Updating git repository `https://github.com/alexcrichton/wio` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.1.57 [INFO] [stderr] Downloaded ntapi v0.3.4 [INFO] [stderr] Downloaded sha1 v0.1.1 [INFO] [stderr] Downloaded miow v0.3.5 [INFO] [stderr] Downloaded byteorder v0.3.13 [INFO] [stderr] Downloaded http-muncher v0.2.5 [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56552a7f43193e4e53b8790d45b7f04fe76e2cd6044e31e5b3ce2a39298f952a [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" "56552a7f43193e4e53b8790d45b7f04fe76e2cd6044e31e5b3ce2a39298f952a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56552a7f43193e4e53b8790d45b7f04fe76e2cd6044e31e5b3ce2a39298f952a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56552a7f43193e4e53b8790d45b7f04fe76e2cd6044e31e5b3ce2a39298f952a", kill_on_drop: false }` [INFO] [stdout] 56552a7f43193e4e53b8790d45b7f04fe76e2cd6044e31e5b3ce2a39298f952a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30f7c0a83f072f6f2f3fa4075f9c70e22aae426d837422abb2dd85f341dd6996 [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" "30f7c0a83f072f6f2f3fa4075f9c70e22aae426d837422abb2dd85f341dd6996", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking byteorder v0.3.13 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking log v0.4.11 [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#eef8d3b9) [INFO] [stderr] Checking chat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `self::mio::tcp` [INFO] [stdout] --> src/server.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use self::mio::tcp::*; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::mio::tcp` [INFO] [stdout] --> src/handler.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use self::mio::tcp::*; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::mio::tcp` [INFO] [stdout] --> src/server.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use self::mio::tcp::*; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::mio::tcp` [INFO] [stdout] --> src/handler.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use self::mio::tcp::*; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/server.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | interest: EventSet::readable(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/server.rs:102:54 [INFO] [stdout] | [INFO] [stdout] 102 | ... self.interest.remove(EventSet::readable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/server.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | ... self.interest.insert(EventSet::writable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/server.rs:113:58 [INFO] [stdout] | [INFO] [stdout] 113 | ... self.interest.remove(EventSet::readable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/server.rs:114:58 [INFO] [stdout] | [INFO] [stdout] 114 | ... self.interest.insert(EventSet::writable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/server.rs:140:38 [INFO] [stdout] | [INFO] [stdout] 140 | self.interest.remove(EventSet::writable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/server.rs:141:38 [INFO] [stdout] | [INFO] [stdout] 141 | self.interest.insert(EventSet::readable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/server.rs:151:50 [INFO] [stdout] | [INFO] [stdout] 151 | ... self.interest.remove(EventSet::writable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/server.rs:153:46 [INFO] [stdout] | [INFO] [stdout] 153 | self.interest.insert(EventSet::readable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/server.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | interest: EventSet::readable(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/server.rs:102:54 [INFO] [stdout] | [INFO] [stdout] 102 | ... self.interest.remove(EventSet::readable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/server.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | ... self.interest.insert(EventSet::writable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/server.rs:113:58 [INFO] [stdout] | [INFO] [stdout] 113 | ... self.interest.remove(EventSet::readable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/server.rs:114:58 [INFO] [stdout] | [INFO] [stdout] 114 | ... self.interest.insert(EventSet::writable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/server.rs:140:38 [INFO] [stdout] | [INFO] [stdout] 140 | self.interest.remove(EventSet::writable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/handler.rs:47:56 [INFO] [stdout] | [INFO] [stdout] 47 | ... new_token, EventSet::readable(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stdout] --> src/handler.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stdout] --> src/handler.rs:48:63 [INFO] [stdout] | [INFO] [stdout] 48 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stdout] --> src/handler.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stdout] --> src/handler.rs:54:61 [INFO] [stdout] | [INFO] [stdout] 54 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/server.rs:141:38 [INFO] [stdout] | [INFO] [stdout] 141 | self.interest.insert(EventSet::readable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stdout] --> src/handler.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/server.rs:151:50 [INFO] [stdout] | [INFO] [stdout] 151 | ... self.interest.remove(EventSet::writable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stdout] --> src/handler.rs:62:53 [INFO] [stdout] | [INFO] [stdout] 62 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/server.rs:153:46 [INFO] [stdout] | [INFO] [stdout] 153 | self.interest.insert(EventSet::readable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/server.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | pub socket: TcpStream, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stdout] --> src/server.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | pub interest: EventSet, [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/server.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(socket: TcpStream) -> WebSocktServer { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> src/handler.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | pub socket: TcpListener, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> src/handler.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(listener: TcpListener) -> WebSocktHandler { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> src/handler.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | impl Handler for WebSocktHandler { [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/handler.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | fn ready(&mut self, event_loop: &mut EventLoop, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stdout] --> src/handler.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | token: Token, events: EventSet) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::mio::*` [INFO] [stdout] --> src/server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use self::mio::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/server.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/handler.rs:47:56 [INFO] [stdout] | [INFO] [stdout] 47 | ... new_token, EventSet::readable(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stdout] --> src/handler.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stdout] --> src/handler.rs:48:63 [INFO] [stdout] | [INFO] [stdout] 48 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/frame.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | opcode @ 0x3...0x7 => Opcode::NonControl(opcode), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/frame.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | opcode @ 0xb...0xf => Opcode::Control(opcode), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/frame.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | 0... 0xfd => res.push(len as u8), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/frame.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | 0xfe...0xffff => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stdout] --> src/handler.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/frame.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | 0x10000...0x7fffffffffffffff => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/frame.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | payload_len @ 0 ... 125 => (payload_len as usize, start), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stdout] --> src/handler.rs:54:61 [INFO] [stdout] | [INFO] [stdout] 54 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stdout] --> src/handler.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stdout] --> src/handler.rs:62:53 [INFO] [stdout] | [INFO] [stdout] 62 | ... PollOpt::edge() | PollOpt::oneshot()).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/server.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | pub socket: TcpStream, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stdout] --> src/server.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | pub interest: EventSet, [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/server.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(socket: TcpStream) -> WebSocktServer { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> src/handler.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | pub socket: TcpListener, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> src/handler.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(listener: TcpListener) -> WebSocktHandler { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> src/handler.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | impl Handler for WebSocktHandler { [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/handler.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | fn ready(&mut self, event_loop: &mut EventLoop, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stdout] --> src/handler.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | token: Token, events: EventSet) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::mio::*` [INFO] [stdout] --> src/server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use self::mio::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/server.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/frame.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | opcode @ 0x3...0x7 => Opcode::NonControl(opcode), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/frame.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | opcode @ 0xb...0xf => Opcode::Control(opcode), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/frame.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | 0... 0xfd => res.push(len as u8), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/frame.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | 0xfe...0xffff => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/frame.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | 0x10000...0x7fffffffffffffff => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/frame.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | payload_len @ 0 ... 125 => (payload_len as usize, start), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [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: build failed [INFO] running `Command { std: "docker" "inspect" "30f7c0a83f072f6f2f3fa4075f9c70e22aae426d837422abb2dd85f341dd6996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30f7c0a83f072f6f2f3fa4075f9c70e22aae426d837422abb2dd85f341dd6996", kill_on_drop: false }` [INFO] [stdout] 30f7c0a83f072f6f2f3fa4075f9c70e22aae426d837422abb2dd85f341dd6996