[INFO] fetching crate cargocrypt 0.2.0... [INFO] checking cargocrypt-0.2.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate cargocrypt 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate cargocrypt 0.2.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cargocrypt 0.2.0 [INFO] tweaked toml for crates.io crate cargocrypt 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cargocrypt 0.2.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cargocrypt 0.2.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 769d08f63e8b33d6be6d2294298d070f0727ce6164dcd7a1763370ae0569bc9c [INFO] running `Command { std: "docker" "start" "-a" "769d08f63e8b33d6be6d2294298d070f0727ce6164dcd7a1763370ae0569bc9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "769d08f63e8b33d6be6d2294298d070f0727ce6164dcd7a1763370ae0569bc9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "769d08f63e8b33d6be6d2294298d070f0727ce6164dcd7a1763370ae0569bc9c", kill_on_drop: false }` [INFO] [stdout] 769d08f63e8b33d6be6d2294298d070f0727ce6164dcd7a1763370ae0569bc9c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 950d63ccb8ba69296602e986704742e0e95091a25b1d068e6472b0ba7825afee [INFO] running `Command { std: "docker" "start" "-a" "950d63ccb8ba69296602e986704742e0e95091a25b1d068e6472b0ba7825afee", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking rtoolbox v0.0.3 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ratatui v0.24.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking rpassword v7.4.0 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking float-cmp v0.10.0 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking git2 v0.18.3 [INFO] [stderr] Checking cargocrypt v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `CryptoOperationType`, `CryptoOperation`, `FileOperationType`, `FileOperation`, and `PerformanceTracker` [INFO] [stdout] --> src/core.rs:10:62 [INFO] [stdout] | [INFO] [stdout] 10 | ...er, MonitoringConfig, CryptoOperation, CryptoOperationType, FileOperation, FileOperationType, PerformanceTracker}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/core.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EncryptionOptions` [INFO] [stdout] --> src/core.rs:477:46 [INFO] [stdout] | [INFO] [stdout] 477 | use crate::crypto::{PlaintextSecret, EncryptionOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlaintextSecret` [INFO] [stdout] --> src/crypto/store.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::crypto::{EncryptedSecret, PlaintextSecret}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HealthCheck` [INFO] [stdout] --> src/monitoring.rs:1022:36 [INFO] [stdout] | [INFO] [stdout] 1022 | use super::{MonitoringManager, HealthCheck}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> src/monitoring.rs:1069:39 [INFO] [stdout] | [INFO] [stdout] 1069 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CircuitBreaker`, `GracefulDegradation`, and `RetryPolicy` [INFO] [stdout] --> src/git/hooks.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::resilience::{CircuitBreaker, RetryPolicy, GracefulDegradation}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidationResult` [INFO] [stdout] --> src/git/hooks.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::validation::{InputValidator, ValidationResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CargoCryptError` and `CryptoResult` [INFO] [stdout] --> src/git/hooks.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::error::{CargoCryptError, CryptoResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/git/hooks.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/git/hooks.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlertSeverity`, `BottleneckType`, and `HealthStatus` [INFO] [stdout] --> src/tui/monitoring.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::monitoring::{MonitoringManager, HealthStatus, AlertSeverity, BottleneckType}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment` and `Modifier` [INFO] [stdout] --> src/tui_simple.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | layout::{Constraint, Direction, Layout, Alignment}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | style::{Color, Modifier, Style}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/tui_simple.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | fs::{self, DirEntry}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_clone` [INFO] [stdout] --> src/core.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | let path_clone = path.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_clone` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine_clone` [INFO] [stdout] --> src/core.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | let engine_clone = Arc::clone(&self.engine); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `retry_policy` [INFO] [stdout] --> src/crypto/engine.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | let retry_policy = Arc::clone(&self.retry_policy); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_retry_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `validator` [INFO] [stdout] --> src/crypto/engine.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | let validator = self.validator.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_validator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CryptoOperationType`, `CryptoOperation`, `FileOperationType`, `FileOperation`, and `PerformanceTracker` [INFO] [stdout] --> src/core.rs:10:62 [INFO] [stdout] | [INFO] [stdout] 10 | ...er, MonitoringConfig, CryptoOperation, CryptoOperationType, FileOperation, FileOperationType, PerformanceTracker}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/core.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EncryptionOptions` [INFO] [stdout] --> src/core.rs:477:46 [INFO] [stdout] | [INFO] [stdout] 477 | use crate::crypto::{PlaintextSecret, EncryptionOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlaintextSecret` [INFO] [stdout] --> src/crypto/store.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::crypto::{EncryptedSecret, PlaintextSecret}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HealthCheck` [INFO] [stdout] --> src/monitoring.rs:1022:36 [INFO] [stdout] | [INFO] [stdout] 1022 | use super::{MonitoringManager, HealthCheck}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> src/monitoring.rs:1069:39 [INFO] [stdout] | [INFO] [stdout] 1069 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::TempDir` [INFO] [stdout] --> src/detection/scanner.rs:1055:9 [INFO] [stdout] | [INFO] [stdout] 1055 | use tempfile::TempDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/detection/scanner.rs:1056:9 [INFO] [stdout] | [INFO] [stdout] 1056 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CircuitBreaker`, `GracefulDegradation`, and `RetryPolicy` [INFO] [stdout] --> src/git/hooks.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::resilience::{CircuitBreaker, RetryPolicy, GracefulDegradation}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValidationResult` [INFO] [stdout] --> src/git/hooks.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::validation::{InputValidator, ValidationResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CargoCryptError` and `CryptoResult` [INFO] [stdout] --> src/git/hooks.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::error::{CargoCryptError, CryptoResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/git/hooks.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/git/hooks.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/git/attributes.rs:444:9 [INFO] [stdout] | [INFO] [stdout] 444 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/git/attributes.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SecretType` [INFO] [stdout] --> src/git/storage.rs:540:42 [INFO] [stdout] | [INFO] [stdout] 540 | use crate::crypto::{PlaintextSecret, SecretType}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/git/ignore.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/git/ignore.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlertSeverity`, `BottleneckType`, and `HealthStatus` [INFO] [stdout] --> src/tui/monitoring.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::monitoring::{MonitoringManager, HealthStatus, AlertSeverity, BottleneckType}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment` and `Modifier` [INFO] [stdout] --> src/tui_simple.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | layout::{Constraint, Direction, Layout, Alignment}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | style::{Color, Modifier, Style}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/tui_simple.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | fs::{self, DirEntry}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `performance_stats` [INFO] [stdout] --> src/monitoring.rs:865:13 [INFO] [stdout] | [INFO] [stdout] 865 | let performance_stats = self.get_performance_stats().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_performance_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_clone` [INFO] [stdout] --> src/core.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | let path_clone = path.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_clone` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine_clone` [INFO] [stdout] --> src/core.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | let engine_clone = Arc::clone(&self.engine); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `retry_policy` [INFO] [stdout] --> src/crypto/engine.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | let retry_policy = Arc::clone(&self.retry_policy); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_retry_policy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `validator` [INFO] [stdout] --> src/crypto/engine.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | let validator = self.validator.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_validator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `performance_stats` [INFO] [stdout] --> src/monitoring.rs:865:13 [INFO] [stdout] | [INFO] [stdout] 865 | let performance_stats = self.get_performance_stats().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_performance_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/crypto/engine.rs:749:94 [INFO] [stdout] | [INFO] [stdout] 749 | let encrypted = engine.encrypt_string(plaintext, password, EncryptionOptions::new()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 749 | let encrypted = engine.encrypt_string(plaintext, password, EncryptionOptions::new()).await.unwrap(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/crypto/engine.rs:769:98 [INFO] [stdout] | [INFO] [stdout] 769 | let encrypted = engine.encrypt_string(plaintext, password, EncryptionOptions::new()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 769 | let encrypted = engine.encrypt_string(plaintext, password, EncryptionOptions::new()).await.unwrap(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `successes` on type `impl Future` [INFO] [stdout] --> src/crypto/engine.rs:788:27 [INFO] [stdout] | [INFO] [stdout] 788 | assert_eq!(result.successes.len(), 3); [INFO] [stdout] | ^^^^^^^^^ field not available in `impl Future`, but it is available in its `Output` [INFO] [stdout] | [INFO] [stdout] note: this implements `Future` and its output type has the field, but the future cannot be awaited in a synchronous function [INFO] [stdout] --> src/crypto/engine.rs:788:20 [INFO] [stdout] | [INFO] [stdout] 777 | fn test_batch_encryption() { [INFO] [stdout] | -------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 788 | assert_eq!(result.successes.len(), 3); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `failures` on type `impl Future` [INFO] [stdout] --> src/crypto/engine.rs:789:27 [INFO] [stdout] | [INFO] [stdout] 789 | assert_eq!(result.failures.len(), 0); [INFO] [stdout] | ^^^^^^^^ field not available in `impl Future`, but it is available in its `Output` [INFO] [stdout] | [INFO] [stdout] note: this implements `Future` and its output type has the field, but the future cannot be awaited in a synchronous function [INFO] [stdout] --> src/crypto/engine.rs:789:20 [INFO] [stdout] | [INFO] [stdout] 777 | fn test_batch_encryption() { [INFO] [stdout] | -------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 789 | assert_eq!(result.failures.len(), 0); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `successes` on type `impl Future` [INFO] [stdout] --> src/crypto/engine.rs:792:41 [INFO] [stdout] | [INFO] [stdout] 792 | for (name, encrypted) in result.successes { [INFO] [stdout] | ^^^^^^^^^ field not available in `impl Future`, but it is available in its `Output` [INFO] [stdout] | [INFO] [stdout] note: this implements `Future` and its output type has the field, but the future cannot be awaited in a synchronous function [INFO] [stdout] --> src/crypto/engine.rs:792:34 [INFO] [stdout] | [INFO] [stdout] 777 | fn test_batch_encryption() { [INFO] [stdout] | -------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 792 | for (name, encrypted) in result.successes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/crypto/engine.rs:806:98 [INFO] [stdout] | [INFO] [stdout] 806 | let encrypted = engine.encrypt_string(plaintext, old_password, EncryptionOptions::new()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 806 | let encrypted = engine.encrypt_string(plaintext, old_password, EncryptionOptions::new()).await.unwrap(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/crypto/engine.rs:843:77 [INFO] [stdout] | [INFO] [stdout] 843 | let encrypted = engine.encrypt_string(plaintext, password, options).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 843 | let encrypted = engine.encrypt_string(plaintext, password, options).await.unwrap(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/crypto/engine.rs:882:94 [INFO] [stdout] | [INFO] [stdout] 882 | let encrypted = engine.encrypt_string(plaintext, password, EncryptionOptions::new()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 882 | let encrypted = engine.encrypt_string(plaintext, password, EncryptionOptions::new()).await.unwrap(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `secrets::EncryptedSecret` in the current scope [INFO] [stdout] --> src/crypto/store.rs:81:39 [INFO] [stdout] | [INFO] [stdout] 81 | let secret = EncryptedSecret::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `secrets::EncryptedSecret` [INFO] [stdout] | [INFO] [stdout] ::: src/crypto/secrets.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EncryptedSecret { [INFO] [stdout] | -------------------------- function or associated item `default` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `secrets::EncryptedSecret` consider using one of the following associated functions: [INFO] [stdout] secrets::EncryptedSecret::encrypt_with_password [INFO] [stdout] secrets::EncryptedSecret::encrypt_with_key [INFO] [stdout] secrets::EncryptedSecret::from_json [INFO] [stdout] secrets::EncryptedSecret::from_bytes [INFO] [stdout] --> src/crypto/secrets.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | / pub fn encrypt_with_password( [INFO] [stdout] 133 | | plaintext: PlaintextSecret, [INFO] [stdout] 134 | | password: &str, [INFO] [stdout] 135 | | metadata: Option, [INFO] [stdout] 136 | | ) -> CryptoResult { [INFO] [stdout] | |___________________________^ [INFO] [stdout] ... [INFO] [stdout] 142 | / pub fn encrypt_with_key( [INFO] [stdout] 143 | | plaintext: PlaintextSecret, [INFO] [stdout] 144 | | key: &DerivedKey, [INFO] [stdout] 145 | | metadata: Option, [INFO] [stdout] 146 | | ) -> CryptoResult { [INFO] [stdout] | |___________________________^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn from_json(json: &str) -> CryptoResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn from_bytes(bytes: &[u8]) -> CryptoResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::default::Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/git/storage.rs:568:98 [INFO] [stdout] | [INFO] [stdout] 568 | let encrypted = crypto.encrypt(plaintext, "test_password", EncryptionOptions::default()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 568 | let encrypted = crypto.encrypt(plaintext, "test_password", EncryptionOptions::default()).await.unwrap(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/git/storage.rs:594:102 [INFO] [stdout] | [INFO] [stdout] 594 | let encrypted = crypto.encrypt(plaintext, "test_password", EncryptionOptions::default()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 594 | let encrypted = crypto.encrypt(plaintext, "test_password", EncryptionOptions::default()).await.unwrap(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/git/storage.rs:616:98 [INFO] [stdout] | [INFO] [stdout] 616 | let encrypted = crypto.encrypt(plaintext, "test_password", EncryptionOptions::default()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 616 | let encrypted = crypto.encrypt(plaintext, "test_password", EncryptionOptions::default()).await.unwrap(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/detection/scanner.rs:1072:13 [INFO] [stdout] | [INFO] [stdout] 1072 | let scanner = FileScanner::new(ScanConfig::default()).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contextual_finding` [INFO] [stdout] --> src/detection/scanner.rs:1163:13 [INFO] [stdout] | [INFO] [stdout] 1163 | let contextual_finding = findings.iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contextual_finding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CryptoFeatures` is more private than the item `CryptoEngine::get_feature_status` [INFO] [stdout] --> src/crypto/engine.rs:683:5 [INFO] [stdout] | [INFO] [stdout] 683 | pub async fn get_feature_status(&self) -> CryptoFeatures { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `CryptoEngine::get_feature_status` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `CryptoFeatures` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/crypto/engine.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | struct CryptoFeatures { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `project_root` and `secret_store` are never read [INFO] [stdout] --> src/core.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct CargoCrypt { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | project_root: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 63 | /// Secret store for memory-safe secret management [INFO] [stdout] 64 | secret_store: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CargoCrypt` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify_key_signature` is never used [INFO] [stdout] --> src/git/team.rs:785:14 [INFO] [stdout] | [INFO] [stdout] 281 | impl TeamKeySharing { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 785 | async fn verify_key_signature(&self, key: &DerivedKey, metadata: &KeyMetadata, signature: &str, signer_id: &str) -> GitResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `monitoring` is never read [INFO] [stdout] --> src/tui/monitoring.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MonitoringDashboard { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 29 | monitoring: Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Tab` is never used [INFO] [stdout] --> src/tui/monitoring.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | enum Tab { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/git/repo.rs:278:22 [INFO] [stdout] | [INFO] [stdout] 278 | fn get_signature(&self) -> GitRepoResult { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 278 | fn get_signature(&self) -> GitRepoResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/git/storage.rs:381:22 [INFO] [stdout] | [INFO] [stdout] 381 | fn get_signature(&self) -> GitResult { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 381 | fn get_signature(&self) -> GitResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/git/team.rs:761:22 [INFO] [stdout] | [INFO] [stdout] 761 | fn get_signature(&self) -> GitResult { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 761 | fn get_signature(&self) -> GitResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/git/mod.rs:340:32 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn get_signature(repo: &Repository) -> GitResult { [INFO] [stdout] | ^^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 340 | pub fn get_signature(repo: &Repository) -> GitResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, found `.` [INFO] [stdout] --> benches/vs_rustyvault.rs:611:18 [INFO] [stdout] | [INFO] [stdout] 611 | println!("=" .repeat(60)); [INFO] [stdout] | ^ expected `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: argument never used [INFO] [stdout] --> benches/vs_rustyvault.rs:611:19 [INFO] [stdout] | [INFO] [stdout] 611 | println!("=" .repeat(60)); [INFO] [stdout] | --- ^^^^^^^^^^ argument never used [INFO] [stdout] | | [INFO] [stdout] | formatting specifier missing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid format string: expected `}`, found `m` [INFO] [stdout] --> examples/secret_detection.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 125 | let custom_config = DetectionConfig { [INFO] [stdout] | - because of this opening brace [INFO] [stdout] 126 | min_confidence: 0.7, [INFO] [stdout] | ^ expected `}` in format string [INFO] [stdout] | [INFO] [stdout] = note: if you intended to print `{`, you can escape it using `{{` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DetectionConfig` [INFO] [stdout] --> examples/secret_detection.rs:6:58 [INFO] [stdout] | [INFO] [stdout] 6 | use cargocrypt::detection::{SecretDetector, ScanOptions, DetectionConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> examples/secret_detection.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargocrypt` (example "secret_detection") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `repeat` in this scope [INFO] [stdout] --> benches/vs_rustyvault.rs:611:19 [INFO] [stdout] | [INFO] [stdout] 611 | println!("=" .repeat(60)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 17 + use std::array::repeat; [INFO] [stdout] | [INFO] [stdout] 17 + use std::io::repeat; [INFO] [stdout] | [INFO] [stdout] 17 + use std::iter::repeat; [INFO] [stdout] | [INFO] [stdout] 17 + use core::array::repeat; [INFO] [stdout] | [INFO] [stdout] = and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BenchmarkGroup` and `measurement::WallTime` [INFO] [stdout] --> benches/vs_rustyvault.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | measurement::WallTime, BenchmarkGroup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CryptoConfig`, `DetectionConfig`, and `PlaintextSecret` [INFO] [stdout] --> benches/vs_rustyvault.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | CargoCrypt, CryptoConfig, CryptoEngine, EncryptionOptions, PlaintextSecret, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | SecretDetector, ScanOptions, DetectionConfig, PerformanceProfile, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> benches/vs_rustyvault.rs:689:9 [INFO] [stdout] | [INFO] [stdout] 689 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> benches/vs_rustyvault.rs:688:1 [INFO] [stdout] | [INFO] [stdout] 688 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> examples/performance_test.rs:34:89 [INFO] [stdout] | [INFO] [stdout] 34 | let encrypted = engine.encrypt_bytes(&data, password, EncryptionOptions::new()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 34 | let encrypted = engine.encrypt_bytes(&data, password, EncryptionOptions::new()).await.unwrap(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> benches/vs_rustyvault.rs:193:77 [INFO] [stdout] | [INFO] [stdout] 193 | black_box(engine.encrypt_string(test_secret, password, options).unwrap()) [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 193 | black_box(engine.encrypt_string(test_secret, password, options).await.unwrap()) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> examples/performance_test.rs:79:78 [INFO] [stdout] | [INFO] [stdout] 79 | let _encrypted = engine.encrypt_bytes(small_data, password, options).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 79 | let _encrypted = engine.encrypt_bytes(small_data, password, options).await.unwrap(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> benches/vs_rustyvault.rs:205:92 [INFO] [stdout] | [INFO] [stdout] 205 | let encrypted = engine.encrypt_string(test_secret, password, EncryptionOptions::new()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 205 | let encrypted = engine.encrypt_string(test_secret, password, EncryptionOptions::new()).await.unwrap(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `ScanOptions` in the current scope [INFO] [stdout] --> benches/vs_rustyvault.rs:239:44 [INFO] [stdout] | [INFO] [stdout] 239 | let options = ScanOptions::new() [INFO] [stdout] | ^^^ function or associated item not found in `ScanOptions` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ScanOptions` consider using one of the following associated functions: [INFO] [stdout] ScanOptions::for_source_code [INFO] [stdout] ScanOptions::for_config_files [INFO] [stdout] ScanOptions::comprehensive [INFO] [stdout] --> /opt/rustwide/workdir/src/detection/detector.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn for_source_code() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn for_config_files() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn comprehensive() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> examples/performance_test.rs:137:91 [INFO] [stdout] | [INFO] [stdout] 137 | let _encrypted = engine.encrypt_bytes(&test_data, password, EncryptionOptions::new()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 137 | let _encrypted = engine.encrypt_bytes(&test_data, password, EncryptionOptions::new()).await.unwrap(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargocrypt` (example "performance_test") due to 3 previous errors [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> benches/vs_rustyvault.rs:243:36 [INFO] [stdout] | [INFO] [stdout] 243 | black_box(detector.scan_directory(&options).await.unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^---------- argument #2 of type `&ScanOptions` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/detection/detector.rs:246:18 [INFO] [stdout] | [INFO] [stdout] 246 | pub async fn scan_directory>(&self, path: P, options: &ScanOptions) -> CryptoResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 243 | black_box(detector.scan_directory(&options, /* &ScanOptions */).await.unwrap()) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> benches/vs_rustyvault.rs:281:92 [INFO] [stdout] | [INFO] [stdout] 281 | black_box(engine.encrypt_string(secret, password, options.clone()).unwrap()); [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 281 | black_box(engine.encrypt_string(secret, password, options.clone()).await.unwrap()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> benches/vs_rustyvault.rs:317:89 [INFO] [stdout] | [INFO] [stdout] 317 | let _result = engine.encrypt_string("test_secret", "password", options).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 317 | let _result = engine.encrypt_string("test_secret", "password", options).await.unwrap(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> benches/vs_rustyvault.rs:364:78 [INFO] [stdout] | [INFO] [stdout] 364 | black_box(engine.encrypt_string(data, password, options).unwrap()) [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 364 | black_box(engine.encrypt_string(data, password, options).await.unwrap()) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> benches/vs_rustyvault.rs:411:84 [INFO] [stdout] | [INFO] [stdout] 411 | let encrypted = engine.encrypt_string(data, password, options).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 411 | let encrypted = engine.encrypt_string(data, password, options).await.unwrap(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> benches/vs_rustyvault.rs:460:78 [INFO] [stdout] | [INFO] [stdout] 460 | ... engine.encrypt_string(&data, &password, options).unwrap() [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 460 | engine.encrypt_string(&data, &password, options).await.unwrap() [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargocrypt` (lib test) due to 12 previous errors; 28 warnings emitted [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `ScanOptions` in the current scope [INFO] [stdout] --> benches/vs_rustyvault.rs:518:44 [INFO] [stdout] | [INFO] [stdout] 518 | let options = ScanOptions::new() [INFO] [stdout] | ^^^ function or associated item not found in `ScanOptions` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ScanOptions` consider using one of the following associated functions: [INFO] [stdout] ScanOptions::for_source_code [INFO] [stdout] ScanOptions::for_config_files [INFO] [stdout] ScanOptions::comprehensive [INFO] [stdout] --> /opt/rustwide/workdir/src/detection/detector.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn for_source_code() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn for_config_files() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn comprehensive() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> benches/vs_rustyvault.rs:521:41 [INFO] [stdout] | [INFO] [stdout] 521 | let findings = detector.scan_directory(&options).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^---------- argument #2 of type `&ScanOptions` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/detection/detector.rs:246:18 [INFO] [stdout] | [INFO] [stdout] 246 | pub async fn scan_directory>(&self, path: P, options: &ScanOptions) -> CryptoResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 521 | let findings = detector.scan_directory(&options, /* &ScanOptions */).await.unwrap(); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> benches/vs_rustyvault.rs:530:99 [INFO] [stdout] | [INFO] [stdout] 530 | let _encrypted = engine.encrypt_string(secret, password, options.clone()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 530 | let _encrypted = engine.encrypt_string(secret, password, options.clone()).await.unwrap(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> benches/vs_rustyvault.rs:587:83 [INFO] [stdout] | [INFO] [stdout] 587 | black_box(engine.encrypt_string(test_data, password, options).unwrap()) [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 587 | black_box(engine.encrypt_string(test_data, password, options).await.unwrap()) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargocrypt` (bench "vs_rustyvault") due to 16 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "950d63ccb8ba69296602e986704742e0e95091a25b1d068e6472b0ba7825afee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "950d63ccb8ba69296602e986704742e0e95091a25b1d068e6472b0ba7825afee", kill_on_drop: false }` [INFO] [stdout] 950d63ccb8ba69296602e986704742e0e95091a25b1d068e6472b0ba7825afee