[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/32a44fc4832b46ef79fdc469000cebc850890826 against master#a26e97be8826d408309fffbd8168362365719f50 for pr-136776 [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 a26e97be8826d408309fffbd8168362365719f50 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "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" "+a26e97be8826d408309fffbd8168362365719f50" "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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac04d7b9cc0700f7e84216ce2dda7603aac7bacf94e9e0835cb04e199d1e0f54 [INFO] running `Command { std: "docker" "start" "-a" "ac04d7b9cc0700f7e84216ce2dda7603aac7bacf94e9e0835cb04e199d1e0f54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac04d7b9cc0700f7e84216ce2dda7603aac7bacf94e9e0835cb04e199d1e0f54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac04d7b9cc0700f7e84216ce2dda7603aac7bacf94e9e0835cb04e199d1e0f54", kill_on_drop: false }` [INFO] [stdout] ac04d7b9cc0700f7e84216ce2dda7603aac7bacf94e9e0835cb04e199d1e0f54 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5909dbf3637a6426b23a6ac1a9d30520d9546da30221ea8bdb7ef269a6913af8 [INFO] running `Command { std: "docker" "start" "-a" "5909dbf3637a6426b23a6ac1a9d30520d9546da30221ea8bdb7ef269a6913af8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tinyvec v1.7.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking itertools v0.13.0 [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] Checking tokio v1.38.0 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [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 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 `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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "5909dbf3637a6426b23a6ac1a9d30520d9546da30221ea8bdb7ef269a6913af8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5909dbf3637a6426b23a6ac1a9d30520d9546da30221ea8bdb7ef269a6913af8", kill_on_drop: false }` [INFO] [stdout] 5909dbf3637a6426b23a6ac1a9d30520d9546da30221ea8bdb7ef269a6913af8