[INFO] fetching crate ws-tool 0.11.1... [INFO] checking ws-tool-0.11.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate ws-tool 0.11.1 into /workspace/builds/worker-6-tc2/source [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate ws-tool 0.11.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ws-tool 0.11.1 [INFO] tweaked toml for crates.io crate ws-tool 0.11.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ws-tool 0.11.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ws-tool 0.11.1 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1f9763bc64b2e8e7059e7639912a905c1b0dae6da89709275488b949c8291fc [INFO] running `Command { std: "docker" "start" "-a" "d1f9763bc64b2e8e7059e7639912a905c1b0dae6da89709275488b949c8291fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1f9763bc64b2e8e7059e7639912a905c1b0dae6da89709275488b949c8291fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1f9763bc64b2e8e7059e7639912a905c1b0dae6da89709275488b949c8291fc", kill_on_drop: false }` [INFO] [stdout] d1f9763bc64b2e8e7059e7639912a905c1b0dae6da89709275488b949c8291fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 636786dc29da207a137dbc29037c0eebdcbc3e66a13680e0d1beebb703d2c369 [INFO] running `Command { std: "docker" "start" "-a" "636786dc29da207a137dbc29037c0eebdcbc3e66a13680e0d1beebb703d2c369", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking clap_builder v4.5.37 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking papergrid v0.10.0 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking getrandom v0.3.2 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking socks v0.3.4 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking clap v4.5.37 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling tabled_derive v0.6.0 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking tabled v0.13.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking rcgen v0.11.3 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hproxy v0.1.0 [INFO] [stderr] Checking sproxy v0.1.0 [INFO] [stderr] Checking rustls-connector v0.16.1 [INFO] [stderr] Checking ws-tool v0.11.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `docrs` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(docrs, feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docrs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docrs)");` to the top of the `build.rs` [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] Checking fastwebsockets v0.5.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `docrs` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | #![cfg_attr(docrs, feature(doc_auto_cfg))] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `docsrs` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docrs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docrs)");` to the top of the `build.rs` [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] warning: struct `TcpReadHalf` is never constructed [INFO] [stdout] --> src/codec/mod.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct TcpReadHalf(pub TcpStream); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TcpWriteHalf` is never constructed [INFO] [stdout] --> src/codec/mod.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct TcpWriteHalf(pub TcpStream); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/binary/blocking.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn receive(&mut self) -> Result>, WsError> { [INFO] [stdout] | ^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 92 | impl_recv! {} [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_recv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | pub fn receive(&mut self) -> Result>, WsError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/binary/blocking.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn receive(&mut self) -> Result>, WsError> { [INFO] [stdout] | ^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 151 | impl_recv! {} [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_recv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | pub fn receive(&mut self) -> Result>, WsError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/text/blocking.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn receive_raw(&mut self) -> Result>, WsError> { [INFO] [stdout] | ^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 124 | impl_recv! {} [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_recv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn receive_raw(&mut self) -> Result>, WsError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/text/blocking.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn receive(&mut self) -> Result>, WsError> { [INFO] [stdout] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 124 | impl_recv! {} [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_recv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn receive(&mut self) -> Result>, WsError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/text/blocking.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn receive_raw(&mut self) -> Result>, WsError> { [INFO] [stdout] | ^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 186 | impl_recv! {} [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_recv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn receive_raw(&mut self) -> Result>, WsError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/text/blocking.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn receive(&mut self) -> Result>, WsError> { [INFO] [stdout] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 186 | impl_recv! {} [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_recv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn receive(&mut self) -> Result>, WsError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ws_tool::codec::AsyncStringCodec` [INFO] [stdout] --> examples/autobahn_async_deflate_client.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | codec::{AsyncStringCodec, WindowBit}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AsyncStringCodec` in `codec` [INFO] [stdout] | help: a similar name exists in the module: `StringCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ws_tool::codec::AsyncStringCodec` [INFO] [stdout] --> examples/ext_poem.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | use ws_tool::codec::{default_handshake_handler, AsyncStringCodec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AsyncStringCodec` in `codec` [INFO] [stdout] | help: a similar name exists in the module: `StringCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `poem` [INFO] [stdout] --> examples/ext_poem.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use poem::{get, handler, listener::TcpListener, web::Path, IntoResponse, Route, Server}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `poem` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `poem`, use `cargo add poem` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `poem` [INFO] [stdout] --> examples/ext_poem.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use poem::{get, handler, listener::TcpListener, web::Path, IntoResponse, Route, Server}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `poem` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `poem`, use `cargo add poem` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `poem_ext` in `extension` [INFO] [stdout] --> examples/ext_poem.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | ws_tool::extension::poem_ext::adapt( [INFO] [stdout] | ^^^^^^^^ could not find `poem_ext` in `extension` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/extension.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(feature = "poem")] [INFO] [stdout] | ---------------- the item is gated behind the `poem` feature [INFO] [stdout] 3 | pub mod poem_ext { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ws_tool::codec::AsyncStringCodec`, `ws_tool::connector::async_tcp_connect`, `ws_tool::connector::async_wrap_rustls` [INFO] [stdout] --> examples/binance.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | codec::AsyncStringCodec, [INFO] [stdout] | ^^^^^^^---------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `StringCodec` [INFO] [stdout] | no `AsyncStringCodec` in `codec` [INFO] [stdout] 6 | connector::{async_tcp_connect, async_wrap_rustls, get_host}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ no `async_wrap_rustls` in `connector` [INFO] [stdout] | | [INFO] [stdout] | no `async_tcp_connect` in `connector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `poem` [INFO] [stdout] --> examples/ext_poem.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | async fn test(Path(prefix): Path, req: &poem::Request) -> impl IntoResponse { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `poem` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `poem`, use `cargo add poem` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ws-tool` (example "ext_poem") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `ws_tool::codec::AsyncBytesCodec` [INFO] [stdout] --> examples/bench_async_server.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | codec::{default_handshake_handler, AsyncBytesCodec, FrameConfig}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AsyncBytesCodec` in `codec` [INFO] [stdout] | help: a similar name exists in the module: `BytesCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ws_tool::codec::AsyncFrameCodec`, `ws_tool::codec::AsyncStringCodec` [INFO] [stdout] --> examples/autobahn_async_client.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | codec::{AsyncFrameCodec, AsyncStringCodec}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `AsyncStringCodec` in `codec` [INFO] [stdout] | | [INFO] [stdout] | no `AsyncFrameCodec` in `codec` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 5 - codec::{AsyncFrameCodec, AsyncStringCodec}, [INFO] [stdout] 5 + codec::{FrameCodec, AsyncStringCodec}, [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 5 - codec::{AsyncFrameCodec, AsyncStringCodec}, [INFO] [stdout] 5 + codec::{AsyncFrameCodec, StringCodec}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `async_connect_with` found for struct `ClientConfig` in the current scope [INFO] [stdout] --> examples/autobahn_async_deflate_client.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 15 | let mut client = ClientConfig::default() [INFO] [stdout] | ______________________- [INFO] [stdout] 16 | | .async_connect_with( [INFO] [stdout] | |_________-^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `connect_with` with a similar name [INFO] [stdout] | [INFO] [stdout] 16 - .async_connect_with( [INFO] [stdout] 16 + .connect_with( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `async_connect` found for struct `ClientConfig` in the current scope [INFO] [stdout] --> examples/autobahn_async_deflate_client.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 34 | let (mut read, mut write) = ClientConfig { [INFO] [stdout] | _________________________________- [INFO] [stdout] 35 | | window: Some(WindowBit::Nine), [INFO] [stdout] 36 | | ..Default::default() [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | .async_connect(url) [INFO] [stdout] | |_____-^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `connect` with a similar name [INFO] [stdout] | [INFO] [stdout] 38 - .async_connect(url) [INFO] [stdout] 38 + .connect(url) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `async_connect` found for struct `ClientConfig` in the current scope [INFO] [stdout] --> examples/autobahn_async_deflate_client.rs:95:46 [INFO] [stdout] | [INFO] [stdout] 95 | let mut client = ClientConfig::default().async_connect(url).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `connect` with a similar name [INFO] [stdout] | [INFO] [stdout] 95 - let mut client = ClientConfig::default().async_connect(url).await.unwrap(); [INFO] [stdout] 95 + let mut client = ClientConfig::default().connect(url).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ws_tool::codec::AsyncStringCodec` [INFO] [stdout] --> examples/echo_async_server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ws_tool::codec::AsyncStringCodec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `StringCodec` [INFO] [stdout] | no `AsyncStringCodec` in `codec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_rustls` [INFO] [stdout] --> examples/echo_async_server.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_rustls::rustls::{self, Certificate, PrivateKey}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_rustls` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_rustls`, use `cargo add tokio_rustls` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_rustls` [INFO] [stdout] --> examples/echo_async_server.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio_rustls::rustls::{self, Certificate, PrivateKey}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_rustls` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_rustls`, use `cargo add tokio_rustls` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_rustls` [INFO] [stdout] --> examples/echo_async_server.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio_rustls::TlsAcceptor; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_rustls` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_rustls`, use `cargo add tokio_rustls` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `async_with_stream` found for struct `ClientBuilder` in the current scope [INFO] [stdout] --> examples/binance.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 99 | let mut client = builder [INFO] [stdout] | ______________________- [INFO] [stdout] 100 | | .async_with_stream(uri, stream, AsyncStringCodec::check_fn) [INFO] [stdout] | |_________-^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `with_stream` with a similar name [INFO] [stdout] | [INFO] [stdout] 100 - .async_with_stream(uri, stream, AsyncStringCodec::check_fn) [INFO] [stdout] 100 + .with_stream(uri, stream, AsyncStringCodec::check_fn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> examples/ext_axum.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{extract::Path, response::Response, routing::get, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ws_tool::codec::AsyncStringCodec` [INFO] [stdout] --> examples/ext_axum.rs:4:49 [INFO] [stdout] | [INFO] [stdout] 4 | use ws_tool::codec::{default_handshake_handler, AsyncStringCodec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AsyncStringCodec` in `codec` [INFO] [stdout] | help: a similar name exists in the module: `StringCodec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> examples/ext_axum.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{extract::Path, response::Response, routing::get, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ws_tool::codec::AsyncStringCodec` [INFO] [stdout] --> examples/echo.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use ws_tool::{codec::AsyncStringCodec, ClientConfig}; [INFO] [stdout] | ^^^^^^^---------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `StringCodec` [INFO] [stdout] | no `AsyncStringCodec` in `codec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> examples/ext_axum.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | async fn ext(Path(prefix): Path, req: axum::extract::Request) -> Response { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `async_accept` found for struct `ServerBuilder` in the current scope [INFO] [stdout] --> examples/bench_async_server.rs:69:64 [INFO] [stdout] | [INFO] [stdout] 69 | let (mut read, mut write) = ServerBuilder::async_accept( [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `ServerBuilder` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ServerBuilder`, consider using `ws_tool::blocking::::accept` which returns `Result<_, WsError>` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | / pub fn accept( [INFO] [stdout] 207 | | mut stream: S, [INFO] [stdout] 208 | | mut handshake_handler: F1, [INFO] [stdout] 209 | | mut codec_factory: F2, [INFO] [stdout] ... | [INFO] [stdout] 219 | | F2: FnMut(http::Request<()>, S) -> Result, [INFO] [stdout] 220 | | T: ToString + std::fmt::Debug, [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] help: there is an associated function `accept` with a similar name [INFO] [stdout] | [INFO] [stdout] 69 - let (mut read, mut write) = ServerBuilder::async_accept( [INFO] [stdout] 69 + let (mut read, mut write) = ServerBuilder::accept( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `async_accept` found for struct `ServerBuilder` in the current scope [INFO] [stdout] --> examples/bench_async_server.rs:96:64 [INFO] [stdout] | [INFO] [stdout] 96 | let (mut read, mut write) = ServerBuilder::async_accept( [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `ServerBuilder` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ServerBuilder`, consider using `ws_tool::blocking::::accept` which returns `Result<_, WsError>` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | / pub fn accept( [INFO] [stdout] 207 | | mut stream: S, [INFO] [stdout] 208 | | mut handshake_handler: F1, [INFO] [stdout] 209 | | mut codec_factory: F2, [INFO] [stdout] ... | [INFO] [stdout] 219 | | F2: FnMut(http::Request<()>, S) -> Result, [INFO] [stdout] 220 | | T: ToString + std::fmt::Debug, [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] help: there is an associated function `accept` with a similar name [INFO] [stdout] | [INFO] [stdout] 96 - let (mut read, mut write) = ServerBuilder::async_accept( [INFO] [stdout] 96 + let (mut read, mut write) = ServerBuilder::accept( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `async_connect_with` found for struct `ClientConfig` in the current scope [INFO] [stdout] --> examples/autobahn_async_client.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 14 | let mut client = ClientConfig::default() [INFO] [stdout] | ______________________- [INFO] [stdout] 15 | | .async_connect_with( [INFO] [stdout] | |_________-^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `connect_with` with a similar name [INFO] [stdout] | [INFO] [stdout] 15 - .async_connect_with( [INFO] [stdout] 15 + .connect_with( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ws-tool` (example "autobahn_async_deflate_client") due to 4 previous errors [INFO] [stdout] error[E0599]: no method named `async_connect_with` found for struct `ClientConfig` in the current scope [INFO] [stdout] --> examples/autobahn_async_client.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 29 | let (mut read, mut write) = ClientConfig::default() [INFO] [stdout] | _________________________________- [INFO] [stdout] 30 | | .async_connect_with(url, AsyncFrameCodec::check_fn) [INFO] [stdout] | |_________-^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `connect_with` with a similar name [INFO] [stdout] | [INFO] [stdout] 30 - .async_connect_with(url, AsyncFrameCodec::check_fn) [INFO] [stdout] 30 + .connect_with(url, AsyncFrameCodec::check_fn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `axum_ext` in `extension` [INFO] [stdout] --> examples/ext_axum.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | ws_tool::extension::axum_ext::adapt( [INFO] [stdout] | ^^^^^^^^ could not find `axum_ext` in `extension` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/extension.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg(feature = "axum")] [INFO] [stdout] | ---------------- the item is gated behind the `axum` feature [INFO] [stdout] 77 | pub mod axum_ext { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `async_connect` found for struct `ClientConfig` in the current scope [INFO] [stdout] --> examples/autobahn_async_client.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | let mut client = ClientConfig::default().async_connect(url).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `connect` with a similar name [INFO] [stdout] | [INFO] [stdout] 80 - let mut client = ClientConfig::default().async_connect(url).await.unwrap(); [INFO] [stdout] 80 + let mut client = ClientConfig::default().connect(url).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TcpReadHalf` is never constructed [INFO] [stdout] --> src/codec/mod.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct TcpReadHalf(pub TcpStream); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TcpWriteHalf` is never constructed [INFO] [stdout] --> src/codec/mod.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct TcpWriteHalf(pub TcpStream); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/binary/blocking.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn receive(&mut self) -> Result>, WsError> { [INFO] [stdout] | ^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 92 | impl_recv! {} [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_recv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | pub fn receive(&mut self) -> Result>, WsError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/binary/blocking.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn receive(&mut self) -> Result>, WsError> { [INFO] [stdout] | ^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 151 | impl_recv! {} [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_recv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | pub fn receive(&mut self) -> Result>, WsError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/text/blocking.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn receive_raw(&mut self) -> Result>, WsError> { [INFO] [stdout] | ^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 124 | impl_recv! {} [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_recv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn receive_raw(&mut self) -> Result>, WsError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/text/blocking.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn receive(&mut self) -> Result>, WsError> { [INFO] [stdout] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 124 | impl_recv! {} [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_recv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn receive(&mut self) -> Result>, WsError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/text/blocking.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn receive_raw(&mut self) -> Result>, WsError> { [INFO] [stdout] | ^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 186 | impl_recv! {} [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_recv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn receive_raw(&mut self) -> Result>, WsError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/text/blocking.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn receive(&mut self) -> Result>, WsError> { [INFO] [stdout] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 186 | impl_recv! {} [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `impl_recv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn receive(&mut self) -> Result>, WsError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `async_connect_with` found for struct `ClientConfig` in the current scope [INFO] [stdout] --> examples/echo.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 30 | let mut client = ClientConfig { [INFO] [stdout] | ______________________- [INFO] [stdout] 31 | | certs: args.cert.unwrap_or_default(), [INFO] [stdout] 32 | | ..Default::default() [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | .async_connect_with(args.uri, AsyncStringCodec::check_fn) [INFO] [stdout] | |_____-^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `connect_with` with a similar name [INFO] [stdout] | [INFO] [stdout] 34 - .async_connect_with(args.uri, AsyncStringCodec::check_fn) [INFO] [stdout] 34 + .connect_with(args.uri, AsyncStringCodec::check_fn) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ws-tool` (example "binance") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> examples/ext_axum.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | axum::serve(listener, app).await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ws-tool` (example "autobahn_async_client") due to 4 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ws-tool` (example "ext_axum") due to 6 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ws-tool` (example "bench_async_server") due to 3 previous errors [INFO] [stderr] error: could not compile `ws-tool` (example "echo") due to 2 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `async_accept` found for struct `ServerBuilder` in the current scope [INFO] [stdout] --> examples/echo_async_server.rs:111:56 [INFO] [stdout] | [INFO] [stdout] 111 | let (mut read, mut write) = ServerBuilder::async_accept( [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `ServerBuilder` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ServerBuilder`, consider using `ws_tool::blocking::::accept` which returns `Result<_, WsError>` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | / pub fn accept( [INFO] [stdout] 207 | | mut stream: S, [INFO] [stdout] 208 | | mut handshake_handler: F1, [INFO] [stdout] 209 | | mut codec_factory: F2, [INFO] [stdout] ... | [INFO] [stdout] 219 | | F2: FnMut(http::Request<()>, S) -> Result, [INFO] [stdout] 220 | | T: ToString + std::fmt::Debug, [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] help: there is an associated function `accept` with a similar name [INFO] [stdout] | [INFO] [stdout] 111 - let (mut read, mut write) = ServerBuilder::async_accept( [INFO] [stdout] 111 + let (mut read, mut write) = ServerBuilder::accept( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `async_accept` found for struct `ServerBuilder` in the current scope [INFO] [stdout] --> examples/echo_async_server.rs:133:56 [INFO] [stdout] | [INFO] [stdout] 133 | let (mut read, mut write) = ServerBuilder::async_accept( [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `ServerBuilder` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ServerBuilder`, consider using `ws_tool::blocking::::accept` which returns `Result<_, WsError>` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | / pub fn accept( [INFO] [stdout] 207 | | mut stream: S, [INFO] [stdout] 208 | | mut handshake_handler: F1, [INFO] [stdout] 209 | | mut codec_factory: F2, [INFO] [stdout] ... | [INFO] [stdout] 219 | | F2: FnMut(http::Request<()>, S) -> Result, [INFO] [stdout] 220 | | T: ToString + std::fmt::Debug, [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] help: there is an associated function `accept` with a similar name [INFO] [stdout] | [INFO] [stdout] 133 - let (mut read, mut write) = ServerBuilder::async_accept( [INFO] [stdout] 133 + let (mut read, mut write) = ServerBuilder::accept( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ws-tool` (example "echo_async_server") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "636786dc29da207a137dbc29037c0eebdcbc3e66a13680e0d1beebb703d2c369", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "636786dc29da207a137dbc29037c0eebdcbc3e66a13680e0d1beebb703d2c369", kill_on_drop: false }` [INFO] [stdout] 636786dc29da207a137dbc29037c0eebdcbc3e66a13680e0d1beebb703d2c369