[INFO] cloning repository https://github.com/tpoel/fastwebsockets [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tpoel/fastwebsockets" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftpoel%2Ffastwebsockets", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftpoel%2Ffastwebsockets'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 241e0e9a45c9207e4900bfccd5eceeb3a5531993 [INFO] checking tpoel/fastwebsockets against try#59a256151e578f525a26127f2c3e3a6c7e2982ca for pr-149291-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftpoel%2Ffastwebsockets" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/tpoel/fastwebsockets [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/tpoel/fastwebsockets [INFO] tweaked toml for git repo https://github.com/tpoel/fastwebsockets written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tpoel/fastwebsockets on toolchain 59a256151e578f525a26127f2c3e3a6c7e2982ca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tpoel/fastwebsockets 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" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking tpoel/fastwebsockets against try#59a256151e578f525a26127f2c3e3a6c7e2982ca for pr-149291-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftpoel%2Ffastwebsockets" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/tpoel/fastwebsockets [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/tpoel/fastwebsockets [INFO] tweaked toml for git repo https://github.com/tpoel/fastwebsockets written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tpoel/fastwebsockets on toolchain 59a256151e578f525a26127f2c3e3a6c7e2982ca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tpoel/fastwebsockets 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" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.89 [INFO] [stderr] Downloaded assert2-macros v0.3.11 [INFO] [stderr] Downloaded assert2 v0.3.11 [INFO] [stderr] Downloaded rustls-webpki v0.100.3 [INFO] [stderr] Downloaded basic-toml v0.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85333419b8477493a1ae7784c7a5ece1bc479ae939f58fc967b90eec82b8ceb8 [INFO] running `Command { std: "docker" "start" "-a" "85333419b8477493a1ae7784c7a5ece1bc479ae939f58fc967b90eec82b8ceb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85333419b8477493a1ae7784c7a5ece1bc479ae939f58fc967b90eec82b8ceb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85333419b8477493a1ae7784c7a5ece1bc479ae939f58fc967b90eec82b8ceb8", kill_on_drop: false }` [INFO] [stdout] 85333419b8477493a1ae7784c7a5ece1bc479ae939f58fc967b90eec82b8ceb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 034afd879bf90ce8b3ebeb3d5e55719f7a05f2c3accab624532ede40a0fd9b07 [INFO] running `Command { std: "docker" "start" "-a" "034afd879bf90ce8b3ebeb3d5e55719f7a05f2c3accab624532ede40a0fd9b07", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking indexmap v1.9.3 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Compiling trybuild v1.0.89 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling assert2-macros v0.3.11 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking simdutf8 v0.1.4 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking rustls-webpki v0.100.3 [INFO] [stderr] Checking assert2 v0.3.11 [INFO] [stderr] Checking webpki-roots v0.23.1 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking fastwebsockets v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `128` [INFO] [stdout] --> src/lib.rs:677:46 [INFO] [stdout] | [INFO] [stdout] 677 | #[cfg(any(target_pointer_width = "64", target_pointer_width = "128"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [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: unexpected `cfg` condition value: `8` [INFO] [stdout] --> src/lib.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | target_pointer_width = "8", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:549:9 [INFO] [stdout] | [INFO] [stdout] 549 | let mut buffer = BytesMut::with_capacity(8192); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unmask_fallback` is never used [INFO] [stdout] --> src/mask.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn unmask_fallback(buf: &mut [u8], mask: [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking h2 v0.4.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.15 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking basic-toml v0.1.8 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking hyper v1.1.0 [INFO] [stderr] Checking hyper-util v0.1.2 [INFO] [stdout] warning: unexpected `cfg` condition value: `128` [INFO] [stdout] --> src/lib.rs:677:46 [INFO] [stdout] | [INFO] [stdout] 677 | #[cfg(any(target_pointer_width = "64", target_pointer_width = "128"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [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: unexpected `cfg` condition value: `8` [INFO] [stdout] --> src/lib.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | target_pointer_width = "8", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastwebsockets::upgrade` [INFO] [stdout] --> tests/concurrency.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use fastwebsockets::upgrade; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `upgrade` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg(feature = "upgrade")] [INFO] [stdout] | ------------------- the item is gated behind the `upgrade` feature [INFO] [stdout] 164 | #[cfg_attr(docsrs, doc(cfg(feature = "upgrade")))] [INFO] [stdout] 165 | pub mod upgrade; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 16 - use fastwebsockets::upgrade; [INFO] [stdout] 16 + use hyper::upgrade; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastwebsockets::upgrade` [INFO] [stdout] --> tests/split.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use fastwebsockets::upgrade; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `upgrade` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg(feature = "upgrade")] [INFO] [stdout] | ------------------- the item is gated behind the `upgrade` feature [INFO] [stdout] 164 | #[cfg_attr(docsrs, doc(cfg(feature = "upgrade")))] [INFO] [stdout] 165 | pub mod upgrade; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 16 - use fastwebsockets::upgrade; [INFO] [stdout] 16 + use hyper::upgrade; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastwebsockets::handshake` [INFO] [stdout] --> tests/concurrency.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use fastwebsockets::handshake; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `handshake` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg(feature = "upgrade")] [INFO] [stdout] | ------------------- the item is gated behind the `upgrade` feature [INFO] [stdout] 159 | #[cfg_attr(docsrs, doc(cfg(feature = "upgrade")))] [INFO] [stdout] 160 | pub mod handshake; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastwebsockets::handshake` [INFO] [stdout] --> tests/split.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use fastwebsockets::handshake; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `handshake` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg(feature = "upgrade")] [INFO] [stdout] | ------------------- the item is gated behind the `upgrade` feature [INFO] [stdout] 159 | #[cfg_attr(docsrs, doc(cfg(feature = "upgrade")))] [INFO] [stdout] 160 | pub mod handshake; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastwebsockets::upgrade` [INFO] [stdout] --> examples/tls_server.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use fastwebsockets::upgrade; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `upgrade` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg(feature = "upgrade")] [INFO] [stdout] | ------------------- the item is gated behind the `upgrade` feature [INFO] [stdout] 164 | #[cfg_attr(docsrs, doc(cfg(feature = "upgrade")))] [INFO] [stdout] 165 | pub mod upgrade; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 16 - use fastwebsockets::upgrade; [INFO] [stdout] 16 + use hyper::upgrade; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastwebsockets::WebSocketRead` [INFO] [stdout] --> tests/split.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use fastwebsockets::WebSocketRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `WebSocket` [INFO] [stdout] | no `WebSocketRead` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 211 | #[cfg(feature = "unstable-split")] [INFO] [stdout] | -------------------------- the item is gated behind the `unstable-split` feature [INFO] [stdout] 212 | pub struct WebSocketRead { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastwebsockets::WebSocketWrite` [INFO] [stdout] --> tests/split.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use fastwebsockets::WebSocketWrite; [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `WebSocketError` [INFO] [stdout] | no `WebSocketWrite` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 217 | #[cfg(feature = "unstable-split")] [INFO] [stdout] | -------------------------- the item is gated behind the `unstable-split` feature [INFO] [stdout] 218 | pub struct WebSocketWrite { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/tls_server.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | let mut ws = fut.await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | ws.set_writev(false); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `ws` an explicit type [INFO] [stdout] | [INFO] [stdout] 33 | let mut ws: /* Type */ = fut.await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `handshake` in `fastwebsockets` [INFO] [stdout] --> tests/concurrency.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | fastwebsockets::handshake::generate_key(), [INFO] [stdout] | ^^^^^^^^^ could not find `handshake` in `fastwebsockets` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg(feature = "upgrade")] [INFO] [stdout] | ------------------- the item is gated behind the `upgrade` feature [INFO] [stdout] 159 | #[cfg_attr(docsrs, doc(cfg(feature = "upgrade")))] [INFO] [stdout] 160 | pub mod handshake; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `handshake` in `fastwebsockets` [INFO] [stdout] --> tests/split.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | fastwebsockets::handshake::generate_key(), [INFO] [stdout] | ^^^^^^^^^ could not find `handshake` in `fastwebsockets` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg(feature = "upgrade")] [INFO] [stdout] | ------------------- the item is gated behind the `upgrade` feature [INFO] [stdout] 159 | #[cfg_attr(docsrs, doc(cfg(feature = "upgrade")))] [INFO] [stdout] 160 | pub mod handshake; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/concurrency.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | let mut ws = fut.await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | ws.set_writev(false); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `ws` an explicit type [INFO] [stdout] | [INFO] [stdout] 43 | let mut ws: /* Type */ = fut.await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `handshake` in `fastwebsockets` [INFO] [stdout] --> tests/upgrade.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | fastwebsockets::handshake::generate_key(), [INFO] [stdout] | ^^^^^^^^^ could not find `handshake` in `fastwebsockets` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg(feature = "upgrade")] [INFO] [stdout] | ------------------- the item is gated behind the `upgrade` feature [INFO] [stdout] 159 | #[cfg_attr(docsrs, doc(cfg(feature = "upgrade")))] [INFO] [stdout] 160 | pub mod handshake; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/split.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | let mut ws = fut.await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | ws.set_writev(false); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `ws` an explicit type [INFO] [stdout] | [INFO] [stdout] 48 | let mut ws: /* Type */ = fut.await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastwebsockets::upgrade` [INFO] [stdout] --> examples/echo_server_split.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use fastwebsockets::upgrade; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `upgrade` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg(feature = "upgrade")] [INFO] [stdout] | ------------------- the item is gated behind the `upgrade` feature [INFO] [stdout] 164 | #[cfg_attr(docsrs, doc(cfg(feature = "upgrade")))] [INFO] [stdout] 165 | pub mod upgrade; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 15 - use fastwebsockets::upgrade; [INFO] [stdout] 15 + use hyper::upgrade; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastwebsockets::FragmentCollectorRead` [INFO] [stdout] --> examples/echo_server_split.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use fastwebsockets::FragmentCollectorRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `FragmentCollector` [INFO] [stdout] | no `FragmentCollectorRead` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:180:26 [INFO] [stdout] | [INFO] [stdout] 179 | #[cfg(feature = "unstable-split")] [INFO] [stdout] | -------------------------- the item is gated behind the `unstable-split` feature [INFO] [stdout] 180 | pub use crate::fragment::FragmentCollectorRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/echo_server_split.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | let ws = fut.await?; [INFO] [stdout] | ^^ [INFO] [stdout] 30 | let (rx, mut tx) = ws.split(tokio::io::split); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `ws` an explicit type [INFO] [stdout] | [INFO] [stdout] 29 | let ws: /* Type */ = fut.await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/split.rs:101:7 [INFO] [stdout] | [INFO] [stdout] 101 | let (ws, _) = handshake::client(&SpawnExecutor, req, stream).await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 102 | Ok(ws.split(tokio::io::split)) [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 101 | let (ws, _): (_, _) = handshake::client(&SpawnExecutor, req, stream).await?; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/echo_server_split.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | tx.write_frame(frame).await?; [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/split.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | let (mut r, w) = connect(client_id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/split.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | let frame = r [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/split.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | let w = Rc::new(Mutex::new(w)); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the struct `Mutex` [INFO] [stdout] ... [INFO] [stdout] 111 | async move { w.lock().await.write_frame(frame).await } [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 107 | let w = Rc::new(Mutex::::new(w)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `handshake` in `fastwebsockets` [INFO] [stdout] --> tests/upgrade.rs:75:61 [INFO] [stdout] | [INFO] [stdout] 75 | let_assert!(Ok((mut stream, _response)) = fastwebsockets::handshake::client(&TestExecutor, req, stream).await); [INFO] [stdout] | ^^^^^^^^^ could not find `handshake` in `fastwebsockets` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg(feature = "upgrade")] [INFO] [stdout] | ------------------- the item is gated behind the `upgrade` feature [INFO] [stdout] 159 | #[cfg_attr(docsrs, doc(cfg(feature = "upgrade")))] [INFO] [stdout] 160 | pub mod handshake; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `upgrade` in `fastwebsockets` [INFO] [stdout] --> tests/upgrade.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | assert!(fastwebsockets::upgrade::is_upgrade_request(&request) == true); [INFO] [stdout] | ^^^^^^^ could not find `upgrade` in `fastwebsockets` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg(feature = "upgrade")] [INFO] [stdout] | ------------------- the item is gated behind the `upgrade` feature [INFO] [stdout] 164 | #[cfg_attr(docsrs, doc(cfg(feature = "upgrade")))] [INFO] [stdout] 165 | pub mod upgrade; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `upgrade` in `fastwebsockets` [INFO] [stdout] --> tests/upgrade.rs:95:44 [INFO] [stdout] | [INFO] [stdout] 95 | let (response, stream) = fastwebsockets::upgrade::upgrade(&mut request)?; [INFO] [stdout] | ^^^^^^^ could not find `upgrade` in `fastwebsockets` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg(feature = "upgrade")] [INFO] [stdout] | ------------------- the item is gated behind the `upgrade` feature [INFO] [stdout] 164 | #[cfg_attr(docsrs, doc(cfg(feature = "upgrade")))] [INFO] [stdout] 165 | pub mod upgrade; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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] 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[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/upgrade.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let_assert!(Ok(mut stream) = stream.await); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 98 | assert!(let Ok(()) = stream.write_frame(fastwebsockets::Frame::text(b"Hello!".to_vec().into())).await); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 97 | let_assert!(Ok(mut stream): Result = stream.await); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fastwebsockets` (example "tls_server") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `fastwebsockets` (example "echo_server_split") due to 4 previous errors [INFO] [stderr] error: could not compile `fastwebsockets` (test "split") due to 10 previous errors [INFO] [stderr] error: could not compile `fastwebsockets` (test "concurrency") due to 4 previous errors [INFO] [stdout] error[E0282]: type annotations needed for `Result<(_, _), _>` [INFO] [stdout] --> tests/upgrade.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | let_assert!(Ok((mut stream, _response)) = fastwebsockets::handshake::client(&TestExecutor, req, stream).await); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | [INFO] [stdout] 77 | let_assert!(Ok(message) = stream.read_frame().await); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 75 | let_assert!(Ok((mut stream, _response)): Result<(_, _), E> = fastwebsockets::handshake::client(&TestExecutor, req, stream).await); [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:549:9 [INFO] [stdout] | [INFO] [stdout] 549 | let mut buffer = BytesMut::with_capacity(8192); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unmask_fallback` is never used [INFO] [stdout] --> src/mask.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn unmask_fallback(buf: &mut [u8], mask: [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fastwebsockets` (test "upgrade") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "034afd879bf90ce8b3ebeb3d5e55719f7a05f2c3accab624532ede40a0fd9b07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "034afd879bf90ce8b3ebeb3d5e55719f7a05f2c3accab624532ede40a0fd9b07", kill_on_drop: false }` [INFO] [stdout] 034afd879bf90ce8b3ebeb3d5e55719f7a05f2c3accab624532ede40a0fd9b07