[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] testing acproject/password_manager against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facproject%2Fpassword_manager" "/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/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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/acproject/password_manager on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 845e59577232451e62b8c116640abd4588cc7ced8d09fa17119e1d6b28f5cdcc [INFO] running `Command { std: "docker" "start" "-a" "845e59577232451e62b8c116640abd4588cc7ced8d09fa17119e1d6b28f5cdcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "845e59577232451e62b8c116640abd4588cc7ced8d09fa17119e1d6b28f5cdcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "845e59577232451e62b8c116640abd4588cc7ced8d09fa17119e1d6b28f5cdcc", kill_on_drop: false }` [INFO] [stdout] 845e59577232451e62b8c116640abd4588cc7ced8d09fa17119e1d6b28f5cdcc [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2903a5628015d35d9bcd82c1555ba755caa5214d187d22c271f64ced9c4cef23 [INFO] running `Command { std: "docker" "start" "-a" "2903a5628015d35d9bcd82c1555ba755caa5214d187d22c271f64ced9c4cef23", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling rustls-webpki v0.103.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling tls-api v0.4.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling httpbis v0.9.1 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling tls-api-stub v0.4.0 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling sqlx-sqlite v0.8.3 [INFO] [stderr] Compiling unix_socket v0.5.0 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling log-ndc v0.2.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling tonic-build v0.13.0 [INFO] [stderr] Compiling axum v0.8.3 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling password_manager v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling grpc v0.8.3 [INFO] [stderr] Compiling tonic v0.13.0 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 13s [INFO] running `Command { std: "docker" "inspect" "2903a5628015d35d9bcd82c1555ba755caa5214d187d22c271f64ced9c4cef23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2903a5628015d35d9bcd82c1555ba755caa5214d187d22c271f64ced9c4cef23", kill_on_drop: false }` [INFO] [stdout] 2903a5628015d35d9bcd82c1555ba755caa5214d187d22c271f64ced9c4cef23 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 645362804bd5a2bf60fcae75ad7c9c94d30c1fc639b845573999b71e07b80159 [INFO] running `Command { std: "docker" "start" "-a" "645362804bd5a2bf60fcae75ad7c9c94d30c1fc639b845573999b71e07b80159", kill_on_drop: false }` [INFO] [stderr] Compiling password_manager v0.1.0 (/opt/rustwide/workdir) [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 `test` profile [unoptimized + debuginfo] target(s) in 8.76s [INFO] running `Command { std: "docker" "inspect" "645362804bd5a2bf60fcae75ad7c9c94d30c1fc639b845573999b71e07b80159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "645362804bd5a2bf60fcae75ad7c9c94d30c1fc639b845573999b71e07b80159", kill_on_drop: false }` [INFO] [stdout] 645362804bd5a2bf60fcae75ad7c9c94d30c1fc639b845573999b71e07b80159 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c27be1b505d9049e86f73657a9a5bbb4ffad445bf6ca93785e3a8b19ce0b0113 [INFO] running `Command { std: "docker" "start" "-a" "c27be1b505d9049e86f73657a9a5bbb4ffad445bf6ca93785e3a8b19ce0b0113", kill_on_drop: false }` [INFO] [stderr] Compiling password_manager v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: field `pending_approvals` is never read [INFO] [stderr] --> src/key_management/plugin.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct KeyManagementPlugin { [INFO] [stderr] | ------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 24 | pending_approvals: Arc>>, // 操作ID -> (密钥ID, 操作类型) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `rotate_key` is never used [INFO] [stderr] --> src/key_management/plugin.rs:134:14 [INFO] [stderr] | [INFO] [stderr] 28 | impl KeyManagementPlugin { [INFO] [stderr] | ------------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 134 | async fn rotate_key(&self, key_id: &str, user: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `pool` is never read [INFO] [stderr] --> src/persistence/db_persistence.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct DbPersistence { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 15 | pool: Pool, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `supported_commands`, and `supported_events` are never read [INFO] [stderr] --> src/plugin_config.rs:14:16 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct PluginConfig { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 14 | pub(crate) name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 15 | supported_commands: Vec, // 修改为具体类型 Vec [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 16 | supported_events: Vec, // 修改为具体类型 Vec [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PluginConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `password_manager` (lib test) generated 4 warnings [INFO] [stderr] warning: `password_manager` (lib) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> examples/key_management_example.rs:128:13 [INFO] [stderr] | [INFO] [stderr] 128 | let mut plugin = plugin_clone.lock().await; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> examples/key_management_example.rs:201:9 [INFO] [stderr] | [INFO] [stderr] 201 | let mut plugin = plugin_arc.lock().await; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function `test_with_channel` is never used [INFO] [stderr] --> examples/test_grpc_connection.rs:93:10 [INFO] [stderr] | [INFO] [stderr] 93 | async fn test_with_channel(channel: Channel) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `password_manager` (example "test_grpc_connection") generated 1 warning [INFO] [stderr] warning: `password_manager` (example "key_management_example") generated 2 warnings (run `cargo fix --example "key_management_example"` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.50s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/password_manager-047a59930d88ac7b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/password_manager-158d7b189b477d27) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests password_manager [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c27be1b505d9049e86f73657a9a5bbb4ffad445bf6ca93785e3a8b19ce0b0113", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c27be1b505d9049e86f73657a9a5bbb4ffad445bf6ca93785e3a8b19ce0b0113", kill_on_drop: false }` [INFO] [stdout] c27be1b505d9049e86f73657a9a5bbb4ffad445bf6ca93785e3a8b19ce0b0113