[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 master#c290daa1e5274a52e54a0f49e31bd70192abc606 for pr-133502-23 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facproject%2Fpassword_manager" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/acproject/password_manager on toolchain c290daa1e5274a52e54a0f49e31bd70192abc606 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "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" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prost-build v0.13.5 [INFO] [stderr] Downloaded tonic v0.13.0 [INFO] [stderr] Downloaded tonic-build v0.13.0 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.3 [INFO] [stderr] Downloaded sqlx v0.8.3 [INFO] [stderr] Downloaded sqlx-core v0.8.3 [INFO] [stderr] Downloaded sqlx-postgres v0.8.3 [INFO] [stderr] Downloaded sqlx-mysql v0.8.3 [INFO] [stderr] Downloaded sqlx-macros v0.8.3 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.3 [INFO] [stderr] Downloaded grpc v0.8.3 [INFO] [stderr] Downloaded log-ndc v0.2.0 [INFO] [stderr] Downloaded tls-api-stub v0.4.0 [INFO] [stderr] Downloaded unix_socket v0.5.0 [INFO] [stderr] Downloaded httpbis v0.9.1 [INFO] [stderr] Downloaded tls-api v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 98158c21eceeda2fe8159b47f3e66dba3f7ec7d27a032e6cb1526a4a6e96c95c [INFO] running `Command { std: "docker" "start" "98158c21eceeda2fe8159b47f3e66dba3f7ec7d27a032e6cb1526a4a6e96c95c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98158c21eceeda2fe8159b47f3e66dba3f7ec7d27a032e6cb1526a4a6e96c95c", 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" "98158c21eceeda2fe8159b47f3e66dba3f7ec7d27a032e6cb1526a4a6e96c95c" "/opt/rustwide/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98158c21eceeda2fe8159b47f3e66dba3f7ec7d27a032e6cb1526a4a6e96c95c", 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" "98158c21eceeda2fe8159b47f3e66dba3f7ec7d27a032e6cb1526a4a6e96c95c" "/opt/rustwide/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking indexmap v2.8.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Checking rand_core v0.3.1 [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] Checking void v1.0.2 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling httpbis v0.9.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [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 tempfile v3.19.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking log-ndc v0.2.0 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking tls-api v0.4.0 [INFO] [stderr] Checking tls-api-stub v0.4.0 [INFO] [stderr] Compiling regex v1.11.1 [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] Compiling prost-build v0.13.5 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking rustls-webpki v0.103.1 [INFO] [stderr] Checking grpc v0.8.3 [INFO] [stderr] Compiling tonic-build v0.13.0 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling password_manager v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking axum v0.8.3 [INFO] [stderr] Checking sqlx-core v0.8.3 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking sqlx-sqlite v0.8.3 [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] Checking tonic v0.13.0 [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>>, // 操作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 { [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, [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, // 修改为具体类型 Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | supported_events: Vec, // 修改为具体类型 Vec [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>>, // 操作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 { [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, [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, // 修改为具体类型 Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | supported_events: Vec, // 修改为具体类型 Vec [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 1m 00s [INFO] running `Command { std: "docker" "inspect" "98158c21eceeda2fe8159b47f3e66dba3f7ec7d27a032e6cb1526a4a6e96c95c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98158c21eceeda2fe8159b47f3e66dba3f7ec7d27a032e6cb1526a4a6e96c95c", kill_on_drop: false }` [INFO] [stdout] 98158c21eceeda2fe8159b47f3e66dba3f7ec7d27a032e6cb1526a4a6e96c95c