[INFO] cloning repository https://github.com/vultuk/whatsapp-translator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vultuk/whatsapp-translator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvultuk%2Fwhatsapp-translator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvultuk%2Fwhatsapp-translator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 79a19286bf59151f6b411309357ee2223d96cbf7 [INFO] checking vultuk/whatsapp-translator against try#6284d7b4bd27983dba388146648ab844ca7d032f for pr-152971 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvultuk%2Fwhatsapp-translator" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vultuk/whatsapp-translator [INFO] finished tweaking git repo https://github.com/vultuk/whatsapp-translator [INFO] tweaked toml for git repo https://github.com/vultuk/whatsapp-translator written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vultuk/whatsapp-translator on toolchain 6284d7b4bd27983dba388146648ab844ca7d032f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vultuk/whatsapp-translator 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" "+6284d7b4bd27983dba388146648ab844ca7d032f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b3abf6a6beff6f0560b446f5b365dad96b65f1363ddea1055a0d8fc69fbf3a2 [INFO] running `Command { std: "docker" "start" "-a" "4b3abf6a6beff6f0560b446f5b365dad96b65f1363ddea1055a0d8fc69fbf3a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b3abf6a6beff6f0560b446f5b365dad96b65f1363ddea1055a0d8fc69fbf3a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b3abf6a6beff6f0560b446f5b365dad96b65f1363ddea1055a0d8fc69fbf3a2", kill_on_drop: false }` [INFO] [stdout] 4b3abf6a6beff6f0560b446f5b365dad96b65f1363ddea1055a0d8fc69fbf3a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54cfb2bf2ed1b3460a3f514cc0608064d06d3662d765fe257536679e9ce9db6e [INFO] running `Command { std: "docker" "start" "-a" "54cfb2bf2ed1b3460a3f514cc0608064d06d3662d765fe257536679e9ce9db6e", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling cc v1.2.53 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zmij v1.0.15 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking pxfm v0.1.27 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking clap_lex v0.7.7 [INFO] [stderr] Compiling rmcp v0.13.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Compiling schemars_derive v1.2.0 [INFO] [stderr] Checking clap_builder v4.5.54 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking sse-stream v0.2.1 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Compiling pastey v0.2.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking moxcms v0.7.11 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Compiling whatsapp-translator v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking clap v4.5.54 [INFO] [stderr] warning: whatsapp-translator@0.1.0: Building wa-bridge... [INFO] [stderr] warning: whatsapp-translator@0.1.0: Failed to build wa-bridge (exit code: Some(1)) [INFO] [stderr] warning: whatsapp-translator@0.1.0: Please build wa-bridge manually: [INFO] [stderr] warning: whatsapp-translator@0.1.0: cd wa-bridge && go build -o wa-bridge . [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Checking schemars v1.2.0 [INFO] [stderr] Compiling rmcp-macros v0.13.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking image v0.25.9 [INFO] [stderr] Checking qrcode v0.14.1 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stdout] warning: unused import: `OAuthMetadata` [INFO] [stdout] --> src/web.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | OAuthErrorResponse, OAuthMetadata, PendingAuthorization, RefreshToken, RevokeRequest, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OAuthMetadata` [INFO] [stdout] --> src/web.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | OAuthErrorResponse, OAuthMetadata, PendingAuthorization, RefreshToken, RevokeRequest, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before` [INFO] [stdout] --> src/storage.rs:861:30 [INFO] [stdout] | [INFO] [stdout] 861 | (Some(lim), Some(before)) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before` [INFO] [stdout] --> src/storage.rs:889:25 [INFO] [stdout] | [INFO] [stdout] 889 | (None, Some(before)) => r#" [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before` [INFO] [stdout] --> src/storage.rs:861:30 [INFO] [stdout] | [INFO] [stdout] 861 | (Some(lim), Some(before)) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before` [INFO] [stdout] --> src/storage.rs:889:25 [INFO] [stdout] | [INFO] [stdout] 889 | (None, Some(before)) => r#" [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_wait` is never used [INFO] [stdout] --> src/bridge/process.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl BridgeProcess { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn try_wait(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display_name` is never used [INFO] [stdout] --> src/bridge/protocol.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 308 | impl Chat { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 325 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_phone` is never used [INFO] [stdout] --> src/bridge/protocol.rs:367:4 [INFO] [stdout] | [INFO] [stdout] 367 | fn extract_phone(jid: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translation_enabled` is never used [INFO] [stdout] --> src/cli.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Args { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn translation_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_urls` is never used [INFO] [stdout] --> src/link_preview.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn extract_urls(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OAuthMetadata` is never constructed [INFO] [stdout] --> src/oauth.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct OAuthMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/oauth.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl OAuthMetadata { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 26 | pub fn new(base_url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_expired` is never used [INFO] [stdout] --> src/oauth.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl AuthorizationCode { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 59 | /// Check if the code has expired [INFO] [stdout] 60 | pub fn is_expired(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_expired` is never used [INFO] [stdout] --> src/oauth.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl AccessToken { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 95 | pub fn is_expired(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_expired` is never used [INFO] [stdout] --> src/oauth.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl RefreshToken { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 115 | pub fn is_expired(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_expired` is never used [INFO] [stdout] --> src/oauth.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 138 | impl PendingAuthorization { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 139 | pub fn is_expired(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidClient`, `UnauthorizedClient`, and `InvalidScope` are never constructed [INFO] [stdout] --> src/oauth.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 171 | pub enum OAuthError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 172 | InvalidRequest, [INFO] [stdout] 173 | InvalidClient, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 174 | InvalidGrant, [INFO] [stdout] 175 | UnauthorizedClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 176 | UnsupportedGrantType, [INFO] [stdout] 177 | InvalidScope, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAuthError` 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 `client_id` is never read [INFO] [stdout] --> src/oauth.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 252 | pub struct TokenRequest { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 258 | pub client_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token_type_hint` is never read [INFO] [stdout] --> src/oauth.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 263 | pub struct RevokeRequest { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 264 | pub token: String, [INFO] [stdout] 265 | pub token_type_hint: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RevokeRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApprovalRequest` is never constructed [INFO] [stdout] --> src/oauth.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | pub struct ApprovalRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_global` is never used [INFO] [stdout] --> src/storage.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl StyleProfile { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn is_global(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `oauth_cleanup_expired`, `oauth_get_pending_auth`, `oauth_clear_all`, and `get_message_exchange_pairs` are never used [INFO] [stdout] --> src/storage.rs:1229:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl MessageStore { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1229 | pub fn oauth_cleanup_expired(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1331 | pub fn oauth_get_pending_auth( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1567 | pub fn oauth_clear_all(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1728 | pub fn get_message_exchange_pairs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> src/web.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub enum WebSocketEvent { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 97 | Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebSocketEvent` 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 `reply_to_text` is never read [INFO] [stdout] --> src/web.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct SendMessageRequest { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 127 | pub reply_to_text: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_auth` is never used [INFO] [stdout] --> src/web.rs:597:10 [INFO] [stdout] | [INFO] [stdout] 597 | async fn verify_auth(state: &Arc, auth_header: Option<&str>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client_uri` and `token_endpoint_auth_method` are never read [INFO] [stdout] --> src/web.rs:1722:5 [INFO] [stdout] | [INFO] [stdout] 1719 | struct ClientRegistrationRequest { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1722 | client_uri: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1726 | token_endpoint_auth_method: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientRegistrationRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_wait` is never used [INFO] [stdout] --> src/bridge/process.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl BridgeProcess { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn try_wait(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display_name` is never used [INFO] [stdout] --> src/bridge/protocol.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 308 | impl Chat { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 325 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_phone` is never used [INFO] [stdout] --> src/bridge/protocol.rs:367:4 [INFO] [stdout] | [INFO] [stdout] 367 | fn extract_phone(jid: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translation_enabled` is never used [INFO] [stdout] --> src/cli.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Args { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn translation_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OAuthMetadata` is never constructed [INFO] [stdout] --> src/oauth.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct OAuthMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/oauth.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl OAuthMetadata { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 26 | pub fn new(base_url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_expired` is never used [INFO] [stdout] --> src/oauth.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl AuthorizationCode { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 59 | /// Check if the code has expired [INFO] [stdout] 60 | pub fn is_expired(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_expired` is never used [INFO] [stdout] --> src/oauth.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl AccessToken { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 95 | pub fn is_expired(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_expired` is never used [INFO] [stdout] --> src/oauth.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl RefreshToken { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 115 | pub fn is_expired(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_expired` is never used [INFO] [stdout] --> src/oauth.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 138 | impl PendingAuthorization { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 139 | pub fn is_expired(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidClient`, `UnauthorizedClient`, and `InvalidScope` are never constructed [INFO] [stdout] --> src/oauth.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 171 | pub enum OAuthError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 172 | InvalidRequest, [INFO] [stdout] 173 | InvalidClient, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 174 | InvalidGrant, [INFO] [stdout] 175 | UnauthorizedClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 176 | UnsupportedGrantType, [INFO] [stdout] 177 | InvalidScope, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAuthError` 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 `client_id` is never read [INFO] [stdout] --> src/oauth.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 252 | pub struct TokenRequest { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 258 | pub client_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token_type_hint` is never read [INFO] [stdout] --> src/oauth.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 263 | pub struct RevokeRequest { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 264 | pub token: String, [INFO] [stdout] 265 | pub token_type_hint: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RevokeRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApprovalRequest` is never constructed [INFO] [stdout] --> src/oauth.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | pub struct ApprovalRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_global` is never used [INFO] [stdout] --> src/storage.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl StyleProfile { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn is_global(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `oauth_cleanup_expired`, `oauth_get_pending_auth`, `oauth_clear_all`, and `get_message_exchange_pairs` are never used [INFO] [stdout] --> src/storage.rs:1229:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl MessageStore { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1229 | pub fn oauth_cleanup_expired(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1331 | pub fn oauth_get_pending_auth( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1567 | pub fn oauth_clear_all(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1728 | pub fn get_message_exchange_pairs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> src/web.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub enum WebSocketEvent { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 97 | Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebSocketEvent` 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 `reply_to_text` is never read [INFO] [stdout] --> src/web.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct SendMessageRequest { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 127 | pub reply_to_text: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_auth` is never used [INFO] [stdout] --> src/web.rs:597:10 [INFO] [stdout] | [INFO] [stdout] 597 | async fn verify_auth(state: &Arc, auth_header: Option<&str>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client_uri` and `token_endpoint_auth_method` are never read [INFO] [stdout] --> src/web.rs:1722:5 [INFO] [stdout] | [INFO] [stdout] 1719 | struct ClientRegistrationRequest { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1722 | client_uri: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1726 | token_endpoint_auth_method: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientRegistrationRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.68s [INFO] running `Command { std: "docker" "inspect" "54cfb2bf2ed1b3460a3f514cc0608064d06d3662d765fe257536679e9ce9db6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54cfb2bf2ed1b3460a3f514cc0608064d06d3662d765fe257536679e9ce9db6e", kill_on_drop: false }` [INFO] [stdout] 54cfb2bf2ed1b3460a3f514cc0608064d06d3662d765fe257536679e9ce9db6e