[INFO] fetching crate qudag-vault-core 0.5.1... [INFO] testing qudag-vault-core-0.5.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate qudag-vault-core 0.5.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate qudag-vault-core 0.5.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate qudag-vault-core 0.5.1 [INFO] tweaked toml for crates.io crate qudag-vault-core 0.5.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate qudag-vault-core 0.5.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate qudag-vault-core 0.5.1 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pqcrypto-internals v0.2.10 [INFO] [stderr] Downloaded metrics-macros v0.7.1 [INFO] [stderr] Downloaded metrics v0.21.1 [INFO] [stderr] Downloaded qudag-dag v0.5.0 [INFO] [stderr] Downloaded pqcrypto-kyber v0.5.0 [INFO] [stderr] Downloaded pqcrypto-hqc v0.2.1 [INFO] [stderr] Downloaded qudag-crypto v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6df460dd93e2b069887b996e509cdf1f8571c862ef41fc36d7578ebba3733b3 [INFO] running `Command { std: "docker" "start" "-a" "b6df460dd93e2b069887b996e509cdf1f8571c862ef41fc36d7578ebba3733b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6df460dd93e2b069887b996e509cdf1f8571c862ef41fc36d7578ebba3733b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6df460dd93e2b069887b996e509cdf1f8571c862ef41fc36d7578ebba3733b3", kill_on_drop: false }` [INFO] [stdout] b6df460dd93e2b069887b996e509cdf1f8571c862ef41fc36d7578ebba3733b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 586b9d229d811ccd667d0cc18e44961e3a2dd08853b47c11de4752b8e4752207 [INFO] running `Command { std: "docker" "start" "-a" "586b9d229d811ccd667d0cc18e44961e3a2dd08853b47c11de4752b8e4752207", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling pqcrypto-traits v0.3.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling pqcrypto-internals v0.2.10 [INFO] [stderr] Compiling pqcrypto-kyber v0.5.0 [INFO] [stderr] Compiling pqcrypto-hqc v0.2.1 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling pqcrypto-dilithium v0.5.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling metrics-macros v0.7.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling metrics v0.21.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling qudag-crypto v0.5.1 [INFO] [stderr] Compiling qudag-dag v0.5.0 [INFO] [stderr] Compiling qudag-vault-core v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.72s [INFO] running `Command { std: "docker" "inspect" "586b9d229d811ccd667d0cc18e44961e3a2dd08853b47c11de4752b8e4752207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "586b9d229d811ccd667d0cc18e44961e3a2dd08853b47c11de4752b8e4752207", kill_on_drop: false }` [INFO] [stdout] 586b9d229d811ccd667d0cc18e44961e3a2dd08853b47c11de4752b8e4752207 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 037092aa0351784eae78c2dfedb65759254e8f7235c94620e46903fba087a907 [INFO] running `Command { std: "docker" "start" "-a" "037092aa0351784eae78c2dfedb65759254e8f7235c94620e46903fba087a907", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling mockall v0.13.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling qudag-crypto v0.5.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling qudag-dag v0.5.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling qudag-vault-core v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stdout] error[E0432]: unresolved imports `qudag_crypto::Blake3Hasher`, `qudag_crypto::DilithiumKeyPair`, `qudag_crypto::KyberKeyPair` [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use qudag_crypto::{Blake3Hasher, DilithiumKeyPair, KyberKeyPair}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ no `KyberKeyPair` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `DilithiumKeyPair` in the root [INFO] [stdout] | no `Blake3Hasher` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `qudag_crypto::DilithiumKeyPair`, `qudag_crypto::KyberKeyPair` [INFO] [stdout] --> tests/security/encryption_tests.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 154 | use qudag_crypto::{DilithiumKeyPair, KyberKeyPair}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ no `KyberKeyPair` in the root [INFO] [stdout] | | [INFO] [stdout] | no `DilithiumKeyPair` in the root [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::integration::qudag_integration_tests::performance_tests::DilithiumKeyPair` exists but is inaccessible [INFO] [stdout] = note: unresolved item `crate::integration::qudag_integration_tests::performance_tests::KyberKeyPair` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `qudag_network` [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | use qudag_network::{NetworkConfig, PeerManager}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `qudag_network` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `qudag_network`, use `cargo add qudag_network` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `OnionRoutingConfig` in this scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | OnionRoutingConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:403:24 [INFO] [stdout] | [INFO] [stdout] 403 | duration < Duration::from_secs(5), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::security::encryption_tests::side_channel_tests::Duration` exists but is inaccessible [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 357 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 357 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 357 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:452:29 [INFO] [stdout] | [INFO] [stdout] 452 | traverse_time < Duration::from_millis(100), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::security::encryption_tests::side_channel_tests::Duration` exists but is inaccessible [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 357 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 357 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 357 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dag` and `Node` [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use qudag_dag::{Dag, Node}; [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> tests/cli/command_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_locked` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | assert!(vault.is_locked() == false, "New vault should be unlocked"); [INFO] [stdout] | ^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secret_count` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(vault.secret_count(), 0, "New vault should have no secrets"); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `qudag_vault_core::Vault` doesn't implement `Debug` [INFO] [stdout] --> tests/unit/vault_tests.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | match result.unwrap_err() { [INFO] [stdout] | ^^^^^^^^^^ the trait `Debug` is not implemented for `qudag_vault_core::Vault` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Result::::unwrap_err` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1314:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `AuthenticationFailed` found for enum `qudag_vault_core::VaultError` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | VaultError::AuthenticationFailed => (), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `qudag_vault_core::VaultError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secret_count` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | vault.secret_count(), [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `SensitiveString` [INFO] [stdout] --> tests/unit/vault_tests.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | assert_eq!(email_secret.password, "password123"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | SensitiveString [INFO] [stdout] | &str [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `SensitiveString` doesn't implement `PartialEq<&str>` [INFO] [stdout] --> /opt/rustwide/workdir/src/secret.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct SensitiveString(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not implement `PartialEq<&str>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_empty` found for struct `SensitiveString` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:98:41 [INFO] [stdout] | [INFO] [stdout] 98 | !github_secret.password.is_empty(), [INFO] [stdout] | ^^^^^^^^ method not found in `SensitiveString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `SensitiveString` [INFO] [stdout] --> tests/unit/vault_tests.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | assert_eq!(secret.password, "SecurePass123"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | SensitiveString [INFO] [stdout] | &str [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `SensitiveString` doesn't implement `PartialEq<&str>` [INFO] [stdout] --> /opt/rustwide/workdir/src/secret.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct SensitiveString(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not implement `PartialEq<&str>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for struct `SensitiveString` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | secret.password.len() >= 16, [INFO] [stdout] | ^^^ method not found in `SensitiveString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/unit/vault_tests.rs:147:27 [INFO] [stdout] | [INFO] [stdout] 147 | has_uppercase(&secret.password), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^ expected `&str`, found `&SensitiveString` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&SensitiveString` [INFO] [stdout] note: function defined here [INFO] [stdout] --> tests/unit/vault_tests.rs:343:4 [INFO] [stdout] | [INFO] [stdout] 343 | fn has_uppercase(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ ------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/unit/vault_tests.rs:151:27 [INFO] [stdout] | [INFO] [stdout] 151 | has_lowercase(&secret.password), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^ expected `&str`, found `&SensitiveString` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&SensitiveString` [INFO] [stdout] note: function defined here [INFO] [stdout] --> tests/unit/vault_tests.rs:347:4 [INFO] [stdout] | [INFO] [stdout] 347 | fn has_lowercase(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ ------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/unit/vault_tests.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | has_digit(&secret.password), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ expected `&str`, found `&SensitiveString` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&SensitiveString` [INFO] [stdout] note: function defined here [INFO] [stdout] --> tests/unit/vault_tests.rs:351:4 [INFO] [stdout] | [INFO] [stdout] 351 | fn has_digit(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ ------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/unit/vault_tests.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | has_special(&secret.password), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^ expected `&str`, found `&SensitiveString` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&SensitiveString` [INFO] [stdout] note: function defined here [INFO] [stdout] --> tests/unit/vault_tests.rs:355:4 [INFO] [stdout] | [INFO] [stdout] 355 | fn has_special(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ ------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/unit/vault_tests.rs:176:57 [INFO] [stdout] | [INFO] [stdout] 176 | let result = vault.update_secret("api/service", "api_user", Some("NewPassword")); [INFO] [stdout] | ------------- ^^^^^^^^^^ expected `Option<&str>`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/vault.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn update_secret( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 176 | let result = vault.update_secret("api/service", Some("api_user"), Some("NewPassword")); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `SensitiveString` [INFO] [stdout] --> tests/unit/vault_tests.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | assert_eq!(secret.password, "NewPassword"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | SensitiveString [INFO] [stdout] | &str [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `SensitiveString` doesn't implement `PartialEq<&str>` [INFO] [stdout] --> /opt/rustwide/workdir/src/secret.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct SensitiveString(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not implement `PartialEq<&str>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secret_count` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:194:26 [INFO] [stdout] | [INFO] [stdout] 194 | assert_eq!(vault.secret_count(), 1); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secret_count` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:198:26 [INFO] [stdout] | [INFO] [stdout] 198 | assert_eq!(vault.secret_count(), 0); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_category` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:257:15 [INFO] [stdout] | [INFO] [stdout] 257 | vault.create_category("email").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_category` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:258:15 [INFO] [stdout] | [INFO] [stdout] 258 | vault.create_category("work").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_category` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:259:15 [INFO] [stdout] | [INFO] [stdout] 259 | vault.create_category("work/projects").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_secret_to_category` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 262 | / vault [INFO] [stdout] 263 | | .add_secret_to_category("email/gmail", "user@gmail.com", Some("pass"), "email") [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_secret_to_category` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:266:14 [INFO] [stdout] | [INFO] [stdout] 265 | / vault [INFO] [stdout] 266 | | .add_secret_to_category("work/gitlab", "dev@company.com", Some("pass"), "work") [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_secret_to_category` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:269:14 [INFO] [stdout] | [INFO] [stdout] 268 | / vault [INFO] [stdout] 269 | | .add_secret_to_category( [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_category_children` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:278:36 [INFO] [stdout] | [INFO] [stdout] 278 | let email_children = vault.get_category_children("email").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_category_children` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:282:35 [INFO] [stdout] | [INFO] [stdout] 282 | let work_children = vault.get_category_children("work").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_category_children` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:285:38 [INFO] [stdout] | [INFO] [stdout] 285 | let project_children = vault.get_category_children("work/projects").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_category` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:297:15 [INFO] [stdout] | [INFO] [stdout] 297 | vault.create_category("root").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_category` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:298:15 [INFO] [stdout] | [INFO] [stdout] 298 | vault.create_category("root/a").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_category` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:299:15 [INFO] [stdout] | [INFO] [stdout] 299 | vault.create_category("root/b").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_secret_to_category` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:301:14 [INFO] [stdout] | [INFO] [stdout] 300 | / vault [INFO] [stdout] 301 | | .add_secret_to_category("secret1", "user1", Some("pass1"), "root/a") [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_secret_to_category` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:304:14 [INFO] [stdout] | [INFO] [stdout] 303 | / vault [INFO] [stdout] 304 | | .add_secret_to_category("secret2", "user2", Some("pass2"), "root/b") [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `traverse_dag_from` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:308:37 [INFO] [stdout] | [INFO] [stdout] 308 | let all_descendants = vault.traverse_dag_from("root").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update_secret_with_version` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:323:14 [INFO] [stdout] | [INFO] [stdout] 322 | / vault [INFO] [stdout] 323 | | .update_secret_with_version("app/database", "dbuser", Some("version2")) [INFO] [stdout] | |_____________-^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `update_secret` with a similar name [INFO] [stdout] | [INFO] [stdout] 323 - .update_secret_with_version("app/database", "dbuser", Some("version2")) [INFO] [stdout] 323 + .update_secret("app/database", "dbuser", Some("version2")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update_secret_with_version` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:326:14 [INFO] [stdout] | [INFO] [stdout] 325 | / vault [INFO] [stdout] 326 | | .update_secret_with_version("app/database", "dbuser", Some("version3")) [INFO] [stdout] | |_____________-^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `update_secret` with a similar name [INFO] [stdout] | [INFO] [stdout] 326 - .update_secret_with_version("app/database", "dbuser", Some("version3")) [INFO] [stdout] 326 + .update_secret("app/database", "dbuser", Some("version3")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_secret_history` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:330:29 [INFO] [stdout] | [INFO] [stdout] 330 | let history = vault.get_secret_history("app/database").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_secret` with a similar name [INFO] [stdout] | [INFO] [stdout] 330 - let history = vault.get_secret_history("app/database").unwrap(); [INFO] [stdout] 330 + let history = vault.get_secret("app/database").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_secret_version` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:334:24 [INFO] [stdout] | [INFO] [stdout] 334 | let v1 = vault.get_secret_version("app/database", 0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_secret` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/vault.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn get_secret(&self, label: &str) -> VaultResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_secret_version` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/unit/vault_tests.rs:337:24 [INFO] [stdout] | [INFO] [stdout] 337 | let v3 = vault.get_secret_version("app/database", 2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_secret` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/vault.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn get_secret(&self, label: &str) -> VaultResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_with_crypto_backend` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | let mut vault = Vault::create_with_crypto_backend( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `qudag_vault_core::Vault` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `qudag_vault_core::Vault` consider using one of the following associated functions: [INFO] [stdout] qudag_vault_core::Vault::create [INFO] [stdout] qudag_vault_core::Vault::open [INFO] [stdout] --> /opt/rustwide/workdir/src/vault.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn create(path: impl AsRef, master_password: &str) -> VaultResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn open(path: impl AsRef, master_password: &str) -> VaultResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CryptoBackend` [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | CryptoBackend::QuDAG, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `CryptoBackend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encapsulate_vault_key` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 55 | let encapsulated = alice_vault [INFO] [stdout] | ____________________________- [INFO] [stdout] 56 | | .encapsulate_vault_key(&bob_keypair.public()) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decapsulate_vault_key` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 60 | let shared_key = bob_vault [INFO] [stdout] | __________________________- [INFO] [stdout] 61 | | .decapsulate_vault_key(&encapsulated, &bob_keypair) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `open_with_key` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | Vault::open_with_key(vault_path.to_str().unwrap(), &shared_key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `qudag_vault_core::Vault` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `qudag_vault_core::Vault` consider using one of the following associated functions: [INFO] [stdout] qudag_vault_core::Vault::create [INFO] [stdout] qudag_vault_core::Vault::open [INFO] [stdout] --> /opt/rustwide/workdir/src/vault.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn create(path: impl AsRef, master_password: &str) -> VaultResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn open(path: impl AsRef, master_password: &str) -> VaultResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `vault_id` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | alice_vault.vault_id(), [INFO] [stdout] | ^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `export_with_signature` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 89 | let signed_export = vault [INFO] [stdout] | _____________________________- [INFO] [stdout] 90 | | .export_with_signature( [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `import_with_verification` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | Vault::import_with_verification(&signed_export, &signing_key.public(), "TestPassword") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `qudag_vault_core::Vault` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `qudag_vault_core::Vault` consider using one of the following associated functions: [INFO] [stdout] qudag_vault_core::Vault::create [INFO] [stdout] qudag_vault_core::Vault::open [INFO] [stdout] --> /opt/rustwide/workdir/src/vault.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn create(path: impl AsRef, master_password: &str) -> VaultResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn open(path: impl AsRef, master_password: &str) -> VaultResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_dag_node` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | vault.create_dag_node("root", NodeType::Category).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeType` [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | vault.create_dag_node("root", NodeType::Category).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NodeType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_dag_node` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 126 | / vault [INFO] [stdout] 127 | | .create_dag_node("root/personal", NodeType::Category) [INFO] [stdout] | | -^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeType` [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:127:47 [INFO] [stdout] | [INFO] [stdout] 127 | .create_dag_node("root/personal", NodeType::Category) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NodeType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_dag_node` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 129 | / vault [INFO] [stdout] 130 | | .create_dag_node("root/work", NodeType::Category) [INFO] [stdout] | | -^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeType` [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:130:43 [INFO] [stdout] | [INFO] [stdout] 130 | .create_dag_node("root/work", NodeType::Category) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NodeType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_secret_as_dag_node` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 134 | / vault [INFO] [stdout] 135 | | .add_secret_as_dag_node( [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_secret_as_dag_node` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 143 | / vault [INFO] [stdout] 144 | | .add_secret_as_dag_node( [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_dag_view` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | let dag = vault.get_dag_view().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_dag_node` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 174 | vault.create_dag_node("apps", NodeType::Category).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeType` [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:174:39 [INFO] [stdout] | [INFO] [stdout] 174 | vault.create_dag_node("apps", NodeType::Category).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NodeType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_dag_node` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 175 | / vault [INFO] [stdout] 176 | | .create_dag_node("apps/dev", NodeType::Category) [INFO] [stdout] | | -^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeType` [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:176:42 [INFO] [stdout] | [INFO] [stdout] 176 | .create_dag_node("apps/dev", NodeType::Category) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NodeType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_dag_node` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 178 | / vault [INFO] [stdout] 179 | | .create_dag_node("apps/prod", NodeType::Category) [INFO] [stdout] | | -^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeType` [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:179:43 [INFO] [stdout] | [INFO] [stdout] 179 | .create_dag_node("apps/prod", NodeType::Category) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NodeType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_dag_node` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:181:15 [INFO] [stdout] | [INFO] [stdout] 181 | vault.create_dag_node("shared", NodeType::Category).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeType` [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:181:41 [INFO] [stdout] | [INFO] [stdout] 181 | vault.create_dag_node("shared", NodeType::Category).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NodeType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_secret_as_dag_node` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:185:14 [INFO] [stdout] | [INFO] [stdout] 184 | / vault [INFO] [stdout] 185 | | .add_secret_as_dag_node("db/dev", "dev_user", Some("pass"), vec!["apps/dev"]) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_secret_as_dag_node` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 187 | / vault [INFO] [stdout] 188 | | .add_secret_as_dag_node("db/prod", "prod_user", Some("pass"), vec!["apps/prod"]) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_secret_as_dag_node` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:191:14 [INFO] [stdout] | [INFO] [stdout] 190 | / vault [INFO] [stdout] 191 | | .add_secret_as_dag_node( [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `traverse_from_node` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:200:37 [INFO] [stdout] | [INFO] [stdout] 200 | let all_app_secrets = vault.traverse_from_node("apps").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `traverse_from_node` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:204:36 [INFO] [stdout] | [INFO] [stdout] 204 | let shared_secrets = vault.traverse_from_node("shared").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_with_consensus` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:221:28 [INFO] [stdout] | [INFO] [stdout] 221 | Vault::create_with_consensus(p.to_str().unwrap(), "TestPassword").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `qudag_vault_core::Vault` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `qudag_vault_core::Vault` consider using one of the following associated functions: [INFO] [stdout] qudag_vault_core::Vault::create [INFO] [stdout] qudag_vault_core::Vault::open [INFO] [stdout] --> /opt/rustwide/workdir/src/vault.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn create(path: impl AsRef, master_password: &str) -> VaultResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn open(path: impl AsRef, master_password: &str) -> VaultResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_with_p2p` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:283:20 [INFO] [stdout] | [INFO] [stdout] 283 | Vault::create_with_p2p(vault1_path.to_str().unwrap(), "Password1", peer1.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `qudag_vault_core::Vault` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `qudag_vault_core::Vault` consider using one of the following associated functions: [INFO] [stdout] qudag_vault_core::Vault::create [INFO] [stdout] qudag_vault_core::Vault::open [INFO] [stdout] --> /opt/rustwide/workdir/src/vault.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn create(path: impl AsRef, master_password: &str) -> VaultResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn open(path: impl AsRef, master_password: &str) -> VaultResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_with_p2p` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:288:20 [INFO] [stdout] | [INFO] [stdout] 288 | Vault::create_with_p2p(vault2_path.to_str().unwrap(), "Password2", peer2.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `qudag_vault_core::Vault` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `qudag_vault_core::Vault` consider using one of the following associated functions: [INFO] [stdout] qudag_vault_core::Vault::create [INFO] [stdout] qudag_vault_core::Vault::open [INFO] [stdout] --> /opt/rustwide/workdir/src/vault.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn create(path: impl AsRef, master_password: &str) -> VaultResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn open(path: impl AsRef, master_password: &str) -> VaultResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_with_anonymity` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:318:28 [INFO] [stdout] | [INFO] [stdout] 318 | let vault = Vault::create_with_anonymity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `qudag_vault_core::Vault` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `qudag_vault_core::Vault` consider using one of the following associated functions: [INFO] [stdout] qudag_vault_core::Vault::create [INFO] [stdout] qudag_vault_core::Vault::open [INFO] [stdout] --> /opt/rustwide/workdir/src/vault.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn create(path: impl AsRef, master_password: &str) -> VaultResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn open(path: impl AsRef, master_password: &str) -> VaultResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnonymityLevel` [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:321:13 [INFO] [stdout] | [INFO] [stdout] 321 | AnonymityLevel::High, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `AnonymityLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `secret_count` found for struct `tokio::sync::RwLockReadGuard<'_, qudag_vault_core::Vault>` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:398:26 [INFO] [stdout] | [INFO] [stdout] 398 | assert_eq!(vault.secret_count(), 1000, "Should have 1000 secrets"); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `tokio::sync::RwLockReadGuard<'_, qudag_vault_core::Vault>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_dag_node` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:422:18 [INFO] [stdout] | [INFO] [stdout] 421 | / vault [INFO] [stdout] 422 | | .create_dag_node(&format!("category_{}", i), NodeType::Category) [INFO] [stdout] | | -^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeType` [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:422:62 [INFO] [stdout] | [INFO] [stdout] 422 | .create_dag_node(&format!("category_{}", i), NodeType::Category) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `NodeType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_secret_as_dag_node` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:433:18 [INFO] [stdout] | [INFO] [stdout] 432 | / vault [INFO] [stdout] 433 | | .add_secret_as_dag_node( [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `traverse_from_node` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/integration/qudag_integration_tests.rs:447:31 [INFO] [stdout] | [INFO] [stdout] 447 | let all_nodes = vault.traverse_from_node("category_0").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_kyber_public_key` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/security/encryption_tests.rs:168:15 [INFO] [stdout] | [INFO] [stdout] 168 | vault.set_kyber_public_key(keypair.public()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `export_vault_key_for` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/security/encryption_tests.rs:173:14 [INFO] [stdout] | [INFO] [stdout] 172 | let encapsulated = vault [INFO] [stdout] | ____________________________- [INFO] [stdout] 173 | | .export_vault_key_for(&recipient_keypair.public()) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `export_signed` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/security/encryption_tests.rs:201:33 [INFO] [stdout] | [INFO] [stdout] 201 | let export_data = vault.export_signed(&keypair).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `qudag_vault_core::Vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `verify_import` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/security/encryption_tests.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 204 | let verified = Vault::verify_import(&export_data, &keypair.public()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `qudag_vault_core::Vault` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `qudag_vault_core::Vault` consider using one of the following associated functions: [INFO] [stdout] qudag_vault_core::Vault::create [INFO] [stdout] qudag_vault_core::Vault::open [INFO] [stdout] --> /opt/rustwide/workdir/src/vault.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn create(path: impl AsRef, master_password: &str) -> VaultResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn open(path: impl AsRef, master_password: &str) -> VaultResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `verify_import` found for struct `qudag_vault_core::Vault` in the current scope [INFO] [stdout] --> tests/security/encryption_tests.rs:212:38 [INFO] [stdout] | [INFO] [stdout] 212 | let tampered_result = Vault::verify_import(&tampered_data, &keypair.public()); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `qudag_vault_core::Vault` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `qudag_vault_core::Vault` consider using one of the following associated functions: [INFO] [stdout] qudag_vault_core::Vault::create [INFO] [stdout] qudag_vault_core::Vault::open [INFO] [stdout] --> /opt/rustwide/workdir/src/vault.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn create(path: impl AsRef, master_password: &str) -> VaultResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn open(path: impl AsRef, master_password: &str) -> VaultResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Charset` [INFO] [stdout] --> tests/security/encryption_tests.rs:226:52 [INFO] [stdout] | [INFO] [stdout] 226 | let password = vault.generate_password(32, Charset::All).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Charset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `std::string::String` in the current scope [INFO] [stdout] --> tests/security/encryption_tests.rs:226:66 [INFO] [stdout] | [INFO] [stdout] 226 | let password = vault.generate_password(32, Charset::All).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vault` [INFO] [stdout] --> tests/security/encryption_tests.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let vault = Vault::create(vault_path.to_str().unwrap(), password).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_vault` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369, E0422, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-vault-core` (test "mod") due to 90 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "037092aa0351784eae78c2dfedb65759254e8f7235c94620e46903fba087a907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "037092aa0351784eae78c2dfedb65759254e8f7235c94620e46903fba087a907", kill_on_drop: false }` [INFO] [stdout] 037092aa0351784eae78c2dfedb65759254e8f7235c94620e46903fba087a907