[INFO] cloning repository https://github.com/servufi/rust-cdp-starter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/servufi/rust-cdp-starter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fservufi%2Frust-cdp-starter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fservufi%2Frust-cdp-starter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 32a44fc4832b46ef79fdc469000cebc850890826 [INFO] checking servufi/rust-cdp-starter against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fservufi%2Frust-cdp-starter" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/servufi/rust-cdp-starter on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/servufi/rust-cdp-starter [INFO] finished tweaking git repo https://github.com/servufi/rust-cdp-starter [INFO] tweaked toml for git repo https://github.com/servufi/rust-cdp-starter written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/servufi/rust-cdp-starter 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30edbee78c865bf2255cb223e5476eea5dc2d1b26d3d3638a0bb8ba3bc2a8d0a [INFO] running `Command { std: "docker" "start" "-a" "30edbee78c865bf2255cb223e5476eea5dc2d1b26d3d3638a0bb8ba3bc2a8d0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30edbee78c865bf2255cb223e5476eea5dc2d1b26d3d3638a0bb8ba3bc2a8d0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30edbee78c865bf2255cb223e5476eea5dc2d1b26d3d3638a0bb8ba3bc2a8d0a", kill_on_drop: false }` [INFO] [stdout] 30edbee78c865bf2255cb223e5476eea5dc2d1b26d3d3638a0bb8ba3bc2a8d0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 491c5264d58a66a783294f07df76e5c210a8980afb25f3b2f73a383fdc39888c [INFO] running `Command { std: "docker" "start" "-a" "491c5264d58a66a783294f07df76e5c210a8980afb25f3b2f73a383fdc39888c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking tinyvec v1.7.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tungstenite v0.23.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-tungstenite v0.23.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking rust-cdp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: static `CHROME_STDERR` is never used [INFO] [stdout] --> src/cdp/cdp.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | static CHROME_STDERR: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `profiles` is never read [INFO] [stdout] --> src/cdp/cdp.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct CdpBrowsers { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 53 | pub profiles: Arc>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CdpBrowsers` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_profile`, `get_profile`, and `get_profile_name_by_port` are never used [INFO] [stdout] --> src/cdp/cdp.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 57 | impl CdpBrowsers { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub async fn add_profile( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn get_profile(&self, profile_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub async fn get_profile_name_by_port(&self, port: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `debugger_id`, `port`, `browser_context_id`, and `initial_cdp` are never read [INFO] [stdout] --> src/cdp/cdp.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct BrowserInfo { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 104 | pub debugger_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 105 | pub port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 106 | pub browser_context_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | pub initial_cdp: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BrowserInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_i32` is never used [INFO] [stdout] --> src/cdp/cdp.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl CdpResponse { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn as_i32(&self, field: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cdp/cdp.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 181 | impl CDP { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 182 | // New browser or tab [INFO] [stdout] 183 | pub async fn new(params: Option) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 456 | async fn setup_ctrlc_handler() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | pub fn get_params(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | async fn connect_to_ws( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 687 | async fn enable_basic_features(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 698 | async fn inject_ws_handler_script(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 899 | async fn update_node_ids(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 912 | async fn handle_event(&self, method: &str, resp: &Value, profile_name: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 951 | async fn handle_target_closed(&self, profile_name: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1027 | pub async fn broadcast_to_js(&self, message: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1031 | pub async fn text_content_by_xpath(&self, xpath: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1038 | pub fn target_id(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_chrome` is never used [INFO] [stdout] --> src/cdp/cdp.rs:1142:10 [INFO] [stdout] | [INFO] [stdout] 1142 | async fn start_chrome( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_free_port` is never used [INFO] [stdout] --> src/cdp/cdp.rs:1214:10 [INFO] [stdout] | [INFO] [stdout] 1214 | async fn find_free_port() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CdpProtocol` is never used [INFO] [stdout] --> src/cdp/cdp_protocol.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type CdpProtocol = Protocol; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cdp/cdp_protocol.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Protocol { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new() -> Protocol { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `clients` and `addr` are never read [INFO] [stdout] --> src/cdp/ws_server.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct WebSocketServer { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 12 | clients: Arc>>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub addr: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebSocketServer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cdp/ws_server.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct CallbackWrapper(pub Arc); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `handle_client`, `broadcast`, and `addr` are never used [INFO] [stdout] --> src/cdp/ws_server.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl WebSocketServer { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 26 | pub async fn new(addr: String) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | async fn handle_client( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub async fn broadcast(&self, message: Value) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn addr(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CHROME_STDERR` is never used [INFO] [stdout] --> src/cdp/cdp.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | static CHROME_STDERR: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `profiles` is never read [INFO] [stdout] --> src/cdp/cdp.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct CdpBrowsers { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 53 | pub profiles: Arc>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CdpBrowsers` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_profile`, `get_profile`, and `get_profile_name_by_port` are never used [INFO] [stdout] --> src/cdp/cdp.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 57 | impl CdpBrowsers { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub async fn add_profile( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn get_profile(&self, profile_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub async fn get_profile_name_by_port(&self, port: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `debugger_id`, `port`, `browser_context_id`, and `initial_cdp` are never read [INFO] [stdout] --> src/cdp/cdp.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct BrowserInfo { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 104 | pub debugger_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 105 | pub port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 106 | pub browser_context_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | pub initial_cdp: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BrowserInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_i32` is never used [INFO] [stdout] --> src/cdp/cdp.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl CdpResponse { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn as_i32(&self, field: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cdp/cdp.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 181 | impl CDP { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 182 | // New browser or tab [INFO] [stdout] 183 | pub async fn new(params: Option) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 456 | async fn setup_ctrlc_handler() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | pub fn get_params(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | async fn connect_to_ws( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 687 | async fn enable_basic_features(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 698 | async fn inject_ws_handler_script(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 899 | async fn update_node_ids(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 912 | async fn handle_event(&self, method: &str, resp: &Value, profile_name: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 951 | async fn handle_target_closed(&self, profile_name: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1027 | pub async fn broadcast_to_js(&self, message: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1031 | pub async fn text_content_by_xpath(&self, xpath: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1038 | pub fn target_id(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_chrome` is never used [INFO] [stdout] --> src/cdp/cdp.rs:1142:10 [INFO] [stdout] | [INFO] [stdout] 1142 | async fn start_chrome( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_free_port` is never used [INFO] [stdout] --> src/cdp/cdp.rs:1214:10 [INFO] [stdout] | [INFO] [stdout] 1214 | async fn find_free_port() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CdpProtocol` is never used [INFO] [stdout] --> src/cdp/cdp_protocol.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type CdpProtocol = Protocol; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cdp/cdp_protocol.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Protocol { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new() -> Protocol { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `clients` and `addr` are never read [INFO] [stdout] --> src/cdp/ws_server.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct WebSocketServer { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 12 | clients: Arc>>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub addr: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebSocketServer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cdp/ws_server.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct CallbackWrapper(pub Arc); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `handle_client`, `broadcast`, and `addr` are never used [INFO] [stdout] --> src/cdp/ws_server.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl WebSocketServer { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 26 | pub async fn new(addr: String) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | async fn handle_client( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub async fn broadcast(&self, message: Value) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn addr(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.15s [INFO] running `Command { std: "docker" "inspect" "491c5264d58a66a783294f07df76e5c210a8980afb25f3b2f73a383fdc39888c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "491c5264d58a66a783294f07df76e5c210a8980afb25f3b2f73a383fdc39888c", kill_on_drop: false }` [INFO] [stdout] 491c5264d58a66a783294f07df76e5c210a8980afb25f3b2f73a383fdc39888c