[INFO] fetching crate wsq 0.9.1... [INFO] testing wsq-0.9.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate wsq 0.9.1 into /workspace/builds/worker-101/source [INFO] validating manifest of crates.io crate wsq 0.9.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wsq 0.9.1 [INFO] finished tweaking crates.io crate wsq 0.9.1 [INFO] tweaked toml for crates.io crate wsq 0.9.1 written to /workspace/builds/worker-101/source/Cargo.toml [INFO] crate crates.io crate wsq 0.9.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.11 [INFO] [stderr] Downloaded smallvec v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a28b3ad230dff853cdab0e9c6ddd72cca53a8dd815031759853971b6b48979f7 [INFO] running `Command { std: "docker" "start" "-a" "a28b3ad230dff853cdab0e9c6ddd72cca53a8dd815031759853971b6b48979f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a28b3ad230dff853cdab0e9c6ddd72cca53a8dd815031759853971b6b48979f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a28b3ad230dff853cdab0e9c6ddd72cca53a8dd815031759853971b6b48979f7", kill_on_drop: false }` [INFO] [stdout] a28b3ad230dff853cdab0e9c6ddd72cca53a8dd815031759853971b6b48979f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f7bf114e4cee11f2efdf3f7b7d3f0fb7a8e2b3c83db970ac7b7cc4c78e8f99f [INFO] running `Command { std: "docker" "start" "-a" "4f7bf114e4cee11f2efdf3f7b7d3f0fb7a8e2b3c83db970ac7b7cc4c78e8f99f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling smallvec v1.0.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling sha-1 v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling wsq v0.9.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.06s [INFO] running `Command { std: "docker" "inspect" "4f7bf114e4cee11f2efdf3f7b7d3f0fb7a8e2b3c83db970ac7b7cc4c78e8f99f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f7bf114e4cee11f2efdf3f7b7d3f0fb7a8e2b3c83db970ac7b7cc4c78e8f99f", kill_on_drop: false }` [INFO] [stdout] 4f7bf114e4cee11f2efdf3f7b7d3f0fb7a8e2b3c83db970ac7b7cc4c78e8f99f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3795ec6dadd6ac380da17487975c8682d37d9527f2425332b86aa04719088a2c [INFO] running `Command { std: "docker" "start" "-a" "3795ec6dadd6ac380da17487975c8682d37d9527f2425332b86aa04719088a2c", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling wsq v0.9.1 (/opt/rustwide/workdir) [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] [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[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[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/peer2peer.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | 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] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/pong.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/channel.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 88 | 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[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[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[E0433]: failed to resolve: use of undeclared type `CloseCode` [INFO] [stdout] --> examples/cli.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | sender.close(CloseCode::Normal).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CloseCode` [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:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | out: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 72 | 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:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | 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:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | 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:98:39 [INFO] [stdout] | [INFO] [stdout] 98 | 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:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | 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/cli.rs:75:36 [INFO] [stdout] | [INFO] [stdout] 75 | let code = CloseCode::from(code); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CloseCode` [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[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/cli.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | 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:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | 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:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | ws_out: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 133 | 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:137:6 [INFO] [stdout] | [INFO] [stdout] 137 | impl Handler for Client { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wsq` due to 2 previous errors [INFO] [stdout] error[E0412]: cannot find type `Handshake` in this scope [INFO] [stdout] --> examples/cli.rs:138:30 [INFO] [stdout] | [INFO] [stdout] 138 | fn on_open(&mut self, _: Handshake) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> examples/cli.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | 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:149:35 [INFO] [stdout] | [INFO] [stdout] 149 | 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: 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] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/html_chat.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/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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [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] 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 `CloseCode` [INFO] [stdout] --> examples/bench.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | self.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 `Settings` [INFO] [stdout] --> examples/bench.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | ..Settings::default() [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CloseCode` [INFO] [stdout] --> examples/pong.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | EXPIRE => self.out.close(CloseCode::Away), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CloseCode` [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: 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[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> examples/html_chat.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | "/ws" => Response::from_request(req), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> examples/html_chat.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | "/" => Ok(Response::new(200, "OK", INDEX_HTML.to_vec())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> examples/html_chat.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | _ => Ok(Response::new(404, "Not Found", b"404 - Not Found".to_vec())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Response` [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[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> examples/pong.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | ErrorKind::Internal, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [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[E0433]: failed to resolve: use of undeclared type `OpCode` [INFO] [stdout] --> examples/pong.rs:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | if frame.opcode() == OpCode::Pong { [INFO] [stdout] | ^^^^^^ use of undeclared type `OpCode` [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 `Token` in this scope [INFO] [stdout] --> examples/pong.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | const PING: Token = Token(1); [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:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | 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, tuple struct or tuple variant `Token` in this scope [INFO] [stdout] --> examples/pong.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | const PING: Token = Token(1); [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:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | let mut ws = Builder::new() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 15 | use env_logger::Builder; [INFO] [stdout] | [INFO] [stdout] 15 | use env_logger::filter::Builder; [INFO] [stdout] | [INFO] [stdout] 15 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> examples/pong.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | const EXPIRE: Token = Token(2); [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/html_chat.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | out: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 38 | out: Send, [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::mpsc::Sender; [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:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | .with_settings(Settings { [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:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | const EXPIRE: Token = Token(2); [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/html_chat.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | impl Handler for Server { [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:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | 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 `Request` in this scope [INFO] [stdout] --> examples/html_chat.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | fn on_request(&mut self, req: &Request) -> Result<(Response)> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> examples/html_chat.rs:43:56 [INFO] [stdout] | [INFO] [stdout] 41 | impl Handler for Server { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 42 | // [INFO] [stdout] 43 | fn on_request(&mut self, req: &Request) -> Result<(Response)> { [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/html_chat.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | 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 `listen` in this scope [INFO] [stdout] --> examples/html_chat.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | listen("127.0.0.1:8000", |out| Server { out }).unwrap() [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:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | out: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 32 | out: Send, [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use mio_extras::channel::Sender; [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> examples/pong.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | impl Handler for Server { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [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] [stdout] error[E0412]: cannot find type `Handshake` in this scope [INFO] [stdout] --> examples/pong.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | fn on_open(&mut self, _: Handshake) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/html_chat.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | fn on_request(&mut self, req: &Request) -> Result<(Response)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - fn on_request(&mut self, req: &Request) -> Result<(Response)> { [INFO] [stdout] 43 + fn on_request(&mut self, req: &Request) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> examples/pong.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | 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:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | 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:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | 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] 7 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 7 | 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:71:37 [INFO] [stdout] | [INFO] [stdout] 71 | fn on_timeout(&mut self, event: Token) -> 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/pong.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | _ => 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] 7 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 7 | 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:89:41 [INFO] [stdout] | [INFO] [stdout] 89 | 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 `Frame` in this scope [INFO] [stdout] --> examples/pong.rs:107:35 [INFO] [stdout] | [INFO] [stdout] 107 | 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:107:59 [INFO] [stdout] | [INFO] [stdout] 37 | impl Handler for Server { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 107 | fn on_frame(&mut self, frame: Frame) -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> examples/pong.rs:130:6 [INFO] [stdout] | [INFO] [stdout] 130 | impl Handler for DefaultHandler {} [INFO] [stdout] | ^^^^^^^ not found in this scope [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 9 previous errors [INFO] [stdout] [INFO] [stdout] [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] [stdout] error: aborting due to 21 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[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/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[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] 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] [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[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] error: aborting due to previous error [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] 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/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[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[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[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] 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] error: aborting due to previous error; 2 warnings emitted [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/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 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: 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[E0433]: failed to resolve: use of undeclared type `CloseCode` [INFO] [stdout] --> examples/autobahn-client.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | 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:75:50 [INFO] [stdout] | [INFO] [stdout] 75 | 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:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | 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:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | 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:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | connect(report_url, |out| move |_| out.close(CloseCode::Normal)) [INFO] [stdout] | ^^^^^^^ not found in this scope [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:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | 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] 53 | 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:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | 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] 72 | fn update_reports() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CloseCode` [INFO] [stdout] --> examples/threaded.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | 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:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | let server = thread::spawn(move || listen("127.0.0.1:3012", |out| Server { 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:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | connect("ws://127.0.0.1:3012", |out| { [INFO] [stdout] | ^^^^^^^ not found in this scope [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] [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: 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: 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: unused closure that must be used [INFO] [stdout] --> src/factory.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3795ec6dadd6ac380da17487975c8682d37d9527f2425332b86aa04719088a2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3795ec6dadd6ac380da17487975c8682d37d9527f2425332b86aa04719088a2c", kill_on_drop: false }` [INFO] [stdout] 3795ec6dadd6ac380da17487975c8682d37d9527f2425332b86aa04719088a2c