[INFO] fetching crate socketeer 0.2.0... [INFO] testing socketeer-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate socketeer 0.2.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate socketeer 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate socketeer 0.2.0 [INFO] tweaked toml for crates.io crate socketeer 0.2.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate socketeer 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate socketeer 0.2.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aaf3864e4897b106060548f14c9c40357b410d3f5585e693a97c63f1518ddea6 [INFO] running `Command { std: "docker" "start" "-a" "aaf3864e4897b106060548f14c9c40357b410d3f5585e693a97c63f1518ddea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aaf3864e4897b106060548f14c9c40357b410d3f5585e693a97c63f1518ddea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaf3864e4897b106060548f14c9c40357b410d3f5585e693a97c63f1518ddea6", kill_on_drop: false }` [INFO] [stdout] aaf3864e4897b106060548f14c9c40357b410d3f5585e693a97c63f1518ddea6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee0684b09c61cbb84d2ca76b496e8db8706dbfe42b2e9276cfca54ad60941982 [INFO] running `Command { std: "docker" "start" "-a" "ee0684b09c61cbb84d2ca76b496e8db8706dbfe42b2e9276cfca54ad60941982", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling cc v1.2.43 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling socketeer v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.93s [INFO] running `Command { std: "docker" "inspect" "ee0684b09c61cbb84d2ca76b496e8db8706dbfe42b2e9276cfca54ad60941982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee0684b09c61cbb84d2ca76b496e8db8706dbfe42b2e9276cfca54ad60941982", kill_on_drop: false }` [INFO] [stdout] ee0684b09c61cbb84d2ca76b496e8db8706dbfe42b2e9276cfca54ad60941982 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25fd42d52c97d98a10acf0d8b2f83379ccaf4355bef576f00663a27f78df4c61 [INFO] running `Command { std: "docker" "start" "-a" "25fd42d52c97d98a10acf0d8b2f83379ccaf4355bef576f00663a27f78df4c61", kill_on_drop: false }` [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling socketeer v0.2.0 (/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:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / socketeer [INFO] [stdout] 23 | | .send(EchoControlMessage::Message("Hello, world!".to_string())) [INFO] [stdout] 24 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/echo_chat.rs:27:20 [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:5 [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:338:48 [INFO] [stdout] | [INFO] [stdout] 338 | 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:343:47 [INFO] [stdout] | [INFO] [stdout] 343 | 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:344:35 [INFO] [stdout] | [INFO] [stdout] 344 | 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] 342 | 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:344:55 [INFO] [stdout] | [INFO] [stdout] 344 | 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] 342 | 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:352:37 [INFO] [stdout] | [INFO] [stdout] 352 | 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] 351 | 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:352:57 [INFO] [stdout] | [INFO] [stdout] 352 | 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] 351 | 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:359:47 [INFO] [stdout] | [INFO] [stdout] 359 | 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:360:38 [INFO] [stdout] | [INFO] [stdout] 360 | 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] 358 | 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:360:58 [INFO] [stdout] | [INFO] [stdout] 360 | 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] 358 | 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:372:47 [INFO] [stdout] | [INFO] [stdout] 372 | 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:373:38 [INFO] [stdout] | [INFO] [stdout] 373 | 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] 371 | 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:373:58 [INFO] [stdout] | [INFO] [stdout] 373 | 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] 371 | 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:392:47 [INFO] [stdout] | [INFO] [stdout] 392 | 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:393:38 [INFO] [stdout] | [INFO] [stdout] 393 | 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] 391 | 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:393:58 [INFO] [stdout] | [INFO] [stdout] 393 | 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] 391 | 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:411:47 [INFO] [stdout] | [INFO] [stdout] 411 | 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:412:38 [INFO] [stdout] | [INFO] [stdout] 412 | 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] 410 | 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:412:58 [INFO] [stdout] | [INFO] [stdout] 412 | 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] 410 | 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:429:47 [INFO] [stdout] | [INFO] [stdout] 429 | 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:430:34 [INFO] [stdout] | [INFO] [stdout] 430 | 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] 428 | 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:430:54 [INFO] [stdout] | [INFO] [stdout] 430 | 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] 428 | 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:338:31 [INFO] [stdout] | [INFO] [stdout] 338 | 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:343:30 [INFO] [stdout] | [INFO] [stdout] 343 | 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:359:30 [INFO] [stdout] | [INFO] [stdout] 359 | 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:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | 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:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | 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:366:32 [INFO] [stdout] | [INFO] [stdout] 366 | 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:372:30 [INFO] [stdout] | [INFO] [stdout] 372 | 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:377:28 [INFO] [stdout] | [INFO] [stdout] 377 | 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:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | 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:380:23 [INFO] [stdout] | [INFO] [stdout] 380 | 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:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | 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:382:32 [INFO] [stdout] | [INFO] [stdout] 382 | 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:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | 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:392:30 [INFO] [stdout] | [INFO] [stdout] 392 | 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:397:23 [INFO] [stdout] | [INFO] [stdout] 397 | 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:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | 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:399:32 [INFO] [stdout] | [INFO] [stdout] 399 | 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:401:21 [INFO] [stdout] | [INFO] [stdout] 401 | 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:402:23 [INFO] [stdout] | [INFO] [stdout] 402 | 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:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | 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:404:32 [INFO] [stdout] | [INFO] [stdout] 404 | 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:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | 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:411:30 [INFO] [stdout] | [INFO] [stdout] 411 | 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:416:29 [INFO] [stdout] | [INFO] [stdout] 416 | 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:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | 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:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | let response = socketeer.next_message().await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 419 | 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] 418 | 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:420:13 [INFO] [stdout] | [INFO] [stdout] 420 | let send_result = socketeer.send(close_request).await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 421 | 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] 420 | 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:429:30 [INFO] [stdout] | [INFO] [stdout] 429 | 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:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | 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" "25fd42d52c97d98a10acf0d8b2f83379ccaf4355bef576f00663a27f78df4c61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25fd42d52c97d98a10acf0d8b2f83379ccaf4355bef576f00663a27f78df4c61", kill_on_drop: false }` [INFO] [stdout] 25fd42d52c97d98a10acf0d8b2f83379ccaf4355bef576f00663a27f78df4c61