[INFO] fetching crate razer-ws 0.9.3... [INFO] building razer-ws-0.9.3 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate razer-ws 0.9.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate razer-ws 0.9.3 [INFO] finished tweaking crates.io crate razer-ws 0.9.3 [INFO] tweaked toml for crates.io crate razer-ws 0.9.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate razer-ws 0.9.3 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate razer-ws 0.9.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ppv-lite86 v0.2.16 [INFO] [stderr] Downloaded time v0.1.44 [INFO] [stderr] Downloaded openssl-sys v0.9.73 [INFO] [stderr] Downloaded env_logger v0.6.2 [INFO] [stderr] Downloaded net2 v0.2.37 [INFO] [stderr] Downloaded httparse v1.7.1 [INFO] [stderr] Downloaded once_cell v1.12.0 [INFO] [stderr] Downloaded unicode-ident v1.0.0 [INFO] [stderr] Downloaded typenum v1.15.0 [INFO] [stderr] Downloaded syn v1.0.95 [INFO] [stderr] Downloaded regex-syntax v0.6.26 [INFO] [stderr] Downloaded openssl v0.10.40 [INFO] [stderr] Downloaded mio-extras v2.0.6 [INFO] [stderr] Downloaded crossbeam-utils v0.8.8 [INFO] [stderr] Downloaded proc-macro2 v1.0.39 [INFO] [stderr] Downloaded regex v1.5.6 [INFO] [stderr] Downloaded libz-sys v1.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7d958e0af6def9ca4218c86cba1b9357eac8db493ad20d229a84a004d229893 [INFO] running `Command { std: "docker" "start" "-a" "a7d958e0af6def9ca4218c86cba1b9357eac8db493ad20d229a84a004d229893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7d958e0af6def9ca4218c86cba1b9357eac8db493ad20d229a84a004d229893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7d958e0af6def9ca4218c86cba1b9357eac8db493ad20d229a84a004d229893", kill_on_drop: false }` [INFO] [stdout] a7d958e0af6def9ca4218c86cba1b9357eac8db493ad20d229a84a004d229893 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 546ce479c3a4edf31989e7628194d8105093941c398c184d85f9e7a79d33fe50 [INFO] running `Command { std: "docker" "start" "-a" "546ce479c3a4edf31989e7628194d8105093941c398c184d85f9e7a79d33fe50", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling razer-ws v0.9.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `native_tls` [INFO] [stdout] --> src/io.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "native_tls")] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nativetls"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `libc`, `libz-sys`, `native-tls`, `nativetls`, `openssl`, `permessage-deflate`, and `ssl` [INFO] [stdout] = help: consider adding `native_tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.24s [INFO] running `Command { std: "docker" "inspect" "546ce479c3a4edf31989e7628194d8105093941c398c184d85f9e7a79d33fe50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "546ce479c3a4edf31989e7628194d8105093941c398c184d85f9e7a79d33fe50", kill_on_drop: false }` [INFO] [stdout] 546ce479c3a4edf31989e7628194d8105093941c398c184d85f9e7a79d33fe50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bbeea92d62b96544f3cd28f1e456c1428da1283a36f78432f8d3d0282083a58 [INFO] running `Command { std: "docker" "start" "-a" "3bbeea92d62b96544f3cd28f1e456c1428da1283a36f78432f8d3d0282083a58", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stdout] warning: unexpected `cfg` condition value: `native_tls` [INFO] [stdout] --> src/io.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "native_tls")] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nativetls"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `libc`, `libz-sys`, `native-tls`, `nativetls`, `openssl`, `permessage-deflate`, and `ssl` [INFO] [stdout] = help: consider adding `native_tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [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.34.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling razer-ws v0.9.3 (/opt/rustwide/workdir) [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/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[E0282]: type annotations needed [INFO] [stdout] --> examples/client.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | if let Err(error) = connect("ws://127.0.0.1:3012", |out| { [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | // Queue a message to be sent when the WebSocket is open [INFO] [stdout] 15 | if out.send("Hello WebSocket").is_err() { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 13 | if let Err(error) = connect("ws://127.0.0.1:3012", |out: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [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] 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)]` (part of `#[warn(unused)]`) 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] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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-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/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[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] 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] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `razer-ws` (example "client") due to 2 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/pong.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `razer-ws` (example "html_chat") due to 1 previous error; 1 warning emitted [INFO] [stderr] error: could not compile `razer-ws` (example "bench-server") due to 1 previous error [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[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] 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)]` (part of `#[warn(unused)]`) 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] 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/cli.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `razer-ws` (example "threaded") due to 1 previous error [INFO] [stderr] error: could not compile `razer-ws` (test "shutdown") due to 1 previous error [INFO] [stderr] error: could not compile `razer-ws` (example "pong") due to 1 previous error [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] [stderr] error: could not compile `razer-ws` (example "cli") due to 1 previous error [INFO] [stdout] error[E0463]: can't find crate for `ws` [INFO] [stdout] --> examples/peer2peer.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | extern crate ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `razer-ws` (example "router") due to 1 previous error; 2 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `razer-ws` (example "peer2peer") due to 1 previous error [INFO] [stderr] error: could not compile `razer-ws` (example "bench") due to 1 previous error [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[E0282]: type annotations needed [INFO] [stdout] --> examples/autobahn-client.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | connect(case_url, |out| move |msg| out.send(msg)).unwrap(); [INFO] [stdout] | ^^^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 24 | connect(case_url, |out: /* Type */| move |msg| out.send(msg)).unwrap(); [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[E0282]: type annotations needed [INFO] [stdout] --> examples/autobahn-server.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | ws::listen("127.0.0.1:3012", |out| { [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | move |msg| out.send(msg) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 13 | ws::listen("127.0.0.1:3012", |out: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `razer-ws` (example "autobahn-server") due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/autobahn-client.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | connect("ws://127.0.0.1:9001/getCaseCount", |out| { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | out.close(CloseCode::Normal) [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 57 | connect("ws://127.0.0.1:9001/getCaseCount", |out: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `native_tls` [INFO] [stdout] --> src/io.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "native_tls")] [INFO] [stdout] | ^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"nativetls"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `libc`, `libz-sys`, `native-tls`, `nativetls`, `openssl`, `permessage-deflate`, and `ssl` [INFO] [stdout] = help: consider adding `native_tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/autobahn-client.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | connect(report_url, |out| move |_| out.close(CloseCode::Normal)) [INFO] [stdout] | ^^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 75 | connect(report_url, |out: /* Type */| move |_| out.close(CloseCode::Normal)) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `razer-ws` (example "autobahn-client") due to 4 previous errors [INFO] [stderr] error: could not compile `razer-ws` (example "channel") due to 1 previous error [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[E0282]: type annotations needed [INFO] [stdout] --> examples/server.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 13 | if let Err(error) = listen("127.0.0.1:3012", |out| { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | out.send(msg) [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 13 | if let Err(error) = listen("127.0.0.1:3012", |out: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `razer-ws` (example "server") due to 2 previous errors [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: closures are lazy and do nothing unless called [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3bbeea92d62b96544f3cd28f1e456c1428da1283a36f78432f8d3d0282083a58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bbeea92d62b96544f3cd28f1e456c1428da1283a36f78432f8d3d0282083a58", kill_on_drop: false }` [INFO] [stdout] 3bbeea92d62b96544f3cd28f1e456c1428da1283a36f78432f8d3d0282083a58