[INFO] fetching crate hawk-ws 0.1.1... [INFO] testing hawk-ws-0.1.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate hawk-ws 0.1.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate hawk-ws 0.1.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hawk-ws 0.1.1 [INFO] finished tweaking crates.io crate hawk-ws 0.1.1 [INFO] tweaked toml for crates.io crate hawk-ws 0.1.1 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ee08bcb88a41003d42a531d33dd90690cdd5ce7c8ee36ed62b27249975add31 [INFO] running `Command { std: "docker" "start" "-a" "3ee08bcb88a41003d42a531d33dd90690cdd5ce7c8ee36ed62b27249975add31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ee08bcb88a41003d42a531d33dd90690cdd5ce7c8ee36ed62b27249975add31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ee08bcb88a41003d42a531d33dd90690cdd5ce7c8ee36ed62b27249975add31", kill_on_drop: false }` [INFO] [stdout] 3ee08bcb88a41003d42a531d33dd90690cdd5ce7c8ee36ed62b27249975add31 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7512790c6921857224e41ffe7410d03004b9892970a248daf876837496f0819 [INFO] running `Command { std: "docker" "start" "-a" "c7512790c6921857224e41ffe7410d03004b9892970a248daf876837496f0819", kill_on_drop: false }` [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling sha1 v0.2.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling hawk-ws v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | Custom(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - Custom(Box), [INFO] [stdout] 64 + Custom(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn into_box(self) -> Box { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - pub fn into_box(self) -> Box { [INFO] [stdout] 84 + pub fn into_box(self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 131 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 131 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.02s [INFO] running `Command { std: "docker" "inspect" "c7512790c6921857224e41ffe7410d03004b9892970a248daf876837496f0819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7512790c6921857224e41ffe7410d03004b9892970a248daf876837496f0819", kill_on_drop: false }` [INFO] [stdout] c7512790c6921857224e41ffe7410d03004b9892970a248daf876837496f0819 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c165f637d9260bf686a801c6d9859729ce6988b8437f1ca1d6d07ba499941c0a [INFO] running `Command { std: "docker" "start" "-a" "c165f637d9260bf686a801c6d9859729ce6988b8437f1ca1d6d07ba499941c0a", kill_on_drop: false }` [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | Custom(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - Custom(Box), [INFO] [stdout] 64 + Custom(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn into_box(self) -> Box { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - pub fn into_box(self) -> Box { [INFO] [stdout] 84 + pub fn into_box(self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 131 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 131 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling hawk-ws v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/external_shutdown.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/ssl-server.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/shared.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> tests/shutdown.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hawk-ws` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/bench-server.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hawk-ws` due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocket` [INFO] [stdout] --> examples/shared.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let mut ws = WebSocket::new(|output: Sender| { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `WebSocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hawk-ws` due to 6 previous errors [INFO] [stderr] error: could not compile `hawk-ws` due to 2 previous errors [INFO] [stderr] error: could not compile `hawk-ws` due to 4 previous errors [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/client.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> examples/shared.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | let mut ws = WebSocket::new(|output: Sender| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 17 | let mut ws = WebSocket::new(|output: Send| { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Settings` [INFO] [stdout] --> examples/bench-server.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | ..Settings::default() [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/pong.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Builder` [INFO] [stdout] --> examples/bench-server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Builder::new() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Settings` in this scope [INFO] [stdout] --> examples/bench-server.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | .with_settings(Settings { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> examples/bench-server.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | .build(|out: Sender| move |msg| out.send(msg)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 12 | .build(|out: Send| move |msg| out.send(msg)) [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CloseCode` [INFO] [stdout] --> examples/client.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | out.close(CloseCode::Normal) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CloseCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `connect` in this scope [INFO] [stdout] --> examples/client.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | if let Err(error) = connect("ws://127.0.0.1:3012", |out| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CloseCode` [INFO] [stdout] --> examples/pong.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | EXPIRE => self.out.close(CloseCode::Away), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CloseCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> examples/pong.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | ErrorKind::Internal, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OpCode` [INFO] [stdout] --> examples/pong.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | if frame.opcode() == OpCode::Pong { [INFO] [stdout] | ^^^^^^ use of undeclared type `OpCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> examples/pong.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | const PING: Token = Token(1); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Token` in this scope [INFO] [stdout] --> examples/pong.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | const PING: Token = Token(1); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> examples/pong.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | const EXPIRE: Token = Token(2); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Token` in this scope [INFO] [stdout] --> examples/pong.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | const EXPIRE: Token = Token(2); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `listen` in this scope [INFO] [stdout] --> examples/pong.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | listen("127.0.0.1:3012", |out| Server { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> examples/pong.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | out: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 31 | out: Send, [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timeout` in this scope [INFO] [stdout] --> examples/pong.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | ping_timeout: Option, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `std::sync::mpsc::RecvTimeoutError::Timeout`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 32 | ping_timeout: Option, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 30 | struct Server { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timeout` in this scope [INFO] [stdout] --> examples/pong.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | expire_timeout: Option, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `std::sync::mpsc::RecvTimeoutError::Timeout`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 33 | expire_timeout: Option, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 30 | struct Server { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> examples/pong.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | impl Handler for Server { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Handshake` in this scope [INFO] [stdout] --> examples/pong.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | fn on_open(&mut self, _: Handshake) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> examples/pong.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | fn on_message(&mut self, msg: Message) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CloseCode` in this scope [INFO] [stdout] --> examples/pong.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | fn on_close(&mut self, code: CloseCode, reason: &str) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> examples/pong.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | fn on_error(&mut self, err: Error) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> examples/pong.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 70 | fn on_timeout(&mut self, event: Token) -> Result<()> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> examples/pong.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | _ => Err(Error::new( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> examples/pong.rs:88:41 [INFO] [stdout] | [INFO] [stdout] 88 | fn on_new_timeout(&mut self, event: Token, timeout: Timeout) -> Result<()> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timeout` in this scope [INFO] [stdout] --> examples/pong.rs:88:57 [INFO] [stdout] | [INFO] [stdout] 88 | fn on_new_timeout(&mut self, event: Token, timeout: Timeout) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `std::sync::mpsc::RecvTimeoutError::Timeout`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 88 | fn on_new_timeout(&mut self, event: Token, timeout: std::sync::mpsc::RecvTimeoutError) -> Result<()> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Frame` in this scope [INFO] [stdout] --> examples/pong.rs:106:35 [INFO] [stdout] | [INFO] [stdout] 106 | fn on_frame(&mut self, frame: Frame) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Frame` in this scope [INFO] [stdout] --> examples/pong.rs:106:59 [INFO] [stdout] | [INFO] [stdout] 36 | impl Handler for Server { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 106 | fn on_frame(&mut self, frame: Frame) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> examples/pong.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 129 | impl Handler for DefaultHandler {} [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/pong.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | try!(self.out.timeout(5_000, PING)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/pong.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | try!(self.out.ping(time::precise_time_ns().to_string().into())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/pong.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | try!(self.out.cancel(t)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/pong.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | try!(self.out.cancel(t)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/pong.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | try!(self.out.timeout(30_000, EXPIRE)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/pong.rs:110:31 [INFO] [stdout] | [INFO] [stdout] 110 | if let Ok(pong) = try!(from_utf8(frame.payload())).parse::() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hawk-ws` due to 4 previous errors [INFO] [stdout] error: aborting due to 24 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hawk-ws` due to 25 previous errors; 6 warnings emitted [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/autobahn-server.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/threaded.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/bench.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/remote_addr.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/remote_addr.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | if let Some(ip_addr) = try!(shake.remote_addr()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/peer2peer.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hawk-ws` due to 2 previous errors [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hawk-ws` due to 2 previous errors; 1 warning emitted [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/unsafe-ssl-client.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CloseCode` [INFO] [stdout] --> examples/threaded.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | out.close(CloseCode::Normal) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CloseCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> examples/threaded.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | out: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 18 | out: Send, [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> examples/threaded.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | impl Handler for Server { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> examples/threaded.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | fn on_message(&mut self, msg: Message) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CloseCode` in this scope [INFO] [stdout] --> examples/threaded.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | fn on_close(&mut self, code: CloseCode, reason: &str) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `listen` in this scope [INFO] [stdout] --> examples/threaded.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | thread::spawn(move || listen("127.0.0.1:3012", |out| Server { out: out }).unwrap()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `connect` in this scope [INFO] [stdout] --> examples/threaded.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | connect("ws://127.0.0.1:3012", |out| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CloseCode` [INFO] [stdout] --> examples/bench.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 43 | try!(self.out.close(CloseCode::Normal)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CloseCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Settings` [INFO] [stdout] --> examples/bench.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | ..Settings::default() [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> examples/bench.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | out: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 27 | out: Send, [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> examples/bench.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | impl Handler for Connection { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Handshake` in this scope [INFO] [stdout] --> examples/bench.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn on_open(&mut self, _: Handshake) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> examples/bench.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | fn on_message(&mut self, msg: Message) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Builder` [INFO] [stdout] --> examples/bench.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | let mut ws = Builder::new() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Settings` in this scope [INFO] [stdout] --> examples/bench.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | .with_settings(Settings { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/bench.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | try!(self.out.send(MESSAGE)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/bench.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | try!(self.out.close(CloseCode::Normal)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/bench.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | try!(self.out.send(MESSAGE)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hawk-ws` due to 9 previous errors [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hawk-ws` due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hawk-ws` due to 10 previous errors; 3 warnings emitted [INFO] [stderr] error: could not compile `hawk-ws` due to 2 previous errors [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> tests/bind.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/router.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/router.rs:13:63 [INFO] [stdout] | [INFO] [stdout] 13 | fn on_request(&mut self, req: &ws::Request) -> ws::Result<(ws::Response)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - fn on_request(&mut self, req: &ws::Request) -> ws::Result<(ws::Response)> { [INFO] [stdout] 13 + fn on_request(&mut self, req: &ws::Request) -> ws::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/router.rs:82:63 [INFO] [stdout] | [INFO] [stdout] 82 | fn on_request(&mut self, req: &ws::Request) -> ws::Result<(ws::Response)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - fn on_request(&mut self, req: &ws::Request) -> ws::Result<(ws::Response)> { [INFO] [stdout] 82 + fn on_request(&mut self, req: &ws::Request) -> ws::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/router.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | let mut res = try!(ws::Response::from_request(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/router.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | try!(self.ws.send(*msg)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/autobahn-client.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/server.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | Custom(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - Custom(Box), [INFO] [stdout] 64 + Custom(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hawk-ws` due to 2 previous errors [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn into_box(self) -> Box { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - pub fn into_box(self) -> Box { [INFO] [stdout] 84 + pub fn into_box(self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/result.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 131 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 131 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `listen` in this scope [INFO] [stdout] --> examples/server.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | if let Err(error) = listen("127.0.0.1:3012", |out| { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CloseCode` [INFO] [stdout] --> examples/autobahn-client.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | out.close(CloseCode::Normal) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CloseCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CloseCode` [INFO] [stdout] --> examples/autobahn-client.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | connect(report_url, |out| move |_| out.close(CloseCode::Normal)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CloseCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `connect` in this scope [INFO] [stdout] --> examples/autobahn-client.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | connect(case_url, |out| move |msg| out.send(msg)).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `connect` in this scope [INFO] [stdout] --> examples/autobahn-client.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | try!(connect("ws://127.0.0.1:9001/getCaseCount", |out| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> examples/autobahn-client.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | move |msg: Message| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `connect` in this scope [INFO] [stdout] --> examples/autobahn-client.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | connect(report_url, |out| move |_| out.close(CloseCode::Normal)) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/autobahn-client.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | try!(connect("ws://127.0.0.1:9001/getCaseCount", |out| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/autobahn-client.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | let count = try!(msg.as_text()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hawk-ws` due to 2 previous errors; 4 warnings emitted [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> examples/autobahn-client.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | fn get_case_count() -> Result { [INFO] [stdout] | ^^^^^^ --- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 54 | fn get_case_count() -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> examples/autobahn-client.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | fn update_reports() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 73 | fn update_reports() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/cli.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hawk-ws` due to 10 previous errors; 2 warnings emitted [INFO] [stderr] error: could not compile `hawk-ws` due to 3 previous errors [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/channel.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CloseCode` [INFO] [stdout] --> examples/cli.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | sender.close(CloseCode::Normal).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CloseCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CloseCode` [INFO] [stdout] --> examples/cli.rs:76:36 [INFO] [stdout] | [INFO] [stdout] 76 | let code = CloseCode::from(code); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CloseCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CloseCode` [INFO] [stdout] --> examples/cli.rs:87:36 [INFO] [stdout] | [INFO] [stdout] 87 | let code = CloseCode::from(code); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CloseCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> examples/cli.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | ErrorKind::Internal, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `connect` in this scope [INFO] [stdout] --> examples/cli.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | connect(url, |sender| Client { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> examples/cli.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | ws_out: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 134 | ws_out: TSender, [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> examples/cli.rs:138:6 [INFO] [stdout] | [INFO] [stdout] 138 | impl Handler for Client { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Handshake` in this scope [INFO] [stdout] --> examples/cli.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | fn on_open(&mut self, _: Handshake) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> examples/cli.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | Error::new( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use clap::Error; [INFO] [stdout] | [INFO] [stdout] 9 | use io::Error; [INFO] [stdout] | [INFO] [stdout] 9 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> examples/cli.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | fn on_message(&mut self, msg: Message) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CloseCode` in this scope [INFO] [stdout] --> examples/cli.rs:154:34 [INFO] [stdout] | [INFO] [stdout] 154 | fn on_close(&mut self, code: CloseCode, reason: &str) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> examples/cli.rs:172:33 [INFO] [stdout] | [INFO] [stdout] 172 | fn on_error(&mut self, err: Error) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use clap::Error; [INFO] [stdout] | [INFO] [stdout] 9 | use io::Error; [INFO] [stdout] | [INFO] [stdout] 9 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> examples/cli.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | Connect(Sender), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 178 | Connect(TSender), [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CloseCode` [INFO] [stdout] --> examples/channel.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | self.out.close(CloseCode::Normal) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CloseCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> examples/channel.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | ws: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 32 | ws: Send, [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> examples/channel.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | impl Handler for Server { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> examples/channel.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | fn on_message(&mut self, msg: Message) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CloseCode` in this scope [INFO] [stdout] --> examples/channel.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | fn on_close(&mut self, _: CloseCode, _: &str) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `listen` in this scope [INFO] [stdout] --> examples/channel.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | listen("127.0.0.1:3012", |out| { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> examples/channel.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | out: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 73 | out: Send, [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> examples/channel.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | impl Handler for Client { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Handshake` in this scope [INFO] [stdout] --> examples/channel.rs:95:34 [INFO] [stdout] | [INFO] [stdout] 95 | fn on_open(&mut self, _: Handshake) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> examples/channel.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | fn on_message(&mut self, msg: Message) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `connect` in this scope [INFO] [stdout] --> examples/channel.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | connect("ws://127.0.0.1:3012", |out| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hawk-ws` due to 15 previous errors [INFO] [stderr] error: could not compile `hawk-ws` due to 13 previous errors [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/factory.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | factory.connection_made(Sender::new(mio::Token(0), chn, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c165f637d9260bf686a801c6d9859729ce6988b8437f1ca1d6d07ba499941c0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c165f637d9260bf686a801c6d9859729ce6988b8437f1ca1d6d07ba499941c0a", kill_on_drop: false }` [INFO] [stdout] c165f637d9260bf686a801c6d9859729ce6988b8437f1ca1d6d07ba499941c0a