[INFO] cloning repository https://github.com/webmobix/i18n-google-sync [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/webmobix/i18n-google-sync" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebmobix%2Fi18n-google-sync", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebmobix%2Fi18n-google-sync'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 356985e793aab8775a8a1aba24c7bf4eac5104a1 [INFO] testing webmobix/i18n-google-sync against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebmobix%2Fi18n-google-sync" "/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/webmobix/i18n-google-sync [INFO] finished tweaking git repo https://github.com/webmobix/i18n-google-sync [INFO] tweaked toml for git repo https://github.com/webmobix/i18n-google-sync written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/webmobix/i18n-google-sync on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/webmobix/i18n-google-sync 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68126fee0638a4b186d4319ecfa4017f18d77b3104ffc2f947aa3df207ee474a [INFO] running `Command { std: "docker" "start" "-a" "68126fee0638a4b186d4319ecfa4017f18d77b3104ffc2f947aa3df207ee474a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68126fee0638a4b186d4319ecfa4017f18d77b3104ffc2f947aa3df207ee474a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68126fee0638a4b186d4319ecfa4017f18d77b3104ffc2f947aa3df207ee474a", kill_on_drop: false }` [INFO] [stdout] 68126fee0638a4b186d4319ecfa4017f18d77b3104ffc2f947aa3df207ee474a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a8c08c2d1ae6608a51cecb9b1c134866df5a10399cfebfcad4f56190ef3814f [INFO] running `Command { std: "docker" "start" "-a" "3a8c08c2d1ae6608a51cecb9b1c134866df5a10399cfebfcad4f56190ef3814f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling aws-lc-rs v1.14.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling aws-lc-sys v0.31.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.14.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde_with v3.14.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [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.7 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling webbrowser v1.0.5 [INFO] [stderr] Compiling rustls-webpki v0.103.6 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tokio-rustls v0.26.3 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling yup-oauth2 v11.0.0 [INFO] [stderr] Compiling google-apis-common v7.0.0 [INFO] [stderr] Compiling google-sheets4 v6.0.0+20240621 [INFO] [stderr] Compiling i18n_google_sync v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/sync/full_sync.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | async fn detect_conflicts(&self, config: &Config) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenCache` is never constructed [INFO] [stdout] --> src/auth/oauth.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct TokenCache { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_client_secret`, `get_cached_auth`, `refresh_token`, `cache_tokens`, `get_auth_cache_path`, and `clear_cache` are never used [INFO] [stdout] --> src/auth/oauth.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl AuthManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn with_client_secret( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn get_cached_auth(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub async fn refresh_token(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | fn cache_tokens( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 515 | pub fn get_auth_cache_path(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 524 | pub fn clear_cache(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `namespace` is never read [INFO] [stdout] --> src/files/parser.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct TranslationKey { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub namespace: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TranslationKey` 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 `language` is never read [INFO] [stdout] --> src/files/parser.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct TranslationFile { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 31 | pub namespace: String, [INFO] [stdout] 32 | pub language: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TranslationFile` 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 `validate_file_structure` is never used [INFO] [stdout] --> src/files/parser.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl TranslationParser { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn validate_file_structure>(&self, locales_path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `generate_translate_formula`, `extract_translated_value`, and `batch_apply_translations` are never used [INFO] [stdout] --> src/sheets/translate.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl TranslateService { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn generate_translate_formula( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn extract_translated_value(&self, cell_content: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn batch_apply_translations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `detect_conflicts` and `resolve_conflicts` are never used [INFO] [stdout] --> src/sync/full_sync.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 24 | impl FullSyncMode { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | async fn detect_conflicts(&self, config: &Config) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | async fn resolve_conflicts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ConflictResolutionStrategy` is never used [INFO] [stdout] --> src/sync/full_sync.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | pub enum ConflictResolutionStrategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `language` is never read [INFO] [stdout] --> src/sync/sync_back.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 332 | struct SyncOperation { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 333 | namespace: String, [INFO] [stdout] 334 | language: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyncOperation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `I18nSyncError` is never used [INFO] [stdout] --> src/utils/errors.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum I18nSyncError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s [INFO] running `Command { std: "docker" "inspect" "3a8c08c2d1ae6608a51cecb9b1c134866df5a10399cfebfcad4f56190ef3814f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a8c08c2d1ae6608a51cecb9b1c134866df5a10399cfebfcad4f56190ef3814f", kill_on_drop: false }` [INFO] [stdout] 3a8c08c2d1ae6608a51cecb9b1c134866df5a10399cfebfcad4f56190ef3814f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69904aefb9972d6f16fc103672cc7fe5c0bb3e36ad18632273dbb9fdacaf1ec6 [INFO] running `Command { std: "docker" "start" "-a" "69904aefb9972d6f16fc103672cc7fe5c0bb3e36ad18632273dbb9fdacaf1ec6", kill_on_drop: false }` [INFO] [stderr] Compiling i18n_google_sync v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/sync/full_sync.rs:63:38 [INFO] [stdout] | [INFO] [stdout] 63 | async fn detect_conflicts(&self, config: &Config) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_auth_cache_path` is never used [INFO] [stdout] --> src/auth/oauth.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl AuthManager { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 515 | pub fn get_auth_cache_path(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `namespace` is never read [INFO] [stdout] --> src/files/parser.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct TranslationKey { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub namespace: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TranslationKey` 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 `generate_translate_formula`, `extract_translated_value`, and `batch_apply_translations` are never used [INFO] [stdout] --> src/sheets/translate.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl TranslateService { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn generate_translate_formula( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn extract_translated_value(&self, cell_content: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn batch_apply_translations( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `detect_conflicts` and `resolve_conflicts` are never used [INFO] [stdout] --> src/sync/full_sync.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 24 | impl FullSyncMode { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | async fn detect_conflicts(&self, config: &Config) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | async fn resolve_conflicts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ConflictResolutionStrategy` is never used [INFO] [stdout] --> src/sync/full_sync.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | pub enum ConflictResolutionStrategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `language` is never read [INFO] [stdout] --> src/sync/sync_back.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 332 | struct SyncOperation { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 333 | namespace: String, [INFO] [stdout] 334 | language: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyncOperation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `I18nSyncError` is never used [INFO] [stdout] --> src/utils/errors.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum I18nSyncError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.96s [INFO] running `Command { std: "docker" "inspect" "69904aefb9972d6f16fc103672cc7fe5c0bb3e36ad18632273dbb9fdacaf1ec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69904aefb9972d6f16fc103672cc7fe5c0bb3e36ad18632273dbb9fdacaf1ec6", kill_on_drop: false }` [INFO] [stdout] 69904aefb9972d6f16fc103672cc7fe5c0bb3e36ad18632273dbb9fdacaf1ec6 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8367830cc7c4307c7b3c072ba562d6334a833645374bebfc7bb57f61310bdf78 [INFO] running `Command { std: "docker" "start" "-a" "8367830cc7c4307c7b3c072ba562d6334a833645374bebfc7bb57f61310bdf78", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/sync/full_sync.rs:63:38 [INFO] [stderr] | [INFO] [stderr] 63 | async fn detect_conflicts(&self, config: &Config) -> Result> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_auth_cache_path` is never used [INFO] [stderr] --> src/auth/oauth.rs:515:12 [INFO] [stderr] | [INFO] [stderr] 61 | impl AuthManager { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 515 | pub fn get_auth_cache_path(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `namespace` is never read [INFO] [stderr] --> src/files/parser.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct TranslationKey { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 26 | pub namespace: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TranslationKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `generate_translate_formula`, `extract_translated_value`, and `batch_apply_translations` are never used [INFO] [stderr] --> src/sheets/translate.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl TranslateService { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn generate_translate_formula( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | pub fn extract_translated_value(&self, cell_content: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 125 | pub fn batch_apply_translations( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `detect_conflicts` and `resolve_conflicts` are never used [INFO] [stderr] --> src/sync/full_sync.rs:63:14 [INFO] [stderr] | [INFO] [stderr] 24 | impl FullSyncMode { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 63 | async fn detect_conflicts(&self, config: &Config) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 69 | async fn resolve_conflicts( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `ConflictResolutionStrategy` is never used [INFO] [stderr] --> src/sync/full_sync.rs:85:10 [INFO] [stderr] | [INFO] [stderr] 85 | pub enum ConflictResolutionStrategy { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `language` is never read [INFO] [stderr] --> src/sync/sync_back.rs:334:5 [INFO] [stderr] | [INFO] [stderr] 332 | struct SyncOperation { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 333 | namespace: String, [INFO] [stderr] 334 | language: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SyncOperation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `I18nSyncError` is never used [INFO] [stderr] --> src/utils/errors.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | pub enum I18nSyncError { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `i18n_google_sync` (bin "i18n_google_sync" test) generated 8 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/i18n_google_sync-b10f213752dc6fc5) [INFO] [stdout] [INFO] [stdout] running 47 tests [INFO] [stdout] test auth::oauth::tests::test_cache_tokens_no_cache_path ... ok [INFO] [stdout] test auth::oauth::tests::test_auth_manager_new ... ok [INFO] [stdout] test auth::oauth::tests::test_clear_cache ... ok [INFO] [stdout] test auth::oauth::tests::test_auth_manager_with_client_secret ... ok [INFO] [stdout] test auth::oauth::tests::test_clear_cache_no_cache_path ... ok [INFO] [stdout] test auth::oauth::tests::test_clear_cache_no_file ... ok [INFO] [stdout] test auth::oauth::tests::test_cache_tokens ... ok [INFO] [stdout] test auth::oauth::tests::test_find_client_secret_file_not_found ... ok [INFO] [stdout] test auth::oauth::tests::test_find_client_secret_file_custom ... ok [INFO] [stdout] test auth::oauth::tests::test_get_cached_auth_malformed_cache ... ok [INFO] [stdout] test auth::oauth::tests::test_get_cached_auth_expired_token ... ok [INFO] [stdout] test auth::oauth::tests::test_get_cached_auth_no_cache_path ... ok [INFO] [stdout] test auth::oauth::tests::test_find_existing_token_no_tokens ... ok [INFO] [stdout] test auth::oauth::tests::test_get_cached_auth_no_cache_file ... ok [INFO] [stdout] test auth::oauth::tests::test_refresh_token_no_cache_path ... ok [INFO] [stdout] test auth::oauth::tests::test_load_client_secret_from_file ... ok [INFO] [stdout] test config::tests::test_config_validation_nonexistent_path ... ok [INFO] [stdout] test auth::oauth::tests::test_validate_token_file_nonexistent ... ok [INFO] [stdout] test config::tests::test_operation_mode_serialization ... ok [INFO] [stdout] test auth::oauth::tests::test_load_client_secret_direct_format ... ok [INFO] [stdout] test auth::oauth::tests::test_find_client_secret_file_custom_not_found ... ok [INFO] [stdout] test files::parser::tests::test_extract_translation_keys_array ... ok [INFO] [stdout] test auth::oauth::tests::test_validate_token_file_valid_token ... ok [INFO] [stdout] test files::parser::tests::test_extract_translation_keys_nested ... ok [INFO] [stdout] test config::tests::test_config_new ... ok [INFO] [stdout] test config::tests::test_config_validation_empty_default_lang ... ok [INFO] [stdout] test auth::oauth::tests::test_get_cached_auth_valid_token ... ok [INFO] [stdout] test files::parser::tests::test_get_value_at_path ... ok [INFO] [stdout] test config::tests::test_config_validation_empty_sheet_id ... ok [INFO] [stdout] test auth::oauth::tests::test_load_client_secret_malformed_file ... ok [INFO] [stdout] test auth::oauth::tests::test_load_client_secret_default ... ok [INFO] [stdout] test files::parser::tests::test_scan_nonexistent_directory ... ok [INFO] [stdout] test config::tests::test_config_validation_empty_main_language ... ok [INFO] [stdout] test files::parser::tests::test_extract_translation_keys_simple ... ok [INFO] [stdout] test auth::oauth::tests::test_refresh_token_no_cache_file ... ok [INFO] [stdout] test config::tests::test_config_validation_success ... ok [INFO] [stdout] test config::tests::test_config_validation_path_is_file ... ok [INFO] [stdout] test files::parser::tests::test_scan_locales_directory ... ok [INFO] [stdout] test files::parser::tests::test_parse_invalid_json ... ok [INFO] [stdout] test files::parser::tests::test_validate_file_structure_inconsistent_keys ... ok [INFO] [stdout] test files::parser::tests::test_validate_file_structure_missing_file ... ok [INFO] [stdout] test auth::oauth::tests::test_validate_token_file_empty_file ... ok [INFO] [stdout] test sheets::manager::tests::generates_formula_for_missing_translation ... ok [INFO] [stdout] test auth::oauth::tests::test_refresh_token_no_refresh_token ... ok [INFO] [stdout] test sheets::manager::tests::reuses_existing_translation_when_present ... ok [INFO] [stdout] test files::parser::tests::test_parse_translation_file ... ok [INFO] [stdout] test files::parser::tests::test_validate_file_structure_success ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 47 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8367830cc7c4307c7b3c072ba562d6334a833645374bebfc7bb57f61310bdf78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8367830cc7c4307c7b3c072ba562d6334a833645374bebfc7bb57f61310bdf78", kill_on_drop: false }` [INFO] [stdout] 8367830cc7c4307c7b3c072ba562d6334a833645374bebfc7bb57f61310bdf78