[INFO] fetching crate win-crypto-ng 0.4.0... [INFO] checking win-crypto-ng-0.4.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate win-crypto-ng 0.4.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate win-crypto-ng 0.4.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate win-crypto-ng 0.4.0 [INFO] finished tweaking crates.io crate win-crypto-ng 0.4.0 [INFO] tweaked toml for crates.io crate win-crypto-ng 0.4.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d18a0c08867b7d780af27391541853ee114539af10abb62f5984290ce524ec1c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d18a0c08867b7d780af27391541853ee114539af10abb62f5984290ce524ec1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d18a0c08867b7d780af27391541853ee114539af10abb62f5984290ce524ec1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d18a0c08867b7d780af27391541853ee114539af10abb62f5984290ce524ec1c", kill_on_drop: false }` [INFO] [stdout] d18a0c08867b7d780af27391541853ee114539af10abb62f5984290ce524ec1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12750f23fda7cd62b2bb4d27e4edda8026b361537c0f2e36a0b0b12393e22597 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "12750f23fda7cd62b2bb4d27e4edda8026b361537c0f2e36a0b0b12393e22597", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking win-crypto-ng v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::ntdef::NTSTATUS; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/asymmetric/mod.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/asymmetric/agreement.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/asymmetric/builder.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/asymmetric/builder.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::shared::ntdef::ULONG; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/asymmetric/ecc.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/asymmetric/signature.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hash.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hash.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | use winapi::shared::minwindef::{PUCHAR, ULONG}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/key_blob.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/key_blob.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::ntdef::ULONG; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/lib.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::ntstatus; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/property.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/property.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::ntdef::WCHAR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/random.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/random.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | use winapi::shared::ntdef::ULONG; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/symmetric.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/symmetric.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | use winapi::shared::minwindef::{PUCHAR, ULONG}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/helpers/mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/helpers/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::ntdef::{LPCWSTR, PUCHAR, ULONG, VOID}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/helpers/windows_string.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/helpers/windows_string.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::ntdef::LPCWSTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::shared`, `crate::asymmetric::AsymmetricKey`, `crate::asymmetric::Ecdh`, `crate::asymmetric::Private`, `crate::asymmetric::Public`, `super::Algorithm`, `super::AsymmetricAlgorithm`, `super::AsymmetricAlgorithmId`, `super::AsymmetricKey`, `super::Private`, `super::Dh`, `super::Dsa`, `super::Ecdh`, `super::Ecdsa`, `super::Rsa`, `crate::asymmetric::AsymmetricKey`, `crate::asymmetric::Dsa`, `crate::asymmetric::Ecdsa`, `crate::asymmetric::Private`, `crate::asymmetric::Public`, `crate::asymmetric::Rsa`, `crate::helpers::AsBytes`, `crate::helpers::FromBytes` [INFO] [stdout] --> src/asymmetric/agreement.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::asymmetric::{ecc::Curve, AsymmetricKey, Ecdh, Private, Public}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/property.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::bcrypt; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/asymmetric/builder.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use super::{Algorithm, AsymmetricAlgorithm, AsymmetricAlgorithmId, AsymmetricKey, Private}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 30 | use super::{Dh, Dsa, Ecdh, Ecdsa, Rsa}; [INFO] [stdout] | ^^ ^^^ ^^^^ ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/asymmetric/signature.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::asymmetric::{AsymmetricKey, Dsa, Ecdsa, Private, Public, Rsa}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/helpers/blob.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::helpers::{AsBytes, FromBytes}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::ntdef::NTSTATUS; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/asymmetric/mod.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/asymmetric/agreement.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/asymmetric/builder.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/asymmetric/builder.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::shared::ntdef::ULONG; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/asymmetric/ecc.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/asymmetric/signature.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hash.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hash.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | use winapi::shared::minwindef::{PUCHAR, ULONG}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/key_blob.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/key_blob.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::ntdef::ULONG; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/lib.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::ntstatus; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/property.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/property.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::ntdef::WCHAR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/random.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/random.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | use winapi::shared::ntdef::ULONG; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/symmetric.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/symmetric.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | use winapi::shared::minwindef::{PUCHAR, ULONG}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/helpers/mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/helpers/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::ntdef::{LPCWSTR, PUCHAR, ULONG, VOID}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/helpers/windows_string.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/helpers/windows_string.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::shared::ntdef::LPCWSTR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::shared`, `crate::asymmetric::AsymmetricKey`, `crate::asymmetric::Ecdh`, `crate::asymmetric::Private`, `crate::asymmetric::Public`, `super::Algorithm`, `super::AsymmetricAlgorithm`, `super::AsymmetricAlgorithmId`, `super::AsymmetricKey`, `super::Private`, `super::Dh`, `super::Dsa`, `super::Ecdh`, `super::Ecdsa`, `super::Rsa`, `crate::asymmetric::AsymmetricKey`, `crate::asymmetric::Dsa`, `crate::asymmetric::Ecdsa`, `crate::asymmetric::Private`, `crate::asymmetric::Public`, `crate::asymmetric::Rsa`, `crate::helpers::AsBytes`, `crate::helpers::FromBytes`, `super::SignaturePadding` [INFO] [stdout] --> src/asymmetric/agreement.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::asymmetric::{ecc::Curve, AsymmetricKey, Ecdh, Private, Public}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/property.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::bcrypt; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/asymmetric/builder.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use super::{Algorithm, AsymmetricAlgorithm, AsymmetricAlgorithmId, AsymmetricKey, Private}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 30 | use super::{Dh, Dsa, Ecdh, Ecdsa, Rsa}; [INFO] [stdout] | ^^ ^^^ ^^^^ ^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/asymmetric/signature.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::asymmetric::{AsymmetricKey, Dsa, Ecdsa, Private, Public, Rsa}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ ^^^^^ ^^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | use super::SignaturePadding; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/helpers/blob.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::helpers::{AsBytes, FromBytes}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 178 | | BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDH_PUBLIC_P256_MAGIC, [INFO] [stdout] | | -------------------------------- variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC` [INFO] [stdout] --> src/key_blob.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDH_PUBLIC_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDH_PUBLIC_P256_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDH_PUBLIC_P256_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 178 | | BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDH_PUBLIC_P256_MAGIC, [INFO] [stdout] | | ----------------------------- variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDH_PUBLIC_P256_MAGIC` [INFO] [stdout] --> src/key_blob.rs:178:43 [INFO] [stdout] | [INFO] [stdout] 178 | BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDH_PUBLIC_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDH_PUBLIC_P384_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDH_PUBLIC_P384_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 179 | | BCRYPT_ECDH_PUBLIC_P384_MAGIC, BCRYPT_ECDH_PUBLIC_P521_MAGIC, [INFO] [stdout] | | ----------------------------- variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDH_PUBLIC_P384_MAGIC` [INFO] [stdout] --> src/key_blob.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | BCRYPT_ECDH_PUBLIC_P384_MAGIC, BCRYPT_ECDH_PUBLIC_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDH_PUBLIC_P521_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDH_PUBLIC_P521_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 179 | | BCRYPT_ECDH_PUBLIC_P384_MAGIC, BCRYPT_ECDH_PUBLIC_P521_MAGIC, [INFO] [stdout] | | ----------------------------- variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDH_PUBLIC_P521_MAGIC` [INFO] [stdout] --> src/key_blob.rs:179:40 [INFO] [stdout] | [INFO] [stdout] 179 | BCRYPT_ECDH_PUBLIC_P384_MAGIC, BCRYPT_ECDH_PUBLIC_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 180 | | BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDSA_PUBLIC_P256_MAGIC, [INFO] [stdout] | | --------------------------------- variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC` [INFO] [stdout] --> src/key_blob.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDSA_PUBLIC_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDSA_PUBLIC_P256_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDSA_PUBLIC_P256_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 180 | | BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDSA_PUBLIC_P256_MAGIC, [INFO] [stdout] | | ------------------------------ variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDSA_PUBLIC_P256_MAGIC` [INFO] [stdout] --> src/key_blob.rs:180:44 [INFO] [stdout] | [INFO] [stdout] 180 | BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDSA_PUBLIC_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDSA_PUBLIC_P384_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDSA_PUBLIC_P384_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 181 | | BCRYPT_ECDSA_PUBLIC_P384_MAGIC, BCRYPT_ECDSA_PUBLIC_P521_MAGIC [INFO] [stdout] | | ------------------------------ variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDSA_PUBLIC_P384_MAGIC` [INFO] [stdout] --> src/key_blob.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | BCRYPT_ECDSA_PUBLIC_P384_MAGIC, BCRYPT_ECDSA_PUBLIC_P521_MAGIC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDSA_PUBLIC_P521_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDSA_PUBLIC_P521_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 181 | | BCRYPT_ECDSA_PUBLIC_P384_MAGIC, BCRYPT_ECDSA_PUBLIC_P521_MAGIC [INFO] [stdout] | | ------------------------------ variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDSA_PUBLIC_P521_MAGIC` [INFO] [stdout] --> src/key_blob.rs:181:41 [INFO] [stdout] | [INFO] [stdout] 181 | BCRYPT_ECDSA_PUBLIC_P384_MAGIC, BCRYPT_ECDSA_PUBLIC_P521_MAGIC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 184 | | BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDH_PRIVATE_P256_MAGIC, [INFO] [stdout] | | --------------------------------- variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC` [INFO] [stdout] --> src/key_blob.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDH_PRIVATE_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDH_PRIVATE_P256_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDH_PRIVATE_P256_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 184 | | BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDH_PRIVATE_P256_MAGIC, [INFO] [stdout] | | ------------------------------ variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDH_PRIVATE_P256_MAGIC` [INFO] [stdout] --> src/key_blob.rs:184:44 [INFO] [stdout] | [INFO] [stdout] 184 | BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDH_PRIVATE_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDH_PRIVATE_P384_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDH_PRIVATE_P384_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 185 | | BCRYPT_ECDH_PRIVATE_P384_MAGIC, BCRYPT_ECDH_PRIVATE_P521_MAGIC, [INFO] [stdout] | | ------------------------------ variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDH_PRIVATE_P384_MAGIC` [INFO] [stdout] --> src/key_blob.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | BCRYPT_ECDH_PRIVATE_P384_MAGIC, BCRYPT_ECDH_PRIVATE_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDH_PRIVATE_P521_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDH_PRIVATE_P521_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 185 | | BCRYPT_ECDH_PRIVATE_P384_MAGIC, BCRYPT_ECDH_PRIVATE_P521_MAGIC, [INFO] [stdout] | | ------------------------------ variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDH_PRIVATE_P521_MAGIC` [INFO] [stdout] --> src/key_blob.rs:185:41 [INFO] [stdout] | [INFO] [stdout] 185 | BCRYPT_ECDH_PRIVATE_P384_MAGIC, BCRYPT_ECDH_PRIVATE_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 186 | | BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDSA_PRIVATE_P256_MAGIC, [INFO] [stdout] | | ---------------------------------- variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC` [INFO] [stdout] --> src/key_blob.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDSA_PRIVATE_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDSA_PRIVATE_P256_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDSA_PRIVATE_P256_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 186 | | BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDSA_PRIVATE_P256_MAGIC, [INFO] [stdout] | | ------------------------------- variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDSA_PRIVATE_P256_MAGIC` [INFO] [stdout] --> src/key_blob.rs:186:45 [INFO] [stdout] | [INFO] [stdout] 186 | BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDSA_PRIVATE_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDSA_PRIVATE_P384_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDSA_PRIVATE_P384_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 187 | | BCRYPT_ECDSA_PRIVATE_P384_MAGIC, BCRYPT_ECDSA_PRIVATE_P521_MAGIC [INFO] [stdout] | | ------------------------------- variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDSA_PRIVATE_P384_MAGIC` [INFO] [stdout] --> src/key_blob.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | BCRYPT_ECDSA_PRIVATE_P384_MAGIC, BCRYPT_ECDSA_PRIVATE_P521_MAGIC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDSA_PRIVATE_P521_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDSA_PRIVATE_P521_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 187 | | BCRYPT_ECDSA_PRIVATE_P384_MAGIC, BCRYPT_ECDSA_PRIVATE_P521_MAGIC [INFO] [stdout] | | ------------------------------- variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDSA_PRIVATE_P521_MAGIC` [INFO] [stdout] --> src/key_blob.rs:187:42 [INFO] [stdout] | [INFO] [stdout] 187 | BCRYPT_ECDSA_PRIVATE_P384_MAGIC, BCRYPT_ECDSA_PRIVATE_P521_MAGIC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 178 | | BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDH_PUBLIC_P256_MAGIC, [INFO] [stdout] | | -------------------------------- variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC` [INFO] [stdout] --> src/key_blob.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDH_PUBLIC_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDH_PUBLIC_P256_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDH_PUBLIC_P256_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 178 | | BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDH_PUBLIC_P256_MAGIC, [INFO] [stdout] | | ----------------------------- variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDH_PUBLIC_P256_MAGIC` [INFO] [stdout] --> src/key_blob.rs:178:43 [INFO] [stdout] | [INFO] [stdout] 178 | BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDH_PUBLIC_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDH_PUBLIC_P384_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDH_PUBLIC_P384_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 179 | | BCRYPT_ECDH_PUBLIC_P384_MAGIC, BCRYPT_ECDH_PUBLIC_P521_MAGIC, [INFO] [stdout] | | ----------------------------- variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDH_PUBLIC_P384_MAGIC` [INFO] [stdout] --> src/key_blob.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | BCRYPT_ECDH_PUBLIC_P384_MAGIC, BCRYPT_ECDH_PUBLIC_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDH_PUBLIC_P521_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDH_PUBLIC_P521_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 179 | | BCRYPT_ECDH_PUBLIC_P384_MAGIC, BCRYPT_ECDH_PUBLIC_P521_MAGIC, [INFO] [stdout] | | ----------------------------- variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDH_PUBLIC_P521_MAGIC` [INFO] [stdout] --> src/key_blob.rs:179:40 [INFO] [stdout] | [INFO] [stdout] 179 | BCRYPT_ECDH_PUBLIC_P384_MAGIC, BCRYPT_ECDH_PUBLIC_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 180 | | BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDSA_PUBLIC_P256_MAGIC, [INFO] [stdout] | | --------------------------------- variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC` [INFO] [stdout] --> src/key_blob.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDSA_PUBLIC_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDSA_PUBLIC_P256_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDSA_PUBLIC_P256_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 180 | | BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDSA_PUBLIC_P256_MAGIC, [INFO] [stdout] | | ------------------------------ variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDSA_PUBLIC_P256_MAGIC` [INFO] [stdout] --> src/key_blob.rs:180:44 [INFO] [stdout] | [INFO] [stdout] 180 | BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDSA_PUBLIC_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDSA_PUBLIC_P384_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDSA_PUBLIC_P384_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 181 | | BCRYPT_ECDSA_PUBLIC_P384_MAGIC, BCRYPT_ECDSA_PUBLIC_P521_MAGIC [INFO] [stdout] | | ------------------------------ variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDSA_PUBLIC_P384_MAGIC` [INFO] [stdout] --> src/key_blob.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | BCRYPT_ECDSA_PUBLIC_P384_MAGIC, BCRYPT_ECDSA_PUBLIC_P521_MAGIC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDSA_PUBLIC_P521_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDSA_PUBLIC_P521_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 181 | | BCRYPT_ECDSA_PUBLIC_P384_MAGIC, BCRYPT_ECDSA_PUBLIC_P521_MAGIC [INFO] [stdout] | | ------------------------------ variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDSA_PUBLIC_P521_MAGIC` [INFO] [stdout] --> src/key_blob.rs:181:41 [INFO] [stdout] | [INFO] [stdout] 181 | BCRYPT_ECDSA_PUBLIC_P384_MAGIC, BCRYPT_ECDSA_PUBLIC_P521_MAGIC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 184 | | BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDH_PRIVATE_P256_MAGIC, [INFO] [stdout] | | --------------------------------- variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC` [INFO] [stdout] --> src/key_blob.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDH_PRIVATE_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDH_PRIVATE_P256_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDH_PRIVATE_P256_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 184 | | BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDH_PRIVATE_P256_MAGIC, [INFO] [stdout] | | ------------------------------ variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDH_PRIVATE_P256_MAGIC` [INFO] [stdout] --> src/key_blob.rs:184:44 [INFO] [stdout] | [INFO] [stdout] 184 | BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDH_PRIVATE_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDH_PRIVATE_P384_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDH_PRIVATE_P384_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 185 | | BCRYPT_ECDH_PRIVATE_P384_MAGIC, BCRYPT_ECDH_PRIVATE_P521_MAGIC, [INFO] [stdout] | | ------------------------------ variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDH_PRIVATE_P384_MAGIC` [INFO] [stdout] --> src/key_blob.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | BCRYPT_ECDH_PRIVATE_P384_MAGIC, BCRYPT_ECDH_PRIVATE_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDH_PRIVATE_P521_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDH_PRIVATE_P521_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 185 | | BCRYPT_ECDH_PRIVATE_P384_MAGIC, BCRYPT_ECDH_PRIVATE_P521_MAGIC, [INFO] [stdout] | | ------------------------------ variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDH_PRIVATE_P521_MAGIC` [INFO] [stdout] --> src/key_blob.rs:185:41 [INFO] [stdout] | [INFO] [stdout] 185 | BCRYPT_ECDH_PRIVATE_P384_MAGIC, BCRYPT_ECDH_PRIVATE_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 186 | | BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDSA_PRIVATE_P256_MAGIC, [INFO] [stdout] | | ---------------------------------- variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC` [INFO] [stdout] --> src/key_blob.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDSA_PRIVATE_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDSA_PRIVATE_P256_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDSA_PRIVATE_P256_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 186 | | BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDSA_PRIVATE_P256_MAGIC, [INFO] [stdout] | | ------------------------------- variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDSA_PRIVATE_P256_MAGIC` [INFO] [stdout] --> src/key_blob.rs:186:45 [INFO] [stdout] | [INFO] [stdout] 186 | BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDSA_PRIVATE_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDSA_PRIVATE_P384_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDSA_PRIVATE_P384_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 187 | | BCRYPT_ECDSA_PRIVATE_P384_MAGIC, BCRYPT_ECDSA_PRIVATE_P521_MAGIC [INFO] [stdout] | | ------------------------------- variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDSA_PRIVATE_P384_MAGIC` [INFO] [stdout] --> src/key_blob.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | BCRYPT_ECDSA_PRIVATE_P384_MAGIC, BCRYPT_ECDSA_PRIVATE_P521_MAGIC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `BCRYPT_ECDSA_PRIVATE_P521_MAGIC` is not bound in all patterns [INFO] [stdout] --> src/key_blob.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | $($(| $val)* => Some($blob),)? [INFO] [stdout] | ^^^^ pattern doesn't bind `BCRYPT_ECDSA_PRIVATE_P521_MAGIC` [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 187 | | BCRYPT_ECDSA_PRIVATE_P384_MAGIC, BCRYPT_ECDSA_PRIVATE_P521_MAGIC [INFO] [stdout] | | ------------------------------- variable not in all patterns [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::BCRYPT_ECDSA_PRIVATE_P521_MAGIC` [INFO] [stdout] --> src/key_blob.rs:187:42 [INFO] [stdout] | [INFO] [stdout] 187 | BCRYPT_ECDSA_PRIVATE_P384_MAGIC, BCRYPT_ECDSA_PRIVATE_P521_MAGIC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:56:50 [INFO] [stdout] | [INFO] [stdout] 56 | ntstatus::STATUS_NO_MEMORY | winapi::shared::winerror::NTE_NO_MEMORY => { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:65:51 [INFO] [stdout] | [INFO] [stdout] 65 | ntstatus::STATUS_DATA_ERROR | winapi::shared::winerror::NTE_BAD_DATA => { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_SECRET_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/agreement.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | let mut handle: BCRYPT_SECRET_HANDLE = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptSecretAgreement` in this scope [INFO] [stdout] --> src/asymmetric/agreement.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | Error::check(BCryptSecretAgreement( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_SECRET_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/agreement.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | handle: BCRYPT_SECRET_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDestroySecret` in this scope [INFO] [stdout] --> src/asymmetric/agreement.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | BCryptDestroySecret(self.handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_SECRET_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/agreement.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | fn as_ptr(&self) -> BCRYPT_SECRET_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_SECRET_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/agreement.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_SECRET_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_KDF_RAW_SECRET` in this scope [INFO] [stdout] --> src/asymmetric/agreement.rs:61:54 [INFO] [stdout] | [INFO] [stdout] 61 | let id = crate::helpers::WindowsString::from(BCRYPT_KDF_RAW_SECRET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDeriveKey` in this scope [INFO] [stdout] --> src/asymmetric/agreement.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | Error::check(BCryptDeriveKey( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDeriveKey` in this scope [INFO] [stdout] --> src/asymmetric/agreement.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | Error::check(BCryptDeriveKey( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | fn set_property(handle: BCRYPT_HANDLE, property: &str, value: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptSetProperty` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:236:22 [INFO] [stdout] | [INFO] [stdout] 236 | Error::check(BCryptSetProperty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:253:34 [INFO] [stdout] | [INFO] [stdout] 253 | fn set_param(&self, _handle: BCRYPT_HANDLE, _key_bits: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:259:33 [INFO] [stdout] | [INFO] [stdout] 259 | fn set_param(&self, handle: BCRYPT_HANDLE, key_bits: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PARAMETERS` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:261:45 [INFO] [stdout] | [INFO] [stdout] 261 | BuilderOptions::Dsa(params) => (BCRYPT_DSA_PARAMETERS, params.to_blob_bytes(key_bits)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DH_PARAMETERS` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | (BCRYPT_DH_PARAMETERS, params.to_blob(key_bits).into_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:272:33 [INFO] [stdout] | [INFO] [stdout] 272 | fn set_param(&self, handle: BCRYPT_HANDLE, key_bits: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DH_PARAMETERS` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | BCRYPT_DH_PARAMETERS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:282:33 [INFO] [stdout] | [INFO] [stdout] 282 | fn set_param(&self, handle: BCRYPT_HANDLE, key_bits: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PARAMETERS` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:283:30 [INFO] [stdout] | [INFO] [stdout] 283 | set_property(handle, BCRYPT_DSA_PARAMETERS, &self.to_blob_bytes(key_bits)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | fn set_param(&self, handle: BCRYPT_HANDLE, key_bits: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PARAMETERS` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | BCRYPT_DSA_PARAMETERS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:297:33 [INFO] [stdout] | [INFO] [stdout] 297 | fn set_param(&self, handle: BCRYPT_HANDLE, key_bits: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PARAMETERS` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | BCRYPT_DSA_PARAMETERS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_PARAMETER_HEADER` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:411:46 [INFO] [stdout] | [INFO] [stdout] 408 | impl DsaParamsV1 { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 411 | let header_len = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_DSA_PARAMETER_HEADER` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:415:14 [INFO] [stdout] | [INFO] [stdout] 415 | &BCRYPT_DSA_PARAMETER_HEADER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PARAMETERS_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:417:26 [INFO] [stdout] | [INFO] [stdout] 417 | dwMagic: BCRYPT_DSA_PARAMETERS_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_PARAMETER_HEADER_V2` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:434:46 [INFO] [stdout] | [INFO] [stdout] 431 | impl DsaParamsV2 { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 434 | let header_len = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_DSA_PARAMETER_HEADER_V2` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:438:14 [INFO] [stdout] | [INFO] [stdout] 438 | &BCRYPT_DSA_PARAMETER_HEADER_V2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PARAMETERS_MAGIC_V2` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:440:26 [INFO] [stdout] | [INFO] [stdout] 440 | dwMagic: BCRYPT_DSA_PARAMETERS_MAGIC_V2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DH_PARAMETER_HEADER` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:460:46 [INFO] [stdout] | [INFO] [stdout] 457 | impl DhParams { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 460 | let header_len = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_DH_PARAMETER_HEADER` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:464:14 [INFO] [stdout] | [INFO] [stdout] 464 | &BCRYPT_DH_PARAMETER_HEADER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DH_PARAMETERS_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:466:26 [INFO] [stdout] | [INFO] [stdout] 466 | dwMagic: BCRYPT_DH_PARAMETERS_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:518:13 [INFO] [stdout] | [INFO] [stdout] 518 | handle: BCRYPT_KEY_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:523:25 [INFO] [stdout] | [INFO] [stdout] 523 | let mut handle: BCRYPT_KEY_HANDLE = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptGenerateKeyPair` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 526 | BCryptGenerateKeyPair(provider.handle.as_ptr(), &mut handle, length as ULONG, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:526:84 [INFO] [stdout] | [INFO] [stdout] 526 | BCryptGenerateKeyPair(provider.handle.as_ptr(), &mut handle, length as ULONG, 0) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptImportKeyPair` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:545:13 [INFO] [stdout] | [INFO] [stdout] 545 | BCryptImportKeyPair( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_NO_KEY_VALIDATION` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:553:21 [INFO] [stdout] | [INFO] [stdout] 553 | BCRYPT_NO_KEY_VALIDATION [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:562:27 [INFO] [stdout] | [INFO] [stdout] 562 | pub fn export(handle: BCRYPT_KEY_HANDLE, kind: BlobType) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:565:24 [INFO] [stdout] | [INFO] [stdout] 565 | let mut bytes: ULONG = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptExportKey` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:567:26 [INFO] [stdout] | [INFO] [stdout] 567 | Error::check(BCryptExportKey( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptExportKey` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:580:26 [INFO] [stdout] | [INFO] [stdout] 580 | Error::check(BCryptExportKey( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptFinalizeKeyPair` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:597:31 [INFO] [stdout] | [INFO] [stdout] 597 | Error::check(unsafe { BCryptFinalizeKeyPair(self.handle, 0) }).map(|_| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_PARAMETER_HEADER` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:607:21 [INFO] [stdout] | [INFO] [stdout] 607 | unsafe impl Pod for BCRYPT_DSA_PARAMETER_HEADER {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_PARAMETER_HEADER` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:613:13 [INFO] [stdout] | [INFO] [stdout] 613 | header: BCRYPT_DSA_PARAMETER_HEADER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_PARAMETER_HEADER_V2` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:625:21 [INFO] [stdout] | [INFO] [stdout] 625 | unsafe impl Pod for BCRYPT_DSA_PARAMETER_HEADER_V2 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_PARAMETER_HEADER_V2` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:631:13 [INFO] [stdout] | [INFO] [stdout] 631 | header: BCRYPT_DSA_PARAMETER_HEADER_V2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DH_PARAMETER_HEADER` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:643:21 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe impl Pod for BCRYPT_DH_PARAMETER_HEADER {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DH_PARAMETER_HEADER` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:649:13 [INFO] [stdout] | [INFO] [stdout] 649 | header: BCRYPT_DH_PARAMETER_HEADER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECC_CURVE_NISTP256` in this scope [INFO] [stdout] --> src/asymmetric/ecc.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | Self::NistP256 => BCRYPT_ECC_CURVE_NISTP256, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECC_CURVE_NISTP384` in this scope [INFO] [stdout] --> src/asymmetric/ecc.rs:96:31 [INFO] [stdout] | [INFO] [stdout] 96 | Self::NistP384 => BCRYPT_ECC_CURVE_NISTP384, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECC_CURVE_NISTP521` in this scope [INFO] [stdout] --> src/asymmetric/ecc.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 97 | Self::NistP521 => BCRYPT_ECC_CURVE_NISTP521, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECC_CURVE_25519` in this scope [INFO] [stdout] --> src/asymmetric/ecc.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | Self::Curve25519 => BCRYPT_ECC_CURVE_25519, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_PKCS1_PADDING_INFO` in this scope [INFO] [stdout] --> src/asymmetric/signature.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 119 | pkcs: BCRYPT_PKCS1_PADDING_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_PSS_PADDING_INFO` in this scope [INFO] [stdout] --> src/asymmetric/signature.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | pss: BCRYPT_PSS_PADDING_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_PKCS1_PADDING_INFO` in this scope [INFO] [stdout] --> src/asymmetric/signature.rs:133:31 [INFO] [stdout] | [INFO] [stdout] 133 | pkcs: BCRYPT_PKCS1_PADDING_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_PAD_PKCS1` in this scope [INFO] [stdout] --> src/asymmetric/signature.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | BCRYPT_PAD_PKCS1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_PSS_PADDING_INFO` in this scope [INFO] [stdout] --> src/asymmetric/signature.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | pss: BCRYPT_PSS_PADDING_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_PAD_PSS` in this scope [INFO] [stdout] --> src/asymmetric/signature.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | BCRYPT_PAD_PSS, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptSignHash` in this scope [INFO] [stdout] --> src/asymmetric/signature.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | BCryptSignHash( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptSignHash` in this scope [INFO] [stdout] --> src/asymmetric/signature.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | BCryptSignHash( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptVerifySignature` in this scope [INFO] [stdout] --> src/asymmetric/signature.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | BCryptVerifySignature( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DH_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | Self::Dh => BCRYPT_DH_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | Self::Dsa => BCRYPT_DSA_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_P256_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:63:49 [INFO] [stdout] | [INFO] [stdout] 63 | Self::Ecdh(NamedCurve::NistP256) => BCRYPT_ECDH_P256_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_P384_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:64:49 [INFO] [stdout] | [INFO] [stdout] 64 | Self::Ecdh(NamedCurve::NistP384) => BCRYPT_ECDH_P384_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_P521_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:65:49 [INFO] [stdout] | [INFO] [stdout] 65 | Self::Ecdh(NamedCurve::NistP521) => BCRYPT_ECDH_P521_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | Self::Ecdh(..) => BCRYPT_ECDH_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_P256_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:67:50 [INFO] [stdout] | [INFO] [stdout] 67 | Self::Ecdsa(NamedCurve::NistP256) => BCRYPT_ECDSA_P256_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_P384_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:68:50 [INFO] [stdout] | [INFO] [stdout] 68 | Self::Ecdsa(NamedCurve::NistP384) => BCRYPT_ECDSA_P384_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_P521_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:69:50 [INFO] [stdout] | [INFO] [stdout] 69 | Self::Ecdsa(NamedCurve::NistP521) => BCRYPT_ECDSA_P521_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | Self::Ecdsa(..) => BCRYPT_ECDSA_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RSA_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | Self::Rsa => BCRYPT_RSA_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_RSAKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:372:22 [INFO] [stdout] | [INFO] [stdout] 372 | let header = BCRYPT_RSAKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RSAPRIVATE_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:374:20 [INFO] [stdout] | [INFO] [stdout] 374 | Magic: BCRYPT_RSAPRIVATE_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_RSAKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:396:22 [INFO] [stdout] | [INFO] [stdout] 396 | let header = BCRYPT_RSAKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RSAPUBLIC_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:398:20 [INFO] [stdout] | [INFO] [stdout] 398 | Magic: BCRYPT_RSAPUBLIC_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:424:14 [INFO] [stdout] | [INFO] [stdout] 424 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PRIVATE_P256_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:425:26 [INFO] [stdout] | [INFO] [stdout] 425 | dwMagic: BCRYPT_ECDSA_PRIVATE_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:449:14 [INFO] [stdout] | [INFO] [stdout] 449 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PUBLIC_P256_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:450:26 [INFO] [stdout] | [INFO] [stdout] 450 | dwMagic: BCRYPT_ECDSA_PUBLIC_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:474:14 [INFO] [stdout] | [INFO] [stdout] 474 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PRIVATE_P384_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:475:26 [INFO] [stdout] | [INFO] [stdout] 475 | dwMagic: BCRYPT_ECDSA_PRIVATE_P384_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:499:14 [INFO] [stdout] | [INFO] [stdout] 499 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PUBLIC_P384_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:500:26 [INFO] [stdout] | [INFO] [stdout] 500 | dwMagic: BCRYPT_ECDSA_PUBLIC_P384_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:524:14 [INFO] [stdout] | [INFO] [stdout] 524 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PRIVATE_P521_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:525:26 [INFO] [stdout] | [INFO] [stdout] 525 | dwMagic: BCRYPT_ECDSA_PRIVATE_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:549:14 [INFO] [stdout] | [INFO] [stdout] 549 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PUBLIC_P521_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:550:26 [INFO] [stdout] | [INFO] [stdout] 550 | dwMagic: BCRYPT_ECDSA_PUBLIC_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:568:14 [INFO] [stdout] | [INFO] [stdout] 568 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:569:26 [INFO] [stdout] | [INFO] [stdout] 569 | dwMagic: BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:591:14 [INFO] [stdout] | [INFO] [stdout] 591 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:592:26 [INFO] [stdout] | [INFO] [stdout] 592 | dwMagic: BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:619:14 [INFO] [stdout] | [INFO] [stdout] 619 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PRIVATE_P256_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:620:26 [INFO] [stdout] | [INFO] [stdout] 620 | dwMagic: BCRYPT_ECDH_PRIVATE_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:644:14 [INFO] [stdout] | [INFO] [stdout] 644 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PUBLIC_P256_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:645:26 [INFO] [stdout] | [INFO] [stdout] 645 | dwMagic: BCRYPT_ECDH_PUBLIC_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:669:14 [INFO] [stdout] | [INFO] [stdout] 669 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PRIVATE_P384_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:670:26 [INFO] [stdout] | [INFO] [stdout] 670 | dwMagic: BCRYPT_ECDH_PRIVATE_P384_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:694:14 [INFO] [stdout] | [INFO] [stdout] 694 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PUBLIC_P384_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:695:26 [INFO] [stdout] | [INFO] [stdout] 695 | dwMagic: BCRYPT_ECDH_PUBLIC_P384_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:719:14 [INFO] [stdout] | [INFO] [stdout] 719 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PRIVATE_P521_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:720:26 [INFO] [stdout] | [INFO] [stdout] 720 | dwMagic: BCRYPT_ECDH_PRIVATE_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:744:14 [INFO] [stdout] | [INFO] [stdout] 744 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PUBLIC_P521_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:745:26 [INFO] [stdout] | [INFO] [stdout] 745 | dwMagic: BCRYPT_ECDH_PUBLIC_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_OAEP_PADDING_INFO` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:884:12 [INFO] [stdout] | [INFO] [stdout] 884 | value: BCRYPT_OAEP_PADDING_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_OAEP_PADDING_INFO` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:892:20 [INFO] [stdout] | [INFO] [stdout] 892 | value: BCRYPT_OAEP_PADDING_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_PAD_OAEP` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:904:79 [INFO] [stdout] | [INFO] [stdout] 904 | Self::Oaep(oaep_padding) => (Some(oaep_padding.to_ffi_args(out)), BCRYPT_PAD_OAEP), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_PAD_PKCS1` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:905:35 [INFO] [stdout] | [INFO] [stdout] 905 | Self::Pkcs1 => (None, BCRYPT_PAD_PKCS1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_OAEP_PADDING_INFO` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:919:45 [INFO] [stdout] | [INFO] [stdout] 919 | .map(|pad| &pad.value as *const BCRYPT_OAEP_PADDING_INFO as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptEncrypt` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:923:33 [INFO] [stdout] | [INFO] [stdout] 923 | crate::Error::check(BCryptEncrypt( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptEncrypt` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:938:33 [INFO] [stdout] | [INFO] [stdout] 938 | crate::Error::check(BCryptEncrypt( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_OAEP_PADDING_INFO` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:964:45 [INFO] [stdout] | [INFO] [stdout] 964 | .map(|pad| &pad.value as *const BCRYPT_OAEP_PADDING_INFO as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDecrypt` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:968:33 [INFO] [stdout] | [INFO] [stdout] 968 | crate::Error::check(BCryptDecrypt( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDecrypt` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:983:33 [INFO] [stdout] | [INFO] [stdout] 983 | crate::Error::check(BCryptDecrypt( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_SHA1_ALGORITHM` in this scope [INFO] [stdout] --> src/hash.rs:164:27 [INFO] [stdout] | [INFO] [stdout] 164 | Self::Sha1 => BCRYPT_SHA1_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_SHA256_ALGORITHM` in this scope [INFO] [stdout] --> src/hash.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | Self::Sha256 => BCRYPT_SHA256_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_SHA384_ALGORITHM` in this scope [INFO] [stdout] --> src/hash.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | Self::Sha384 => BCRYPT_SHA384_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_SHA512_ALGORITHM` in this scope [INFO] [stdout] --> src/hash.rs:167:29 [INFO] [stdout] | [INFO] [stdout] 167 | Self::Sha512 => BCRYPT_SHA512_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_MD2_ALGORITHM` in this scope [INFO] [stdout] --> src/hash.rs:168:26 [INFO] [stdout] | [INFO] [stdout] 168 | Self::Md2 => BCRYPT_MD2_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_MD4_ALGORITHM` in this scope [INFO] [stdout] --> src/hash.rs:169:26 [INFO] [stdout] | [INFO] [stdout] 169 | Self::Md4 => BCRYPT_MD4_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_MD5_ALGORITHM` in this scope [INFO] [stdout] --> src/hash.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | Self::Md5 => BCRYPT_MD5_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_AES_CMAC_ALGORITHM` in this scope [INFO] [stdout] --> src/hash.rs:195:30 [INFO] [stdout] | [INFO] [stdout] 195 | Self::AesCmac => BCRYPT_AES_CMAC_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_AES_GMAC_ALGORITHM` in this scope [INFO] [stdout] --> src/hash.rs:196:30 [INFO] [stdout] | [INFO] [stdout] 196 | Self::AesGmac => BCRYPT_AES_GMAC_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptCreateHash` in this scope [INFO] [stdout] --> src/hash.rs:248:26 [INFO] [stdout] | [INFO] [stdout] 248 | Error::check(BCryptCreateHash( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/hash.rs:252:33 [INFO] [stdout] | [INFO] [stdout] 252 | object.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/hash.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | sec_len as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HASH_HANDLE` in this scope [INFO] [stdout] --> src/hash.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | handle: BCRYPT_HASH_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDestroyHash` in this scope [INFO] [stdout] --> src/hash.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | BCryptDestroyHash(self.handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HASH_HANDLE` in this scope [INFO] [stdout] --> src/hash.rs:310:25 [INFO] [stdout] | [INFO] [stdout] 310 | fn as_ptr(&self) -> BCRYPT_HASH_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HASH_HANDLE` in this scope [INFO] [stdout] --> src/hash.rs:314:38 [INFO] [stdout] | [INFO] [stdout] 314 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_HASH_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptHashData` in this scope [INFO] [stdout] --> src/hash.rs:344:26 [INFO] [stdout] | [INFO] [stdout] 344 | Error::check(BCryptHashData( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stdout] --> src/hash.rs:346:34 [INFO] [stdout] | [INFO] [stdout] 346 | data.as_ptr() as PUCHAR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/hash.rs:347:31 [INFO] [stdout] | [INFO] [stdout] 347 | data.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptFinishHash` in this scope [INFO] [stdout] --> src/hash.rs:378:26 [INFO] [stdout] | [INFO] [stdout] 378 | Error::check(BCryptFinishHash( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/hash.rs:381:33 [INFO] [stdout] | [INFO] [stdout] 381 | result.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDuplicateHash` in this scope [INFO] [stdout] --> src/hash.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | BCryptDuplicateHash( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/hash.rs:445:33 [INFO] [stdout] | [INFO] [stdout] 445 | object.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_AES_WRAP_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | BlobType::AesWrapKey => BCRYPT_AES_WRAP_KEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DH_PRIVATE_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 39 | BlobType::DhPrivate => BCRYPT_DH_PRIVATE_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DH_PUBLIC_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | BlobType::DhPublic => BCRYPT_DH_PUBLIC_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PUBLIC_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | BlobType::DsaPublic => BCRYPT_DSA_PUBLIC_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PRIVATE_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | BlobType::DsaPrivate => BCRYPT_DSA_PRIVATE_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECCPRIVATE_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 43 | BlobType::EccPrivate => BCRYPT_ECCPRIVATE_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECCPUBLIC_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 44 | BlobType::EccPublic => BCRYPT_ECCPUBLIC_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_KEY_DATA_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | BlobType::KeyData => BCRYPT_KEY_DATA_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_OPAQUE_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | BlobType::OpaqueKey => BCRYPT_OPAQUE_KEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_PUBLIC_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | BlobType::PublicKey => BCRYPT_PUBLIC_KEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_PRIVATE_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 48 | BlobType::PrivateKey => BCRYPT_PRIVATE_KEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RSAFULLPRIVATE_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 49 | BlobType::RsaFullPrivate => BCRYPT_RSAFULLPRIVATE_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RSAPRIVATE_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | BlobType::RsaPrivate => BCRYPT_RSAPRIVATE_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RSAPUBLIC_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | BlobType::RsaPublic => BCRYPT_RSAPUBLIC_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEGACY_DH_PRIVATE_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 52 | BlobType::LegacyDhPrivate => LEGACY_DH_PRIVATE_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEGACY_DH_PUBLIC_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | BlobType::LegacyDhPublic => LEGACY_DH_PUBLIC_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEGACY_DSA_PRIVATE_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | BlobType::LegacyDsaPrivate => LEGACY_DSA_PRIVATE_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEGACY_DSA_PUBLIC_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:55:42 [INFO] [stdout] | [INFO] [stdout] 55 | BlobType::LegacyDsaPublic => LEGACY_DSA_PUBLIC_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEGACY_DSA_V2_PRIVATE_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:56:45 [INFO] [stdout] | [INFO] [stdout] 56 | BlobType::LegacyDsaV2Private => LEGACY_DSA_V2_PRIVATE_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEGACY_RSAPRIVATE_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | BlobType::LegacyRsaPrivate => LEGACY_RSAPRIVATE_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEGACY_RSAPUBLIC_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | BlobType::LegacyRsaPublic => LEGACY_RSAPUBLIC_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/key_blob.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | const VALID_MAGIC: &'static [ULONG]; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/key_blob.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | fn is_magic_valid(magic: ULONG) -> bool { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/key_blob.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn magic(&self) -> ULONG { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/key_blob.rs:151:38 [INFO] [stdout] | [INFO] [stdout] 151 | fn magic_to_blob_type(magic: ULONG) -> Option { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/key_blob.rs:162:46 [INFO] [stdout] | [INFO] [stdout] 162 | const VALID_MAGIC: &'static [ULONG] = &[$($($val),*)?]; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DH_PUBLIC_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:171:50 [INFO] [stdout] | [INFO] [stdout] 171 | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DH_PRIVATE_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:172:52 [INFO] [stdout] | [INFO] [stdout] 172 | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PUBLIC_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:173:52 [INFO] [stdout] | [INFO] [stdout] 173 | DsaKeyPublicBlob, BlobType::DsaPublic, magic: [BCRYPT_DSA_PUBLIC_MAGIC], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PRIVATE_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:174:54 [INFO] [stdout] | [INFO] [stdout] 174 | DsaKeyPrivateBlob, BlobType::DsaPrivate, magic: [BCRYPT_DSA_PRIVATE_MAGIC], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PUBLIC_MAGIC_V2` in this scope [INFO] [stdout] --> src/key_blob.rs:175:54 [INFO] [stdout] | [INFO] [stdout] 175 | DsaKeyPublicV2Blob, BlobType::DsaPublic, magic: [BCRYPT_DSA_PUBLIC_MAGIC_V2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PRIVATE_MAGIC_V2` in this scope [INFO] [stdout] --> src/key_blob.rs:176:56 [INFO] [stdout] | [INFO] [stdout] 176 | DsaKeyPrivateV2Blob, BlobType::DsaPrivate, magic: [BCRYPT_DSA_PRIVATE_MAGIC_V2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDH_PUBLIC_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PUBLIC_P256_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:178:43 [INFO] [stdout] | [INFO] [stdout] 178 | BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDH_PUBLIC_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PUBLIC_P384_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | BCRYPT_ECDH_PUBLIC_P384_MAGIC, BCRYPT_ECDH_PUBLIC_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PUBLIC_P521_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:179:40 [INFO] [stdout] | [INFO] [stdout] 179 | BCRYPT_ECDH_PUBLIC_P384_MAGIC, BCRYPT_ECDH_PUBLIC_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDSA_PUBLIC_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PUBLIC_P256_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:180:44 [INFO] [stdout] | [INFO] [stdout] 180 | BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDSA_PUBLIC_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PUBLIC_P384_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | BCRYPT_ECDSA_PUBLIC_P384_MAGIC, BCRYPT_ECDSA_PUBLIC_P521_MAGIC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PUBLIC_P521_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:181:41 [INFO] [stdout] | [INFO] [stdout] 181 | BCRYPT_ECDSA_PUBLIC_P384_MAGIC, BCRYPT_ECDSA_PUBLIC_P521_MAGIC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDH_PRIVATE_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PRIVATE_P256_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:184:44 [INFO] [stdout] | [INFO] [stdout] 184 | BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDH_PRIVATE_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PRIVATE_P384_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | BCRYPT_ECDH_PRIVATE_P384_MAGIC, BCRYPT_ECDH_PRIVATE_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PRIVATE_P521_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:185:41 [INFO] [stdout] | [INFO] [stdout] 185 | BCRYPT_ECDH_PRIVATE_P384_MAGIC, BCRYPT_ECDH_PRIVATE_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDSA_PRIVATE_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PRIVATE_P256_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:186:45 [INFO] [stdout] | [INFO] [stdout] 186 | BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDSA_PRIVATE_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PRIVATE_P384_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | BCRYPT_ECDSA_PRIVATE_P384_MAGIC, BCRYPT_ECDSA_PRIVATE_P521_MAGIC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PRIVATE_P521_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:187:42 [INFO] [stdout] | [INFO] [stdout] 187 | BCRYPT_ECDSA_PRIVATE_P384_MAGIC, BCRYPT_ECDSA_PRIVATE_P521_MAGIC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RSAPUBLIC_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:189:52 [INFO] [stdout] | [INFO] [stdout] 189 | RsaKeyPublicBlob, BlobType::RsaPublic, magic: [BCRYPT_RSAPUBLIC_MAGIC], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RSAPRIVATE_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:190:54 [INFO] [stdout] | [INFO] [stdout] 190 | RsaKeyPrivateBlob, BlobType::RsaPrivate, magic: [BCRYPT_RSAPRIVATE_MAGIC], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RSAFULLPRIVATE_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:191:62 [INFO] [stdout] | [INFO] [stdout] 191 | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | header: BCRYPT_KEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | unsafe impl Pod for BCRYPT_KEY_BLOB {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_RSAKEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | header: BCRYPT_RSAKEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_RSAKEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | unsafe impl Pod for BCRYPT_RSAKEY_BLOB {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_RSAKEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | header: BCRYPT_RSAKEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_RSAKEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | header: BCRYPT_RSAKEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DH_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | unsafe impl Pod for BCRYPT_DH_KEY_BLOB {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DH_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | header: BCRYPT_DH_KEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DH_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | header: BCRYPT_DH_KEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:283:21 [INFO] [stdout] | [INFO] [stdout] 283 | unsafe impl Pod for BCRYPT_DSA_KEY_BLOB {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | header: BCRYPT_DSA_KEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | header: BCRYPT_DSA_KEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_KEY_BLOB_V2` in this scope [INFO] [stdout] --> src/key_blob.rs:313:21 [INFO] [stdout] | [INFO] [stdout] 313 | unsafe impl Pod for BCRYPT_DSA_KEY_BLOB_V2 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_KEY_BLOB_V2` in this scope [INFO] [stdout] --> src/key_blob.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | header: BCRYPT_DSA_KEY_BLOB_V2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_KEY_BLOB_V2` in this scope [INFO] [stdout] --> src/key_blob.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | header: BCRYPT_DSA_KEY_BLOB_V2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:363:21 [INFO] [stdout] | [INFO] [stdout] 363 | unsafe impl Pod for BCRYPT_ECCKEY_BLOB {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | header: BCRYPT_ECCKEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | header: BCRYPT_ECCKEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stdout] --> src/property.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | type Value = [WCHAR]; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/property.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | type Value = DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stdout] --> src/property.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | type Value = [WCHAR]; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stdout] --> src/property.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | type Value = [WCHAR]; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/property.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | type Value = DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/property.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | type Value = DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/property.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | type Value = DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/property.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | type Value = DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RNG_ALGORITHM` in this scope [INFO] [stdout] --> src/random.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 92 | RandomAlgorithmId::Rng => BCRYPT_RNG_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RNG_DUAL_EC_ALGORITHM` in this scope [INFO] [stdout] --> src/random.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 93 | RandomAlgorithmId::DualECRng => BCRYPT_RNG_DUAL_EC_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RNG_FIPS186_DSA_ALGORITHM` in this scope [INFO] [stdout] --> src/random.rs:94:49 [INFO] [stdout] | [INFO] [stdout] 94 | RandomAlgorithmId::Fips186DsaRng => BCRYPT_RNG_FIPS186_DSA_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RNG_USE_ENTROPY_IN_BUFFER` in this scope [INFO] [stdout] --> src/random.rs:176:35 [INFO] [stdout] | [INFO] [stdout] 176 | self.handle.flags() | BCRYPT_RNG_USE_ENTROPY_IN_BUFFER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/random.rs:180:61 [INFO] [stdout] | [INFO] [stdout] 180 | fn gen_random_with_opts(&self, buffer: &mut [u8], opts: ULONG) -> crate::Result<()> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptGenRandom` in this scope [INFO] [stdout] --> src/random.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | BCryptGenRandom(handle, buffer.as_mut_ptr(), buffer.len() as ULONG, opts) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/random.rs:184:74 [INFO] [stdout] | [INFO] [stdout] 184 | BCryptGenRandom(handle, buffer.as_mut_ptr(), buffer.len() as ULONG, opts) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_ALG_HANDLE` in this scope [INFO] [stdout] --> src/random.rs:226:25 [INFO] [stdout] | [INFO] [stdout] 226 | fn handle(&self) -> BCRYPT_ALG_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/random.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 233 | fn flags(&self) -> ULONG { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_USE_SYSTEM_PREFERRED_RNG` in this scope [INFO] [stdout] --> src/random.rs:235:38 [INFO] [stdout] | [INFO] [stdout] 235 | Self::SystemPreferred => BCRYPT_USE_SYSTEM_PREFERRED_RNG, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_AES_ALGORITHM` in this scope [INFO] [stdout] --> src/symmetric.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | Self::Aes => BCRYPT_AES_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DES_ALGORITHM` in this scope [INFO] [stdout] --> src/symmetric.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | Self::Des => BCRYPT_DES_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DESX_ALGORITHM` in this scope [INFO] [stdout] --> src/symmetric.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | Self::DesX => BCRYPT_DESX_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RC2_ALGORITHM` in this scope [INFO] [stdout] --> src/symmetric.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | Self::Rc2 => BCRYPT_RC2_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_3DES_ALGORITHM` in this scope [INFO] [stdout] --> src/symmetric.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | Self::TripleDes => BCRYPT_3DES_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_3DES_112_ALGORITHM` in this scope [INFO] [stdout] --> src/symmetric.rs:107:35 [INFO] [stdout] | [INFO] [stdout] 107 | Self::TripleDes112 => BCRYPT_3DES_112_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_CHAIN_MODE_ECB` in this scope [INFO] [stdout] --> src/symmetric.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | Self::Ecb => BCRYPT_CHAIN_MODE_ECB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_CHAIN_MODE_CBC` in this scope [INFO] [stdout] --> src/symmetric.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 146 | Self::Cbc => BCRYPT_CHAIN_MODE_CBC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_CHAIN_MODE_CFB` in this scope [INFO] [stdout] --> src/symmetric.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | Self::Cfb => BCRYPT_CHAIN_MODE_CFB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDuplicateKey` in this scope [INFO] [stdout] --> src/symmetric.rs:321:26 [INFO] [stdout] | [INFO] [stdout] 321 | Error::check(BCryptDuplicateKey( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptGenerateSymmetricKey` in this scope [INFO] [stdout] --> src/symmetric.rs:429:26 [INFO] [stdout] | [INFO] [stdout] 429 | Error::check(BCryptGenerateSymmetricKey( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:433:33 [INFO] [stdout] | [INFO] [stdout] 433 | object.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stdout] --> src/symmetric.rs:434:36 [INFO] [stdout] | [INFO] [stdout] 434 | secret.as_ptr() as PUCHAR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:435:33 [INFO] [stdout] | [INFO] [stdout] 435 | secret.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:547:53 [INFO] [stdout] | [INFO] [stdout] 547 | .map(|iv| (iv.as_mut_ptr(), iv.len() as ULONG)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_BLOCK_PADDING` in this scope [INFO] [stdout] --> src/symmetric.rs:551:37 [INFO] [stdout] | [INFO] [stdout] 551 | Some(Padding::Block) => BCRYPT_BLOCK_PADDING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:555:47 [INFO] [stdout] | [INFO] [stdout] 458 | impl SymmetricAlgorithmKey { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 555 | let mut encrypted_len = MaybeUninit::::uninit(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptEncrypt` in this scope [INFO] [stdout] --> src/symmetric.rs:557:26 [INFO] [stdout] | [INFO] [stdout] 557 | Error::check(BCryptEncrypt( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stdout] --> src/symmetric.rs:559:34 [INFO] [stdout] | [INFO] [stdout] 559 | data.as_ptr() as PUCHAR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:560:31 [INFO] [stdout] | [INFO] [stdout] 560 | data.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptEncrypt` in this scope [INFO] [stdout] --> src/symmetric.rs:572:26 [INFO] [stdout] | [INFO] [stdout] 572 | Error::check(BCryptEncrypt( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stdout] --> src/symmetric.rs:574:34 [INFO] [stdout] | [INFO] [stdout] 574 | data.as_ptr() as PUCHAR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:575:31 [INFO] [stdout] | [INFO] [stdout] 575 | data.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:580:33 [INFO] [stdout] | [INFO] [stdout] 580 | output.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:621:53 [INFO] [stdout] | [INFO] [stdout] 621 | .map(|iv| (iv.as_mut_ptr(), iv.len() as ULONG)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_BLOCK_PADDING` in this scope [INFO] [stdout] --> src/symmetric.rs:625:37 [INFO] [stdout] | [INFO] [stdout] 625 | Some(Padding::Block) => BCRYPT_BLOCK_PADDING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:629:47 [INFO] [stdout] | [INFO] [stdout] 458 | impl SymmetricAlgorithmKey { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 629 | let mut plaintext_len = MaybeUninit::::uninit(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDecrypt` in this scope [INFO] [stdout] --> src/symmetric.rs:631:26 [INFO] [stdout] | [INFO] [stdout] 631 | Error::check(BCryptDecrypt( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stdout] --> src/symmetric.rs:633:34 [INFO] [stdout] | [INFO] [stdout] 633 | data.as_ptr() as PUCHAR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:634:31 [INFO] [stdout] | [INFO] [stdout] 634 | data.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDecrypt` in this scope [INFO] [stdout] --> src/symmetric.rs:646:26 [INFO] [stdout] | [INFO] [stdout] 646 | Error::check(BCryptDecrypt( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stdout] --> src/symmetric.rs:648:34 [INFO] [stdout] | [INFO] [stdout] 648 | data.as_ptr() as PUCHAR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:649:31 [INFO] [stdout] | [INFO] [stdout] 649 | data.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:654:33 [INFO] [stdout] | [INFO] [stdout] 654 | output.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/helpers/windows_string.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn as_ptr(&self) -> LPCWSTR { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> src/helpers/mod.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | fn as_ptr(&self) -> BCRYPT_HANDLE; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> src/helpers/mod.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_HANDLE; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptSetProperty` in this scope [INFO] [stdout] --> src/helpers/mod.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | Error::check(BCryptSetProperty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stdout] --> src/helpers/mod.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | value as *const _ as PUCHAR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/helpers/mod.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | std::mem::size_of_val(value) as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptGetProperty` in this scope [INFO] [stdout] --> src/helpers/mod.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | Error::check(BCryptGetProperty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptGetProperty` in this scope [INFO] [stdout] --> src/helpers/mod.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | Error::check(BCryptGetProperty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> src/helpers/mod.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_property_size(handle: BCRYPT_HANDLE, prop: LPCWSTR) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/helpers/mod.rs:90:51 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_property_size(handle: BCRYPT_HANDLE, prop: LPCWSTR) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/helpers/mod.rs:90:70 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_property_size(handle: BCRYPT_HANDLE, prop: LPCWSTR) -> Result { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/helpers/mod.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | let mut size: ULONG = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptGetProperty` in this scope [INFO] [stdout] --> src/helpers/mod.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | Error::check(BCryptGetProperty(handle, prop, null_mut(), 0, &mut size, 0))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_ALG_HANDLE` in this scope [INFO] [stdout] --> src/helpers/mod.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | handle: BCRYPT_ALG_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/helpers/mod.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 104 | impl AlgoHandle { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 105 | pub fn open(id: &str) -> Result { [INFO] [stdout] 106 | let mut handle = null_mut::(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptOpenAlgorithmProvider` in this scope [INFO] [stdout] --> src/helpers/mod.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | Error::check(BCryptOpenAlgorithmProvider( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptCloseAlgorithmProvider` in this scope [INFO] [stdout] --> src/helpers/mod.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | BCryptCloseAlgorithmProvider(self.handle, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_ALG_HANDLE` in this scope [INFO] [stdout] --> src/helpers/mod.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | fn as_ptr(&self) -> BCRYPT_ALG_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_ALG_HANDLE` in this scope [INFO] [stdout] --> src/helpers/mod.rs:135:38 [INFO] [stdout] | [INFO] [stdout] 135 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_ALG_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/helpers/mod.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | pub(crate) handle: BCRYPT_KEY_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDestroyKey` in this scope [INFO] [stdout] --> src/helpers/mod.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | BCryptDestroyKey(self.handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/helpers/mod.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | fn as_ptr(&self) -> BCRYPT_KEY_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/helpers/mod.rs:174:38 [INFO] [stdout] | [INFO] [stdout] 174 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_KEY_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/lib.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | Unknown(NTSTATUS), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/lib.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn check(status: NTSTATUS) -> crate::Result<()> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:56:50 [INFO] [stdout] | [INFO] [stdout] 56 | ntstatus::STATUS_NO_MEMORY | winapi::shared::winerror::NTE_NO_MEMORY => { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:65:51 [INFO] [stdout] | [INFO] [stdout] 65 | ntstatus::STATUS_DATA_ERROR | winapi::shared::winerror::NTE_BAD_DATA => { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_SECRET_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/agreement.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | let mut handle: BCRYPT_SECRET_HANDLE = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptSecretAgreement` in this scope [INFO] [stdout] --> src/asymmetric/agreement.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | Error::check(BCryptSecretAgreement( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_SECRET_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/agreement.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | handle: BCRYPT_SECRET_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDestroySecret` in this scope [INFO] [stdout] --> src/asymmetric/agreement.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | BCryptDestroySecret(self.handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_SECRET_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/agreement.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | fn as_ptr(&self) -> BCRYPT_SECRET_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_SECRET_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/agreement.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_SECRET_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_KDF_RAW_SECRET` in this scope [INFO] [stdout] --> src/asymmetric/agreement.rs:61:54 [INFO] [stdout] | [INFO] [stdout] 61 | let id = crate::helpers::WindowsString::from(BCRYPT_KDF_RAW_SECRET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDeriveKey` in this scope [INFO] [stdout] --> src/asymmetric/agreement.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | Error::check(BCryptDeriveKey( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDeriveKey` in this scope [INFO] [stdout] --> src/asymmetric/agreement.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | Error::check(BCryptDeriveKey( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | fn set_property(handle: BCRYPT_HANDLE, property: &str, value: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptSetProperty` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:236:22 [INFO] [stdout] | [INFO] [stdout] 236 | Error::check(BCryptSetProperty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:253:34 [INFO] [stdout] | [INFO] [stdout] 253 | fn set_param(&self, _handle: BCRYPT_HANDLE, _key_bits: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:259:33 [INFO] [stdout] | [INFO] [stdout] 259 | fn set_param(&self, handle: BCRYPT_HANDLE, key_bits: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PARAMETERS` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:261:45 [INFO] [stdout] | [INFO] [stdout] 261 | BuilderOptions::Dsa(params) => (BCRYPT_DSA_PARAMETERS, params.to_blob_bytes(key_bits)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DH_PARAMETERS` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | (BCRYPT_DH_PARAMETERS, params.to_blob(key_bits).into_bytes()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:272:33 [INFO] [stdout] | [INFO] [stdout] 272 | fn set_param(&self, handle: BCRYPT_HANDLE, key_bits: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DH_PARAMETERS` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | BCRYPT_DH_PARAMETERS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:282:33 [INFO] [stdout] | [INFO] [stdout] 282 | fn set_param(&self, handle: BCRYPT_HANDLE, key_bits: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PARAMETERS` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:283:30 [INFO] [stdout] | [INFO] [stdout] 283 | set_property(handle, BCRYPT_DSA_PARAMETERS, &self.to_blob_bytes(key_bits)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | fn set_param(&self, handle: BCRYPT_HANDLE, key_bits: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PARAMETERS` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | BCRYPT_DSA_PARAMETERS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:297:33 [INFO] [stdout] | [INFO] [stdout] 297 | fn set_param(&self, handle: BCRYPT_HANDLE, key_bits: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PARAMETERS` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | BCRYPT_DSA_PARAMETERS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_PARAMETER_HEADER` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:411:46 [INFO] [stdout] | [INFO] [stdout] 408 | impl DsaParamsV1 { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 411 | let header_len = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_DSA_PARAMETER_HEADER` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:415:14 [INFO] [stdout] | [INFO] [stdout] 415 | &BCRYPT_DSA_PARAMETER_HEADER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PARAMETERS_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:417:26 [INFO] [stdout] | [INFO] [stdout] 417 | dwMagic: BCRYPT_DSA_PARAMETERS_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_PARAMETER_HEADER_V2` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:434:46 [INFO] [stdout] | [INFO] [stdout] 431 | impl DsaParamsV2 { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 434 | let header_len = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_DSA_PARAMETER_HEADER_V2` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:438:14 [INFO] [stdout] | [INFO] [stdout] 438 | &BCRYPT_DSA_PARAMETER_HEADER_V2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PARAMETERS_MAGIC_V2` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:440:26 [INFO] [stdout] | [INFO] [stdout] 440 | dwMagic: BCRYPT_DSA_PARAMETERS_MAGIC_V2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DH_PARAMETER_HEADER` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:460:46 [INFO] [stdout] | [INFO] [stdout] 457 | impl DhParams { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 460 | let header_len = std::mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_DH_PARAMETER_HEADER` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:464:14 [INFO] [stdout] | [INFO] [stdout] 464 | &BCRYPT_DH_PARAMETER_HEADER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DH_PARAMETERS_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:466:26 [INFO] [stdout] | [INFO] [stdout] 466 | dwMagic: BCRYPT_DH_PARAMETERS_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:518:13 [INFO] [stdout] | [INFO] [stdout] 518 | handle: BCRYPT_KEY_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:523:25 [INFO] [stdout] | [INFO] [stdout] 523 | let mut handle: BCRYPT_KEY_HANDLE = null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptGenerateKeyPair` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 526 | BCryptGenerateKeyPair(provider.handle.as_ptr(), &mut handle, length as ULONG, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:526:84 [INFO] [stdout] | [INFO] [stdout] 526 | BCryptGenerateKeyPair(provider.handle.as_ptr(), &mut handle, length as ULONG, 0) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptImportKeyPair` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:545:13 [INFO] [stdout] | [INFO] [stdout] 545 | BCryptImportKeyPair( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_NO_KEY_VALIDATION` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:553:21 [INFO] [stdout] | [INFO] [stdout] 553 | BCRYPT_NO_KEY_VALIDATION [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:562:27 [INFO] [stdout] | [INFO] [stdout] 562 | pub fn export(handle: BCRYPT_KEY_HANDLE, kind: BlobType) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:565:24 [INFO] [stdout] | [INFO] [stdout] 565 | let mut bytes: ULONG = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptExportKey` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:567:26 [INFO] [stdout] | [INFO] [stdout] 567 | Error::check(BCryptExportKey( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptExportKey` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:580:26 [INFO] [stdout] | [INFO] [stdout] 580 | Error::check(BCryptExportKey( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptFinalizeKeyPair` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:597:31 [INFO] [stdout] | [INFO] [stdout] 597 | Error::check(unsafe { BCryptFinalizeKeyPair(self.handle, 0) }).map(|_| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_PARAMETER_HEADER` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:607:21 [INFO] [stdout] | [INFO] [stdout] 607 | unsafe impl Pod for BCRYPT_DSA_PARAMETER_HEADER {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_PARAMETER_HEADER` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:613:13 [INFO] [stdout] | [INFO] [stdout] 613 | header: BCRYPT_DSA_PARAMETER_HEADER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_PARAMETER_HEADER_V2` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:625:21 [INFO] [stdout] | [INFO] [stdout] 625 | unsafe impl Pod for BCRYPT_DSA_PARAMETER_HEADER_V2 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_PARAMETER_HEADER_V2` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:631:13 [INFO] [stdout] | [INFO] [stdout] 631 | header: BCRYPT_DSA_PARAMETER_HEADER_V2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DH_PARAMETER_HEADER` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:643:21 [INFO] [stdout] | [INFO] [stdout] 643 | unsafe impl Pod for BCRYPT_DH_PARAMETER_HEADER {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DH_PARAMETER_HEADER` in this scope [INFO] [stdout] --> src/asymmetric/builder.rs:649:13 [INFO] [stdout] | [INFO] [stdout] 649 | header: BCRYPT_DH_PARAMETER_HEADER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECC_CURVE_NISTP256` in this scope [INFO] [stdout] --> src/asymmetric/ecc.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | Self::NistP256 => BCRYPT_ECC_CURVE_NISTP256, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECC_CURVE_NISTP384` in this scope [INFO] [stdout] --> src/asymmetric/ecc.rs:96:31 [INFO] [stdout] | [INFO] [stdout] 96 | Self::NistP384 => BCRYPT_ECC_CURVE_NISTP384, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECC_CURVE_NISTP521` in this scope [INFO] [stdout] --> src/asymmetric/ecc.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 97 | Self::NistP521 => BCRYPT_ECC_CURVE_NISTP521, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECC_CURVE_25519` in this scope [INFO] [stdout] --> src/asymmetric/ecc.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | Self::Curve25519 => BCRYPT_ECC_CURVE_25519, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_PKCS1_PADDING_INFO` in this scope [INFO] [stdout] --> src/asymmetric/signature.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 119 | pkcs: BCRYPT_PKCS1_PADDING_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_PSS_PADDING_INFO` in this scope [INFO] [stdout] --> src/asymmetric/signature.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | pss: BCRYPT_PSS_PADDING_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_PKCS1_PADDING_INFO` in this scope [INFO] [stdout] --> src/asymmetric/signature.rs:133:31 [INFO] [stdout] | [INFO] [stdout] 133 | pkcs: BCRYPT_PKCS1_PADDING_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_PAD_PKCS1` in this scope [INFO] [stdout] --> src/asymmetric/signature.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | BCRYPT_PAD_PKCS1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_PSS_PADDING_INFO` in this scope [INFO] [stdout] --> src/asymmetric/signature.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | pss: BCRYPT_PSS_PADDING_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_PAD_PSS` in this scope [INFO] [stdout] --> src/asymmetric/signature.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | BCRYPT_PAD_PSS, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptSignHash` in this scope [INFO] [stdout] --> src/asymmetric/signature.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | BCryptSignHash( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptSignHash` in this scope [INFO] [stdout] --> src/asymmetric/signature.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | BCryptSignHash( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptVerifySignature` in this scope [INFO] [stdout] --> src/asymmetric/signature.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | BCryptVerifySignature( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DH_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | Self::Dh => BCRYPT_DH_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | Self::Dsa => BCRYPT_DSA_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_P256_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:63:49 [INFO] [stdout] | [INFO] [stdout] 63 | Self::Ecdh(NamedCurve::NistP256) => BCRYPT_ECDH_P256_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_P384_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:64:49 [INFO] [stdout] | [INFO] [stdout] 64 | Self::Ecdh(NamedCurve::NistP384) => BCRYPT_ECDH_P384_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_P521_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:65:49 [INFO] [stdout] | [INFO] [stdout] 65 | Self::Ecdh(NamedCurve::NistP521) => BCRYPT_ECDH_P521_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | Self::Ecdh(..) => BCRYPT_ECDH_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_P256_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:67:50 [INFO] [stdout] | [INFO] [stdout] 67 | Self::Ecdsa(NamedCurve::NistP256) => BCRYPT_ECDSA_P256_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_P384_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:68:50 [INFO] [stdout] | [INFO] [stdout] 68 | Self::Ecdsa(NamedCurve::NistP384) => BCRYPT_ECDSA_P384_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_P521_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:69:50 [INFO] [stdout] | [INFO] [stdout] 69 | Self::Ecdsa(NamedCurve::NistP521) => BCRYPT_ECDSA_P521_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | Self::Ecdsa(..) => BCRYPT_ECDSA_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RSA_ALGORITHM` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | Self::Rsa => BCRYPT_RSA_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_RSAKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:372:22 [INFO] [stdout] | [INFO] [stdout] 372 | let header = BCRYPT_RSAKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RSAPRIVATE_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:374:20 [INFO] [stdout] | [INFO] [stdout] 374 | Magic: BCRYPT_RSAPRIVATE_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_RSAKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:396:22 [INFO] [stdout] | [INFO] [stdout] 396 | let header = BCRYPT_RSAKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RSAPUBLIC_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:398:20 [INFO] [stdout] | [INFO] [stdout] 398 | Magic: BCRYPT_RSAPUBLIC_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:424:14 [INFO] [stdout] | [INFO] [stdout] 424 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PRIVATE_P256_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:425:26 [INFO] [stdout] | [INFO] [stdout] 425 | dwMagic: BCRYPT_ECDSA_PRIVATE_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:449:14 [INFO] [stdout] | [INFO] [stdout] 449 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PUBLIC_P256_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:450:26 [INFO] [stdout] | [INFO] [stdout] 450 | dwMagic: BCRYPT_ECDSA_PUBLIC_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:474:14 [INFO] [stdout] | [INFO] [stdout] 474 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PRIVATE_P384_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:475:26 [INFO] [stdout] | [INFO] [stdout] 475 | dwMagic: BCRYPT_ECDSA_PRIVATE_P384_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:499:14 [INFO] [stdout] | [INFO] [stdout] 499 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PUBLIC_P384_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:500:26 [INFO] [stdout] | [INFO] [stdout] 500 | dwMagic: BCRYPT_ECDSA_PUBLIC_P384_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:524:14 [INFO] [stdout] | [INFO] [stdout] 524 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PRIVATE_P521_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:525:26 [INFO] [stdout] | [INFO] [stdout] 525 | dwMagic: BCRYPT_ECDSA_PRIVATE_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:549:14 [INFO] [stdout] | [INFO] [stdout] 549 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PUBLIC_P521_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:550:26 [INFO] [stdout] | [INFO] [stdout] 550 | dwMagic: BCRYPT_ECDSA_PUBLIC_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:568:14 [INFO] [stdout] | [INFO] [stdout] 568 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:569:26 [INFO] [stdout] | [INFO] [stdout] 569 | dwMagic: BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:591:14 [INFO] [stdout] | [INFO] [stdout] 591 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:592:26 [INFO] [stdout] | [INFO] [stdout] 592 | dwMagic: BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:619:14 [INFO] [stdout] | [INFO] [stdout] 619 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PRIVATE_P256_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:620:26 [INFO] [stdout] | [INFO] [stdout] 620 | dwMagic: BCRYPT_ECDH_PRIVATE_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:644:14 [INFO] [stdout] | [INFO] [stdout] 644 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PUBLIC_P256_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:645:26 [INFO] [stdout] | [INFO] [stdout] 645 | dwMagic: BCRYPT_ECDH_PUBLIC_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:669:14 [INFO] [stdout] | [INFO] [stdout] 669 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PRIVATE_P384_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:670:26 [INFO] [stdout] | [INFO] [stdout] 670 | dwMagic: BCRYPT_ECDH_PRIVATE_P384_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:694:14 [INFO] [stdout] | [INFO] [stdout] 694 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PUBLIC_P384_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:695:26 [INFO] [stdout] | [INFO] [stdout] 695 | dwMagic: BCRYPT_ECDH_PUBLIC_P384_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:719:14 [INFO] [stdout] | [INFO] [stdout] 719 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PRIVATE_P521_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:720:26 [INFO] [stdout] | [INFO] [stdout] 720 | dwMagic: BCRYPT_ECDH_PRIVATE_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:744:14 [INFO] [stdout] | [INFO] [stdout] 744 | &BCRYPT_ECCKEY_BLOB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PUBLIC_P521_MAGIC` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:745:26 [INFO] [stdout] | [INFO] [stdout] 745 | dwMagic: BCRYPT_ECDH_PUBLIC_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_OAEP_PADDING_INFO` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:884:12 [INFO] [stdout] | [INFO] [stdout] 884 | value: BCRYPT_OAEP_PADDING_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BCRYPT_OAEP_PADDING_INFO` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:892:20 [INFO] [stdout] | [INFO] [stdout] 892 | value: BCRYPT_OAEP_PADDING_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_PAD_OAEP` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:904:79 [INFO] [stdout] | [INFO] [stdout] 904 | Self::Oaep(oaep_padding) => (Some(oaep_padding.to_ffi_args(out)), BCRYPT_PAD_OAEP), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_PAD_PKCS1` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:905:35 [INFO] [stdout] | [INFO] [stdout] 905 | Self::Pkcs1 => (None, BCRYPT_PAD_PKCS1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_OAEP_PADDING_INFO` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:919:45 [INFO] [stdout] | [INFO] [stdout] 919 | .map(|pad| &pad.value as *const BCRYPT_OAEP_PADDING_INFO as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptEncrypt` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:923:33 [INFO] [stdout] | [INFO] [stdout] 923 | crate::Error::check(BCryptEncrypt( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptEncrypt` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:938:33 [INFO] [stdout] | [INFO] [stdout] 938 | crate::Error::check(BCryptEncrypt( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_OAEP_PADDING_INFO` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:964:45 [INFO] [stdout] | [INFO] [stdout] 964 | .map(|pad| &pad.value as *const BCRYPT_OAEP_PADDING_INFO as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDecrypt` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:968:33 [INFO] [stdout] | [INFO] [stdout] 968 | crate::Error::check(BCryptDecrypt( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDecrypt` in this scope [INFO] [stdout] --> src/asymmetric/mod.rs:983:33 [INFO] [stdout] | [INFO] [stdout] 983 | crate::Error::check(BCryptDecrypt( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_SHA1_ALGORITHM` in this scope [INFO] [stdout] --> src/hash.rs:164:27 [INFO] [stdout] | [INFO] [stdout] 164 | Self::Sha1 => BCRYPT_SHA1_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_SHA256_ALGORITHM` in this scope [INFO] [stdout] --> src/hash.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | Self::Sha256 => BCRYPT_SHA256_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_SHA384_ALGORITHM` in this scope [INFO] [stdout] --> src/hash.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | Self::Sha384 => BCRYPT_SHA384_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_SHA512_ALGORITHM` in this scope [INFO] [stdout] --> src/hash.rs:167:29 [INFO] [stdout] | [INFO] [stdout] 167 | Self::Sha512 => BCRYPT_SHA512_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_MD2_ALGORITHM` in this scope [INFO] [stdout] --> src/hash.rs:168:26 [INFO] [stdout] | [INFO] [stdout] 168 | Self::Md2 => BCRYPT_MD2_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_MD4_ALGORITHM` in this scope [INFO] [stdout] --> src/hash.rs:169:26 [INFO] [stdout] | [INFO] [stdout] 169 | Self::Md4 => BCRYPT_MD4_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_MD5_ALGORITHM` in this scope [INFO] [stdout] --> src/hash.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | Self::Md5 => BCRYPT_MD5_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_AES_CMAC_ALGORITHM` in this scope [INFO] [stdout] --> src/hash.rs:195:30 [INFO] [stdout] | [INFO] [stdout] 195 | Self::AesCmac => BCRYPT_AES_CMAC_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_AES_GMAC_ALGORITHM` in this scope [INFO] [stdout] --> src/hash.rs:196:30 [INFO] [stdout] | [INFO] [stdout] 196 | Self::AesGmac => BCRYPT_AES_GMAC_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptCreateHash` in this scope [INFO] [stdout] --> src/hash.rs:248:26 [INFO] [stdout] | [INFO] [stdout] 248 | Error::check(BCryptCreateHash( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/hash.rs:252:33 [INFO] [stdout] | [INFO] [stdout] 252 | object.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/hash.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | sec_len as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HASH_HANDLE` in this scope [INFO] [stdout] --> src/hash.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | handle: BCRYPT_HASH_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDestroyHash` in this scope [INFO] [stdout] --> src/hash.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | BCryptDestroyHash(self.handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HASH_HANDLE` in this scope [INFO] [stdout] --> src/hash.rs:310:25 [INFO] [stdout] | [INFO] [stdout] 310 | fn as_ptr(&self) -> BCRYPT_HASH_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HASH_HANDLE` in this scope [INFO] [stdout] --> src/hash.rs:314:38 [INFO] [stdout] | [INFO] [stdout] 314 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_HASH_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptHashData` in this scope [INFO] [stdout] --> src/hash.rs:344:26 [INFO] [stdout] | [INFO] [stdout] 344 | Error::check(BCryptHashData( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stdout] --> src/hash.rs:346:34 [INFO] [stdout] | [INFO] [stdout] 346 | data.as_ptr() as PUCHAR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/hash.rs:347:31 [INFO] [stdout] | [INFO] [stdout] 347 | data.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptFinishHash` in this scope [INFO] [stdout] --> src/hash.rs:378:26 [INFO] [stdout] | [INFO] [stdout] 378 | Error::check(BCryptFinishHash( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/hash.rs:381:33 [INFO] [stdout] | [INFO] [stdout] 381 | result.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDuplicateHash` in this scope [INFO] [stdout] --> src/hash.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | BCryptDuplicateHash( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/hash.rs:445:33 [INFO] [stdout] | [INFO] [stdout] 445 | object.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_AES_WRAP_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | BlobType::AesWrapKey => BCRYPT_AES_WRAP_KEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DH_PRIVATE_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 39 | BlobType::DhPrivate => BCRYPT_DH_PRIVATE_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DH_PUBLIC_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | BlobType::DhPublic => BCRYPT_DH_PUBLIC_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PUBLIC_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | BlobType::DsaPublic => BCRYPT_DSA_PUBLIC_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PRIVATE_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | BlobType::DsaPrivate => BCRYPT_DSA_PRIVATE_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECCPRIVATE_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 43 | BlobType::EccPrivate => BCRYPT_ECCPRIVATE_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECCPUBLIC_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 44 | BlobType::EccPublic => BCRYPT_ECCPUBLIC_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_KEY_DATA_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | BlobType::KeyData => BCRYPT_KEY_DATA_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_OPAQUE_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | BlobType::OpaqueKey => BCRYPT_OPAQUE_KEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_PUBLIC_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | BlobType::PublicKey => BCRYPT_PUBLIC_KEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_PRIVATE_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 48 | BlobType::PrivateKey => BCRYPT_PRIVATE_KEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RSAFULLPRIVATE_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 49 | BlobType::RsaFullPrivate => BCRYPT_RSAFULLPRIVATE_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RSAPRIVATE_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | BlobType::RsaPrivate => BCRYPT_RSAPRIVATE_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RSAPUBLIC_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | BlobType::RsaPublic => BCRYPT_RSAPUBLIC_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEGACY_DH_PRIVATE_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 52 | BlobType::LegacyDhPrivate => LEGACY_DH_PRIVATE_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEGACY_DH_PUBLIC_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | BlobType::LegacyDhPublic => LEGACY_DH_PUBLIC_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEGACY_DSA_PRIVATE_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | BlobType::LegacyDsaPrivate => LEGACY_DSA_PRIVATE_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEGACY_DSA_PUBLIC_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:55:42 [INFO] [stdout] | [INFO] [stdout] 55 | BlobType::LegacyDsaPublic => LEGACY_DSA_PUBLIC_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEGACY_DSA_V2_PRIVATE_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:56:45 [INFO] [stdout] | [INFO] [stdout] 56 | BlobType::LegacyDsaV2Private => LEGACY_DSA_V2_PRIVATE_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEGACY_RSAPRIVATE_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | BlobType::LegacyRsaPrivate => LEGACY_RSAPRIVATE_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LEGACY_RSAPUBLIC_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | BlobType::LegacyRsaPublic => LEGACY_RSAPUBLIC_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/key_blob.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | const VALID_MAGIC: &'static [ULONG]; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/key_blob.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | fn is_magic_valid(magic: ULONG) -> bool { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/key_blob.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn magic(&self) -> ULONG { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/key_blob.rs:151:38 [INFO] [stdout] | [INFO] [stdout] 151 | fn magic_to_blob_type(magic: ULONG) -> Option { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/key_blob.rs:162:46 [INFO] [stdout] | [INFO] [stdout] 162 | const VALID_MAGIC: &'static [ULONG] = &[$($($val),*)?]; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 169 | / key_blobs! { [INFO] [stdout] 170 | | ErasedKeyBlob, BlobType::PublicKey, magic:, [INFO] [stdout] 171 | | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] 172 | | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] ... | [INFO] [stdout] 191 | | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DH_PUBLIC_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:171:50 [INFO] [stdout] | [INFO] [stdout] 171 | DhKeyPublicBlob, BlobType::DhPublic, magic: [BCRYPT_DH_PUBLIC_MAGIC], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DH_PRIVATE_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:172:52 [INFO] [stdout] | [INFO] [stdout] 172 | DhKeyPrivateBlob, BlobType::DhPrivate, magic: [BCRYPT_DH_PRIVATE_MAGIC], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PUBLIC_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:173:52 [INFO] [stdout] | [INFO] [stdout] 173 | DsaKeyPublicBlob, BlobType::DsaPublic, magic: [BCRYPT_DSA_PUBLIC_MAGIC], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PRIVATE_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:174:54 [INFO] [stdout] | [INFO] [stdout] 174 | DsaKeyPrivateBlob, BlobType::DsaPrivate, magic: [BCRYPT_DSA_PRIVATE_MAGIC], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PUBLIC_MAGIC_V2` in this scope [INFO] [stdout] --> src/key_blob.rs:175:54 [INFO] [stdout] | [INFO] [stdout] 175 | DsaKeyPublicV2Blob, BlobType::DsaPublic, magic: [BCRYPT_DSA_PUBLIC_MAGIC_V2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DSA_PRIVATE_MAGIC_V2` in this scope [INFO] [stdout] --> src/key_blob.rs:176:56 [INFO] [stdout] | [INFO] [stdout] 176 | DsaKeyPrivateV2Blob, BlobType::DsaPrivate, magic: [BCRYPT_DSA_PRIVATE_MAGIC_V2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDH_PUBLIC_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PUBLIC_P256_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:178:43 [INFO] [stdout] | [INFO] [stdout] 178 | BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDH_PUBLIC_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PUBLIC_P384_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | BCRYPT_ECDH_PUBLIC_P384_MAGIC, BCRYPT_ECDH_PUBLIC_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PUBLIC_P521_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:179:40 [INFO] [stdout] | [INFO] [stdout] 179 | BCRYPT_ECDH_PUBLIC_P384_MAGIC, BCRYPT_ECDH_PUBLIC_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDSA_PUBLIC_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PUBLIC_P256_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:180:44 [INFO] [stdout] | [INFO] [stdout] 180 | BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC, BCRYPT_ECDSA_PUBLIC_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PUBLIC_P384_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | BCRYPT_ECDSA_PUBLIC_P384_MAGIC, BCRYPT_ECDSA_PUBLIC_P521_MAGIC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PUBLIC_P521_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:181:41 [INFO] [stdout] | [INFO] [stdout] 181 | BCRYPT_ECDSA_PUBLIC_P384_MAGIC, BCRYPT_ECDSA_PUBLIC_P521_MAGIC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDH_PRIVATE_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PRIVATE_P256_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:184:44 [INFO] [stdout] | [INFO] [stdout] 184 | BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDH_PRIVATE_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PRIVATE_P384_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | BCRYPT_ECDH_PRIVATE_P384_MAGIC, BCRYPT_ECDH_PRIVATE_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDH_PRIVATE_P521_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:185:41 [INFO] [stdout] | [INFO] [stdout] 185 | BCRYPT_ECDH_PRIVATE_P384_MAGIC, BCRYPT_ECDH_PRIVATE_P521_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDSA_PRIVATE_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PRIVATE_P256_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:186:45 [INFO] [stdout] | [INFO] [stdout] 186 | BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC, BCRYPT_ECDSA_PRIVATE_P256_MAGIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PRIVATE_P384_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | BCRYPT_ECDSA_PRIVATE_P384_MAGIC, BCRYPT_ECDSA_PRIVATE_P521_MAGIC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_ECDSA_PRIVATE_P521_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:187:42 [INFO] [stdout] | [INFO] [stdout] 187 | BCRYPT_ECDSA_PRIVATE_P384_MAGIC, BCRYPT_ECDSA_PRIVATE_P521_MAGIC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RSAPUBLIC_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:189:52 [INFO] [stdout] | [INFO] [stdout] 189 | RsaKeyPublicBlob, BlobType::RsaPublic, magic: [BCRYPT_RSAPUBLIC_MAGIC], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RSAPRIVATE_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:190:54 [INFO] [stdout] | [INFO] [stdout] 190 | RsaKeyPrivateBlob, BlobType::RsaPrivate, magic: [BCRYPT_RSAPRIVATE_MAGIC], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RSAFULLPRIVATE_MAGIC` in this scope [INFO] [stdout] --> src/key_blob.rs:191:62 [INFO] [stdout] | [INFO] [stdout] 191 | RsaKeyFullPrivateBlob, BlobType::RsaFullPrivate, magic: [BCRYPT_RSAFULLPRIVATE_MAGIC] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | header: BCRYPT_KEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | unsafe impl Pod for BCRYPT_KEY_BLOB {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_RSAKEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | header: BCRYPT_RSAKEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_RSAKEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | unsafe impl Pod for BCRYPT_RSAKEY_BLOB {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_RSAKEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | header: BCRYPT_RSAKEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_RSAKEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | header: BCRYPT_RSAKEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DH_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | unsafe impl Pod for BCRYPT_DH_KEY_BLOB {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DH_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | header: BCRYPT_DH_KEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DH_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | header: BCRYPT_DH_KEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:283:21 [INFO] [stdout] | [INFO] [stdout] 283 | unsafe impl Pod for BCRYPT_DSA_KEY_BLOB {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | header: BCRYPT_DSA_KEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_KEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | header: BCRYPT_DSA_KEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_KEY_BLOB_V2` in this scope [INFO] [stdout] --> src/key_blob.rs:313:21 [INFO] [stdout] | [INFO] [stdout] 313 | unsafe impl Pod for BCRYPT_DSA_KEY_BLOB_V2 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_KEY_BLOB_V2` in this scope [INFO] [stdout] --> src/key_blob.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | header: BCRYPT_DSA_KEY_BLOB_V2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_DSA_KEY_BLOB_V2` in this scope [INFO] [stdout] --> src/key_blob.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | header: BCRYPT_DSA_KEY_BLOB_V2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:363:21 [INFO] [stdout] | [INFO] [stdout] 363 | unsafe impl Pod for BCRYPT_ECCKEY_BLOB {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | header: BCRYPT_ECCKEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_ECCKEY_BLOB` in this scope [INFO] [stdout] --> src/key_blob.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | header: BCRYPT_ECCKEY_BLOB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stdout] --> src/property.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | type Value = [WCHAR]; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/property.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | type Value = DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stdout] --> src/property.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | type Value = [WCHAR]; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stdout] --> src/property.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | type Value = [WCHAR]; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/property.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | type Value = DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0740]: unions may not contain fields that need dropping [INFO] [stdout] --> src/asymmetric/signature.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | pkcs: BCRYPT_PKCS1_PADDING_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `std::mem::ManuallyDrop` can be used to wrap the type [INFO] [stdout] --> src/asymmetric/signature.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | pkcs: BCRYPT_PKCS1_PADDING_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/property.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | type Value = DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/property.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | type Value = DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/property.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | type Value = DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RNG_ALGORITHM` in this scope [INFO] [stdout] --> src/random.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 92 | RandomAlgorithmId::Rng => BCRYPT_RNG_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RNG_DUAL_EC_ALGORITHM` in this scope [INFO] [stdout] --> src/random.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 93 | RandomAlgorithmId::DualECRng => BCRYPT_RNG_DUAL_EC_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RNG_FIPS186_DSA_ALGORITHM` in this scope [INFO] [stdout] --> src/random.rs:94:49 [INFO] [stdout] | [INFO] [stdout] 94 | RandomAlgorithmId::Fips186DsaRng => BCRYPT_RNG_FIPS186_DSA_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RNG_USE_ENTROPY_IN_BUFFER` in this scope [INFO] [stdout] --> src/random.rs:176:35 [INFO] [stdout] | [INFO] [stdout] 176 | self.handle.flags() | BCRYPT_RNG_USE_ENTROPY_IN_BUFFER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/random.rs:180:61 [INFO] [stdout] | [INFO] [stdout] 180 | fn gen_random_with_opts(&self, buffer: &mut [u8], opts: ULONG) -> crate::Result<()> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptGenRandom` in this scope [INFO] [stdout] --> src/random.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | BCryptGenRandom(handle, buffer.as_mut_ptr(), buffer.len() as ULONG, opts) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/random.rs:184:74 [INFO] [stdout] | [INFO] [stdout] 184 | BCryptGenRandom(handle, buffer.as_mut_ptr(), buffer.len() as ULONG, opts) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_ALG_HANDLE` in this scope [INFO] [stdout] --> src/random.rs:226:25 [INFO] [stdout] | [INFO] [stdout] 226 | fn handle(&self) -> BCRYPT_ALG_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/random.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 233 | fn flags(&self) -> ULONG { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_USE_SYSTEM_PREFERRED_RNG` in this scope [INFO] [stdout] --> src/random.rs:235:38 [INFO] [stdout] | [INFO] [stdout] 235 | Self::SystemPreferred => BCRYPT_USE_SYSTEM_PREFERRED_RNG, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_AES_ALGORITHM` in this scope [INFO] [stdout] --> src/symmetric.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | Self::Aes => BCRYPT_AES_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DES_ALGORITHM` in this scope [INFO] [stdout] --> src/symmetric.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | Self::Des => BCRYPT_DES_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_DESX_ALGORITHM` in this scope [INFO] [stdout] --> src/symmetric.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | Self::DesX => BCRYPT_DESX_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_RC2_ALGORITHM` in this scope [INFO] [stdout] --> src/symmetric.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | Self::Rc2 => BCRYPT_RC2_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_3DES_ALGORITHM` in this scope [INFO] [stdout] --> src/symmetric.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | Self::TripleDes => BCRYPT_3DES_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_3DES_112_ALGORITHM` in this scope [INFO] [stdout] --> src/symmetric.rs:107:35 [INFO] [stdout] | [INFO] [stdout] 107 | Self::TripleDes112 => BCRYPT_3DES_112_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_CHAIN_MODE_ECB` in this scope [INFO] [stdout] --> src/symmetric.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | Self::Ecb => BCRYPT_CHAIN_MODE_ECB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_CHAIN_MODE_CBC` in this scope [INFO] [stdout] --> src/symmetric.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 146 | Self::Cbc => BCRYPT_CHAIN_MODE_CBC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_CHAIN_MODE_CFB` in this scope [INFO] [stdout] --> src/symmetric.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | Self::Cfb => BCRYPT_CHAIN_MODE_CFB, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDuplicateKey` in this scope [INFO] [stdout] --> src/symmetric.rs:321:26 [INFO] [stdout] | [INFO] [stdout] 321 | Error::check(BCryptDuplicateKey( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptGenerateSymmetricKey` in this scope [INFO] [stdout] --> src/symmetric.rs:429:26 [INFO] [stdout] | [INFO] [stdout] 429 | Error::check(BCryptGenerateSymmetricKey( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:433:33 [INFO] [stdout] | [INFO] [stdout] 433 | object.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stdout] --> src/symmetric.rs:434:36 [INFO] [stdout] | [INFO] [stdout] 434 | secret.as_ptr() as PUCHAR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:435:33 [INFO] [stdout] | [INFO] [stdout] 435 | secret.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:547:53 [INFO] [stdout] | [INFO] [stdout] 547 | .map(|iv| (iv.as_mut_ptr(), iv.len() as ULONG)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_BLOCK_PADDING` in this scope [INFO] [stdout] --> src/symmetric.rs:551:37 [INFO] [stdout] | [INFO] [stdout] 551 | Some(Padding::Block) => BCRYPT_BLOCK_PADDING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:555:47 [INFO] [stdout] | [INFO] [stdout] 458 | impl SymmetricAlgorithmKey { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 555 | let mut encrypted_len = MaybeUninit::::uninit(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptEncrypt` in this scope [INFO] [stdout] --> src/symmetric.rs:557:26 [INFO] [stdout] | [INFO] [stdout] 557 | Error::check(BCryptEncrypt( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stdout] --> src/symmetric.rs:559:34 [INFO] [stdout] | [INFO] [stdout] 559 | data.as_ptr() as PUCHAR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:560:31 [INFO] [stdout] | [INFO] [stdout] 560 | data.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptEncrypt` in this scope [INFO] [stdout] --> src/symmetric.rs:572:26 [INFO] [stdout] | [INFO] [stdout] 572 | Error::check(BCryptEncrypt( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stdout] --> src/symmetric.rs:574:34 [INFO] [stdout] | [INFO] [stdout] 574 | data.as_ptr() as PUCHAR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:575:31 [INFO] [stdout] | [INFO] [stdout] 575 | data.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:580:33 [INFO] [stdout] | [INFO] [stdout] 580 | output.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:621:53 [INFO] [stdout] | [INFO] [stdout] 621 | .map(|iv| (iv.as_mut_ptr(), iv.len() as ULONG)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_BLOCK_PADDING` in this scope [INFO] [stdout] --> src/symmetric.rs:625:37 [INFO] [stdout] | [INFO] [stdout] 625 | Some(Padding::Block) => BCRYPT_BLOCK_PADDING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:629:47 [INFO] [stdout] | [INFO] [stdout] 458 | impl SymmetricAlgorithmKey { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 629 | let mut plaintext_len = MaybeUninit::::uninit(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDecrypt` in this scope [INFO] [stdout] --> src/symmetric.rs:631:26 [INFO] [stdout] | [INFO] [stdout] 631 | Error::check(BCryptDecrypt( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stdout] --> src/symmetric.rs:633:34 [INFO] [stdout] | [INFO] [stdout] 633 | data.as_ptr() as PUCHAR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:634:31 [INFO] [stdout] | [INFO] [stdout] 634 | data.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDecrypt` in this scope [INFO] [stdout] --> src/symmetric.rs:646:26 [INFO] [stdout] | [INFO] [stdout] 646 | Error::check(BCryptDecrypt( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stdout] --> src/symmetric.rs:648:34 [INFO] [stdout] | [INFO] [stdout] 648 | data.as_ptr() as PUCHAR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:649:31 [INFO] [stdout] | [INFO] [stdout] 649 | data.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/symmetric.rs:654:33 [INFO] [stdout] | [INFO] [stdout] 654 | output.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/helpers/windows_string.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn as_ptr(&self) -> LPCWSTR { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> src/helpers/mod.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | fn as_ptr(&self) -> BCRYPT_HANDLE; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> src/helpers/mod.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_HANDLE; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptSetProperty` in this scope [INFO] [stdout] --> src/helpers/mod.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | Error::check(BCryptSetProperty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stdout] --> src/helpers/mod.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | value as *const _ as PUCHAR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/helpers/mod.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | std::mem::size_of_val(value) as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptGetProperty` in this scope [INFO] [stdout] --> src/helpers/mod.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | Error::check(BCryptGetProperty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptGetProperty` in this scope [INFO] [stdout] --> src/helpers/mod.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | Error::check(BCryptGetProperty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> src/helpers/mod.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_property_size(handle: BCRYPT_HANDLE, prop: LPCWSTR) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/helpers/mod.rs:90:51 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_property_size(handle: BCRYPT_HANDLE, prop: LPCWSTR) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/helpers/mod.rs:90:70 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_property_size(handle: BCRYPT_HANDLE, prop: LPCWSTR) -> Result { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/helpers/mod.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | let mut size: ULONG = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptGetProperty` in this scope [INFO] [stdout] --> src/helpers/mod.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | Error::check(BCryptGetProperty(handle, prop, null_mut(), 0, &mut size, 0))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_ALG_HANDLE` in this scope [INFO] [stdout] --> src/helpers/mod.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | handle: BCRYPT_ALG_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VOID` in this scope [INFO] [stdout] --> src/helpers/mod.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 104 | impl AlgoHandle { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 105 | pub fn open(id: &str) -> Result { [INFO] [stdout] 106 | let mut handle = null_mut::(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptOpenAlgorithmProvider` in this scope [INFO] [stdout] --> src/helpers/mod.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | Error::check(BCryptOpenAlgorithmProvider( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptCloseAlgorithmProvider` in this scope [INFO] [stdout] --> src/helpers/mod.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | BCryptCloseAlgorithmProvider(self.handle, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_ALG_HANDLE` in this scope [INFO] [stdout] --> src/helpers/mod.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | fn as_ptr(&self) -> BCRYPT_ALG_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_ALG_HANDLE` in this scope [INFO] [stdout] --> src/helpers/mod.rs:135:38 [INFO] [stdout] | [INFO] [stdout] 135 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_ALG_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/helpers/mod.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | pub(crate) handle: BCRYPT_KEY_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDestroyKey` in this scope [INFO] [stdout] --> src/helpers/mod.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | BCryptDestroyKey(self.handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/helpers/mod.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | fn as_ptr(&self) -> BCRYPT_KEY_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/helpers/mod.rs:174:38 [INFO] [stdout] | [INFO] [stdout] 174 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_KEY_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/lib.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | Unknown(NTSTATUS), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/lib.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | fn check(status: NTSTATUS) -> crate::Result<()> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/asymmetric/builder.rs:260:24 [INFO] [stdout] | [INFO] [stdout] 260 | let (property, blob) = match self { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0740]: unions may not contain fields that need dropping [INFO] [stdout] --> src/asymmetric/signature.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | pkcs: BCRYPT_PKCS1_PADDING_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `std::mem::ManuallyDrop` can be used to wrap the type [INFO] [stdout] --> src/asymmetric/signature.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | pkcs: BCRYPT_PKCS1_PADDING_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/helpers/windows_string.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | OsString::from_wide(without_nul) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/helpers/windows_string.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | .encode_wide() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 329 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0408, E0412, E0422, E0425, E0432, E0433, E0599, E0740. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `win-crypto-ng` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/asymmetric/builder.rs:260:24 [INFO] [stdout] | [INFO] [stdout] 260 | let (property, blob) = match self { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/helpers/windows_string.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | OsString::from_wide(without_nul) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/helpers/windows_string.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | .encode_wide() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 329 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0408, E0412, E0422, E0425, E0432, E0433, E0599, E0740. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "12750f23fda7cd62b2bb4d27e4edda8026b361537c0f2e36a0b0b12393e22597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12750f23fda7cd62b2bb4d27e4edda8026b361537c0f2e36a0b0b12393e22597", kill_on_drop: false }` [INFO] [stdout] 12750f23fda7cd62b2bb4d27e4edda8026b361537c0f2e36a0b0b12393e22597