[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#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [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 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fd204938eb2c1e1360c39889bf7f58fdd8443b9efc9e9cb72d2f3fb660f8bfb [INFO] running `Command { std: "docker" "start" "-a" "0fd204938eb2c1e1360c39889bf7f58fdd8443b9efc9e9cb72d2f3fb660f8bfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fd204938eb2c1e1360c39889bf7f58fdd8443b9efc9e9cb72d2f3fb660f8bfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fd204938eb2c1e1360c39889bf7f58fdd8443b9efc9e9cb72d2f3fb660f8bfb", kill_on_drop: false }` [INFO] [stdout] 0fd204938eb2c1e1360c39889bf7f58fdd8443b9efc9e9cb72d2f3fb660f8bfb [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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b8ec7b0c95e16698bc93dca291e3c06e3b172b6f7abd74404dd4f5301fd2f91 [INFO] running `Command { std: "docker" "start" "-a" "9b8ec7b0c95e16698bc93dca291e3c06e3b172b6f7abd74404dd4f5301fd2f91", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Checking indexmap v2.8.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling httpbis v0.9.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking unix_socket v0.5.0 [INFO] [stderr] Checking log-ndc v0.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking rustls-webpki v0.103.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [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 tokio-stream v0.1.17 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling prettyplease v0.2.32 [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 serde_derive v1.0.219 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking grpc v0.8.3 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Checking sqlx-core v0.8.3 [INFO] [stderr] Checking axum v0.8.3 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Checking sqlx-sqlite v0.8.3 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling tonic-build v0.13.0 [INFO] [stderr] Compiling password_manager v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking hyper-timeout v0.5.2 [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] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:618:42 [INFO] [stdout] | [INFO] [stdout] 618 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 619 | | let method = RegisterPluginSvc(inner); [INFO] [stdout] 620 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 621 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 631 | | Ok(res) [INFO] [stdout] 632 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:631:25 [INFO] [stdout] | [INFO] [stdout] 631 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:663:42 [INFO] [stdout] | [INFO] [stdout] 663 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 664 | | let method = HeartbeatSvc(inner); [INFO] [stdout] 665 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 666 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 676 | | Ok(res) [INFO] [stdout] 677 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:676:25 [INFO] [stdout] | [INFO] [stdout] 676 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:708:42 [INFO] [stdout] | [INFO] [stdout] 708 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 709 | | let method = GetStatusSvc(inner); [INFO] [stdout] 710 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 711 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 721 | | Ok(res) [INFO] [stdout] 722 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:721:25 [INFO] [stdout] | [INFO] [stdout] 721 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:753:42 [INFO] [stdout] | [INFO] [stdout] 753 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 754 | | let method = ExecuteCommandSvc(inner); [INFO] [stdout] 755 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 756 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 766 | | Ok(res) [INFO] [stdout] 767 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:766:25 [INFO] [stdout] | [INFO] [stdout] 766 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:798:42 [INFO] [stdout] | [INFO] [stdout] 798 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 799 | | let method = StopPluginSvc(inner); [INFO] [stdout] 800 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 801 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 811 | | Ok(res) [INFO] [stdout] 812 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:811:25 [INFO] [stdout] | [INFO] [stdout] 811 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:843:42 [INFO] [stdout] | [INFO] [stdout] 843 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 844 | | let method = FindPluginSvc(inner); [INFO] [stdout] 845 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 846 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 856 | | Ok(res) [INFO] [stdout] 857 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:856:25 [INFO] [stdout] | [INFO] [stdout] 856 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:888:42 [INFO] [stdout] | [INFO] [stdout] 888 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 889 | | let method = UpdatePluginSvc(inner); [INFO] [stdout] 890 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 891 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 901 | | Ok(res) [INFO] [stdout] 902 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:901:25 [INFO] [stdout] | [INFO] [stdout] 901 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:934:42 [INFO] [stdout] | [INFO] [stdout] 934 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 935 | | let method = GetPluginByNameSvc(inner); [INFO] [stdout] 936 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 937 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 947 | | Ok(res) [INFO] [stdout] 948 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:947:25 [INFO] [stdout] | [INFO] [stdout] 947 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:952:41 [INFO] [stdout] | [INFO] [stdout] 952 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 953 | | let mut response = http::Response::new( [INFO] [stdout] 954 | | tonic::body::Body::default(), [INFO] [stdout] 955 | | ); [INFO] [stdout] ... | [INFO] [stdout] 967 | | Ok(response) [INFO] [stdout] 968 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:967:25 [INFO] [stdout] | [INFO] [stdout] 967 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `password_manager` (lib) due to 18 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:618:42 [INFO] [stdout] | [INFO] [stdout] 618 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 619 | | let method = RegisterPluginSvc(inner); [INFO] [stdout] 620 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 621 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 631 | | Ok(res) [INFO] [stdout] 632 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:631:25 [INFO] [stdout] | [INFO] [stdout] 631 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:663:42 [INFO] [stdout] | [INFO] [stdout] 663 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 664 | | let method = HeartbeatSvc(inner); [INFO] [stdout] 665 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 666 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 676 | | Ok(res) [INFO] [stdout] 677 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:676:25 [INFO] [stdout] | [INFO] [stdout] 676 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:708:42 [INFO] [stdout] | [INFO] [stdout] 708 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 709 | | let method = GetStatusSvc(inner); [INFO] [stdout] 710 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 711 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 721 | | Ok(res) [INFO] [stdout] 722 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:721:25 [INFO] [stdout] | [INFO] [stdout] 721 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:753:42 [INFO] [stdout] | [INFO] [stdout] 753 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 754 | | let method = ExecuteCommandSvc(inner); [INFO] [stdout] 755 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 756 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 766 | | Ok(res) [INFO] [stdout] 767 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:766:25 [INFO] [stdout] | [INFO] [stdout] 766 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:798:42 [INFO] [stdout] | [INFO] [stdout] 798 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 799 | | let method = StopPluginSvc(inner); [INFO] [stdout] 800 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 801 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 811 | | Ok(res) [INFO] [stdout] 812 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:811:25 [INFO] [stdout] | [INFO] [stdout] 811 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:843:42 [INFO] [stdout] | [INFO] [stdout] 843 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 844 | | let method = FindPluginSvc(inner); [INFO] [stdout] 845 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 846 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 856 | | Ok(res) [INFO] [stdout] 857 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:856:25 [INFO] [stdout] | [INFO] [stdout] 856 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:888:42 [INFO] [stdout] | [INFO] [stdout] 888 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 889 | | let method = UpdatePluginSvc(inner); [INFO] [stdout] 890 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 891 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 901 | | Ok(res) [INFO] [stdout] 902 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:901:25 [INFO] [stdout] | [INFO] [stdout] 901 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:934:42 [INFO] [stdout] | [INFO] [stdout] 934 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 935 | | let method = GetPluginByNameSvc(inner); [INFO] [stdout] 936 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 937 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 947 | | Ok(res) [INFO] [stdout] 948 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:947:25 [INFO] [stdout] | [INFO] [stdout] 947 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:952:41 [INFO] [stdout] | [INFO] [stdout] 952 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 953 | | let mut response = http::Response::new( [INFO] [stdout] 954 | | tonic::body::Body::default(), [INFO] [stdout] 955 | | ); [INFO] [stdout] ... | [INFO] [stdout] 967 | | Ok(response) [INFO] [stdout] 968 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/password_manager-ae9999cdcde3bcc0/out/plugin.rs:967:25 [INFO] [stdout] | [INFO] [stdout] 967 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `password_manager` (lib test) due to 18 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9b8ec7b0c95e16698bc93dca291e3c06e3b172b6f7abd74404dd4f5301fd2f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b8ec7b0c95e16698bc93dca291e3c06e3b172b6f7abd74404dd4f5301fd2f91", kill_on_drop: false }` [INFO] [stdout] 9b8ec7b0c95e16698bc93dca291e3c06e3b172b6f7abd74404dd4f5301fd2f91