[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] f176d1fd753eeee9c22625b4bc659f3cd6c91b64 [INFO] testing vultuk/whatsapp-translator against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvultuk%2Fwhatsapp-translator" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vultuk/whatsapp-translator on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b5b95f392130d6a449afee7ad55d29ee3bc2dc8454a6d4caeb8bb504adbc147 [INFO] running `Command { std: "docker" "start" "-a" "5b5b95f392130d6a449afee7ad55d29ee3bc2dc8454a6d4caeb8bb504adbc147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b5b95f392130d6a449afee7ad55d29ee3bc2dc8454a6d4caeb8bb504adbc147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b5b95f392130d6a449afee7ad55d29ee3bc2dc8454a6d4caeb8bb504adbc147", kill_on_drop: false }` [INFO] [stdout] 5b5b95f392130d6a449afee7ad55d29ee3bc2dc8454a6d4caeb8bb504adbc147 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9aa7922a17c2caf932e201dd592a3341ceacbdb954b20ab076dc9085f0a60d5d [INFO] running `Command { std: "docker" "start" "-a" "9aa7922a17c2caf932e201dd592a3341ceacbdb954b20ab076dc9085f0a60d5d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling zmij v1.0.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling cc v1.2.53 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling pxfm v0.1.27 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling clap_lex v0.7.7 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling rmcp v0.13.0 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Compiling clap_builder v4.5.54 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling pastey v0.2.1 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling whatsapp-translator v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling http-range-header v0.4.2 [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] Compiling moxcms v0.7.11 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling schemars_derive v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling rmcp-macros v0.13.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling clap v4.5.54 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling sse-stream v0.2.1 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling schemars v1.2.0 [INFO] [stderr] Compiling qrcode v0.14.1 [INFO] [stderr] Compiling rusqlite v0.31.0 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling 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 variable: `before` [INFO] [stdout] --> src/storage.rs:975:30 [INFO] [stdout] | [INFO] [stdout] 975 | (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:1003:25 [INFO] [stdout] | [INFO] [stdout] 1003 | (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:344:12 [INFO] [stdout] | [INFO] [stdout] 327 | impl Chat { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 344 | 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:386:4 [INFO] [stdout] | [INFO] [stdout] 386 | fn extract_phone(jid: &str) -> String { [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:1332:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl MessageStore { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1332 | pub fn oauth_cleanup_expired(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1434 | pub fn oauth_get_pending_auth( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1670 | pub fn oauth_clear_all(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1831 | 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: function `verify_auth` is never used [INFO] [stdout] --> src/web.rs:615:10 [INFO] [stdout] | [INFO] [stdout] 615 | 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:1848:5 [INFO] [stdout] | [INFO] [stdout] 1845 | struct ClientRegistrationRequest { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1848 | client_uri: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1852 | 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 2m 20s [INFO] running `Command { std: "docker" "inspect" "9aa7922a17c2caf932e201dd592a3341ceacbdb954b20ab076dc9085f0a60d5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aa7922a17c2caf932e201dd592a3341ceacbdb954b20ab076dc9085f0a60d5d", kill_on_drop: false }` [INFO] [stdout] 9aa7922a17c2caf932e201dd592a3341ceacbdb954b20ab076dc9085f0a60d5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac4f9a09926961a89ba719884aa2ce66885022b79d696c7946635e2d5a024384 [INFO] running `Command { std: "docker" "start" "-a" "ac4f9a09926961a89ba719884aa2ce66885022b79d696c7946635e2d5a024384", kill_on_drop: false }` [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] Compiling whatsapp-translator v0.1.0 (/opt/rustwide/workdir) [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:975:30 [INFO] [stdout] | [INFO] [stdout] 975 | (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:1003:25 [INFO] [stdout] | [INFO] [stdout] 1003 | (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:344:12 [INFO] [stdout] | [INFO] [stdout] 327 | impl Chat { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 344 | 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:386:4 [INFO] [stdout] | [INFO] [stdout] 386 | fn extract_phone(jid: &str) -> String { [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:1332:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl MessageStore { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1332 | pub fn oauth_cleanup_expired(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1434 | pub fn oauth_get_pending_auth( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1670 | pub fn oauth_clear_all(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1831 | 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: function `verify_auth` is never used [INFO] [stdout] --> src/web.rs:615:10 [INFO] [stdout] | [INFO] [stdout] 615 | 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:1848:5 [INFO] [stdout] | [INFO] [stdout] 1845 | struct ClientRegistrationRequest { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1848 | client_uri: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1852 | 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 `test` profile [unoptimized + debuginfo] target(s) in 23.07s [INFO] running `Command { std: "docker" "inspect" "ac4f9a09926961a89ba719884aa2ce66885022b79d696c7946635e2d5a024384", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac4f9a09926961a89ba719884aa2ce66885022b79d696c7946635e2d5a024384", kill_on_drop: false }` [INFO] [stdout] ac4f9a09926961a89ba719884aa2ce66885022b79d696c7946635e2d5a024384 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c603dae39a94c527c347a167dbe6a6374065f1598c20c14f6134232a44d8eedd [INFO] running `Command { std: "docker" "start" "-a" "c603dae39a94c527c347a167dbe6a6374065f1598c20c14f6134232a44d8eedd", kill_on_drop: false }` [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] warning: unused import: `OAuthMetadata` [INFO] [stderr] --> src/web.rs:31:25 [INFO] [stderr] | [INFO] [stderr] 31 | OAuthErrorResponse, OAuthMetadata, PendingAuthorization, RefreshToken, RevokeRequest, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `before` [INFO] [stderr] --> src/storage.rs:975:30 [INFO] [stderr] | [INFO] [stderr] 975 | (Some(lim), Some(before)) => { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `before` [INFO] [stderr] --> src/storage.rs:1003:25 [INFO] [stderr] | [INFO] [stderr] 1003 | (None, Some(before)) => r#" [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_before` [INFO] [stderr] [INFO] [stderr] warning: method `try_wait` is never used [INFO] [stderr] --> src/bridge/process.rs:196:12 [INFO] [stderr] | [INFO] [stderr] 33 | impl BridgeProcess { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 196 | pub fn try_wait(&mut self) -> Result> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `display_name` is never used [INFO] [stderr] --> src/bridge/protocol.rs:344:12 [INFO] [stderr] | [INFO] [stderr] 327 | impl Chat { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 344 | pub fn display_name(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_phone` is never used [INFO] [stderr] --> src/bridge/protocol.rs:386:4 [INFO] [stderr] | [INFO] [stderr] 386 | fn extract_phone(jid: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OAuthMetadata` is never constructed [INFO] [stderr] --> src/oauth.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct OAuthMetadata { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/oauth.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 25 | impl OAuthMetadata { [INFO] [stderr] | ------------------ associated function in this implementation [INFO] [stderr] 26 | pub fn new(base_url: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_expired` is never used [INFO] [stderr] --> src/oauth.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 58 | impl AuthorizationCode { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] 59 | /// Check if the code has expired [INFO] [stderr] 60 | pub fn is_expired(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_expired` is never used [INFO] [stderr] --> src/oauth.rs:95:12 [INFO] [stderr] | [INFO] [stderr] 94 | impl AccessToken { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] 95 | pub fn is_expired(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_expired` is never used [INFO] [stderr] --> src/oauth.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 114 | impl RefreshToken { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] 115 | pub fn is_expired(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_expired` is never used [INFO] [stderr] --> src/oauth.rs:139:12 [INFO] [stderr] | [INFO] [stderr] 138 | impl PendingAuthorization { [INFO] [stderr] | ------------------------- method in this implementation [INFO] [stderr] 139 | pub fn is_expired(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `InvalidClient`, `UnauthorizedClient`, and `InvalidScope` are never constructed [INFO] [stderr] --> src/oauth.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 171 | pub enum OAuthError { [INFO] [stderr] | ---------- variants in this enum [INFO] [stderr] 172 | InvalidRequest, [INFO] [stderr] 173 | InvalidClient, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 174 | InvalidGrant, [INFO] [stderr] 175 | UnauthorizedClient, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 176 | UnsupportedGrantType, [INFO] [stderr] 177 | InvalidScope, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OAuthError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `client_id` is never read [INFO] [stderr] --> src/oauth.rs:258:9 [INFO] [stderr] | [INFO] [stderr] 252 | pub struct TokenRequest { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 258 | pub client_id: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TokenRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `token_type_hint` is never read [INFO] [stderr] --> src/oauth.rs:265:9 [INFO] [stderr] | [INFO] [stderr] 263 | pub struct RevokeRequest { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 264 | pub token: String, [INFO] [stderr] 265 | pub token_type_hint: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RevokeRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `ApprovalRequest` is never constructed [INFO] [stderr] --> src/oauth.rs:270:12 [INFO] [stderr] | [INFO] [stderr] 270 | pub struct ApprovalRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_global` is never used [INFO] [stderr] --> src/storage.rs:111:12 [INFO] [stderr] | [INFO] [stderr] 106 | impl StyleProfile { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 111 | pub fn is_global(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `oauth_cleanup_expired`, `oauth_get_pending_auth`, `oauth_clear_all`, and `get_message_exchange_pairs` are never used [INFO] [stderr] --> src/storage.rs:1332:12 [INFO] [stderr] | [INFO] [stderr] 121 | impl MessageStore { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 1332 | pub fn oauth_cleanup_expired(&self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1434 | pub fn oauth_get_pending_auth( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1670 | pub fn oauth_clear_all(&self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1831 | pub fn get_message_exchange_pairs( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Error` is never constructed [INFO] [stderr] --> src/web.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 72 | pub enum WebSocketEvent { [INFO] [stderr] | -------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 97 | Error { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `WebSocketEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `verify_auth` is never used [INFO] [stderr] --> src/web.rs:615:10 [INFO] [stderr] | [INFO] [stderr] 615 | async fn verify_auth(state: &Arc, auth_header: Option<&str>) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `client_uri` and `token_endpoint_auth_method` are never read [INFO] [stderr] --> src/web.rs:1848:5 [INFO] [stderr] | [INFO] [stderr] 1845 | struct ClientRegistrationRequest { [INFO] [stderr] | ------------------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 1848 | client_uri: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1852 | token_endpoint_auth_method: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ClientRegistrationRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `whatsapp-translator` (bin "whatsapp-translator" test) generated 21 warnings (run `cargo fix --bin "whatsapp-translator" -p whatsapp-translator --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/whatsapp_translator-e8b9d0aa7af2a003) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test bridge::protocol::tests::test_parse_text_message ... ok [INFO] [stdout] test bridge::protocol::tests::test_parse_qr_event ... ok [INFO] [stdout] test translation::tests::combines_cached_usage ... ok [INFO] [stdout] test translation::tests::calculates_cost_with_cached_input_tokens ... ok [INFO] [stdout] test translation::tests::preserves_existing_data_url ... ok [INFO] [stdout] test translation::tests::extracts_json_object_from_wrapped_text ... ok [INFO] [stdout] test oauth::tests::test_pkce_verification ... ok [INFO] [stdout] test display::qr::tests::test_qr_generation ... ok [INFO] [stdout] test translation::tests::builds_data_url_from_raw_base64 ... ok [INFO] [stdout] test link_preview::tests::test_extract_html_title ... ok [INFO] [stdout] test link_preview::tests::test_extract_urls_with_punctuation ... ok [INFO] [stdout] test link_preview::tests::test_extract_urls ... ok [INFO] [stdout] test link_preview::tests::test_extract_meta_content ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c603dae39a94c527c347a167dbe6a6374065f1598c20c14f6134232a44d8eedd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c603dae39a94c527c347a167dbe6a6374065f1598c20c14f6134232a44d8eedd", kill_on_drop: false }` [INFO] [stdout] c603dae39a94c527c347a167dbe6a6374065f1598c20c14f6134232a44d8eedd