[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#804fff1ae95da9d03bd44eee27f258020a575dab for pr-146013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftpoel%2Ffastwebsockets" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tpoel/fastwebsockets on toolchain 804fff1ae95da9d03bd44eee27f258020a575dab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "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" "+804fff1ae95da9d03bd44eee27f258020a575dab" "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] 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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 666466363d883d0643a2ef2905bf97888d66dd6bfc5c0e07e22c72134d19c713 [INFO] running `Command { std: "docker" "start" "-a" "666466363d883d0643a2ef2905bf97888d66dd6bfc5c0e07e22c72134d19c713", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "666466363d883d0643a2ef2905bf97888d66dd6bfc5c0e07e22c72134d19c713", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "666466363d883d0643a2ef2905bf97888d66dd6bfc5c0e07e22c72134d19c713", kill_on_drop: false }` [INFO] [stdout] 666466363d883d0643a2ef2905bf97888d66dd6bfc5c0e07e22c72134d19c713 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1bbc6c801600d8c54904dee1af0a1067ae74faec50471e095c6199aea9175ed [INFO] running `Command { std: "docker" "start" "-a" "e1bbc6c801600d8c54904dee1af0a1067ae74faec50471e095c6199aea9175ed", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Compiling trybuild v1.0.89 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking simdutf8 v0.1.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Compiling assert2-macros v0.3.11 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [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 regex v1.10.2 [INFO] [stderr] Checking http-body-util v0.1.0 [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 assert2 v0.3.11 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking rustls-webpki v0.100.3 [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] --> 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::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::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::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::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[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[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[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[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 `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 `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] 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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fastwebsockets` (example "tls_server") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `fastwebsockets` (example "echo_server_split") due to 2 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fastwebsockets` (test "split") due to 6 previous errors [INFO] [stderr] error: could not compile `fastwebsockets` (test "concurrency") due to 3 previous errors [INFO] [stderr] error: could not compile `fastwebsockets` (test "upgrade") due to 4 previous errors [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] running `Command { std: "docker" "inspect" "e1bbc6c801600d8c54904dee1af0a1067ae74faec50471e095c6199aea9175ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1bbc6c801600d8c54904dee1af0a1067ae74faec50471e095c6199aea9175ed", kill_on_drop: false }` [INFO] [stdout] e1bbc6c801600d8c54904dee1af0a1067ae74faec50471e095c6199aea9175ed