[INFO] fetching crate cdp-rs 0.3.3... [INFO] testing cdp-rs-0.3.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [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 b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 183 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] [stderr] Adding tungstenite v0.17.3 (available: v0.27.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af2b0e28da17e7d8dbe740ebb2cc32d00c199d11b39d5beafd0cc0e0d6c4ab1c [INFO] running `Command { std: "docker" "start" "-a" "af2b0e28da17e7d8dbe740ebb2cc32d00c199d11b39d5beafd0cc0e0d6c4ab1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af2b0e28da17e7d8dbe740ebb2cc32d00c199d11b39d5beafd0cc0e0d6c4ab1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af2b0e28da17e7d8dbe740ebb2cc32d00c199d11b39d5beafd0cc0e0d6c4ab1c", kill_on_drop: false }` [INFO] [stdout] af2b0e28da17e7d8dbe740ebb2cc32d00c199d11b39d5beafd0cc0e0d6c4ab1c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f1d260e68fc27cf165f48f6bd92ad54d1849eb35c2007014c884e3ec7ea19a7 [INFO] running `Command { std: "docker" "start" "-a" "3f1d260e68fc27cf165f48f6bd92ad54d1849eb35c2007014c884e3ec7ea19a7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling ipnet v2.11.0 [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 serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling h2 v0.3.27 [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.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.32 [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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tungstenite v0.17.3 [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 1m 14s [INFO] running `Command { std: "docker" "inspect" "3f1d260e68fc27cf165f48f6bd92ad54d1849eb35c2007014c884e3ec7ea19a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f1d260e68fc27cf165f48f6bd92ad54d1849eb35c2007014c884e3ec7ea19a7", kill_on_drop: false }` [INFO] [stdout] 3f1d260e68fc27cf165f48f6bd92ad54d1849eb35c2007014c884e3ec7ea19a7 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cce33dc23126611a09d7c68672be1a0c158833538a938f12ddfd67007b2f7998 [INFO] running `Command { std: "docker" "start" "-a" "cce33dc23126611a09d7c68672be1a0c158833538a938f12ddfd67007b2f7998", 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.68s [INFO] running `Command { std: "docker" "inspect" "cce33dc23126611a09d7c68672be1a0c158833538a938f12ddfd67007b2f7998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cce33dc23126611a09d7c68672be1a0c158833538a938f12ddfd67007b2f7998", kill_on_drop: false }` [INFO] [stdout] cce33dc23126611a09d7c68672be1a0c158833538a938f12ddfd67007b2f7998 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 864c2cf43e23d6dd3f97cea9eca27b912a1ef58a6a2708d1c7107ad5669991a8 [INFO] running `Command { std: "docker" "start" "-a" "864c2cf43e23d6dd3f97cea9eca27b912a1ef58a6a2708d1c7107ad5669991a8", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cdp_rs-86b2bc319d513fce) [INFO] [stdout] [INFO] [stderr] Doc-tests cdp_rs [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_message (line 220) ... FAILED [INFO] [stdout] test src/lib.rs - CdpConnection::wait_for (line 264) ... 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 - 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] 9 | 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] 2 + use cdp_rs::parms; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 9 | if let Ok(r) = cdp.send("Target.createTarget", parms!("url", "https://www.google.com")) { [INFO] [stdout] | ^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `send` exists on the type `CdpConnection` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn send(&mut self, method: &'static str, parms: Vec<(&'static str, MessageParameter)>) -> Result { [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] 9 | 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_message (line 220) stdout ---- [INFO] [stdout] error[E0599]: no method named `wait_message` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:225:20 [INFO] [stdout] | [INFO] [stdout] 8 | let response = cdp.wait_message(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `wait_message` exists on the type `CdpConnection` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn wait_message(&mut self) -> Result { [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] 8 | 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` in the current scope [INFO] [stdout] --> src/lib.rs:269:20 [INFO] [stdout] | [INFO] [stdout] 8 | let response = cdp.wait_for(|m| { m.get("result").is_some() }); [INFO] [stdout] | ^^^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `wait_for` exists on the type `CdpConnection` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / pub fn wait_for(&mut self, timeout: Option, f: F) -> Result [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] 8 | let response = cdp.expect("REASON").wait_for(|m| { m.get("result").is_some() }); [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_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] 8 | cdp.send("Network.enable", parms!()).unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use cdp_rs::parms; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 8 | cdp.send("Network.enable", parms!()).unwrap(); [INFO] [stdout] | ^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `send` exists on the type `CdpConnection` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn send(&mut self, method: &'static str, parms: Vec<(&'static str, MessageParameter)>) -> Result { [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] 8 | 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` in the current scope [INFO] [stdout] --> src/lib.rs:248:20 [INFO] [stdout] | [INFO] [stdout] 9 | let response = cdp.wait_event("Network.dataReceived", None); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `wait_event` exists on the type `CdpConnection` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn wait_event(&mut self, event: &str, timeout: Option) -> Result { [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] 9 | 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] 8 | 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] 2 + use cdp_rs::parms; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 8 | cdp.send("Network.getCookies", parms!("urls", vec!["https://www.google.com"])); [INFO] [stdout] | ^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `send` exists on the type `CdpConnection` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn send(&mut self, method: &'static str, parms: Vec<(&'static str, MessageParameter)>) -> Result { [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] 8 | 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] [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.26s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "864c2cf43e23d6dd3f97cea9eca27b912a1ef58a6a2708d1c7107ad5669991a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "864c2cf43e23d6dd3f97cea9eca27b912a1ef58a6a2708d1c7107ad5669991a8", kill_on_drop: false }` [INFO] [stdout] 864c2cf43e23d6dd3f97cea9eca27b912a1ef58a6a2708d1c7107ad5669991a8