[INFO] cloning repository https://github.com/acproject/password_manager
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/acproject/password_manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facproject%2Fpassword_manager", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facproject%2Fpassword_manager'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1db60b871b27cc1bbb876bd912e88859a3064687
[INFO] checking acproject/password_manager against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facproject%2Fpassword_manager" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/acproject/password_manager
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/acproject/password_manager
[INFO] tweaked toml for git repo https://github.com/acproject/password_manager written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/acproject/password_manager on toolchain e117153a45c546e883c1f91d82611775fcaeffe0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/acproject/password_manager 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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f7d84fb0a8cbecd11cf7499b8f4be391e2086209a3cdbed09a467d9f3d968d48
[INFO] running `Command { std: "docker" "start" "-a" "f7d84fb0a8cbecd11cf7499b8f4be391e2086209a3cdbed09a467d9f3d968d48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f7d84fb0a8cbecd11cf7499b8f4be391e2086209a3cdbed09a467d9f3d968d48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7d84fb0a8cbecd11cf7499b8f4be391e2086209a3cdbed09a467d9f3d968d48", kill_on_drop: false }`
[INFO] [stdout] f7d84fb0a8cbecd11cf7499b8f4be391e2086209a3cdbed09a467d9f3d968d48
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] daaa4e7078249cf4ac5ce5f7b16c9b832e96474ddd820bef5347e36f7c2cb8bf
[INFO] running `Command { std: "docker" "start" "-a" "daaa4e7078249cf4ac5ce5f7b16c9b832e96474ddd820bef5347e36f7c2cb8bf", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.2.17
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking indexmap v2.8.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling rustix v1.0.5
[INFO] [stderr]    Compiling rustls v0.23.25
[INFO] [stderr]     Checking tokio-util v0.7.14
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling rustls-pki-types v1.11.0
[INFO] [stderr]    Compiling linux-raw-sys v0.9.3
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]     Checking h2 v0.4.8
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]    Compiling tokio v1.44.1
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling prettyplease v0.2.32
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]    Compiling webpki-roots v0.26.8
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.107
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling tempfile v3.19.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking pin-project-lite v0.1.12
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling prost-derive v0.13.5
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]    Compiling httpbis v0.9.1
[INFO] [stderr]     Checking tls-api v0.4.0
[INFO] [stderr]     Checking tls-api-stub v0.4.0
[INFO] [stderr]     Checking axum-core v0.5.2
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking unix_socket v0.5.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]     Checking log-ndc v0.2.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]     Checking quote v1.0.40
[INFO] [stderr]    Compiling prost v0.13.5
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]    Compiling prost-types v0.13.5
[INFO] [stderr]     Checking axum v0.8.3
[INFO] [stderr]     Checking rustls-webpki v0.103.1
[INFO] [stderr]     Checking hyper-util v0.1.11
[INFO] [stderr]    Compiling prost-build v0.13.5
[INFO] [stderr]     Checking grpc v0.8.3
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper-timeout v0.5.2
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.15
[INFO] [stderr]    Compiling tonic-build v0.13.0
[INFO] [stderr]    Compiling password_manager v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tonic v0.13.0
[INFO] [stderr]     Checking sqlx-core v0.8.3
[INFO] [stderr]     Checking sqlx-sqlite v0.8.3
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.3
[INFO] [stderr]    Compiling sqlx-macros v0.8.3
[INFO] [stderr]     Checking sqlx v0.8.3
[INFO] [stdout] warning: field `pending_approvals` is never read
[INFO] [stdout]   --> src/key_management/plugin.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct KeyManagementPlugin {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pending_approvals: Arc<Mutex<HashMap<String, (String, String)>>>, // 操作ID -> (密钥ID, 操作类型)
[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 `rotate_key` is never used
[INFO] [stdout]    --> src/key_management/plugin.rs:134:14
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl KeyManagementPlugin {
[INFO] [stdout]     | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 134 |     async fn rotate_key(&self, key_id: &str, user: &str) -> Result<KeyMetadata, String> {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pool` is never read
[INFO] [stdout]   --> src/persistence/db_persistence.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct DbPersistence {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 15 |     pool: Pool<Sqlite>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `supported_commands`, and `supported_events` are never read
[INFO] [stdout]   --> src/plugin_config.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct PluginConfig {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub(crate) name: String,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 15 |     supported_commands: Vec<String>, // 修改为具体类型 Vec<String>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     supported_events: Vec<String>,   // 修改为具体类型 Vec<String>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PluginConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pending_approvals` is never read
[INFO] [stdout]   --> src/key_management/plugin.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct KeyManagementPlugin {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pending_approvals: Arc<Mutex<HashMap<String, (String, String)>>>, // 操作ID -> (密钥ID, 操作类型)
[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 `rotate_key` is never used
[INFO] [stdout]    --> src/key_management/plugin.rs:134:14
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl KeyManagementPlugin {
[INFO] [stdout]     | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 134 |     async fn rotate_key(&self, key_id: &str, user: &str) -> Result<KeyMetadata, String> {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pool` is never read
[INFO] [stdout]   --> src/persistence/db_persistence.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct DbPersistence {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 15 |     pool: Pool<Sqlite>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `supported_commands`, and `supported_events` are never read
[INFO] [stdout]   --> src/plugin_config.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct PluginConfig {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub(crate) name: String,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 15 |     supported_commands: Vec<String>, // 修改为具体类型 Vec<String>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     supported_events: Vec<String>,   // 修改为具体类型 Vec<String>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PluginConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> examples/key_management_example.rs:128:13
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let mut plugin = plugin_clone.lock().await;
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> examples/key_management_example.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |     let mut plugin = plugin_arc.lock().await;
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_with_channel` is never used
[INFO] [stdout]   --> examples/test_grpc_connection.rs:93:10
[INFO] [stdout]    |
[INFO] [stdout] 93 | async fn test_with_channel(channel: Channel) {
[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 47.80s
[INFO] running `Command { std: "docker" "inspect" "daaa4e7078249cf4ac5ce5f7b16c9b832e96474ddd820bef5347e36f7c2cb8bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "daaa4e7078249cf4ac5ce5f7b16c9b832e96474ddd820bef5347e36f7c2cb8bf", kill_on_drop: false }`
[INFO] [stdout] daaa4e7078249cf4ac5ce5f7b16c9b832e96474ddd820bef5347e36f7c2cb8bf
