[INFO] cloning repository https://github.com/VilleOlof/pale
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VilleOlof/pale" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVilleOlof%2Fpale", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVilleOlof%2Fpale'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b6301d76baf11037dc5c3606a53c445f54185010
[INFO] testing VilleOlof/pale against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVilleOlof%2Fpale" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/VilleOlof/pale
[INFO] finished tweaking git repo https://github.com/VilleOlof/pale
[INFO] tweaked toml for git repo https://github.com/VilleOlof/pale written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/VilleOlof/pale on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/VilleOlof/pale 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.2.46
[INFO] [stderr]   Downloaded syn v2.0.110
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 891fbc22a61ab595c68a2cf12ccbee32e64b75587a8fde43ea674dcfe699966c
[INFO] running `Command { std: "docker" "start" "-a" "891fbc22a61ab595c68a2cf12ccbee32e64b75587a8fde43ea674dcfe699966c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "891fbc22a61ab595c68a2cf12ccbee32e64b75587a8fde43ea674dcfe699966c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "891fbc22a61ab595c68a2cf12ccbee32e64b75587a8fde43ea674dcfe699966c", kill_on_drop: false }`
[INFO] [stdout] 891fbc22a61ab595c68a2cf12ccbee32e64b75587a8fde43ea674dcfe699966c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f3d96cb49581a9de29735c6c2d11ae4ad5d17dcedc736501b3964855a55612d7
[INFO] running `Command { std: "docker" "start" "-a" "f3d96cb49581a9de29735c6c2d11ae4ad5d17dcedc736501b3964855a55612d7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling cc v1.2.46
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling tungstenite v0.28.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tokio-tungstenite v0.28.0
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling pale v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.96s
[INFO] running `Command { std: "docker" "inspect" "f3d96cb49581a9de29735c6c2d11ae4ad5d17dcedc736501b3964855a55612d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3d96cb49581a9de29735c6c2d11ae4ad5d17dcedc736501b3964855a55612d7", kill_on_drop: false }`
[INFO] [stdout] f3d96cb49581a9de29735c6c2d11ae4ad5d17dcedc736501b3964855a55612d7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5181a7c62fb4fd8cf5f6833a3cdd1e029b8ff782e59c3f95a52e0d95418ee205
[INFO] running `Command { std: "docker" "start" "-a" "5181a7c62fb4fd8cf5f6833a3cdd1e029b8ff782e59c3f95a52e0d95418ee205", kill_on_drop: false }`
[INFO] [stderr]    Compiling pale v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.90s
[INFO] running `Command { std: "docker" "inspect" "5181a7c62fb4fd8cf5f6833a3cdd1e029b8ff782e59c3f95a52e0d95418ee205", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5181a7c62fb4fd8cf5f6833a3cdd1e029b8ff782e59c3f95a52e0d95418ee205", kill_on_drop: false }`
[INFO] [stdout] 5181a7c62fb4fd8cf5f6833a3cdd1e029b8ff782e59c3f95a52e0d95418ee205
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 928b031d48f3ea20814219d2333e7e1a8b839a0e89b7ef79edbaa523a8dad49f
[INFO] running `Command { std: "docker" "start" "-a" "928b031d48f3ea20814219d2333e7e1a8b839a0e89b7ef79edbaa523a8dad49f", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pale-96c67397ad2d217f)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests pale
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/client.rs - client::Client::new_without_connection (line 105) - compile ... FAILED
[INFO] [stdout] test src/request.rs - request::Client::subscribe (line 68) - compile ... FAILED
[INFO] [stdout] test src/macros.rs - macros::params (line 7) - compile ... FAILED
[INFO] [stdout] test src/../readme.md - (line 13) ... FAILED
[INFO] [stdout] test src/request.rs - request::Client::request (line 16) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::connect (line 211) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::wait_for_connection (line 174) - compile ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::new (line 87) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/client.rs - client::Client::new_without_connection (line 105) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client`
[INFO] [stdout]    --> src/client.rs:106:1
[INFO] [stdout]     |
[INFO] [stdout] 106 | Client::new_without_connection("ws://example.com", ClientConfig::default()).await?;
[INFO] [stdout]     | ^^^^^^ use of undeclared type `Client`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 105 + use pale::Client;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientConfig`
[INFO] [stdout]    --> src/client.rs:106:52
[INFO] [stdout]     |
[INFO] [stdout] 106 | Client::new_without_connection("ws://example.com", ClientConfig::default()).await?;
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^ use of undeclared type `ClientConfig`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 105 + use pale::ClientConfig;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/client.rs:106:77
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_105_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] 106 | Client::new_without_connection("ws://example.com", ClientConfig::default()).await?;
[INFO] [stdout]     |                                                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/request.rs - request::Client::subscribe (line 68) stdout ----
[INFO] [stdout] error: `match` arm body without braces
[INFO] [stdout]   --> src/request.rs:73:23
[INFO] [stdout]    |
[INFO] [stdout] 73 |         Some(data) => println!("{data}");
[INFO] [stdout]    |                    -- ^^^^^^^^^^^^^^^^^^ this statement is not surrounded by a body
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    while parsing the `match` arm starting here
[INFO] [stdout]    |
[INFO] [stdout] help: replace `;` with `,` to end a `match` arm expression
[INFO] [stdout]    |
[INFO] [stdout] 73 -         Some(data) => println!("{data}");
[INFO] [stdout] 73 +         Some(data) => println!("{data}"),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]   --> src/request.rs:69:20
[INFO] [stdout]    |
[INFO] [stdout] 69 | let subscription = client.subscribe::<i32>("method:notification/endpoint").await?;
[INFO] [stdout]    |                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/request.rs:69:76
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_request_rs_68_0() {
[INFO] [stdout]    |                                      -------------------------------------- this is not `async`
[INFO] [stdout] 69 | let subscription = client.subscribe::<i32>("method:notification/endpoint").await?;
[INFO] [stdout]    |                                                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/request.rs:71:44
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_request_rs_68_0() {
[INFO] [stdout]    |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 71 | while let Some(data) = subscription.next().await {
[INFO] [stdout]    |                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/macros.rs - macros::params (line 7) stdout ----
[INFO] [stdout] error: cannot find macro `params` in this scope
[INFO] [stdout]  --> src/macros.rs:9:54
[INFO] [stdout]   |
[INFO] [stdout] 9 | let data = client.request::<usize>("example/method", params![("filter", 81)]).await?;
[INFO] [stdout]   |                                                      ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 7 + use pale::params;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client`
[INFO] [stdout]  --> src/macros.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | let client = Client::new("ws://localhost:5281", ClientConfig::default()).await?;
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Client`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 7 + use pale::Client;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientConfig`
[INFO] [stdout]  --> src/macros.rs:8:49
[INFO] [stdout]   |
[INFO] [stdout] 8 | let client = Client::new("ws://localhost:5281", ClientConfig::default()).await?;
[INFO] [stdout]   |                                                 ^^^^^^^^^^^^ use of undeclared type `ClientConfig`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 7 + use pale::ClientConfig;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/macros.rs:8:74
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_rs_7_0() {
[INFO] [stdout]   |                                      ------------------------------------ this is not `async`
[INFO] [stdout] 8 | let client = Client::new("ws://localhost:5281", ClientConfig::default()).await?;
[INFO] [stdout]   |                                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/macros.rs:9:79
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_rs_7_0() {
[INFO] [stdout]   |                                      ------------------------------------ this is not `async`
[INFO] [stdout] 8 | let client = Client::new("ws://localhost:5281", ClientConfig::default()).await?;
[INFO] [stdout] 9 | let data = client.request::<usize>("example/method", params![("filter", 81)]).await?;
[INFO] [stdout]   |                                                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/../readme.md - (line 13) stdout ----
[INFO] [stdout] error: cannot find macro `params` in this scope
[INFO] [stdout]   --> src/../readme.md:18:57
[INFO] [stdout]    |
[INFO] [stdout] 18 | let data = client.request::<Vec<i32>>("example/method", params![("param_name", true)]).await?;
[INFO] [stdout]    |                                                         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 13 + use pale::params;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client`
[INFO] [stdout]   --> src/../readme.md:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | let client = Client::new("ws://example.com", ClientConfig::default()).await?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Client`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 13 + use pale::Client;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientConfig`
[INFO] [stdout]   --> src/../readme.md:15:46
[INFO] [stdout]    |
[INFO] [stdout] 15 | let client = Client::new("ws://example.com", ClientConfig::default()).await?;
[INFO] [stdout]    |                                              ^^^^^^^^^^^^ use of undeclared type `ClientConfig`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 13 + use pale::ClientConfig;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../readme.md:15:71
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____readme_md_13_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] 14 | // create & connect a client
[INFO] [stdout] 15 | let client = Client::new("ws://example.com", ClientConfig::default()).await?;
[INFO] [stdout]    |                                                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../readme.md:18:88
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____readme_md_13_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 18 | let data = client.request::<Vec<i32>>("example/method", params![("param_name", true)]).await?;
[INFO] [stdout]    |                                                                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../readme.md:21:66
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____readme_md_13_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 21 | let mut sub = client.subscribe::<String>("example/notification").await?;
[INFO] [stdout]    |                                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/../readme.md:22:35
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____readme_md_13_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 22 | while let Some(data) = sub.next().await {
[INFO] [stdout]    |                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/request.rs - request::Client::request (line 16) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]   --> src/request.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | let data = client.request::<i32>("method/endpoint", None).await?;
[INFO] [stdout]    |            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/request.rs:17:59
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_request_rs_16_0() {
[INFO] [stdout]    |                                      -------------------------------------- this is not `async`
[INFO] [stdout] 17 | let data = client.request::<i32>("method/endpoint", None).await?;
[INFO] [stdout]    |                                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::Client::connect (line 211) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/client.rs:213:1
[INFO] [stdout]     |
[INFO] [stdout] 213 | client.close().await?;
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/client.rs:214:1
[INFO] [stdout]     |
[INFO] [stdout] 214 | client.wait_for_connection(false).await?;
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/client.rs:216:1
[INFO] [stdout]     |
[INFO] [stdout] 216 | client.connect().await?;
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/client.rs:213:16
[INFO] [stdout]     |
[INFO] [stdout] 211 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_211_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] 212 | // the client is normally connected upon creation so we close it first.  
[INFO] [stdout] 213 | client.close().await?;
[INFO] [stdout]     |                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/client.rs:214:35
[INFO] [stdout]     |
[INFO] [stdout] 211 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_211_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 214 | client.wait_for_connection(false).await?;
[INFO] [stdout]     |                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/client.rs:216:18
[INFO] [stdout]     |
[INFO] [stdout] 211 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_211_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 216 | client.connect().await?;
[INFO] [stdout]     |                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::Client::wait_for_connection (line 174) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/client.rs:176:1
[INFO] [stdout]     |
[INFO] [stdout] 176 | client.wait_for_connection(true).await;
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/client.rs:179:1
[INFO] [stdout]     |
[INFO] [stdout] 179 | client.wait_for_connection(false).await;
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/client.rs:176:34
[INFO] [stdout]     |
[INFO] [stdout] 174 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_174_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] 175 | // waits for the underlying connection to be ready & connected
[INFO] [stdout] 176 | client.wait_for_connection(true).await;
[INFO] [stdout]     |                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/client.rs:179:35
[INFO] [stdout]     |
[INFO] [stdout] 174 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_174_0() {
[INFO] [stdout]     |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 179 | client.wait_for_connection(false).await;
[INFO] [stdout]     |                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::Client::new (line 87) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client`
[INFO] [stdout]   --> src/client.rs:89:14
[INFO] [stdout]    |
[INFO] [stdout] 89 | let client = Client::new("ws://example.com", ClientConfig::default()).await?;
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Client`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 87 + use pale::Client;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientConfig`
[INFO] [stdout]   --> src/client.rs:89:46
[INFO] [stdout]    |
[INFO] [stdout] 89 | let client = Client::new("ws://example.com", ClientConfig::default()).await?;
[INFO] [stdout]    |                                              ^^^^^^^^^^^^ use of undeclared type `ClientConfig`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 87 + use pale::ClientConfig;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]   --> src/client.rs:91:61
[INFO] [stdout]    |
[INFO] [stdout] 91 | let data = client.request::<Vec<String>>("method/endpoint", HashMap::new()).await?;
[INFO] [stdout]    |                                                             ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 87 + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/client.rs:89:71
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_87_0() {
[INFO] [stdout]    |                                      ------------------------------------- this is not `async`
[INFO] [stdout] 88 | // Creates a new client
[INFO] [stdout] 89 | let client = Client::new("ws://example.com", ClientConfig::default()).await?;
[INFO] [stdout]    |                                                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/client.rs:91:77
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_87_0() {
[INFO] [stdout]    |                                      ------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 91 | let data = client.request::<Vec<String>>("method/endpoint", HashMap::new()).await?;
[INFO] [stdout]    |                                                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/../readme.md - (line 13)
[INFO] [stdout]     src/client.rs - client::Client::connect (line 211)
[INFO] [stdout]     src/client.rs - client::Client::new (line 87)
[INFO] [stdout]     src/client.rs - client::Client::new_without_connection (line 105)
[INFO] [stdout]     src/client.rs - client::Client::wait_for_connection (line 174)
[INFO] [stdout]     src/macros.rs - macros::params (line 7)
[INFO] [stdout]     src/request.rs - request::Client::request (line 16)
[INFO] [stdout]     src/request.rs - request::Client::subscribe (line 68)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.49s; merged doctests compilation took 0.18s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "928b031d48f3ea20814219d2333e7e1a8b839a0e89b7ef79edbaa523a8dad49f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "928b031d48f3ea20814219d2333e7e1a8b839a0e89b7ef79edbaa523a8dad49f", kill_on_drop: false }`
[INFO] [stdout] 928b031d48f3ea20814219d2333e7e1a8b839a0e89b7ef79edbaa523a8dad49f
