[INFO] fetching crate trelent-hyok 0.1.12...
[INFO] testing trelent-hyok-0.1.12 against beta-2025-09-21 for beta-1.91-3
[INFO] extracting crate trelent-hyok 0.1.12 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate trelent-hyok 0.1.12
[INFO] finished tweaking crates.io crate trelent-hyok 0.1.12
[INFO] tweaked toml for crates.io crate trelent-hyok 0.1.12 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate trelent-hyok 0.1.12 on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate trelent-hyok 0.1.12 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fc9d607ddfbe9b00a44b4b1e3398f6e5b6f24f4637863ad370806dbd9c0e2eb9
[INFO] running `Command { std: "docker" "start" "-a" "fc9d607ddfbe9b00a44b4b1e3398f6e5b6f24f4637863ad370806dbd9c0e2eb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc9d607ddfbe9b00a44b4b1e3398f6e5b6f24f4637863ad370806dbd9c0e2eb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc9d607ddfbe9b00a44b4b1e3398f6e5b6f24f4637863ad370806dbd9c0e2eb9", kill_on_drop: false }`
[INFO] [stdout] fc9d607ddfbe9b00a44b4b1e3398f6e5b6f24f4637863ad370806dbd9c0e2eb9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be7aea570bd08f1213552aed24b8cc3bfc9843a9c223bd596111d4d5b8c3b350
[INFO] running `Command { std: "docker" "start" "-a" "be7aea570bd08f1213552aed24b8cc3bfc9843a9c223bd596111d4d5b8c3b350", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.16
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling mini-moka v0.10.3
[INFO] [stderr]    Compiling bytes v1.10.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling triomphe v0.1.14
[INFO] [stderr]    Compiling tagptr v0.2.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.14
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling log v0.4.25
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling http v1.2.0
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling ghash v0.5.1
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling async-trait v0.1.86
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling tokio v1.43.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling trelent-hyok v0.1.12 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.20s
[INFO] running `Command { std: "docker" "inspect" "be7aea570bd08f1213552aed24b8cc3bfc9843a9c223bd596111d4d5b8c3b350", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be7aea570bd08f1213552aed24b8cc3bfc9843a9c223bd596111d4d5b8c3b350", kill_on_drop: false }`
[INFO] [stdout] be7aea570bd08f1213552aed24b8cc3bfc9843a9c223bd596111d4d5b8c3b350
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b66d2989eab84ced59140f2ba3b0066718cfbf014c5354672fa969cf1a841cae
[INFO] running `Command { std: "docker" "start" "-a" "b66d2989eab84ced59140f2ba3b0066718cfbf014c5354672fa969cf1a841cae", kill_on_drop: false }`
[INFO] [stderr]    Compiling trelent-hyok v0.1.12 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s
[INFO] running `Command { std: "docker" "inspect" "b66d2989eab84ced59140f2ba3b0066718cfbf014c5354672fa969cf1a841cae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b66d2989eab84ced59140f2ba3b0066718cfbf014c5354672fa969cf1a841cae", kill_on_drop: false }`
[INFO] [stdout] b66d2989eab84ced59140f2ba3b0066718cfbf014c5354672fa969cf1a841cae
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 46ff1853324b83da79098a72aea850547c38d1f5c77be6646b9cab452ce2aa58
[INFO] running `Command { std: "docker" "start" "-a" "46ff1853324b83da79098a72aea850547c38d1f5c77be6646b9cab452ce2aa58", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/trelent_hyok-8243c8caa44ec7f1)
[INFO] [stderr]    Doc-tests trelent_hyok
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 26 tests
[INFO] [stdout] test src/dek/generator/key_generator/fixed.rs - dek::generator::key_generator::fixed::FixedLengthGenerator (line 35) - compile ... FAILED
[INFO] [stdout] test src/dek/generator/mod.rs - dek::generator::DEKGeneratorTrait (line 34) - compile ... FAILED
[INFO] [stdout] test src/dek/generator/key_generator/custom.rs - dek::generator::key_generator::custom::CustomGenerator (line 34) - compile ... FAILED
[INFO] [stdout] test src/dek/persistence/mod.rs - dek::persistence::DEKPersistService (line 46) - compile ... FAILED
[INFO] [stdout] test src/dek/persistence/custom_persistence.rs - dek::persistence::custom_persistence::CustomPersister (line 17) - compile ... FAILED
[INFO] [stdout] test src/dek/generator/key_generator/mod.rs - dek::generator::key_generator::DEKKeyGenerator (line 37) - compile ... FAILED
[INFO] [stdout] test src/cmk/mod.rs - cmk::CMKTrait (line 47) - compile ... FAILED
[INFO] [stdout] test src/dek/persistence/mod.rs - dek::persistence::DEKPersisterTrait (line 153) - compile ... FAILED
[INFO] [stdout] test src/dek/persistence/mod.rs - dek::persistence::DEKPersister (line 208) - compile ... FAILED
[INFO] [stdout] test src/held_data/encryption/mod.rs - held_data::encryption::EncryptionStrategy (line 41) - compile ... FAILED
[INFO] [stdout] test src/cmk/mod.rs - cmk::CMK (line 122) - compile ... FAILED
[INFO] [stdout] test src/held_data/object.rs - held_data::object::ReleaseHeldObject (line 32) - compile ... FAILED
[INFO] [stdout] test src/held_data/value.rs - held_data::value::Held (line 119) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - HYOKService (line 48) - compile ... FAILED
[INFO] [stdout] test src/held_data/value.rs - held_data::value::HeldValue (line 22) - compile ... FAILED
[INFO] [stdout] test src/dek/mod.rs - dek::DEK (line 35) - compile ... FAILED
[INFO] [stdout] test src/held_data/encryption/custom.rs - held_data::encryption::custom::CustomStrategy (line 36) - compile ... FAILED
[INFO] [stdout] test src/dek/generator/mod.rs - dek::generator::DEKGenerator (line 78) - compile ... FAILED
[INFO] [stdout] test src/dek/scope.rs - dek::scope::WithScope (line 24) - compile ... FAILED
[INFO] [stdout] test src/cmk/custom_cmk.rs - cmk::custom_cmk::CustomCMK::encrypt (line 116) - compile ... FAILED
[INFO] [stdout] test src/cmk/custom_cmk.rs - cmk::custom_cmk::CustomCMK (line 36) - compile ... FAILED
[INFO] [stdout] test src/cmk/custom_cmk.rs - cmk::custom_cmk::CustomCMK::decrypt (line 135) - compile ... FAILED
[INFO] [stdout] test src/builder.rs - builder::HYOKServiceBuilder (line 171) - compile ... FAILED
[INFO] [stdout] test src/builder.rs - builder::HYOKServiceBuilder::with_custom_cache (line 320) - compile ... FAILED
[INFO] [stdout] test src/held_data/value.rs - held_data::value::ReleaseHeldValue (line 65) - compile ... FAILED
[INFO] [stdout] test src/dek/persistence/custom_persistence.rs - dek::persistence::custom_persistence::CustomPersister::new (line 74) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/dek/generator/key_generator/fixed.rs - dek::generator::key_generator::fixed::FixedLengthGenerator (line 35) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/dek/generator/key_generator/fixed.rs:36:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hyokashi::FixedLengthGenerator;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dek/generator/mod.rs - dek::generator::DEKGeneratorTrait (line 34) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/dek/generator/mod.rs:35:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hyokashi::{DEKGeneratorTrait, GeneratorError};
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dek/generator/key_generator/custom.rs - dek::generator::key_generator::custom::CustomGenerator (line 34) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/dek/generator/key_generator/custom.rs:35:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hyokashi::{CustomGenerator, GenerateKeyError};
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dek/persistence/mod.rs - dek::persistence::DEKPersistService (line 46) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/dek/persistence/mod.rs:48:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use hyokashi::{CMK, DEKPersister, DEKPersistService};
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/dek/persistence/mod.rs:57:62
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_dek_persistence_mod_rs_46_0() {
[INFO] [stdout]    |                                      -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 13 |     let stored = service.save_dek("my-key".to_string(), dek).await?;
[INFO] [stdout]    |                                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/dek/persistence/mod.rs:58:61
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_dek_persistence_mod_rs_46_0() {
[INFO] [stdout]    |                                      -------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 14 |     let retrieved = service.fetch_dek("my-key".to_string()).await?;
[INFO] [stdout]    |                                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dek/persistence/custom_persistence.rs - dek::persistence::custom_persistence::CustomPersister (line 17) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/dek/persistence/custom_persistence.rs:21:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use hyokashi::{CustomPersister, PersistError};
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dek/generator/key_generator/mod.rs - dek::generator::key_generator::DEKKeyGenerator (line 37) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/dek/generator/key_generator/mod.rs:38:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hyokashi::{DEKKeyGenerator, GenerateKeyError};
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/cmk/mod.rs - cmk::CMKTrait (line 47) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/cmk/mod.rs:49:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use hyokashi::{CMKTrait, CMKError};
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dek/persistence/mod.rs - dek::persistence::DEKPersisterTrait (line 153) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/dek/persistence/mod.rs:155:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use hyokashi::{DEKPersisterTrait, PersistError};
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dek/persistence/mod.rs - dek::persistence::DEKPersister (line 208) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/dek/persistence/mod.rs:209:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hyokashi::DEKPersister;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CustomPersister`
[INFO] [stdout]   --> src/dek/persistence/mod.rs:216:38
[INFO] [stdout]    |
[INFO] [stdout] 10 | let persister = DEKPersister::Custom(CustomPersister::new(/* ... */));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^ use of undeclared type `CustomPersister`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use trelent_hyok::dek::persistence::CustomPersister;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/held_data/encryption/mod.rs - held_data::encryption::EncryptionStrategy (line 41) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/held_data/encryption/mod.rs:43:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use hyokashi::{EncryptionStrategy, DEK, EncryptionError};
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/cmk/mod.rs - cmk::CMK (line 122) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/cmk/mod.rs:123:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hyokashi::CMK;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cmk` in this scope
[INFO] [stdout]   --> src/cmk/mod.rs:134:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let encrypted = cmk.encrypt(vec![1, 2, 3]).await?;
[INFO] [stdout]    |                     ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cmk` in this scope
[INFO] [stdout]   --> src/cmk/mod.rs:135:21
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let decrypted = cmk.decrypt(encrypted).await?;
[INFO] [stdout]    |                     ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/cmk/mod.rs:134:48
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cmk_mod_rs_122_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 14 |     let encrypted = cmk.encrypt(vec![1, 2, 3]).await?;
[INFO] [stdout]    |                                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/cmk/mod.rs:135:44
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cmk_mod_rs_122_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 |     let decrypted = cmk.decrypt(encrypted).await?;
[INFO] [stdout]    |                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/held_data/object.rs - held_data::object::ReleaseHeldObject (line 32) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/held_data/object.rs:34:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use hyokashi::{ReleaseHeldObject, DEK, EncryptionStrategy, EncryptionError};
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/held_data/value.rs - held_data::value::Held (line 119) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/held_data/value.rs:120:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hyokashi::Held;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dek` in this scope
[INFO] [stdout]  --> src/held_data/value.rs:124:27
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let held = Held(data, dek, &strategy, metadata).await?;
[INFO] [stdout]   |                           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `strategy` in this scope
[INFO] [stdout]  --> src/held_data/value.rs:124:33
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let held = Held(data, dek, &strategy, metadata).await?;
[INFO] [stdout]   |                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `metadata` in this scope
[INFO] [stdout]  --> src/held_data/value.rs:124:43
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let held = Held(data, dek, &strategy, metadata).await?;
[INFO] [stdout]   |                                           ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::fs::metadata;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::ptr::metadata;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::ptr::metadata;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tokio::fs::metadata;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - HYOKService (line 48) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/lib.rs:49:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hyokashi::{HYOKServiceBuilder, EncryptionStrategy};
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `kms_client` in this scope
[INFO] [stdout]  --> src/lib.rs:54:23
[INFO] [stdout]   |
[INFO] [stdout] 8 |         .with_aws_cmk(kms_client, "alias/my-key", algorithm)
[INFO] [stdout]   |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `algorithm` in this scope
[INFO] [stdout]  --> src/lib.rs:54:51
[INFO] [stdout]   |
[INFO] [stdout] 8 |         .with_aws_cmk(kms_client, "alias/my-key", algorithm)
[INFO] [stdout]   |                                                   ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secrets_client` in this scope
[INFO] [stdout]  --> src/lib.rs:55:31
[INFO] [stdout]   |
[INFO] [stdout] 9 |         .with_aws_persistence(secrets_client)
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `encryption_strategy` in this scope
[INFO] [stdout]   --> src/lib.rs:56:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |         .build(encryption_strategy)?;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `data` in this scope
[INFO] [stdout]   --> src/lib.rs:59:35
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let held = service.hold_value(data, "my-scope".into(), metadata).await?;
[INFO] [stdout]    |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `metadata` in this scope
[INFO] [stdout]   --> src/lib.rs:59:60
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let held = service.hold_value(data, "my-scope".into(), metadata).await?;
[INFO] [stdout]    |                                                            ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::fs::metadata;
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout]  2 + use core::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout]  2 + use tokio::fs::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `metadata` in this scope
[INFO] [stdout]   --> src/lib.rs:62:64
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let plain = service.release_value(held, "my-scope".into(), metadata).await?;
[INFO] [stdout]    |                                                                ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::fs::metadata;
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout]  2 + use core::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout]  2 + use tokio::fs::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:59:70
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_48_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 13 |     let held = service.hold_value(data, "my-scope".into(), metadata).await?;
[INFO] [stdout]    |                                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:62:74
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_48_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 16 |     let plain = service.release_value(held, "my-scope".into(), metadata).await?;
[INFO] [stdout]    |                                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/held_data/value.rs - held_data::value::HeldValue (line 22) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/held_data/value.rs:23:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hyokashi::{HeldValue, ReleaseHeldValue};
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dek` in this scope
[INFO] [stdout]  --> src/held_data/value.rs:29:39
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let bytes: Vec<u8> = held.release(dek.clone(), &strategy, metadata.clone()).await?;
[INFO] [stdout]   |                                       ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `strategy` in this scope
[INFO] [stdout]  --> src/held_data/value.rs:29:53
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let bytes: Vec<u8> = held.release(dek.clone(), &strategy, metadata.clone()).await?;
[INFO] [stdout]   |                                                     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `metadata` in this scope
[INFO] [stdout]  --> src/held_data/value.rs:29:63
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let bytes: Vec<u8> = held.release(dek.clone(), &strategy, metadata.clone()).await?;
[INFO] [stdout]   |                                                               ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::fs::metadata;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::ptr::metadata;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::ptr::metadata;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tokio::fs::metadata;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dek` in this scope
[INFO] [stdout]   --> src/held_data/value.rs:30:37
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let text: String = held.release(dek.clone(), &strategy, metadata.clone()).await?;
[INFO] [stdout]    |                                     ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `strategy` in this scope
[INFO] [stdout]   --> src/held_data/value.rs:30:51
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let text: String = held.release(dek.clone(), &strategy, metadata.clone()).await?;
[INFO] [stdout]    |                                                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `metadata` in this scope
[INFO] [stdout]   --> src/held_data/value.rs:30:61
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let text: String = held.release(dek.clone(), &strategy, metadata.clone()).await?;
[INFO] [stdout]    |                                                             ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::fs::metadata;
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout]  2 + use core::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout]  2 + use tokio::fs::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/held_data/value.rs:29:81
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_held_data_value_rs_22_0() {
[INFO] [stdout]   |                                      ---------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 |     let bytes: Vec<u8> = held.release(dek.clone(), &strategy, metadata.clone()).await?;
[INFO] [stdout]   |                                                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/held_data/value.rs:30:79
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_held_data_value_rs_22_0() {
[INFO] [stdout]    |                                      ---------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 |     let text: String = held.release(dek.clone(), &strategy, metadata.clone()).await?;
[INFO] [stdout]    |                                                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dek/mod.rs - dek::DEK (line 35) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/dek/mod.rs:36:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hyokashi::DEK;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/held_data/encryption/custom.rs - held_data::encryption::custom::CustomStrategy (line 36) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/held_data/encryption/custom.rs:37:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hyokashi::{CustomStrategy, EncryptionError, DEK};
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/held_data/encryption/custom.rs:62:83
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_held_data_encryption_custom_rs_36_0() {
[INFO] [stdout]    |                                      ---------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 28 |     let encrypted = strategy.encrypt(dek.clone(), data.clone(), metadata.clone()).await?;
[INFO] [stdout]    |                                                                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/held_data/encryption/custom.rs:63:64
[INFO] [stdout]    |
[INFO] [stdout]  2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_held_data_encryption_custom_rs_36_0() {
[INFO] [stdout]    |                                      ---------------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 29 |     let decrypted = strategy.decrypt(dek, encrypted, metadata).await?;
[INFO] [stdout]    |                                                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dek/generator/mod.rs - dek::generator::DEKGenerator (line 78) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/dek/generator/mod.rs:79:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hyokashi::DEKGenerator;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FixedLengthGenerator`
[INFO] [stdout]  --> src/dek/generator/mod.rs:82:37
[INFO] [stdout]   |
[INFO] [stdout] 6 | let generator = DEKGenerator::Fixed(FixedLengthGenerator::new(32));
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `FixedLengthGenerator`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use trelent_hyok::dek::generator::key_generator::fixed::FixedLengthGenerator;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dek/scope.rs - dek::scope::WithScope (line 24) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/dek/scope.rs:25:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hyokashi::WithScope;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/cmk/custom_cmk.rs - cmk::custom_cmk::CustomCMK::encrypt (line 116) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CustomCMK`
[INFO] [stdout]  --> src/cmk/custom_cmk.rs:117:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let custom_cmk = CustomCMK::new(/* ... */);
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `CustomCMK`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use trelent_hyok::cmk::CustomCMK;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/cmk/custom_cmk.rs:118:54
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cmk_custom_cmk_rs_116_0() {
[INFO] [stdout]   |                                      ---------------------------------------------- this is not `async`
[INFO] [stdout] 3 | let custom_cmk = CustomCMK::new(/* ... */);
[INFO] [stdout] 4 | let encrypted = custom_cmk.encrypt(vec![0x01, 0x02]).await?;
[INFO] [stdout]   |                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/cmk/custom_cmk.rs - cmk::custom_cmk::CustomCMK (line 36) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/cmk/custom_cmk.rs:37:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hyokashi::{CustomCMK, CMKError};
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/cmk/custom_cmk.rs - cmk::custom_cmk::CustomCMK::decrypt (line 135) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CustomCMK`
[INFO] [stdout]  --> src/cmk/custom_cmk.rs:136:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | let custom_cmk = CustomCMK::new(/* ... */);
[INFO] [stdout]   |                  ^^^^^^^^^ use of undeclared type `CustomCMK`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use trelent_hyok::cmk::CustomCMK;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `encrypted_data` in this scope
[INFO] [stdout]  --> src/cmk/custom_cmk.rs:137:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | let decrypted = custom_cmk.decrypt(encrypted_data).await?;
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/cmk/custom_cmk.rs:137:52
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cmk_custom_cmk_rs_135_0() {
[INFO] [stdout]   |                                      ---------------------------------------------- this is not `async`
[INFO] [stdout] 3 | let custom_cmk = CustomCMK::new(/* ... */);
[INFO] [stdout] 4 | let decrypted = custom_cmk.decrypt(encrypted_data).await?;
[INFO] [stdout]   |                                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/builder.rs - builder::HYOKServiceBuilder (line 171) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/builder.rs:172:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hyokashi::HYOKServiceBuilder;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `aws_client` in this scope
[INFO] [stdout]   --> src/builder.rs:182:31
[INFO] [stdout]    |
[INFO] [stdout] 13 |         .with_aws_persistence(aws_client)
[INFO] [stdout]    |                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `kms_client` in this scope
[INFO] [stdout]   --> src/builder.rs:184:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |             kms_client,
[INFO] [stdout]    |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `encryption_strategy` in this scope
[INFO] [stdout]   --> src/builder.rs:188:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |         .build(encryption_strategy)?;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EncryptionAlgorithmSpec`
[INFO] [stdout]   --> src/builder.rs:186:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             EncryptionAlgorithmSpec::RsaesOaepSha256
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `EncryptionAlgorithmSpec`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/builder.rs - builder::HYOKServiceBuilder::with_custom_cache (line 320) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]  --> src/builder.rs:324:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | let cache = Arc::new(Mutex::new(HashMap::new()));
[INFO] [stdout]   |             ^^^ use of undeclared type `Arc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `builder` in this scope
[INFO] [stdout]  --> src/builder.rs:327:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | builder.with_custom_cache(
[INFO] [stdout]   | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/held_data/value.rs - held_data::value::ReleaseHeldValue (line 65) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]  --> src/held_data/value.rs:67:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use hyokashi::{ReleaseHeldValue, EncryptionError};
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `hyokashi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hyokashi`, use `cargo add hyokashi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EncryptionStrategy` in this scope
[INFO] [stdout]   --> src/held_data/value.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |         S: EncryptionStrategy<EncryptionData = ED> + Send + Sync,
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout]  2 + use trelent_hyok::encryption::EncryptionStrategy;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DEK` in this scope
[INFO] [stdout]   --> src/held_data/value.rs:73:41
[INFO] [stdout]    |
[INFO] [stdout] 10 |     async fn release<S, ED>(&self, dek: DEK, strategy: &S, ed: ED)
[INFO] [stdout]    |                                         ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use trelent_hyok::dek::DEK;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dek/persistence/custom_persistence.rs - dek::persistence::custom_persistence::CustomPersister::new (line 74) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PersistError`
[INFO] [stdout]   --> src/dek/persistence/custom_persistence.rs:100:27
[INFO] [stdout]    |
[INFO] [stdout] 28 |            .ok_or_else(|| PersistError::Error("Key not found".into()))
[INFO] [stdout]    |                           ^^^^^^^^^^^^ use of undeclared type `PersistError`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  2 + use trelent_hyok::error::generator::PersistError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CustomPersister`
[INFO] [stdout]   --> src/dek/persistence/custom_persistence.rs:104:17
[INFO] [stdout]    |
[INFO] [stdout] 32 | let persister = CustomPersister::new(persist, fetch);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^ use of undeclared type `CustomPersister`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  2 + use trelent_hyok::dek::persistence::CustomPersister;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/builder.rs - builder::HYOKServiceBuilder (line 171)
[INFO] [stdout]     src/builder.rs - builder::HYOKServiceBuilder::with_custom_cache (line 320)
[INFO] [stdout]     src/cmk/custom_cmk.rs - cmk::custom_cmk::CustomCMK (line 36)
[INFO] [stdout]     src/cmk/custom_cmk.rs - cmk::custom_cmk::CustomCMK::decrypt (line 135)
[INFO] [stdout]     src/cmk/custom_cmk.rs - cmk::custom_cmk::CustomCMK::encrypt (line 116)
[INFO] [stdout]     src/cmk/mod.rs - cmk::CMK (line 122)
[INFO] [stdout]     src/cmk/mod.rs - cmk::CMKTrait (line 47)
[INFO] [stdout]     src/dek/generator/key_generator/custom.rs - dek::generator::key_generator::custom::CustomGenerator (line 34)
[INFO] [stdout]     src/dek/generator/key_generator/fixed.rs - dek::generator::key_generator::fixed::FixedLengthGenerator (line 35)
[INFO] [stdout]     src/dek/generator/key_generator/mod.rs - dek::generator::key_generator::DEKKeyGenerator (line 37)
[INFO] [stdout]     src/dek/generator/mod.rs - dek::generator::DEKGenerator (line 78)
[INFO] [stdout]     src/dek/generator/mod.rs - dek::generator::DEKGeneratorTrait (line 34)
[INFO] [stdout]     src/dek/mod.rs - dek::DEK (line 35)
[INFO] [stdout]     src/dek/persistence/custom_persistence.rs - dek::persistence::custom_persistence::CustomPersister (line 17)
[INFO] [stdout]     src/dek/persistence/custom_persistence.rs - dek::persistence::custom_persistence::CustomPersister::new (line 74)
[INFO] [stdout]     src/dek/persistence/mod.rs - dek::persistence::DEKPersistService (line 46)
[INFO] [stdout]     src/dek/persistence/mod.rs - dek::persistence::DEKPersister (line 208)
[INFO] [stdout]     src/dek/persistence/mod.rs - dek::persistence::DEKPersisterTrait (line 153)
[INFO] [stdout]     src/dek/scope.rs - dek::scope::WithScope (line 24)
[INFO] [stdout]     src/held_data/encryption/custom.rs - held_data::encryption::custom::CustomStrategy (line 36)
[INFO] [stdout]     src/held_data/encryption/mod.rs - held_data::encryption::EncryptionStrategy (line 41)
[INFO] [stdout]     src/held_data/object.rs - held_data::object::ReleaseHeldObject (line 32)
[INFO] [stdout]     src/held_data/value.rs - held_data::value::Held (line 119)
[INFO] [stdout]     src/held_data/value.rs - held_data::value::HeldValue (line 22)
[INFO] [stdout]     src/held_data/value.rs - held_data::value::ReleaseHeldValue (line 65)
[INFO] [stdout]     src/lib.rs - HYOKService (line 48)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 26 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.73s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "46ff1853324b83da79098a72aea850547c38d1f5c77be6646b9cab452ce2aa58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46ff1853324b83da79098a72aea850547c38d1f5c77be6646b9cab452ce2aa58", kill_on_drop: false }`
[INFO] [stdout] 46ff1853324b83da79098a72aea850547c38d1f5c77be6646b9cab452ce2aa58
