[INFO] fetching crate socketeer 0.1.1... [INFO] building socketeer-0.1.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate socketeer 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate socketeer 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate socketeer 0.1.1 [INFO] tweaked toml for crates.io crate socketeer 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate socketeer 0.1.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate socketeer 0.1.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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tungstenite v0.26.2 [INFO] [stderr] Downloaded tokio-tungstenite v0.26.2 [INFO] [stderr] Downloaded openssl-sys v0.9.106 [INFO] [stderr] Downloaded openssl v0.10.71 [INFO] [stderr] Downloaded tokio v1.44.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 867b8a9f022532960dc5c128ca849879e50ddfb0d7c0dba0fcbf2706e3ab6065 [INFO] running `Command { std: "docker" "start" "-a" "867b8a9f022532960dc5c128ca849879e50ddfb0d7c0dba0fcbf2706e3ab6065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "867b8a9f022532960dc5c128ca849879e50ddfb0d7c0dba0fcbf2706e3ab6065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "867b8a9f022532960dc5c128ca849879e50ddfb0d7c0dba0fcbf2706e3ab6065", kill_on_drop: false }` [INFO] [stdout] 867b8a9f022532960dc5c128ca849879e50ddfb0d7c0dba0fcbf2706e3ab6065 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78f1591b74a22db53d9638d1907761be0a56377136768d102d088bfcc07584f1 [INFO] running `Command { std: "docker" "start" "-a" "78f1591b74a22db53d9638d1907761be0a56377136768d102d088bfcc07584f1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling socketeer v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.18s [INFO] running `Command { std: "docker" "inspect" "78f1591b74a22db53d9638d1907761be0a56377136768d102d088bfcc07584f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78f1591b74a22db53d9638d1907761be0a56377136768d102d088bfcc07584f1", kill_on_drop: false }` [INFO] [stdout] 78f1591b74a22db53d9638d1907761be0a56377136768d102d088bfcc07584f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea32caa7a80feb23413405bb8d594c1ec806d1a6bd3fa6e261ab7eb670c2f4d3 [INFO] running `Command { std: "docker" "start" "-a" "ea32caa7a80feb23413405bb8d594c1ec806d1a6bd3fa6e261ab7eb670c2f4d3", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling socketeer v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `socketeer::EchoControlMessage`, `socketeer::echo_server`, `socketeer::get_mock_address` [INFO] [stdout] --> examples/echo_chat.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use socketeer::{EchoControlMessage, Socketeer, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `get_mock_address` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `echo_server` in the root [INFO] [stdout] | no `EchoControlMessage` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing` [INFO] [stdout] --> examples/echo_chat.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | .with_max_level(tracing::Level::TRACE) [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing`, use `cargo add tracing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing` [INFO] [stdout] --> examples/echo_chat.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | tracing::subscriber::set_global_default(subscriber).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing`, use `cargo add tracing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/echo_chat.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/echo_chat.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | let response = socketeer.next_message().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/echo_chat.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | socketeer.close_connection().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] [stderr] error: could not compile `socketeer` (example "echo_chat") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `echo_server` in this scope [INFO] [stdout] --> src/lib.rs:336:48 [INFO] [stdout] | [INFO] [stdout] 336 | let _server_address = get_mock_address(echo_server).await; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `echo_server` in this scope [INFO] [stdout] --> src/lib.rs:341:47 [INFO] [stdout] | [INFO] [stdout] 341 | let server_address = get_mock_address(echo_server).await; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EchoControlMessage` in this scope [INFO] [stdout] --> src/lib.rs:342:35 [INFO] [stdout] | [INFO] [stdout] 342 | let _socketeer: Socketeer = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 340 | async fn test_connection() { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EchoControlMessage` in this scope [INFO] [stdout] --> src/lib.rs:342:55 [INFO] [stdout] | [INFO] [stdout] 342 | let _socketeer: Socketeer = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 340 | async fn test_connection() { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EchoControlMessage` in this scope [INFO] [stdout] --> src/lib.rs:350:37 [INFO] [stdout] | [INFO] [stdout] 350 | let error: Result, Error> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 349 | async fn test_bad_url() { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EchoControlMessage` in this scope [INFO] [stdout] --> src/lib.rs:350:57 [INFO] [stdout] | [INFO] [stdout] 350 | let error: Result, Error> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 349 | async fn test_bad_url() { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `echo_server` in this scope [INFO] [stdout] --> src/lib.rs:357:47 [INFO] [stdout] | [INFO] [stdout] 357 | let server_address = get_mock_address(echo_server).await; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EchoControlMessage` in this scope [INFO] [stdout] --> src/lib.rs:358:38 [INFO] [stdout] | [INFO] [stdout] 358 | let mut socketeer: Socketeer = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 356 | async fn test_send_receive() { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EchoControlMessage` in this scope [INFO] [stdout] --> src/lib.rs:358:58 [INFO] [stdout] | [INFO] [stdout] 358 | let mut socketeer: Socketeer = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 356 | async fn test_send_receive() { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `echo_server` in this scope [INFO] [stdout] --> src/lib.rs:370:47 [INFO] [stdout] | [INFO] [stdout] 370 | let server_address = get_mock_address(echo_server).await; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EchoControlMessage` in this scope [INFO] [stdout] --> src/lib.rs:371:38 [INFO] [stdout] | [INFO] [stdout] 371 | let mut socketeer: Socketeer = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 369 | async fn test_ping_request() { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EchoControlMessage` in this scope [INFO] [stdout] --> src/lib.rs:371:58 [INFO] [stdout] | [INFO] [stdout] 371 | let mut socketeer: Socketeer = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 369 | async fn test_ping_request() { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `echo_server` in this scope [INFO] [stdout] --> src/lib.rs:390:47 [INFO] [stdout] | [INFO] [stdout] 390 | let server_address = get_mock_address(echo_server).await; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EchoControlMessage` in this scope [INFO] [stdout] --> src/lib.rs:391:38 [INFO] [stdout] | [INFO] [stdout] 391 | let mut socketeer: Socketeer = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 389 | async fn test_reconnection() { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EchoControlMessage` in this scope [INFO] [stdout] --> src/lib.rs:391:58 [INFO] [stdout] | [INFO] [stdout] 391 | let mut socketeer: Socketeer = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 389 | async fn test_reconnection() { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `echo_server` in this scope [INFO] [stdout] --> src/lib.rs:409:47 [INFO] [stdout] | [INFO] [stdout] 409 | let server_address = get_mock_address(echo_server).await; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EchoControlMessage` in this scope [INFO] [stdout] --> src/lib.rs:410:38 [INFO] [stdout] | [INFO] [stdout] 410 | let mut socketeer: Socketeer = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 408 | async fn test_closed_socket() { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EchoControlMessage` in this scope [INFO] [stdout] --> src/lib.rs:410:58 [INFO] [stdout] | [INFO] [stdout] 410 | let mut socketeer: Socketeer = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 408 | async fn test_closed_socket() { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `echo_server` in this scope [INFO] [stdout] --> src/lib.rs:427:47 [INFO] [stdout] | [INFO] [stdout] 427 | let server_address = get_mock_address(echo_server).await; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EchoControlMessage` in this scope [INFO] [stdout] --> src/lib.rs:428:34 [INFO] [stdout] | [INFO] [stdout] 428 | let socketeer: Socketeer = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 426 | async fn test_close_request() { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EchoControlMessage` in this scope [INFO] [stdout] --> src/lib.rs:428:54 [INFO] [stdout] | [INFO] [stdout] 428 | let socketeer: Socketeer = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 426 | async fn test_close_request() { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_mock_address` in this scope [INFO] [stdout] --> src/lib.rs:336:31 [INFO] [stdout] | [INFO] [stdout] 336 | let _server_address = get_mock_address(echo_server).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_mock_address` in this scope [INFO] [stdout] --> src/lib.rs:341:30 [INFO] [stdout] | [INFO] [stdout] 341 | let server_address = get_mock_address(echo_server).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_mock_address` in this scope [INFO] [stdout] --> src/lib.rs:357:30 [INFO] [stdout] | [INFO] [stdout] 357 | let server_address = get_mock_address(echo_server).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EchoControlMessage` [INFO] [stdout] --> src/lib.rs:362:23 [INFO] [stdout] | [INFO] [stdout] 362 | let message = EchoControlMessage::Message("Hello".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `EchoControlMessage` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:363:47 [INFO] [stdout] | [INFO] [stdout] 363 | socketeer.send(message.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:364:63 [INFO] [stdout] | [INFO] [stdout] 364 | let received_message = socketeer.next_message().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_mock_address` in this scope [INFO] [stdout] --> src/lib.rs:370:30 [INFO] [stdout] | [INFO] [stdout] 370 | let server_address = get_mock_address(echo_server).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EchoControlMessage` [INFO] [stdout] --> src/lib.rs:375:28 [INFO] [stdout] | [INFO] [stdout] 375 | let ping_request = EchoControlMessage::SendPing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `EchoControlMessage` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:376:44 [INFO] [stdout] | [INFO] [stdout] 376 | socketeer.send(ping_request).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EchoControlMessage` [INFO] [stdout] --> src/lib.rs:378:23 [INFO] [stdout] | [INFO] [stdout] 378 | let message = EchoControlMessage::Message("Hello".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `EchoControlMessage` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:379:47 [INFO] [stdout] | [INFO] [stdout] 379 | socketeer.send(message.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:380:63 [INFO] [stdout] | [INFO] [stdout] 380 | let received_message = socketeer.next_message().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:385:44 [INFO] [stdout] | [INFO] [stdout] 385 | socketeer.close_connection().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_mock_address` in this scope [INFO] [stdout] --> src/lib.rs:390:30 [INFO] [stdout] | [INFO] [stdout] 390 | let server_address = get_mock_address(echo_server).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EchoControlMessage` [INFO] [stdout] --> src/lib.rs:395:23 [INFO] [stdout] | [INFO] [stdout] 395 | let message = EchoControlMessage::Message("Hello".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `EchoControlMessage` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:396:47 [INFO] [stdout] | [INFO] [stdout] 396 | socketeer.send(message.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:397:63 [INFO] [stdout] | [INFO] [stdout] 397 | let received_message = socketeer.next_message().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:399:49 [INFO] [stdout] | [INFO] [stdout] 399 | socketeer = socketeer.reconnect().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EchoControlMessage` [INFO] [stdout] --> src/lib.rs:400:23 [INFO] [stdout] | [INFO] [stdout] 400 | let message = EchoControlMessage::Message("Hello".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `EchoControlMessage` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:401:47 [INFO] [stdout] | [INFO] [stdout] 401 | socketeer.send(message.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:402:63 [INFO] [stdout] | [INFO] [stdout] 402 | let received_message = socketeer.next_message().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:404:44 [INFO] [stdout] | [INFO] [stdout] 404 | socketeer.close_connection().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_mock_address` in this scope [INFO] [stdout] --> src/lib.rs:409:30 [INFO] [stdout] | [INFO] [stdout] 409 | let server_address = get_mock_address(echo_server).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EchoControlMessage` [INFO] [stdout] --> src/lib.rs:414:29 [INFO] [stdout] | [INFO] [stdout] 414 | let close_request = EchoControlMessage::Close; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `EchoControlMessage` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:415:53 [INFO] [stdout] | [INFO] [stdout] 415 | socketeer.send(close_request.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:416:13 [INFO] [stdout] | [INFO] [stdout] 416 | let response = socketeer.next_message().await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 417 | assert!(matches!(response.unwrap_err(), Error::WebsocketClosed)); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 416 | let response: /* Type */ = socketeer.next_message().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | let send_result = socketeer.send(close_request).await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 419 | assert!(send_result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `send_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 418 | let send_result: /* Type */ = socketeer.send(close_request).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_mock_address` in this scope [INFO] [stdout] --> src/lib.rs:427:30 [INFO] [stdout] | [INFO] [stdout] 427 | let server_address = get_mock_address(echo_server).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "mocking")] [INFO] [stdout] | ------------------- the item is gated behind the `mocking` feature [INFO] [stdout] 7 | pub use mock_server::{EchoControlMessage, echo_server, get_mock_address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:432:44 [INFO] [stdout] | [INFO] [stdout] 432 | socketeer.close_connection().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `socketeer` (lib test) due to 50 previous errors [INFO] running `Command { std: "docker" "inspect" "ea32caa7a80feb23413405bb8d594c1ec806d1a6bd3fa6e261ab7eb670c2f4d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea32caa7a80feb23413405bb8d594c1ec806d1a6bd3fa6e261ab7eb670c2f4d3", kill_on_drop: false }` [INFO] [stdout] ea32caa7a80feb23413405bb8d594c1ec806d1a6bd3fa6e261ab7eb670c2f4d3