[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#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fservufi%2Frust-cdp-starter" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[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-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/servufi/rust-cdp-starter on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tinyvec v1.7.0
[INFO] [stderr]   Downloaded rustls-webpki v0.102.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b608135782fd410637045d4b5457267568f0865934d0960c0192cfff93af5682
[INFO] running `Command { std: "docker" "start" "-a" "b608135782fd410637045d4b5457267568f0865934d0960c0192cfff93af5682", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b608135782fd410637045d4b5457267568f0865934d0960c0192cfff93af5682", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b608135782fd410637045d4b5457267568f0865934d0960c0192cfff93af5682", kill_on_drop: false }`
[INFO] [stdout] b608135782fd410637045d4b5457267568f0865934d0960c0192cfff93af5682
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8d3cff7394e4acebe3839996995ac58179ba22cd639fda92a0ddeac9a53ddd41
[INFO] running `Command { std: "docker" "start" "-a" "8d3cff7394e4acebe3839996995ac58179ba22cd639fda92a0ddeac9a53ddd41", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.68
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]    Compiling cc v1.0.104
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking tinyvec v1.7.0
[INFO] [stderr]     Checking regex-syntax v0.8.4
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling serde_json v1.0.120
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rustls-pki-types v1.7.0
[INFO] [stderr]     Checking anstream v0.6.14
[INFO] [stderr]     Checking sync_wrapper v1.0.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rustls-pemfile v2.1.2
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking url v2.5.2
[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 openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[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 thiserror v1.0.61
[INFO] [stderr]     Checking tungstenite v0.23.0
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking serde v1.0.203
[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 h2 v0.4.5
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[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 `DEBUG` is never used
[INFO] [stdout]   --> src/cdp/cdp.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | static DEBUG: bool = false;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[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] 
[INFO] [stdout] warning: static `CDP_BROWSERS` is never used
[INFO] [stdout]   --> src/cdp/cdp.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | static CDP_BROWSERS: Lazy<Arc<CdpBrowsers>> = Lazy::new(|| Arc::new(CdpBrowsers::new()));
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CdpBrowsers` is never constructed
[INFO] [stdout]   --> src/cdp/cdp.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct CdpBrowsers {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_profile`, `get_profile`, and `get_profile_name_by_port` are never used
[INFO] [stdout]   --> src/cdp/cdp.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl CdpBrowsers {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 58 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[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<BrowserInfo> {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 |     pub async fn get_profile_name_by_port(&self, port: u16) -> Option<String> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrowserInfo` is never constructed
[INFO] [stdout]    --> src/cdp/cdp.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct BrowserInfo {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SendPayload` is never constructed
[INFO] [stdout]    --> src/cdp/cdp.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub struct SendPayload {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CdpResponse` is never constructed
[INFO] [stdout]    --> src/cdp/cdp.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct CdpResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `as_i32`, and `get_result` are never used
[INFO] [stdout]    --> src/cdp/cdp.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl CdpResponse {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 124 |     pub fn new(value: Value) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn as_i32(&self, field: &str) -> Result<i32> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn get_result(&self) -> Value {
[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<Value>) -> Result<Arc<Self>> {
[INFO] [stdout]      |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout]  456 |     async fn setup_ctrlc_handler() {
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  503 |     pub fn get_params<T: serde::de::DeserializeOwned>(&self, key: &str) -> Option<T> {
[INFO] [stdout]      |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  510 |     async fn connect_to_ws(
[INFO] [stdout]      |              ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  627 |     pub async fn send(&self, method: &str, params: Option<Value>) -> Result<CdpResponse> {
[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]  763 |     async fn handle_invalid_params_error(&self, method: &str) {
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  800 |     async fn handle_method_not_found_error(&self, method: &str) {
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  885 |     fn format_parameter(&self, param: &Parameters) -> String {
[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] 1042 |     pub async fn find_node_id_by_xpath(&self, xpath: &str) -> Result<Option<i64>> {
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1047 |     pub async fn find_node_ids_by_xpath(&self, xpath: &str) -> Result<Vec<i64>> {
[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<u16> {
[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: struct `Protocol` is never constructed
[INFO] [stdout]  --> src/cdp/cdp_protocol.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct 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: struct `Version` is never constructed
[INFO] [stdout]   --> src/cdp/cdp_protocol.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Version {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Domain` is never constructed
[INFO] [stdout]   --> src/cdp/cdp_protocol.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Domain {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Type` is never constructed
[INFO] [stdout]   --> src/cdp/cdp_protocol.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct Type {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TypeProperties` is never constructed
[INFO] [stdout]   --> src/cdp/cdp_protocol.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct TypeProperties {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Items` is never constructed
[INFO] [stdout]   --> src/cdp/cdp_protocol.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct Items {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Command` is never constructed
[INFO] [stdout]   --> src/cdp/cdp_protocol.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub struct Command {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommandReturns` is never constructed
[INFO] [stdout]   --> src/cdp/cdp_protocol.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub struct CommandReturns {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Parameters` is never constructed
[INFO] [stdout]   --> src/cdp/cdp_protocol.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub struct Parameters {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Event` is never constructed
[INFO] [stdout]    --> src/cdp/cdp_protocol.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub struct Event {
[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<Mutex<HashMap<usize, mpsc::UnboundedSender<Message>>>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 13 |     pub addr: Arc<String>,
[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<dyn Fn(String) + Send + Sync>);
[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<Self> {
[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: static `DEBUG` is never used
[INFO] [stdout]   --> src/cdp/cdp.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | static DEBUG: bool = false;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[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] 
[INFO] [stdout] warning: static `CDP_BROWSERS` is never used
[INFO] [stdout]   --> src/cdp/cdp.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | static CDP_BROWSERS: Lazy<Arc<CdpBrowsers>> = Lazy::new(|| Arc::new(CdpBrowsers::new()));
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CdpBrowsers` is never constructed
[INFO] [stdout]   --> src/cdp/cdp.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct CdpBrowsers {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_profile`, `get_profile`, and `get_profile_name_by_port` are never used
[INFO] [stdout]   --> src/cdp/cdp.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl CdpBrowsers {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 58 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[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<BrowserInfo> {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 |     pub async fn get_profile_name_by_port(&self, port: u16) -> Option<String> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrowserInfo` is never constructed
[INFO] [stdout]    --> src/cdp/cdp.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct BrowserInfo {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SendPayload` is never constructed
[INFO] [stdout]    --> src/cdp/cdp.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub struct SendPayload {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CdpResponse` is never constructed
[INFO] [stdout]    --> src/cdp/cdp.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct CdpResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `as_i32`, and `get_result` are never used
[INFO] [stdout]    --> src/cdp/cdp.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl CdpResponse {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 124 |     pub fn new(value: Value) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn as_i32(&self, field: &str) -> Result<i32> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn get_result(&self) -> Value {
[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<Value>) -> Result<Arc<Self>> {
[INFO] [stdout]      |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout]  456 |     async fn setup_ctrlc_handler() {
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  503 |     pub fn get_params<T: serde::de::DeserializeOwned>(&self, key: &str) -> Option<T> {
[INFO] [stdout]      |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  510 |     async fn connect_to_ws(
[INFO] [stdout]      |              ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  627 |     pub async fn send(&self, method: &str, params: Option<Value>) -> Result<CdpResponse> {
[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]  763 |     async fn handle_invalid_params_error(&self, method: &str) {
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  800 |     async fn handle_method_not_found_error(&self, method: &str) {
[INFO] [stdout]      |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  885 |     fn format_parameter(&self, param: &Parameters) -> String {
[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] 1042 |     pub async fn find_node_id_by_xpath(&self, xpath: &str) -> Result<Option<i64>> {
[INFO] [stdout]      |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1047 |     pub async fn find_node_ids_by_xpath(&self, xpath: &str) -> Result<Vec<i64>> {
[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<u16> {
[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: struct `Protocol` is never constructed
[INFO] [stdout]  --> src/cdp/cdp_protocol.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct 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: struct `Version` is never constructed
[INFO] [stdout]   --> src/cdp/cdp_protocol.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Version {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Domain` is never constructed
[INFO] [stdout]   --> src/cdp/cdp_protocol.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Domain {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Type` is never constructed
[INFO] [stdout]   --> src/cdp/cdp_protocol.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct Type {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TypeProperties` is never constructed
[INFO] [stdout]   --> src/cdp/cdp_protocol.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct TypeProperties {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Items` is never constructed
[INFO] [stdout]   --> src/cdp/cdp_protocol.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct Items {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Command` is never constructed
[INFO] [stdout]   --> src/cdp/cdp_protocol.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub struct Command {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommandReturns` is never constructed
[INFO] [stdout]   --> src/cdp/cdp_protocol.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub struct CommandReturns {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Parameters` is never constructed
[INFO] [stdout]   --> src/cdp/cdp_protocol.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub struct Parameters {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Event` is never constructed
[INFO] [stdout]    --> src/cdp/cdp_protocol.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub struct Event {
[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<Mutex<HashMap<usize, mpsc::UnboundedSender<Message>>>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 13 |     pub addr: Arc<String>,
[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<dyn Fn(String) + Send + Sync>);
[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<Self> {
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.94s
[INFO] running `Command { std: "docker" "inspect" "8d3cff7394e4acebe3839996995ac58179ba22cd639fda92a0ddeac9a53ddd41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d3cff7394e4acebe3839996995ac58179ba22cd639fda92a0ddeac9a53ddd41", kill_on_drop: false }`
[INFO] [stdout] 8d3cff7394e4acebe3839996995ac58179ba22cd639fda92a0ddeac9a53ddd41
