[INFO] fetching crate cdp-rs 0.3.3...
[INFO] testing cdp-rs-0.3.3 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate cdp-rs 0.3.3 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate cdp-rs 0.3.3
[INFO] finished tweaking crates.io crate cdp-rs 0.3.3
[INFO] tweaked toml for crates.io crate cdp-rs 0.3.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate cdp-rs 0.3.3 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 177 packages to latest compatible versions
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.13.1)
[INFO] [stderr]       Adding tungstenite v0.17.3 (available: v0.28.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 65f7d51f2ee81118b5a2c1adc35a549c92014b0412e97b5a822006c231fc3447
[INFO] running `Command { std: "docker" "start" "-a" "65f7d51f2ee81118b5a2c1adc35a549c92014b0412e97b5a822006c231fc3447", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "65f7d51f2ee81118b5a2c1adc35a549c92014b0412e97b5a822006c231fc3447", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "65f7d51f2ee81118b5a2c1adc35a549c92014b0412e97b5a822006c231fc3447", kill_on_drop: false }`
[INFO] [stdout] 65f7d51f2ee81118b5a2c1adc35a549c92014b0412e97b5a822006c231fc3447
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8fcec1d47e56b7a90277e637b58241d79988398423039a759dc551eb51e4dc3c
[INFO] running `Command { std: "docker" "start" "-a" "8fcec1d47e56b7a90277e637b58241d79988398423039a759dc551eb51e4dc3c", kill_on_drop: false }`
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling sha-1 v0.10.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tungstenite v0.17.3
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling cdp-rs v0.3.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.36s
[INFO] running `Command { std: "docker" "inspect" "8fcec1d47e56b7a90277e637b58241d79988398423039a759dc551eb51e4dc3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8fcec1d47e56b7a90277e637b58241d79988398423039a759dc551eb51e4dc3c", kill_on_drop: false }`
[INFO] [stdout] 8fcec1d47e56b7a90277e637b58241d79988398423039a759dc551eb51e4dc3c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7b1d54e64b54950a3ff117843a992ccc7a0456dc9bf166e46d1cda31090ed932
[INFO] running `Command { std: "docker" "start" "-a" "7b1d54e64b54950a3ff117843a992ccc7a0456dc9bf166e46d1cda31090ed932", kill_on_drop: false }`
[INFO] [stderr]    Compiling cdp-rs v0.3.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s
[INFO] running `Command { std: "docker" "inspect" "7b1d54e64b54950a3ff117843a992ccc7a0456dc9bf166e46d1cda31090ed932", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b1d54e64b54950a3ff117843a992ccc7a0456dc9bf166e46d1cda31090ed932", kill_on_drop: false }`
[INFO] [stdout] 7b1d54e64b54950a3ff117843a992ccc7a0456dc9bf166e46d1cda31090ed932
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2dda7c992322ab6a9e915482467db6231fee60e310074aa6979da94e9a484552
[INFO] running `Command { std: "docker" "start" "-a" "2dda7c992322ab6a9e915482467db6231fee60e310074aa6979da94e9a484552", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cdp_rs-cc784ceb1790e6f2)
[INFO] [stderr]    Doc-tests cdp_rs
[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] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test src/lib.rs - CdpClient::connect_to_target (line 92) ... FAILED
[INFO] [stdout] test src/lib.rs - CdpConnection::wait_event (line 242) ... FAILED
[INFO] [stdout] test src/lib.rs - CdpConnection::send (line 182) ... FAILED
[INFO] [stdout] test src/lib.rs - CdpConnection::wait_message (line 220) ... FAILED
[INFO] [stdout] test src/lib.rs - CdpConnection::wait_for (line 264) ... FAILED
[INFO] [stdout] test src/lib.rs - CdpClient::connect_to_tab (line 112) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - CdpClient::connect_to_target (line 92) stdout ----
[INFO] [stdout] error: cannot find macro `parms` in this scope
[INFO] [stdout]   --> src/lib.rs:98:48
[INFO] [stdout]    |
[INFO] [stdout] 98 | if let Ok(r) = cdp.send("Target.createTarget", parms!("url", "https://www.google.com")) {
[INFO] [stdout]    |                                                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 91 + use cdp_rs::parms;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send` found for enum `Result<T, E>` in the current scope
[INFO] [stdout]    --> src/lib.rs:98:20
[INFO] [stdout]     |
[INFO] [stdout]  98 | if let Ok(r) = cdp.send("Target.createTarget", parms!("url", "https://www.google.com")) {
[INFO] [stdout]     |                    ^^^^ method not found in `Result<CdpConnection, ClientError>`
[INFO] [stdout]     |
[INFO] [stdout] note: the method `send` exists on the type `CdpConnection`
[INFO] [stdout]    --> src/lib.rs:188:5
[INFO] [stdout]     |
[INFO] [stdout] 188 |     pub fn send(&mut self, method: &'static str, parms: Vec<(&'static str, MessageParameter)>) -> Result<Value, MessageError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `CdpConnection` value, panicking if the value is a `Result::Err`
[INFO] [stdout]     |
[INFO] [stdout]  98 | if let Ok(r) = cdp.expect("REASON").send("Target.createTarget", parms!("url", "https://www.google.com")) {
[INFO] [stdout]     |                   +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - CdpConnection::wait_event (line 242) stdout ----
[INFO] [stdout] error: cannot find macro `parms` in this scope
[INFO] [stdout]    --> src/lib.rs:247:28
[INFO] [stdout]     |
[INFO] [stdout] 247 | cdp.send("Network.enable", parms!()).unwrap();
[INFO] [stdout]     |                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 241 + use cdp_rs::parms;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send` found for enum `Result<T, E>` in the current scope
[INFO] [stdout]    --> src/lib.rs:247:5
[INFO] [stdout]     |
[INFO] [stdout] 247 | cdp.send("Network.enable", parms!()).unwrap();
[INFO] [stdout]     |     ^^^^ method not found in `Result<CdpConnection, ClientError>`
[INFO] [stdout]     |
[INFO] [stdout] note: the method `send` exists on the type `CdpConnection`
[INFO] [stdout]    --> src/lib.rs:188:5
[INFO] [stdout]     |
[INFO] [stdout] 188 |     pub fn send(&mut self, method: &'static str, parms: Vec<(&'static str, MessageParameter)>) -> Result<Value, MessageError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `CdpConnection` value, panicking if the value is a `Result::Err`
[INFO] [stdout]     |
[INFO] [stdout] 247 | cdp.expect("REASON").send("Network.enable", parms!()).unwrap();
[INFO] [stdout]     |    +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait_event` found for enum `Result<T, E>` in the current scope
[INFO] [stdout]    --> src/lib.rs:248:20
[INFO] [stdout]     |
[INFO] [stdout] 248 | let response = cdp.wait_event("Network.dataReceived", None);
[INFO] [stdout]     |                    ^^^^^^^^^^ method not found in `Result<CdpConnection, ClientError>`
[INFO] [stdout]     |
[INFO] [stdout] note: the method `wait_event` exists on the type `CdpConnection`
[INFO] [stdout]    --> src/lib.rs:249:5
[INFO] [stdout]     |
[INFO] [stdout] 249 |     pub fn wait_event(&mut self, event: &str, timeout: Option<Duration>) -> Result<Value, MessageError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `CdpConnection` value, panicking if the value is a `Result::Err`
[INFO] [stdout]     |
[INFO] [stdout] 248 | let response = cdp.expect("REASON").wait_event("Network.dataReceived", None);
[INFO] [stdout]     |                   +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - CdpConnection::send (line 182) stdout ----
[INFO] [stdout] error: cannot find macro `parms` in this scope
[INFO] [stdout]    --> src/lib.rs:187:32
[INFO] [stdout]     |
[INFO] [stdout] 187 | cdp.send("Network.getCookies", parms!("urls", vec!["https://www.google.com"]));
[INFO] [stdout]     |                                ^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 181 + use cdp_rs::parms;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send` found for enum `Result<T, E>` in the current scope
[INFO] [stdout]    --> src/lib.rs:187:5
[INFO] [stdout]     |
[INFO] [stdout] 187 | cdp.send("Network.getCookies", parms!("urls", vec!["https://www.google.com"]));
[INFO] [stdout]     |     ^^^^ method not found in `Result<CdpConnection, ClientError>`
[INFO] [stdout]     |
[INFO] [stdout] note: the method `send` exists on the type `CdpConnection`
[INFO] [stdout]    --> src/lib.rs:188:5
[INFO] [stdout]     |
[INFO] [stdout] 188 |     pub fn send(&mut self, method: &'static str, parms: Vec<(&'static str, MessageParameter)>) -> Result<Value, MessageError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `CdpConnection` value, panicking if the value is a `Result::Err`
[INFO] [stdout]     |
[INFO] [stdout] 187 | cdp.expect("REASON").send("Network.getCookies", parms!("urls", vec!["https://www.google.com"]));
[INFO] [stdout]     |    +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - CdpConnection::wait_message (line 220) stdout ----
[INFO] [stdout] error[E0599]: no method named `wait_message` found for enum `Result<T, E>` in the current scope
[INFO] [stdout]    --> src/lib.rs:225:20
[INFO] [stdout]     |
[INFO] [stdout] 225 | let response = cdp.wait_message();
[INFO] [stdout]     |                    ^^^^^^^^^^^^ method not found in `Result<CdpConnection, ClientError>`
[INFO] [stdout]     |
[INFO] [stdout] note: the method `wait_message` exists on the type `CdpConnection`
[INFO] [stdout]    --> src/lib.rs:226:5
[INFO] [stdout]     |
[INFO] [stdout] 226 |     pub fn wait_message(&mut self) -> Result<Value, MessageError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `CdpConnection` value, panicking if the value is a `Result::Err`
[INFO] [stdout]     |
[INFO] [stdout] 225 | let response = cdp.expect("REASON").wait_message();
[INFO] [stdout]     |                   +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - CdpConnection::wait_for (line 264) stdout ----
[INFO] [stdout] error[E0599]: no method named `wait_for` found for enum `Result<T, E>` in the current scope
[INFO] [stdout]    --> src/lib.rs:269:20
[INFO] [stdout]     |
[INFO] [stdout] 269 | let response = cdp.wait_for(|m| { m.get("result").is_some() });
[INFO] [stdout]     |                    ^^^^^^^^ method not found in `Result<CdpConnection, ClientError>`
[INFO] [stdout]     |
[INFO] [stdout] note: the method `wait_for` exists on the type `CdpConnection`
[INFO] [stdout]    --> src/lib.rs:270:5
[INFO] [stdout]     |
[INFO] [stdout] 270 | /     pub fn wait_for<F>(&mut self, timeout: Option<Duration>, f: F) -> Result<Value, MessageError>
[INFO] [stdout] 271 | |         where F: Fn(&Value) -> bool {
[INFO] [stdout]     | |___________________________________^
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `CdpConnection` value, panicking if the value is a `Result::Err`
[INFO] [stdout]     |
[INFO] [stdout] 269 | let response = cdp.expect("REASON").wait_for(|m| { m.get("result").is_some() });
[INFO] [stdout]     |                   +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:269:30
[INFO] [stdout]     |
[INFO] [stdout] 269 | let response = cdp.wait_for(|m| { m.get("result").is_some() });
[INFO] [stdout]     |                              ^    - type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 269 | let response = cdp.wait_for(|m: /* Type */| { m.get("result").is_some() });
[INFO] [stdout]     |                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - CdpClient::connect_to_target (line 92)
[INFO] [stdout]     src/lib.rs - CdpConnection::send (line 182)
[INFO] [stdout]     src/lib.rs - CdpConnection::wait_event (line 242)
[INFO] [stdout]     src/lib.rs - CdpConnection::wait_for (line 264)
[INFO] [stdout]     src/lib.rs - CdpConnection::wait_message (line 220)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.49s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "2dda7c992322ab6a9e915482467db6231fee60e310074aa6979da94e9a484552", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2dda7c992322ab6a9e915482467db6231fee60e310074aa6979da94e9a484552", kill_on_drop: false }`
[INFO] [stdout] 2dda7c992322ab6a9e915482467db6231fee60e310074aa6979da94e9a484552
