[INFO] cloning repository https://github.com/hwangdev97/Rosetta [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hwangdev97/Rosetta" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhwangdev97%2FRosetta", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhwangdev97%2FRosetta'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e4344a36b3ee2cf838939e6898a0ddbb297c911 [INFO] testing hwangdev97/Rosetta against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhwangdev97%2FRosetta" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hwangdev97/Rosetta [INFO] finished tweaking git repo https://github.com/hwangdev97/Rosetta [INFO] tweaked toml for git repo https://github.com/hwangdev97/Rosetta written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hwangdev97/Rosetta on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hwangdev97/Rosetta 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36667f7cd24dce98fa09a55c0638819aca20b38a502e3107c7ce436562b3fe37 [INFO] running `Command { std: "docker" "start" "-a" "36667f7cd24dce98fa09a55c0638819aca20b38a502e3107c7ce436562b3fe37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36667f7cd24dce98fa09a55c0638819aca20b38a502e3107c7ce436562b3fe37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36667f7cd24dce98fa09a55c0638819aca20b38a502e3107c7ce436562b3fe37", kill_on_drop: false }` [INFO] [stdout] 36667f7cd24dce98fa09a55c0638819aca20b38a502e3107c7ce436562b3fe37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9347fbc72d1654e601fad8bbdb9ec7c4d81c070348bc95c88462618525e205d [INFO] running `Command { std: "docker" "start" "-a" "d9347fbc72d1654e601fad8bbdb9ec7c4d81c070348bc95c88462618525e205d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling webpki-roots v1.0.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling config v0.13.4 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling gcp_auth v0.12.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling reqwest-eventsource v0.4.0 [INFO] [stderr] Compiling reqwest-streams v0.8.2 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling async-convert v1.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling comfy-table v7.1.4 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling google-generative-ai-rs v0.3.4 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling async-openai v0.18.3 [INFO] [stderr] Compiling anthropic v0.0.8 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling rosetta v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `beta` [INFO] [stdout] --> src/ai_provider.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | #[cfg(feature = "beta")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `beta` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `beta` [INFO] [stdout] --> src/ai_provider.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(not(feature = "beta"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `beta` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meaning` [INFO] [stdout] --> src/key_mappings.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn categorize_usage(key: &str, meaning: Option<&str>) -> Option { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meaning` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `beta` [INFO] [stdout] --> src/ai_provider.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | #[cfg(feature = "beta")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `beta` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `beta` [INFO] [stdout] --> src/ai_provider.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(not(feature = "beta"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `beta` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meaning` [INFO] [stdout] --> src/key_mappings.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn categorize_usage(key: &str, meaning: Option<&str>) -> Option { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meaning` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_project_path` is never used [INFO] [stdout] --> src/config.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn update_project_path(&mut self, path: Option) -> 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: function `run` is never used [INFO] [stdout] --> src/onboarding.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | pub async fn run() -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_ai_provider` is never used [INFO] [stdout] --> src/onboarding.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | pub async fn select_ai_provider() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_target_language` is never used [INFO] [stdout] --> src/onboarding.rs:346:14 [INFO] [stdout] | [INFO] [stdout] 346 | pub async fn select_target_language() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_mode` is never used [INFO] [stdout] --> src/onboarding.rs:374:14 [INFO] [stdout] | [INFO] [stdout] 374 | pub async fn select_mode() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_ai_provider_for_test` is never used [INFO] [stdout] --> src/onboarding.rs:389:14 [INFO] [stdout] | [INFO] [stdout] 389 | pub async fn select_ai_provider_for_test() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `translate_text`, `batch_translate`, and `batch_translate_with_context` are never used [INFO] [stdout] --> src/translator.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 38 | impl Translator { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub async fn translate_text( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub async fn batch_translate( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub async fn batch_translate_with_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `provider` is never read [INFO] [stdout] --> src/ui.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct UI { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 16 | pub provider: AIProvider, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ui.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl UI { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(provider: AIProvider) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn print_header(message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | pub fn display_provider_info(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn get_provider_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | pub fn get_model_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 469 | pub fn get_api_key(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | pub async fn translate_interactive( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | pub async fn translate_batch( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | pub async fn translate_untranslated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | pub async fn translate_all( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_config` is never used [INFO] [stdout] --> src/ui.rs:521:8 [INFO] [stdout] | [INFO] [stdout] 521 | pub fn display_config(config: &Config) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mask_api_key` is never used [INFO] [stdout] --> src/ui.rs:551:4 [INFO] [stdout] | [INFO] [stdout] 551 | fn mask_api_key(api_key: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_keys` and `get_keys_with_context_needing_translation` are never used [INFO] [stdout] --> src/xcstrings.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl XCStringsFile { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn get_keys(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn get_keys_with_context_needing_translation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidAPIKey`, `RateLimitExceeded`, and `ModelNotAvailable` are never constructed [INFO] [stdout] --> src/ai_provider.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum AIError { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 17 | #[error("Invalid API key")] [INFO] [stdout] 18 | InvalidAPIKey, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | RateLimitExceeded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | #[error("Model not available")] [INFO] [stdout] 24 | ModelNotAvailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AIError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `available_models` and `with_model` are never used [INFO] [stdout] --> src/ai_provider.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl AIProvider { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn available_models(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn with_model(&self, model: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 47s [INFO] running `Command { std: "docker" "inspect" "d9347fbc72d1654e601fad8bbdb9ec7c4d81c070348bc95c88462618525e205d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9347fbc72d1654e601fad8bbdb9ec7c4d81c070348bc95c88462618525e205d", kill_on_drop: false }` [INFO] [stdout] d9347fbc72d1654e601fad8bbdb9ec7c4d81c070348bc95c88462618525e205d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee15a28a87b33bdc574323ba98c486cc05bab6947b644c820d11a5af689aa74b [INFO] running `Command { std: "docker" "start" "-a" "ee15a28a87b33bdc574323ba98c486cc05bab6947b644c820d11a5af689aa74b", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `beta` [INFO] [stdout] --> src/ai_provider.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | #[cfg(feature = "beta")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `beta` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `beta` [INFO] [stdout] --> src/ai_provider.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(not(feature = "beta"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `beta` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meaning` [INFO] [stdout] --> src/key_mappings.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn categorize_usage(key: &str, meaning: Option<&str>) -> Option { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meaning` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `beta` [INFO] [stdout] --> src/ai_provider.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | #[cfg(feature = "beta")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `beta` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rosetta v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `beta` [INFO] [stdout] --> src/ai_provider.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(not(feature = "beta"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `beta` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meaning` [INFO] [stdout] --> src/key_mappings.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn categorize_usage(key: &str, meaning: Option<&str>) -> Option { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meaning` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_project_path` is never used [INFO] [stdout] --> src/config.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn update_project_path(&mut self, path: Option) -> 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: function `run` is never used [INFO] [stdout] --> src/onboarding.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | pub async fn run() -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_ai_provider` is never used [INFO] [stdout] --> src/onboarding.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | pub async fn select_ai_provider() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_target_language` is never used [INFO] [stdout] --> src/onboarding.rs:346:14 [INFO] [stdout] | [INFO] [stdout] 346 | pub async fn select_target_language() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_mode` is never used [INFO] [stdout] --> src/onboarding.rs:374:14 [INFO] [stdout] | [INFO] [stdout] 374 | pub async fn select_mode() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_ai_provider_for_test` is never used [INFO] [stdout] --> src/onboarding.rs:389:14 [INFO] [stdout] | [INFO] [stdout] 389 | pub async fn select_ai_provider_for_test() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `translate_text`, `batch_translate`, and `batch_translate_with_context` are never used [INFO] [stdout] --> src/translator.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 38 | impl Translator { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub async fn translate_text( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub async fn batch_translate( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub async fn batch_translate_with_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `provider` is never read [INFO] [stdout] --> src/ui.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct UI { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 16 | pub provider: AIProvider, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ui.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl UI { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(provider: AIProvider) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn print_header(message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | pub fn display_provider_info(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn get_provider_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | pub fn get_model_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 469 | pub fn get_api_key(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | pub async fn translate_interactive( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | pub async fn translate_batch( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | pub async fn translate_untranslated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | pub async fn translate_all( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_config` is never used [INFO] [stdout] --> src/ui.rs:521:8 [INFO] [stdout] | [INFO] [stdout] 521 | pub fn display_config(config: &Config) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mask_api_key` is never used [INFO] [stdout] --> src/ui.rs:551:4 [INFO] [stdout] | [INFO] [stdout] 551 | fn mask_api_key(api_key: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_keys` and `get_keys_with_context_needing_translation` are never used [INFO] [stdout] --> src/xcstrings.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl XCStringsFile { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn get_keys(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn get_keys_with_context_needing_translation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidAPIKey`, `RateLimitExceeded`, and `ModelNotAvailable` are never constructed [INFO] [stdout] --> src/ai_provider.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum AIError { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 17 | #[error("Invalid API key")] [INFO] [stdout] 18 | InvalidAPIKey, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | RateLimitExceeded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | #[error("Model not available")] [INFO] [stdout] 24 | ModelNotAvailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AIError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `available_models` and `with_model` are never used [INFO] [stdout] --> src/ai_provider.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl AIProvider { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn available_models(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn with_model(&self, model: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Grok` found for enum `AIProvider` [INFO] [stdout] --> tests/integration_test.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | AIProvider::Grok { [INFO] [stdout] | ^^^^ variant not found in `AIProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `Grok` found for enum `AIProvider` [INFO] [stdout] --> tests/integration_test.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | AIProvider::Grok { model, .. } => { [INFO] [stdout] | ^^^^ variant not found in `AIProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `beta` [INFO] [stdout] --> src/ai_provider.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | #[cfg(feature = "beta")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `beta` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `beta` [INFO] [stdout] --> src/ai_provider.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(not(feature = "beta"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `beta` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rosetta` (test "integration_test") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unexpected `cfg` condition value: `beta` [INFO] [stdout] --> src/ai_provider.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | #[cfg(feature = "beta")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `beta` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `beta` [INFO] [stdout] --> src/ai_provider.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(not(feature = "beta"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `beta` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meaning` [INFO] [stdout] --> src/key_mappings.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn categorize_usage(key: &str, meaning: Option<&str>) -> Option { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meaning` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meaning` [INFO] [stdout] --> src/key_mappings.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn categorize_usage(key: &str, meaning: Option<&str>) -> Option { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_meaning` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/onboarding.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | pub async fn run() -> 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: function `select_ai_provider` is never used [INFO] [stdout] --> src/onboarding.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | pub async fn select_ai_provider() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_target_language` is never used [INFO] [stdout] --> src/onboarding.rs:346:14 [INFO] [stdout] | [INFO] [stdout] 346 | pub async fn select_target_language() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_mode` is never used [INFO] [stdout] --> src/onboarding.rs:374:14 [INFO] [stdout] | [INFO] [stdout] 374 | pub async fn select_mode() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_ai_provider_for_test` is never used [INFO] [stdout] --> src/onboarding.rs:389:14 [INFO] [stdout] | [INFO] [stdout] 389 | pub async fn select_ai_provider_for_test() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `translate_text`, `batch_translate`, and `batch_translate_with_context` are never used [INFO] [stdout] --> src/translator.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 38 | impl Translator { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub async fn translate_text( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub async fn batch_translate( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub async fn batch_translate_with_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `provider` is never read [INFO] [stdout] --> src/ui.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct UI { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 16 | pub provider: AIProvider, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/ui.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl UI { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(provider: AIProvider) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn print_header(message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | pub fn display_provider_info(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn get_provider_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | pub fn get_model_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 469 | pub fn get_api_key(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | pub async fn translate_interactive( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | pub async fn translate_batch( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | pub async fn translate_untranslated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | pub async fn translate_all( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_config` is never used [INFO] [stdout] --> src/ui.rs:521:8 [INFO] [stdout] | [INFO] [stdout] 521 | pub fn display_config(config: &Config) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mask_api_key` is never used [INFO] [stdout] --> src/ui.rs:551:4 [INFO] [stdout] | [INFO] [stdout] 551 | fn mask_api_key(api_key: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_keys` and `get_keys_with_context_needing_translation` are never used [INFO] [stdout] --> src/xcstrings.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl XCStringsFile { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn get_keys(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn get_keys_with_context_needing_translation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_model` is never used [INFO] [stdout] --> src/ai_provider.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl AIProvider { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn with_model(&self, model: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ee15a28a87b33bdc574323ba98c486cc05bab6947b644c820d11a5af689aa74b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee15a28a87b33bdc574323ba98c486cc05bab6947b644c820d11a5af689aa74b", kill_on_drop: false }` [INFO] [stdout] ee15a28a87b33bdc574323ba98c486cc05bab6947b644c820d11a5af689aa74b