[INFO] fetching crate trelent-hyok 0.1.12...
[INFO] testing trelent-hyok-0.1.12 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate trelent-hyok 0.1.12 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate trelent-hyok 0.1.12 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded md5 v0.7.0
[INFO] [stderr]   Downloaded bytecount v0.6.8
[INFO] [stderr]   Downloaded native-tls v0.2.13
[INFO] [stderr]   Downloaded uuid v1.13.1
[INFO] [stderr]   Downloaded azure_security_keyvault v0.21.0
[INFO] [stderr]   Downloaded aws-smithy-json v0.61.2
[INFO] [stderr]   Downloaded aws-smithy-async v1.2.4
[INFO] [stderr]   Downloaded aws-types v1.3.5
[INFO] [stderr]   Downloaded aws-sigv4 v1.2.8
[INFO] [stderr]   Downloaded aws-runtime v1.5.5
[INFO] [stderr]   Downloaded pin-project v1.1.9
[INFO] [stderr]   Downloaded aws-sdk-sso v1.58.0
[INFO] [stderr]   Downloaded aws-sdk-ssooidc v1.59.0
[INFO] [stderr]   Downloaded aws-config v1.5.16
[INFO] [stderr]   Downloaded aws-smithy-runtime v1.7.8
[INFO] [stderr]   Downloaded aws-sdk-sts v1.59.0
[INFO] [stderr]   Downloaded cc v1.2.12
[INFO] [stderr]   Downloaded aws-smithy-types v1.2.13
[INFO] [stderr]   Downloaded openssl-sys v0.9.105
[INFO] [stderr]   Downloaded serde_json v1.0.138
[INFO] [stderr]   Downloaded httparse v1.10.0
[INFO] [stderr]   Downloaded aws-sdk-secretsmanager v1.62.0
[INFO] [stderr]   Downloaded openssl v0.10.70
[INFO] [stderr]   Downloaded azure_core v0.21.0
[INFO] [stderr]   Downloaded mini-moka v0.10.3
[INFO] [stderr]   Downloaded aws-smithy-http v0.60.12
[INFO] [stderr]   Downloaded async-trait v0.1.86
[INFO] [stderr]   Downloaded pin-project-internal v1.1.9
[INFO] [stderr]   Downloaded tempfile v3.16.0
[INFO] [stderr]   Downloaded aws-sdk-kms v1.59.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3debba0170d6f0a42574704010e36054d71434b7d074c847bae5731f0b993f80
[INFO] running `Command { std: "docker" "start" "-a" "3debba0170d6f0a42574704010e36054d71434b7d074c847bae5731f0b993f80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3debba0170d6f0a42574704010e36054d71434b7d074c847bae5731f0b993f80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3debba0170d6f0a42574704010e36054d71434b7d074c847bae5731f0b993f80", kill_on_drop: false }`
[INFO] [stdout] 3debba0170d6f0a42574704010e36054d71434b7d074c847bae5731f0b993f80
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f11378887792a949f8757e9427ed5060f19344bb1eb59ee3c8b72ac32283a53d
[INFO] running `Command { std: "docker" "start" "-a" "f11378887792a949f8757e9427ed5060f19344bb1eb59ee3c8b72ac32283a53d", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.16
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling mini-moka v0.10.3
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling bytes v1.10.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.14
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling tagptr v0.2.0
[INFO] [stderr]    Compiling triomphe v0.1.14
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling http v1.2.0
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling cipher v0.4.4
[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 ctr v0.9.2
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling ghash v0.5.1
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[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 tokio v1.43.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.7.35
[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 19.42s
[INFO] running `Command { std: "docker" "inspect" "f11378887792a949f8757e9427ed5060f19344bb1eb59ee3c8b72ac32283a53d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f11378887792a949f8757e9427ed5060f19344bb1eb59ee3c8b72ac32283a53d", kill_on_drop: false }`
[INFO] [stdout] f11378887792a949f8757e9427ed5060f19344bb1eb59ee3c8b72ac32283a53d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 94330b39bfb0ae32cc9d16ae61cc1da4e64ddc0b8657f6653f0285a682b73b69
[INFO] running `Command { std: "docker" "start" "-a" "94330b39bfb0ae32cc9d16ae61cc1da4e64ddc0b8657f6653f0285a682b73b69", 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.64s
[INFO] running `Command { std: "docker" "inspect" "94330b39bfb0ae32cc9d16ae61cc1da4e64ddc0b8657f6653f0285a682b73b69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "94330b39bfb0ae32cc9d16ae61cc1da4e64ddc0b8657f6653f0285a682b73b69", kill_on_drop: false }`
[INFO] [stdout] 94330b39bfb0ae32cc9d16ae61cc1da4e64ddc0b8657f6653f0285a682b73b69
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 02b1961aee6d7582899a0199d4ba4fe1fe5b6173a5b2cc640c4c3394677bad1f
[INFO] running `Command { std: "docker" "start" "-a" "02b1961aee6d7582899a0199d4ba4fe1fe5b6173a5b2cc640c4c3394677bad1f", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/trelent_hyok-d8c8b6dd3d238f2d)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests trelent_hyok
[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/mod.rs - dek::generator::DEKGeneratorTrait (line 34) - compile ... FAILED
[INFO] [stdout] test src/cmk/custom_cmk.rs - cmk::custom_cmk::CustomCMK (line 36) - compile ... FAILED
[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::DEKGenerator (line 78) - compile ... FAILED
[INFO] [stdout] test src/builder.rs - builder::HYOKServiceBuilder (line 171) - compile ... FAILED
[INFO] [stdout] test src/cmk/mod.rs - cmk::CMK (line 122) - compile ... FAILED
[INFO] [stdout] test src/dek/persistence/mod.rs - dek::persistence::DEKPersister (line 208) - compile ... FAILED
[INFO] [stdout] test src/cmk/custom_cmk.rs - cmk::custom_cmk::CustomCMK::encrypt (line 116) - 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::DEKPersistService (line 46) - compile ... FAILED
[INFO] [stdout] test src/dek/persistence/mod.rs - dek::persistence::DEKPersisterTrait (line 153) - 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/persistence/custom_persistence.rs - dek::persistence::custom_persistence::CustomPersister::new (line 74) - compile ... FAILED
[INFO] [stdout] test src/dek/mod.rs - dek::DEK (line 35) - 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/held_data/object.rs - held_data::object::ReleaseHeldObject (line 32) - 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/custom_cmk.rs - cmk::custom_cmk::CustomCMK::decrypt (line 135) - compile ... FAILED
[INFO] [stdout] test src/held_data/encryption/mod.rs - held_data::encryption::EncryptionStrategy (line 41) - compile ... FAILED
[INFO] [stdout] test src/held_data/value.rs - held_data::value::HeldValue (line 22) - compile ... FAILED
[INFO] [stdout] test src/held_data/value.rs - held_data::value::ReleaseHeldValue (line 65) - compile ... FAILED
[INFO] [stdout] test src/dek/scope.rs - dek::scope::WithScope (line 24) - 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::Held (line 119) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - HYOKService (line 48) - compile ... FAILED
[INFO] [stdout] test src/held_data/encryption/custom.rs - held_data::encryption::custom::CustomStrategy (line 36) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 35 | 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/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] 37 | 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/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] 36 | 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::DEKGenerator (line 78) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]   --> src/dek/generator/mod.rs:79:5
[INFO] [stdout]    |
[INFO] [stdout] 79 | 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] 82 | 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] 78 + 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/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] 172 | 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] 182 |         .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] 184 |             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] 188 |         .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] 186 |             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/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] 123 | 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] 134 |     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] 135 |     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] 122 | 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] 134 |     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] 122 | 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] 135 |     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/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] 209 | 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] 216 | 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] 208 + 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/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] 117 | 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] 116 + 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] 116 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cmk_custom_cmk_rs_116_0() {
[INFO] [stdout]     |                                      ---------------------------------------------- this is not `async`
[INFO] [stdout] 117 | let custom_cmk = CustomCMK::new(/* ... */);
[INFO] [stdout] 118 | 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/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] 49 | 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::DEKPersistService (line 46) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `hyokashi`
[INFO] [stdout]   --> src/dek/persistence/mod.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | 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] 46 | 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] 57 |     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] 46 | 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] 58 |     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/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] 155 | 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/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] 21 | 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/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] 100 |            .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]  74 + 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] 104 | 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]  74 + 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] ---- 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] 36 | 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/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] 35 | 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/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] 34 | 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/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] 38 | 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/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] 136 | 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] 135 + 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] 137 | 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] 135 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cmk_custom_cmk_rs_135_0() {
[INFO] [stdout]     |                                      ---------------------------------------------- this is not `async`
[INFO] [stdout] 136 | let custom_cmk = CustomCMK::new(/* ... */);
[INFO] [stdout] 137 | let decrypted = custom_cmk.decrypt(encrypted_data).await?;
[INFO] [stdout]     |                                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[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/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] 43 | 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/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] 23 | 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] 29 |     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] 29 |     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] 29 |     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] 22 + use std::fs::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use std::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use core::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 22 + 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] 30 |     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] 30 |     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] 30 |     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] 22 + use std::fs::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use std::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use core::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 22 + 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] 22 | 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] 29 |     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] 22 | 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] 30 |     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/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] 67 | 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] 76 |         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] 65 + use trelent_hyok::encryption::EncryptionStrategy;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `DEK` in this scope
[INFO] [stdout]   --> src/held_data/value.rs:73:41
[INFO] [stdout]    |
[INFO] [stdout] 73 |     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] 65 + 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, E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[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] 25 | 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/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] 324 | 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] 320 + 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] 327 | builder.with_custom_cache(
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/builder.rs:331:16
[INFO] [stdout]     |
[INFO] [stdout] 331 |     move |key, value| {
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout] 332 |         cache_clone.lock().unwrap().insert(key, value.clone());
[INFO] [stdout]     |                                                 ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 331 |     move |key, value: /* Type */| {
[INFO] [stdout]     |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[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] 120 | 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] 124 |     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] 124 |     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] 124 |     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] 119 + use std::fs::metadata;
[INFO] [stdout]     |
[INFO] [stdout] 119 + use std::ptr::metadata;
[INFO] [stdout]     |
[INFO] [stdout] 119 + use core::ptr::metadata;
[INFO] [stdout]     |
[INFO] [stdout] 119 + 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] 49 | 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] 54 |         .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] 54 |         .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] 55 |         .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] 56 |         .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] 59 |     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] 59 |     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] 48 + use std::fs::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 48 + use std::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 48 + use core::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 48 + 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] 62 |     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] 48 + use std::fs::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 48 + use std::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 48 + use core::ptr::metadata;
[INFO] [stdout]    |
[INFO] [stdout] 48 + 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] 48 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_48_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 59 |     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] 48 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_48_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 62 |     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/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] 37 | 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] 36 | 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] 62 |     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] 36 | 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] 63 |     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] 
[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.43s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "02b1961aee6d7582899a0199d4ba4fe1fe5b6173a5b2cc640c4c3394677bad1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02b1961aee6d7582899a0199d4ba4fe1fe5b6173a5b2cc640c4c3394677bad1f", kill_on_drop: false }`
[INFO] [stdout] 02b1961aee6d7582899a0199d4ba4fe1fe5b6173a5b2cc640c4c3394677bad1f
