[INFO] fetching crate ws-tool 0.11.1... [INFO] testing ws-tool-0.11.1 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate ws-tool 0.11.1 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ws-tool 0.11.1 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 164c77b4b9eb4cda27bdd694a72e8a1351049031ed962210bcd64471fc12449e [INFO] running `Command { std: "docker" "start" "-a" "164c77b4b9eb4cda27bdd694a72e8a1351049031ed962210bcd64471fc12449e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "164c77b4b9eb4cda27bdd694a72e8a1351049031ed962210bcd64471fc12449e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "164c77b4b9eb4cda27bdd694a72e8a1351049031ed962210bcd64471fc12449e", kill_on_drop: false }` [INFO] [stdout] 164c77b4b9eb4cda27bdd694a72e8a1351049031ed962210bcd64471fc12449e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 454fd9ceab4fad4330b58547f30f3669b579e122e08aa267b15726ae8fcb7035 [INFO] running `Command { std: "docker" "start" "-a" "454fd9ceab4fad4330b58547f30f3669b579e122e08aa267b15726ae8fcb7035", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [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 sha1 v0.10.6 [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 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)]` (part of `#[warn(unused)]`) 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 19.45s [INFO] running `Command { std: "docker" "inspect" "454fd9ceab4fad4330b58547f30f3669b579e122e08aa267b15726ae8fcb7035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "454fd9ceab4fad4330b58547f30f3669b579e122e08aa267b15726ae8fcb7035", kill_on_drop: false }` [INFO] [stdout] 454fd9ceab4fad4330b58547f30f3669b579e122e08aa267b15726ae8fcb7035 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5709652231d3e1848bb38adf91d561849b77552fae083c000f534dbcace5222 [INFO] running `Command { std: "docker" "start" "-a" "d5709652231d3e1848bb38adf91d561849b77552fae083c000f534dbcace5222", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling papergrid v0.10.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rustls-connector v0.16.1 [INFO] [stderr] Compiling tabled_derive v0.6.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rcgen v0.11.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tabled v0.13.0 [INFO] [stderr] Compiling socks v0.3.4 [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 pin-project-internal v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling ws-tool v0.11.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling icu_locale_core v2.0.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)]` (part of `#[warn(unused)]`) 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 icu_provider v2.0.0 [INFO] [stderr] Compiling clap v4.5.37 [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 tungstenite v0.20.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling uuid v1.16.0 [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/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[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[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[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[E0282]: type annotations needed [INFO] [stdout] --> examples/autobahn_async_deflate_client.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut client = ClientConfig::default() [INFO] [stdout] | ______________________^ [INFO] [stdout] 16 | | .async_connect_with( [INFO] [stdout] 17 | | "ws://localhost:9002/getCaseCount", [INFO] [stdout] 18 | | AsyncStringCodec::check_fn, [INFO] [stdout] 19 | | ) [INFO] [stdout] 20 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/autobahn_async_deflate_client.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | let msg = client.receive().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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] 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` 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[E0282]: type annotations needed [INFO] [stdout] --> examples/autobahn_async_deflate_client.rs:34:33 [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] ... | [INFO] [stdout] 39 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/autobahn_async_deflate_client.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | match read.receive().await { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/autobahn_async_deflate_client.rs:49:54 [INFO] [stdout] | [INFO] [stdout] 49 | OpCode::Text | OpCode::Binary => write.send(code, data).await?, [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/autobahn_async_deflate_client.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | write.send(OpCode::Close, &data).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/ext_axum.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | let msg = client.receive().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/ext_axum.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | client.send(&echo).await.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/autobahn_async_deflate_client.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | if write [INFO] [stdout] | ________________________^ [INFO] [stdout] 67 | | .send_owned_frame(OwnedFrame::close_frame( [INFO] [stdout] 68 | | mask_key(), [INFO] [stdout] 69 | | close_code, [INFO] [stdout] 70 | | error.to_string().as_bytes(), [INFO] [stdout] 71 | | )) [INFO] [stdout] 72 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/autobahn_async_deflate_client.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | / write [INFO] [stdout] 81 | | .send_owned_frame(OwnedFrame::close_frame(mask_key(), 1000, &[])) [INFO] [stdout] 82 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [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] error[E0282]: type annotations needed [INFO] [stdout] --> examples/ext_axum.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | axum::serve(listener, app).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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[E0282]: type annotations needed [INFO] [stdout] --> examples/autobahn_async_deflate_client.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | let mut client = ClientConfig::default().async_connect(url).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ws-tool` (example "ext_axum") due to 9 previous errors [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] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ws-tool` (example "autobahn_async_deflate_client") due to 13 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/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[E0282]: type annotations needed [INFO] [stdout] --> examples/bench_async_server.rs:69:49 [INFO] [stdout] | [INFO] [stdout] 69 | let (mut read, mut write) = ServerBuilder::async_accept( [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 70 | | stream, [INFO] [stdout] 71 | | default_handshake_handler, [INFO] [stdout] 72 | | |_req, stream| { [INFO] [stdout] ... | [INFO] [stdout] 82 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bench_async_server.rs:86:35 [INFO] [stdout] | [INFO] [stdout] 86 | let msg = read.receive().await.unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bench_async_server.rs:86:35 [INFO] [stdout] | [INFO] [stdout] 86 | let msg = read.receive().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bench_async_server.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | write.send(msg).await.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bench_async_server.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | write.send(msg).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bench_async_server.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | write.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> examples/bench_async_server.rs:96:49 [INFO] [stdout] | [INFO] [stdout] 96 | let (mut read, mut write) = ServerBuilder::async_accept( [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 97 | | stream, [INFO] [stdout] 98 | | default_handshake_handler, [INFO] [stdout] 99 | | AsyncBytesCodec::factory, [INFO] [stdout] 100 | | ) [INFO] [stdout] 101 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bench_async_server.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | let msg = read.receive().await.unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bench_async_server.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | let msg = read.receive().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bench_async_server.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | write.send(msg).await.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/bench_async_server.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | write.send(msg).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ws-tool` (example "bench_async_server") due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "d5709652231d3e1848bb38adf91d561849b77552fae083c000f534dbcace5222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5709652231d3e1848bb38adf91d561849b77552fae083c000f534dbcace5222", kill_on_drop: false }` [INFO] [stdout] d5709652231d3e1848bb38adf91d561849b77552fae083c000f534dbcace5222