[INFO] fetching crate cc-switch-tui 0.2.2...
[INFO] checking cc-switch-tui-0.2.2 against 1ed2df61a19042f231709eb05d032ae9e2cb2084 for pr-160235
[INFO] extracting crate cc-switch-tui 0.2.2 into /workspace/builds/worker-7-tc1/source
[INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate cc-switch-tui 0.2.2
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate cc-switch-tui 0.2.2
[INFO] tweaked toml for crates.io crate cc-switch-tui 0.2.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate cc-switch-tui 0.2.2 on toolchain 1ed2df61a19042f231709eb05d032ae9e2cb2084
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate cc-switch-tui 0.2.2 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" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rquickjs v0.8.1
[INFO] [stderr]   Downloaded ct-codecs v1.1.6
[INFO] [stderr]   Downloaded anpa v0.10.0
[INFO] [stderr]   Downloaded json-five v0.3.1
[INFO] [stderr]   Downloaded clap_complete v4.6.5
[INFO] [stderr]   Downloaded inquire v0.9.4
[INFO] [stderr]   Downloaded rquickjs-core v0.8.1
[INFO] [stderr]   Downloaded rust_decimal v1.42.0
[INFO] [stderr]   Downloaded tachyonfx v0.25.0
[INFO] [stderr]   Downloaded rquickjs-sys v0.8.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] be0c9c3c8338e36caf525e6255803804551667840de9a57958f6cfce9d4d4853
[INFO] running `Command { std: "docker" "start" "be0c9c3c8338e36caf525e6255803804551667840de9a57958f6cfce9d4d4853", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be0c9c3c8338e36caf525e6255803804551667840de9a57958f6cfce9d4d4853", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "be0c9c3c8338e36caf525e6255803804551667840de9a57958f6cfce9d4d4853" "/opt/rustwide/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be0c9c3c8338e36caf525e6255803804551667840de9a57958f6cfce9d4d4853", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "be0c9c3c8338e36caf525e6255803804551667840de9a57958f6cfce9d4d4853" "/opt/rustwide/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]     Checking typenum v1.20.0
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]    Compiling cc v1.2.62
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]     Checking kasuari v0.4.12
[INFO] [stderr]     Checking rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking signal-hook-mio v0.2.5
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking rustix v0.38.44
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling unicode-general-category v1.1.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]    Compiling pest v2.8.6
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking webpki-roots v1.0.7
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling rquickjs-sys v0.8.1
[INFO] [stderr]     Checking crossterm v0.29.0
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]    Compiling lzma-sys v0.1.20
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling bzip2-sys v0.1.13+1.0.8
[INFO] [stderr]    Compiling pest_meta v2.8.6
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking pbkdf2 v0.12.2
[INFO] [stderr]     Checking terminal_size v0.4.4
[INFO] [stderr]    Compiling libsqlite3-sys v0.28.0
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking clap_builder v4.6.0
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling zip v2.4.2
[INFO] [stderr]     Checking strum v0.27.2
[INFO] [stderr]     Checking bumpalo v3.20.2
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]    Compiling rust_decimal v1.42.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking ratatui-core v0.1.0
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking lzma-rs v0.3.0
[INFO] [stderr]     Checking zopfli v0.8.3
[INFO] [stderr]     Checking env_filter v1.0.1
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking xz2 v0.1.7
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling cc-switch-tui v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking fuzzy-matcher v0.3.7
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking which v4.4.2
[INFO] [stderr]    Compiling pest_generator v2.8.6
[INFO] [stderr]     Checking bzip2 v0.5.2
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]     Checking xattr v1.6.1
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]    Compiling instability v0.3.12
[INFO] [stderr]    Compiling bon-macros v3.9.1
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]     Checking anpa v0.10.0
[INFO] [stderr]     Checking jiff v0.2.24
[INFO] [stderr]     Checking micromath v2.1.0
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking ratatui-widgets v0.3.0
[INFO] [stderr]     Checking ratatui-crossterm v0.1.0
[INFO] [stderr]     Checking number_prefix v0.4.0
[INFO] [stderr]     Checking colored v2.2.0
[INFO] [stderr]     Checking indicatif v0.17.11
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]    Compiling pest_derive v2.8.6
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking json-five v0.3.1
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking inquire v0.9.4
[INFO] [stderr]     Checking tar v0.4.46
[INFO] [stderr]     Checking clap_complete v4.6.5
[INFO] [stderr]     Checking edit v0.1.5
[INFO] [stderr]     Checking dirs v5.0.1
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking which v6.0.3
[INFO] [stderr]     Checking salsa20 v0.10.2
[INFO] [stderr]     Checking comfy-table v7.2.2
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking uuid v1.23.1
[INFO] [stderr]     Checking rtoolbox v0.0.5
[INFO] [stderr]     Checking minisign-verify v0.2.5
[INFO] [stderr]     Checking semver v1.0.28
[INFO] [stderr]     Checking sdd v3.0.10
[INFO] [stderr]     Checking ratatui-macros v0.7.0
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking ratatui v0.30.0
[INFO] [stderr]     Checking rpassword v7.5.2
[INFO] [stderr]     Checking scrypt v0.11.0
[INFO] [stderr]     Checking scc v2.4.0
[INFO] [stderr]    Compiling serial_test_derive v3.4.0
[INFO] [stderr]     Checking ct-codecs v1.1.6
[INFO] [stderr]     Checking minisign v0.9.1
[INFO] [stderr]     Checking h2 v0.4.14
[INFO] [stderr]     Checking tower-http v0.6.11
[INFO] [stderr]     Checking serial_test v3.4.0
[INFO] [stderr]     Checking bon v3.9.1
[INFO] [stderr]     Checking tachyonfx v0.25.0
[INFO] [stderr]     Checking rustls-webpki v0.103.13
[INFO] [stderr]     Checking env_logger v0.11.10
[INFO] [stderr]     Checking rquickjs-core v0.8.1
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking rquickjs v0.8.1
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking hyper-rustls v0.27.9
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking rusqlite v0.31.0
[INFO] [stdout] warning: function `gemini_oauth_client_from_json` is never used
[INFO] [stdout]    --> src/services/subscription.rs:691:4
[INFO] [stdout]     |
[INFO] [stdout] 691 | fn gemini_oauth_client_from_json(value: &serde_json::Value) -> Option<GeminiOAuthClient> {
[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 `state_from_config` is never used
[INFO] [stdout]   --> tests/support.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn state_from_config(config: MultiAppConfig) -> AppState {
[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 `state_from_config` is never used
[INFO] [stdout]   --> tests/support.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn state_from_config(config: MultiAppConfig) -> AppState {
[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 `state_from_config` is never used
[INFO] [stdout]   --> tests/support.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn state_from_config(config: MultiAppConfig) -> AppState {
[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 `state_from_config` is never used
[INFO] [stdout]   --> tests/support.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn state_from_config(config: MultiAppConfig) -> AppState {
[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 `as_str` is never used
[INFO] [stdout]   --> tests/settings_visible_apps.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |     impl AppType {
[INFO] [stdout]    |     ------------ method in this implementation
[INFO] [stdout] 20 |         pub fn as_str(&self) -> &'static str {
[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 `set_has_completed_onboarding` is never used
[INFO] [stdout]   --> tests/settings_visible_apps.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn set_has_completed_onboarding() -> Result<(), AppError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clear_has_completed_onboarding` is never used
[INFO] [stdout]   --> tests/settings_visible_apps.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn clear_has_completed_onboarding() -> Result<(), AppError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Database` is never constructed
[INFO] [stdout]   --> tests/settings_visible_apps.rs:70:16
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub struct Database {
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `insert_provider`, `set_db_current`, `get_all_providers`, and `get_current_provider` are never used
[INFO] [stdout]   --> tests/settings_visible_apps.rs:76:16
[INFO] [stdout]    |
[INFO] [stdout] 75 |     impl Database {
[INFO] [stdout]    |     ------------- methods in this implementation
[INFO] [stdout] 76 |         pub fn insert_provider(&mut self, app_type: &str, id: &str) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |         pub fn set_db_current(&mut self, app_type: &str, id: &str) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |         pub fn get_all_providers(
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |         pub fn get_current_provider(&self, app_type: &str) -> Result<Option<String>, AppError> {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Config` is never constructed
[INFO] [stdout]    --> tests/settings_visible_apps.rs:109:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub enum AppError {
[INFO] [stdout]     |              -------- variant in this enum
[INFO] [stdout] 108 |         #[error("配置错误: {0}")]
[INFO] [stdout] 109 |         Config(String),
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_base_url` is never used
[INFO] [stdout]    --> tests/settings_visible_apps.rs:161:16
[INFO] [stdout]     |
[INFO] [stdout] 161 |         pub fn parse_base_url(raw: &str) -> Result<Url, AppError> {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_provider_base_url` is never used
[INFO] [stdout]    --> tests/settings_visible_apps.rs:177:12
[INFO] [stdout]     |
[INFO] [stdout] 177 |         fn validate_provider_base_url(url: &Url) -> Result<(), AppError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `detect_provider` is never used
[INFO] [stdout]    --> tests/settings_visible_apps.rs:195:12
[INFO] [stdout]     |
[INFO] [stdout] 195 |         fn detect_provider(url: &Url) -> Option<(&'static str, &'static str)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_enabled_for` is never used
[INFO] [stdout]   --> tests/../src/settings.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl VisibleApps {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn set_enabled_for(&mut self, app_type: &AppType, enabled: bool) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `JIANGUOYUN_WEBDAV_BASE_URL` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:224:7
[INFO] [stdout]     |
[INFO] [stdout] 224 | const JIANGUOYUN_WEBDAV_BASE_URL: &str = "https://dav.jianguoyun.com/dav";
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `jianguoyun_preset` and `validate` are never used
[INFO] [stdout]    --> tests/../src/settings.rs:242:12
[INFO] [stdout]     |
[INFO] [stdout] 241 | impl WebDavSyncSettings {
[INFO] [stdout]     | ----------------------- associated items in this implementation
[INFO] [stdout] 242 |     pub fn jianguoyun_preset(username: &str, password: &str) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 264 |     pub fn validate(&self) -> Result<(), AppError> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reload_settings` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:518:8
[INFO] [stdout]     |
[INFO] [stdout] 518 | pub fn reload_settings() -> Result<(), AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `resolve_override_path` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:531:4
[INFO] [stdout]     |
[INFO] [stdout] 531 | fn resolve_override_path(raw: &str) -> PathBuf {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_security_auth_selected_type` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:563:8
[INFO] [stdout]     |
[INFO] [stdout] 563 | pub fn ensure_security_auth_selected_type(selected_type: &str) -> Result<(), AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_claude_override_dir` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:584:8
[INFO] [stdout]     |
[INFO] [stdout] 584 | pub fn get_claude_override_dir() -> Option<PathBuf> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_codex_override_dir` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:592:8
[INFO] [stdout]     |
[INFO] [stdout] 592 | pub fn get_codex_override_dir() -> Option<PathBuf> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_gemini_override_dir` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:600:8
[INFO] [stdout]     |
[INFO] [stdout] 600 | pub fn get_gemini_override_dir() -> Option<PathBuf> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_opencode_override_dir` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:608:8
[INFO] [stdout]     |
[INFO] [stdout] 608 | pub fn get_opencode_override_dir() -> Option<PathBuf> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_openclaw_override_dir` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:616:8
[INFO] [stdout]     |
[INFO] [stdout] 616 | pub fn get_openclaw_override_dir() -> Option<PathBuf> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_hermes_override_dir` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:624:8
[INFO] [stdout]     |
[INFO] [stdout] 624 | pub fn get_hermes_override_dir() -> Option<PathBuf> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_current_provider` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:632:8
[INFO] [stdout]     |
[INFO] [stdout] 632 | pub fn get_current_provider(app_type: &AppType) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_current_provider` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:644:8
[INFO] [stdout]     |
[INFO] [stdout] 644 | pub fn set_current_provider(app_type: &AppType, id: Option<&str>) -> Result<(), AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_effective_current_provider` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:674:8
[INFO] [stdout]     |
[INFO] [stdout] 674 | pub fn get_effective_current_provider(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_skill_sync_method` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:695:8
[INFO] [stdout]     |
[INFO] [stdout] 695 | pub fn get_skill_sync_method() -> crate::services::skill::SyncMethod {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `effective_backup_retain_count` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:702:8
[INFO] [stdout]     |
[INFO] [stdout] 702 | pub fn effective_backup_retain_count() -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_skill_sync_method` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:714:8
[INFO] [stdout]     |
[INFO] [stdout] 714 | pub fn set_skill_sync_method(method: crate::services::skill::SyncMethod) -> Result<(), AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_webdav_sync_settings` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:720:8
[INFO] [stdout]     |
[INFO] [stdout] 720 | pub fn get_webdav_sync_settings() -> Option<WebDavSyncSettings> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_webdav_sync_settings` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:727:8
[INFO] [stdout]     |
[INFO] [stdout] 727 | pub fn set_webdav_sync_settings(webdav_sync: Option<WebDavSyncSettings>) -> Result<(), AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_webdav_sync_status` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:740:8
[INFO] [stdout]     |
[INFO] [stdout] 740 | pub fn update_webdav_sync_status(status: WebDavSyncStatus) -> Result<(), AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_save_shortcut` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:748:8
[INFO] [stdout]     |
[INFO] [stdout] 748 | pub fn get_save_shortcut() -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `webdav_jianguoyun_preset` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:754:8
[INFO] [stdout]     |
[INFO] [stdout] 754 | pub fn webdav_jianguoyun_preset(username: &str, password: &str) -> WebDavSyncSettings {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_skip_claude_onboarding` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:758:8
[INFO] [stdout]     |
[INFO] [stdout] 758 | pub fn get_skip_claude_onboarding() -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_enable_claude_plugin_integration` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:765:8
[INFO] [stdout]     |
[INFO] [stdout] 765 | pub fn get_enable_claude_plugin_integration() -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_enable_claude_plugin_integration` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:772:8
[INFO] [stdout]     |
[INFO] [stdout] 772 | pub fn set_enable_claude_plugin_integration(enabled: bool) -> Result<(), AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_skip_claude_onboarding` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:778:8
[INFO] [stdout]     |
[INFO] [stdout] 778 | pub fn set_skip_claude_onboarding(enabled: bool) -> Result<(), AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `state_from_config` is never used
[INFO] [stdout]   --> tests/support.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn state_from_config(config: MultiAppConfig) -> AppState {
[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 `state_from_config` is never used
[INFO] [stdout]   --> tests/support.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn state_from_config(config: MultiAppConfig) -> AppState {
[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 `state_from_config` is never used
[INFO] [stdout]   --> tests/support.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn state_from_config(config: MultiAppConfig) -> AppState {
[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 `reset_test_fs` is never used
[INFO] [stdout]   --> tests/support.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn reset_test_fs() {
[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 `test_mutex` is never used
[INFO] [stdout]   --> tests/support.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn test_mutex() -> &'static Mutex<()> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lock_test_mutex` is never used
[INFO] [stdout]   --> tests/support.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub fn lock_test_mutex() -> MutexGuard<'static, ()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `state_from_config` is never used
[INFO] [stdout]   --> tests/support.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn state_from_config(config: MultiAppConfig) -> AppState {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_has_completed_onboarding` is never used
[INFO] [stdout]   --> tests/settings_current_provider.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn set_has_completed_onboarding() -> Result<(), AppError> {
[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 `clear_has_completed_onboarding` is never used
[INFO] [stdout]   --> tests/settings_current_provider.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn clear_has_completed_onboarding() -> Result<(), AppError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Config` is never constructed
[INFO] [stdout]    --> tests/settings_current_provider.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     pub enum AppError {
[INFO] [stdout]     |              -------- variant in this enum
[INFO] [stdout] 105 |         #[error("配置错误: {0}")]
[INFO] [stdout] 106 |         Config(String),
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_base_url` is never used
[INFO] [stdout]    --> tests/settings_current_provider.rs:158:16
[INFO] [stdout]     |
[INFO] [stdout] 158 |         pub fn parse_base_url(raw: &str) -> Result<Url, AppError> {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_provider_base_url` is never used
[INFO] [stdout]    --> tests/settings_current_provider.rs:174:12
[INFO] [stdout]     |
[INFO] [stdout] 174 |         fn validate_provider_base_url(url: &Url) -> Result<(), AppError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `detect_provider` is never used
[INFO] [stdout]    --> tests/settings_current_provider.rs:192:12
[INFO] [stdout]     |
[INFO] [stdout] 192 |         fn detect_provider(url: &Url) -> Option<(&'static str, &'static str)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_enabled_for` is never used
[INFO] [stdout]   --> tests/../src/settings.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl VisibleApps {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn set_enabled_for(&mut self, app_type: &AppType, enabled: bool) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `next_visible_app` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub fn next_visible_app(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `JIANGUOYUN_WEBDAV_BASE_URL` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:224:7
[INFO] [stdout]     |
[INFO] [stdout] 224 | const JIANGUOYUN_WEBDAV_BASE_URL: &str = "https://dav.jianguoyun.com/dav";
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `jianguoyun_preset` and `validate` are never used
[INFO] [stdout]    --> tests/../src/settings.rs:242:12
[INFO] [stdout]     |
[INFO] [stdout] 241 | impl WebDavSyncSettings {
[INFO] [stdout]     | ----------------------- associated items in this implementation
[INFO] [stdout] 242 |     pub fn jianguoyun_preset(username: &str, password: &str) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 264 |     pub fn validate(&self) -> Result<(), AppError> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reload_settings` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:518:8
[INFO] [stdout]     |
[INFO] [stdout] 518 | pub fn reload_settings() -> Result<(), AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reload_test_settings` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:526:15
[INFO] [stdout]     |
[INFO] [stdout] 526 | pub(crate) fn reload_test_settings() {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `resolve_override_path` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:531:4
[INFO] [stdout]     |
[INFO] [stdout] 531 | fn resolve_override_path(raw: &str) -> PathBuf {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ensure_security_auth_selected_type` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:563:8
[INFO] [stdout]     |
[INFO] [stdout] 563 | pub fn ensure_security_auth_selected_type(selected_type: &str) -> Result<(), AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_claude_override_dir` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:584:8
[INFO] [stdout]     |
[INFO] [stdout] 584 | pub fn get_claude_override_dir() -> Option<PathBuf> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_codex_override_dir` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:592:8
[INFO] [stdout]     |
[INFO] [stdout] 592 | pub fn get_codex_override_dir() -> Option<PathBuf> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_gemini_override_dir` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:600:8
[INFO] [stdout]     |
[INFO] [stdout] 600 | pub fn get_gemini_override_dir() -> Option<PathBuf> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_opencode_override_dir` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:608:8
[INFO] [stdout]     |
[INFO] [stdout] 608 | pub fn get_opencode_override_dir() -> Option<PathBuf> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_openclaw_override_dir` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:616:8
[INFO] [stdout]     |
[INFO] [stdout] 616 | pub fn get_openclaw_override_dir() -> Option<PathBuf> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_hermes_override_dir` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:624:8
[INFO] [stdout]     |
[INFO] [stdout] 624 | pub fn get_hermes_override_dir() -> Option<PathBuf> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_visible_apps` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:659:8
[INFO] [stdout]     |
[INFO] [stdout] 659 | pub fn get_visible_apps() -> VisibleApps {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_visible_apps` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:666:8
[INFO] [stdout]     |
[INFO] [stdout] 666 | pub fn set_visible_apps(visible_apps: VisibleApps) -> Result<(), AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_skill_sync_method` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:695:8
[INFO] [stdout]     |
[INFO] [stdout] 695 | pub fn get_skill_sync_method() -> crate::services::skill::SyncMethod {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `effective_backup_retain_count` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:702:8
[INFO] [stdout]     |
[INFO] [stdout] 702 | pub fn effective_backup_retain_count() -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_skill_sync_method` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:714:8
[INFO] [stdout]     |
[INFO] [stdout] 714 | pub fn set_skill_sync_method(method: crate::services::skill::SyncMethod) -> Result<(), AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_webdav_sync_settings` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:720:8
[INFO] [stdout]     |
[INFO] [stdout] 720 | pub fn get_webdav_sync_settings() -> Option<WebDavSyncSettings> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_webdav_sync_settings` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:727:8
[INFO] [stdout]     |
[INFO] [stdout] 727 | pub fn set_webdav_sync_settings(webdav_sync: Option<WebDavSyncSettings>) -> Result<(), AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_webdav_sync_status` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:740:8
[INFO] [stdout]     |
[INFO] [stdout] 740 | pub fn update_webdav_sync_status(status: WebDavSyncStatus) -> Result<(), AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_save_shortcut` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:748:8
[INFO] [stdout]     |
[INFO] [stdout] 748 | pub fn get_save_shortcut() -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `webdav_jianguoyun_preset` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:754:8
[INFO] [stdout]     |
[INFO] [stdout] 754 | pub fn webdav_jianguoyun_preset(username: &str, password: &str) -> WebDavSyncSettings {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_skip_claude_onboarding` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:758:8
[INFO] [stdout]     |
[INFO] [stdout] 758 | pub fn get_skip_claude_onboarding() -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_enable_claude_plugin_integration` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:765:8
[INFO] [stdout]     |
[INFO] [stdout] 765 | pub fn get_enable_claude_plugin_integration() -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_enable_claude_plugin_integration` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:772:8
[INFO] [stdout]     |
[INFO] [stdout] 772 | pub fn set_enable_claude_plugin_integration(enabled: bool) -> Result<(), AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_skip_claude_onboarding` is never used
[INFO] [stdout]    --> tests/../src/settings.rs:778:8
[INFO] [stdout]     |
[INFO] [stdout] 778 | pub fn set_skip_claude_onboarding(enabled: bool) -> Result<(), AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `state_from_config` is never used
[INFO] [stdout]   --> tests/support.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn state_from_config(config: MultiAppConfig) -> AppState {
[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 `state_from_config` is never used
[INFO] [stdout]   --> tests/support.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn state_from_config(config: MultiAppConfig) -> AppState {
[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 `state_from_config` is never used
[INFO] [stdout]   --> tests/support.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn state_from_config(config: MultiAppConfig) -> AppState {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Database`, `InvalidInput`, and `Localized` are never constructed
[INFO] [stdout]   --> tests/openclaw_config.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub enum AppError {
[INFO] [stdout]    |              -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 19 |         Database(String),
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 20 |         #[error("无效输入: {0}")]
[INFO] [stdout] 21 |         InvalidInput(String),
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |         Localized {
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `localized` is never used
[INFO] [stdout]   --> tests/openclaw_config.rs:51:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |     impl AppError {
[INFO] [stdout]    |     ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51 |         pub fn localized(key: &'static str, zh: impl Into<String>, en: impl Into<String>) -> Self {
[INFO] [stdout]    |                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_openclaw_config_source` is never used
[INFO] [stdout]    --> tests/../src/openclaw_config.rs:189:8
[INFO] [stdout]     |
[INFO] [stdout] 189 | pub fn read_openclaw_config_source() -> Result<Option<String>, AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_openclaw_config_source` is never used
[INFO] [stdout]    --> tests/../src/openclaw_config.rs:200:8
[INFO] [stdout]     |
[INFO] [stdout] 200 | pub fn write_openclaw_config_source(source: &str) -> Result<(), AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_provider` is never used
[INFO] [stdout]    --> tests/../src/openclaw_config.rs:670:8
[INFO] [stdout]     |
[INFO] [stdout] 670 | pub fn get_provider(id: &str) -> Result<Option<Value>, AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_mcp_servers` is never used
[INFO] [stdout]    --> tests/../src/openclaw_config.rs:674:8
[INFO] [stdout]     |
[INFO] [stdout] 674 | pub fn get_mcp_servers() -> Result<Map<String, Value>, AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_mcp_server` is never used
[INFO] [stdout]    --> tests/../src/openclaw_config.rs:684:8
[INFO] [stdout]     |
[INFO] [stdout] 684 | pub fn set_mcp_server(id: &str, server_config: Value) -> Result<OpenClawWriteOutcome, AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_mcp_server` is never used
[INFO] [stdout]    --> tests/../src/openclaw_config.rs:704:8
[INFO] [stdout]     |
[INFO] [stdout] 704 | pub fn remove_mcp_server(id: &str) -> Result<OpenClawWriteOutcome, AppError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `state_from_config` is never used
[INFO] [stdout]   --> tests/support.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn state_from_config(config: MultiAppConfig) -> AppState {
[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 `gemini_oauth_client_from_json` is never used
[INFO] [stdout]    --> src/services/subscription.rs:691:4
[INFO] [stdout]     |
[INFO] [stdout] 691 | fn gemini_oauth_client_from_json(value: &serde_json::Value) -> Option<GeminiOAuthClient> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s
[INFO] running `Command { std: "docker" "inspect" "be0c9c3c8338e36caf525e6255803804551667840de9a57958f6cfce9d4d4853", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be0c9c3c8338e36caf525e6255803804551667840de9a57958f6cfce9d4d4853", kill_on_drop: false }`
[INFO] [stdout] be0c9c3c8338e36caf525e6255803804551667840de9a57958f6cfce9d4d4853
