[INFO] fetching crate qws 0.7.9... [INFO] testing qws-0.7.9 against 1.60.0 for beta-1.61-1 [INFO] extracting crate qws 0.7.9 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate qws 0.7.9 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 qws 0.7.9 [INFO] finished tweaking crates.io crate qws 0.7.9 [INFO] tweaked toml for crates.io crate qws 0.7.9 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate qws 0.7.9 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2850f0716ee2b6791f846faac540aef42aa4aa6bdd9b0a74b0cd68680c0b2584 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2850f0716ee2b6791f846faac540aef42aa4aa6bdd9b0a74b0cd68680c0b2584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2850f0716ee2b6791f846faac540aef42aa4aa6bdd9b0a74b0cd68680c0b2584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2850f0716ee2b6791f846faac540aef42aa4aa6bdd9b0a74b0cd68680c0b2584", kill_on_drop: false }` [INFO] [stdout] 2850f0716ee2b6791f846faac540aef42aa4aa6bdd9b0a74b0cd68680c0b2584 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] aad2e3d5a90bd2a3ff8a3d6c8fa932326eac7294049bc7f598a690e3c41d9137 [INFO] running `Command { std: "docker" "start" "-a" "aad2e3d5a90bd2a3ff8a3d6c8fa932326eac7294049bc7f598a690e3c41d9137", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling qws v0.7.9 (/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:130:32 [INFO] [stdout] | [INFO] [stdout] 130 | 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] 130 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 130 + 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 14.93s [INFO] running `Command { std: "docker" "inspect" "aad2e3d5a90bd2a3ff8a3d6c8fa932326eac7294049bc7f598a690e3c41d9137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aad2e3d5a90bd2a3ff8a3d6c8fa932326eac7294049bc7f598a690e3c41d9137", kill_on_drop: false }` [INFO] [stdout] aad2e3d5a90bd2a3ff8a3d6c8fa932326eac7294049bc7f598a690e3c41d9137 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ec116001ae0a276ca1ccc64efec1e5a16557a18884a6ef05cdc1135358f4ab2d [INFO] running `Command { std: "docker" "start" "-a" "ec116001ae0a276ca1ccc64efec1e5a16557a18884a6ef05cdc1135358f4ab2d", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling time v0.1.44 [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:130:32 [INFO] [stdout] | [INFO] [stdout] 130 | 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] 130 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 130 + 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 clap v2.33.3 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling qws v0.7.9 (/opt/rustwide/workdir) [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 `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[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] 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 9 previous errors [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] [stderr] error: could not compile `qws` due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] --> 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: 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[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[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[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: 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[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/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: aborting due to 3 previous errors [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] --> 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] 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[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: 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] 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/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/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/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[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[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 `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[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[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] [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] [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 2 previous errors [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] 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] 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/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[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[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 `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[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[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[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[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 `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[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[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] 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[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] 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: 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/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 3 previous errors [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[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: aborting due to previous error; 2 warnings emitted [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] 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/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[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[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: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: 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: 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: 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:130:32 [INFO] [stdout] | [INFO] [stdout] 130 | 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] 130 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 130 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ec116001ae0a276ca1ccc64efec1e5a16557a18884a6ef05cdc1135358f4ab2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec116001ae0a276ca1ccc64efec1e5a16557a18884a6ef05cdc1135358f4ab2d", kill_on_drop: false }` [INFO] [stdout] ec116001ae0a276ca1ccc64efec1e5a16557a18884a6ef05cdc1135358f4ab2d