[INFO] fetching crate ws-tool 0.11.1... [INFO] testing ws-tool-0.11.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate ws-tool 0.11.1 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ws-tool 0.11.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc634bc62c2239d483ccd6853666591615a2f1c151ddf11b72eaced840101ff1 [INFO] running `Command { std: "docker" "start" "-a" "cc634bc62c2239d483ccd6853666591615a2f1c151ddf11b72eaced840101ff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc634bc62c2239d483ccd6853666591615a2f1c151ddf11b72eaced840101ff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc634bc62c2239d483ccd6853666591615a2f1c151ddf11b72eaced840101ff1", kill_on_drop: false }` [INFO] [stdout] cc634bc62c2239d483ccd6853666591615a2f1c151ddf11b72eaced840101ff1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21d1464269279e413135c374574b1963dc38bf70dd8d255d09e2bc0ebf13f8f2 [INFO] running `Command { std: "docker" "start" "-a" "21d1464269279e413135c374574b1963dc38bf70dd8d255d09e2bc0ebf13f8f2", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling rustls-connector v0.16.1 [INFO] [stderr] Compiling 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] [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.20s [INFO] running `Command { std: "docker" "inspect" "21d1464269279e413135c374574b1963dc38bf70dd8d255d09e2bc0ebf13f8f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21d1464269279e413135c374574b1963dc38bf70dd8d255d09e2bc0ebf13f8f2", kill_on_drop: false }` [INFO] [stdout] 21d1464269279e413135c374574b1963dc38bf70dd8d255d09e2bc0ebf13f8f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c2e930f4d551f15bded2296167ecd0373d907a58db21b02eaa251cd50a703c5 [INFO] running `Command { std: "docker" "start" "-a" "6c2e930f4d551f15bded2296167ecd0373d907a58db21b02eaa251cd50a703c5", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling papergrid v0.10.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling socks v0.3.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling rcgen v0.11.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rustls-connector v0.16.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tabled_derive v0.6.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tabled v0.13.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling 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] Compiling clap v4.5.37 [INFO] [stderr] Compiling serde v1.0.219 [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] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling sproxy v0.1.0 [INFO] [stderr] Compiling hproxy v0.1.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling fastwebsockets v0.5.0 [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] 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] 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[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[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[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[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] [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] [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[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] [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[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[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[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] [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] 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[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] 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: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] [stderr] error: could not compile `ws-tool` (example "autobahn_async_client") due to 4 previous errors [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[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] 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 "echo") due to 2 previous errors [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] 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] 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] [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: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] [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] [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] [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] [stderr] error: could not compile `ws-tool` (example "binance") due to 2 previous errors [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[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, 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 "autobahn_async_deflate_client") due to 4 previous errors [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] [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] running `Command { std: "docker" "inspect" "6c2e930f4d551f15bded2296167ecd0373d907a58db21b02eaa251cd50a703c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c2e930f4d551f15bded2296167ecd0373d907a58db21b02eaa251cd50a703c5", kill_on_drop: false }` [INFO] [stdout] 6c2e930f4d551f15bded2296167ecd0373d907a58db21b02eaa251cd50a703c5