[INFO] cloning repository https://github.com/tungtose/window-sec-play [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tungtose/window-sec-play" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftungtose%2Fwindow-sec-play", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftungtose%2Fwindow-sec-play'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f85c8499b9895425f29108ec0d0e183198385729 [INFO] checking tungtose/window-sec-play against try#e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftungtose%2Fwindow-sec-play" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tungtose/window-sec-play [INFO] finished tweaking git repo https://github.com/tungtose/window-sec-play [INFO] tweaked toml for git repo https://github.com/tungtose/window-sec-play written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tungtose/window-sec-play on toolchain e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tungtose/window-sec-play already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 590208b6ebb7afcdaa3931f6753e1672b33625670fa0932714cb80573187b50e [INFO] running `Command { std: "docker" "start" "-a" "590208b6ebb7afcdaa3931f6753e1672b33625670fa0932714cb80573187b50e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "590208b6ebb7afcdaa3931f6753e1672b33625670fa0932714cb80573187b50e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "590208b6ebb7afcdaa3931f6753e1672b33625670fa0932714cb80573187b50e", kill_on_drop: false }` [INFO] [stdout] 590208b6ebb7afcdaa3931f6753e1672b33625670fa0932714cb80573187b50e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 544b73d819394495618c9daa8d7f4e305836f28c59e3ae24db99d3f882ae3383 [INFO] running `Command { std: "docker" "start" "-a" "544b73d819394495618c9daa8d7f4e305836f28c59e3ae24db99d3f882ae3383", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Checking windows-targets v0.52.6 [INFO] [stderr] Checking windows-result v0.2.0 [INFO] [stderr] Checking windows-strings v0.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Checking windows-core v0.58.0 [INFO] [stderr] Checking windows v0.58.0 [INFO] [stderr] Checking winplay v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> examples/hash.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::Security::Cryptography::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/crypto.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::Win32::Foundation::NTSTATUS; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/crypto.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::Security::Cryptography::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/handles.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::Security::Cryptography::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::Security::Cryptography::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/crypto.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::core::PCWSTR; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/crypto.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::Win32::Foundation::NTSTATUS; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/crypto.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::Security::Cryptography::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/handles.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::Security::Cryptography::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::Security::Cryptography::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/crypto.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::core::PCWSTR; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_ALG_HANDLE` in this scope [INFO] [stdout] --> examples/hash.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | let mut alg_handle: BCRYPT_ALG_HANDLE = BCRYPT_ALG_HANDLE::default(); [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] --> examples/hash.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | BCRYPT_SHA256_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_OBJECT_LENGTH` in this scope [INFO] [stdout] --> examples/hash.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | BCRYPT_OBJECT_LENGTH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_HASH_LENGTH` in this scope [INFO] [stdout] --> examples/hash.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | BCRYPT_HASH_LENGTH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BCRYPT_ALG_HANDLE` [INFO] [stdout] --> examples/hash.rs:9:49 [INFO] [stdout] | [INFO] [stdout] 9 | let mut alg_handle: BCRYPT_ALG_HANDLE = BCRYPT_ALG_HANDLE::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `BCRYPT_ALG_HANDLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS` in this scope [INFO] [stdout] --> examples/hash.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS(0), [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] --> examples/hash.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | let open_al_provider_status = BCryptOpenAlgorithmProvider( [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] --> examples/hash.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | let get_object_len_status = 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] --> examples/hash.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | let get_hash_len_status = BCryptGetProperty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BCRYPT_HASH_HANDLE` [INFO] [stdout] --> examples/hash.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | let mut bhash_handle = BCRYPT_HASH_HANDLE::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `BCRYPT_HASH_HANDLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptCreateHash` in this scope [INFO] [stdout] --> examples/hash.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | BCryptCreateHash(alg_handle, &mut bhash_handle, Some(&mut buffer), None, 0); [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] --> examples/hash.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | let hash_status = BCryptHashData(bhash_handle, &RGB_MSG, 0); [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] --> examples/hash.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | let fn_hash = BCryptFinishHash(bhash_handle, &mut hash_buffer, 0); [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] --> examples/hash.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let _ = BCryptCloseAlgorithmProvider(alg_handle, 0); [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] --> examples/hash.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let _ = BCryptDestroyHash(bhash_handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winplay` (example "hash") due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_ALG_HANDLE` in this scope [INFO] [stdout] --> src/crypto.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn hash_data(alg_hash_handle: BCRYPT_ALG_HANDLE, rgb_msg: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_OBJECT_LENGTH` in this scope [INFO] [stdout] --> src/crypto.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | BCRYPT_OBJECT_LENGTH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_HASH_LENGTH` in this scope [INFO] [stdout] --> src/crypto.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | BCRYPT_HASH_LENGTH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MS_PLATFORM_CRYPTO_PROVIDER` in this scope [INFO] [stdout] --> src/crypto.rs:109:60 [INFO] [stdout] | [INFO] [stdout] 109 | NCryptOpenStorageProvider(&mut h_prov_raii.handle, MS_PLATFORM_CRYPTO_PROVIDER, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/crypto.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn sign_data_with_key(h_key: NCRYPT_KEY_HANDLE, hash_buffer: &[u8]) -> Result> { [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/crypto.rs:159:16 [INFO] [stdout] | [INFO] [stdout] 159 | h_tmp_key: BCRYPT_KEY_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NCRYPT_PROV_HANDLE` in this scope [INFO] [stdout] --> src/crypto.rs:173:35 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn create_or_open_key(h_prov: NCRYPT_PROV_HANDLE, key_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NCRYPT_ECDSA_P256_ALGORITHM` in this scope [INFO] [stdout] --> src/crypto.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | NCRYPT_ECDSA_P256_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/crypto.rs:231:41 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn export_public_key_to_blob(h_key: NCRYPT_KEY_HANDLE) -> Result> { [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/crypto.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | BCRYPT_ECCPUBLIC_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/crypto.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | BCRYPT_ECCPUBLIC_BLOB, [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/crypto.rs:280:40 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn import_keypair(alg_sign_handle: BCRYPT_ALG_HANDLE, blob: &[u8]) -> Result { [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/crypto.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | BCRYPT_ECCPUBLIC_BLOB, [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/handles.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub handle: 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/handles.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handle: BCRYPT_ALG_HANDLE) -> Self { [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/handles.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub handle: 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/handles.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(handle: BCRYPT_HASH_HANDLE) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NCRYPT_PROV_HANDLE` in this scope [INFO] [stdout] --> src/handles.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | pub handle: NCRYPT_PROV_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NCRYPT_PROV_HANDLE` in this scope [INFO] [stdout] --> src/handles.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(handle: NCRYPT_PROV_HANDLE) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/handles.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | pub handle: NCRYPT_KEY_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/handles.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn new(handle: NCRYPT_KEY_HANDLE) -> Self { [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/handles.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | pub 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/handles.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new(handle: BCRYPT_KEY_HANDLE) -> Self { [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/main.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | let alg_hash_handle_raii = init_algorithm_provider(BCRYPT_SHA1_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/main.rs:15:56 [INFO] [stdout] | [INFO] [stdout] 15 | let alg_sign_handle_raii = init_algorithm_provider(BCRYPT_ECDSA_P256_ALGORITHM)?; [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/crypto.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn hash_data(alg_hash_handle: BCRYPT_ALG_HANDLE, rgb_msg: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_OBJECT_LENGTH` in this scope [INFO] [stdout] --> src/crypto.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | BCRYPT_OBJECT_LENGTH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BCRYPT_HASH_LENGTH` in this scope [INFO] [stdout] --> src/crypto.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | BCRYPT_HASH_LENGTH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MS_PLATFORM_CRYPTO_PROVIDER` in this scope [INFO] [stdout] --> src/crypto.rs:109:60 [INFO] [stdout] | [INFO] [stdout] 109 | NCryptOpenStorageProvider(&mut h_prov_raii.handle, MS_PLATFORM_CRYPTO_PROVIDER, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/crypto.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn sign_data_with_key(h_key: NCRYPT_KEY_HANDLE, hash_buffer: &[u8]) -> Result> { [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/crypto.rs:159:16 [INFO] [stdout] | [INFO] [stdout] 159 | h_tmp_key: BCRYPT_KEY_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NCRYPT_PROV_HANDLE` in this scope [INFO] [stdout] --> src/crypto.rs:173:35 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn create_or_open_key(h_prov: NCRYPT_PROV_HANDLE, key_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NCRYPT_ECDSA_P256_ALGORITHM` in this scope [INFO] [stdout] --> src/crypto.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | NCRYPT_ECDSA_P256_ALGORITHM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/crypto.rs:231:41 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn export_public_key_to_blob(h_key: NCRYPT_KEY_HANDLE) -> Result> { [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/crypto.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | BCRYPT_ECCPUBLIC_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/crypto.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | BCRYPT_ECCPUBLIC_BLOB, [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/crypto.rs:280:40 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn import_keypair(alg_sign_handle: BCRYPT_ALG_HANDLE, blob: &[u8]) -> Result { [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/crypto.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | BCRYPT_ECCPUBLIC_BLOB, [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/handles.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub handle: 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/handles.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(handle: BCRYPT_ALG_HANDLE) -> Self { [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/handles.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub handle: 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/handles.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(handle: BCRYPT_HASH_HANDLE) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NCRYPT_PROV_HANDLE` in this scope [INFO] [stdout] --> src/handles.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | pub handle: NCRYPT_PROV_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NCRYPT_PROV_HANDLE` in this scope [INFO] [stdout] --> src/handles.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new(handle: NCRYPT_PROV_HANDLE) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/handles.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | pub handle: NCRYPT_KEY_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/handles.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn new(handle: NCRYPT_KEY_HANDLE) -> Self { [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/handles.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | pub 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/handles.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new(handle: BCRYPT_KEY_HANDLE) -> Self { [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/main.rs:13:56 [INFO] [stdout] | [INFO] [stdout] 13 | let alg_hash_handle_raii = init_algorithm_provider(BCRYPT_SHA1_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/main.rs:15:56 [INFO] [stdout] | [INFO] [stdout] 15 | let alg_sign_handle_raii = init_algorithm_provider(BCRYPT_ECDSA_P256_ALGORITHM)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BCRYPT_ALG_HANDLE` [INFO] [stdout] --> src/crypto.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | let mut handle_raii = BAlgHandle::new(BCRYPT_ALG_HANDLE::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `BCRYPT_ALG_HANDLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS` in this scope [INFO] [stdout] --> src/crypto.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS(0), [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/crypto.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | BCryptOpenAlgorithmProvider( [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/crypto.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | BCryptGetProperty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BCRYPT_HASH_HANDLE` [INFO] [stdout] --> src/crypto.rs:60:50 [INFO] [stdout] | [INFO] [stdout] 60 | let mut bhash_handle_raii = BHashHandle::new(BCRYPT_HASH_HANDLE::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `BCRYPT_HASH_HANDLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptCreateHash` in this scope [INFO] [stdout] --> src/crypto.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | BCryptCreateHash( [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/crypto.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | let hash_status = unsafe { BCryptHashData(bhash_handle_raii.handle, rgb_msg, 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/crypto.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | BCryptGetProperty( [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/crypto.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe { BCryptFinishHash(bhash_handle_raii.handle, &mut hash_buffer, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NCRYPT_PROV_HANDLE` [INFO] [stdout] --> src/crypto.rs:106:54 [INFO] [stdout] | [INFO] [stdout] 106 | let mut h_prov_raii = StorageProviderHandle::new(NCRYPT_PROV_HANDLE::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `NCRYPT_PROV_HANDLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCryptOpenStorageProvider` in this scope [INFO] [stdout] --> src/crypto.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | NCryptOpenStorageProvider(&mut h_prov_raii.handle, MS_PLATFORM_CRYPTO_PROVIDER, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCRYPT_FLAGS` in this scope [INFO] [stdout] --> src/crypto.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | NCRYPT_FLAGS(0), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCryptSignHash` in this scope [INFO] [stdout] --> src/crypto.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | NCryptSignHash( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCRYPT_FLAGS` in this scope [INFO] [stdout] --> src/crypto.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | NCRYPT_FLAGS(0), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCryptSignHash` in this scope [INFO] [stdout] --> src/crypto.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | NCryptSignHash( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BCRYPT_ALG_HANDLE` [INFO] [stdout] --> src/crypto.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | let mut handle_raii = BAlgHandle::new(BCRYPT_ALG_HANDLE::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `BCRYPT_ALG_HANDLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCRYPT_FLAGS` in this scope [INFO] [stdout] --> src/crypto.rs:164:81 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe { BCryptVerifySignature(h_tmp_key, None, hash_buffer, signature, BCRYPT_FLAGS(0)) }; [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/crypto.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe { BCryptVerifySignature(h_tmp_key, None, hash_buffer, signature, BCRYPT_FLAGS(0)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NCRYPT_KEY_HANDLE` [INFO] [stdout] --> src/crypto.rs:175:47 [INFO] [stdout] | [INFO] [stdout] 175 | let mut h_key_raii = NCryptKeyHandle::new(NCRYPT_KEY_HANDLE::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `NCRYPT_KEY_HANDLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CERT_KEY_SPEC` in this scope [INFO] [stdout] --> src/crypto.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | CERT_KEY_SPEC(0), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCRYPT_FLAGS` in this scope [INFO] [stdout] --> src/crypto.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | NCRYPT_FLAGS(0), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCryptCreatePersistedKey` in this scope [INFO] [stdout] --> src/crypto.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | NCryptCreatePersistedKey( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCRYPT_FLAGS` in this scope [INFO] [stdout] --> src/crypto.rs:192:77 [INFO] [stdout] | [INFO] [stdout] 192 | if let Err(err) = unsafe { NCryptFinalizeKey(h_key_raii.handle, NCRYPT_FLAGS(0)) } { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCryptFinalizeKey` in this scope [INFO] [stdout] --> src/crypto.rs:192:40 [INFO] [stdout] | [INFO] [stdout] 192 | if let Err(err) = unsafe { NCryptFinalizeKey(h_key_raii.handle, NCRYPT_FLAGS(0)) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/crypto.rs:201:29 [INFO] [stdout] | [INFO] [stdout] 201 | Err(ref err) if err.code() == HRESULT(0x8009000F) => { [INFO] [stdout] | ^^^^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS` in this scope [INFO] [stdout] --> src/crypto.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS(0), [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/crypto.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | BCryptOpenAlgorithmProvider( [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/crypto.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | BCryptGetProperty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BCRYPT_HASH_HANDLE` [INFO] [stdout] --> src/crypto.rs:60:50 [INFO] [stdout] | [INFO] [stdout] 60 | let mut bhash_handle_raii = BHashHandle::new(BCRYPT_HASH_HANDLE::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `BCRYPT_HASH_HANDLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptCreateHash` in this scope [INFO] [stdout] --> src/crypto.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | BCryptCreateHash( [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/crypto.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | let hash_status = unsafe { BCryptHashData(bhash_handle_raii.handle, rgb_msg, 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/crypto.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | BCryptGetProperty( [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/crypto.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | unsafe { BCryptFinishHash(bhash_handle_raii.handle, &mut hash_buffer, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NCRYPT_PROV_HANDLE` [INFO] [stdout] --> src/crypto.rs:106:54 [INFO] [stdout] | [INFO] [stdout] 106 | let mut h_prov_raii = StorageProviderHandle::new(NCRYPT_PROV_HANDLE::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `NCRYPT_PROV_HANDLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCryptOpenStorageProvider` in this scope [INFO] [stdout] --> src/crypto.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | NCryptOpenStorageProvider(&mut h_prov_raii.handle, MS_PLATFORM_CRYPTO_PROVIDER, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCRYPT_FLAGS` in this scope [INFO] [stdout] --> src/crypto.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | NCRYPT_FLAGS(0), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCryptSignHash` in this scope [INFO] [stdout] --> src/crypto.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | NCryptSignHash( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCRYPT_FLAGS` in this scope [INFO] [stdout] --> src/crypto.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | NCRYPT_FLAGS(0), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCryptSignHash` in this scope [INFO] [stdout] --> src/crypto.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | NCryptSignHash( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCRYPT_FLAGS` in this scope [INFO] [stdout] --> src/crypto.rs:164:81 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe { BCryptVerifySignature(h_tmp_key, None, hash_buffer, signature, BCRYPT_FLAGS(0)) }; [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/crypto.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe { BCryptVerifySignature(h_tmp_key, None, hash_buffer, signature, BCRYPT_FLAGS(0)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NCRYPT_KEY_HANDLE` [INFO] [stdout] --> src/crypto.rs:175:47 [INFO] [stdout] | [INFO] [stdout] 175 | let mut h_key_raii = NCryptKeyHandle::new(NCRYPT_KEY_HANDLE::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `NCRYPT_KEY_HANDLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CERT_KEY_SPEC` in this scope [INFO] [stdout] --> src/crypto.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | CERT_KEY_SPEC(0), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCRYPT_FLAGS` in this scope [INFO] [stdout] --> src/crypto.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | NCRYPT_FLAGS(0), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCryptCreatePersistedKey` in this scope [INFO] [stdout] --> src/crypto.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | NCryptCreatePersistedKey( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCRYPT_FLAGS` in this scope [INFO] [stdout] --> src/crypto.rs:192:77 [INFO] [stdout] | [INFO] [stdout] 192 | if let Err(err) = unsafe { NCryptFinalizeKey(h_key_raii.handle, NCRYPT_FLAGS(0)) } { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCryptFinalizeKey` in this scope [INFO] [stdout] --> src/crypto.rs:192:40 [INFO] [stdout] | [INFO] [stdout] 192 | if let Err(err) = unsafe { NCryptFinalizeKey(h_key_raii.handle, NCRYPT_FLAGS(0)) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CERT_KEY_SPEC` in this scope [INFO] [stdout] --> src/crypto.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | CERT_KEY_SPEC(0), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCRYPT_FLAGS` in this scope [INFO] [stdout] --> src/crypto.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | NCRYPT_FLAGS(0), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCryptOpenKey` in this scope [INFO] [stdout] --> src/crypto.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | NCryptOpenKey( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCRYPT_FLAGS` in this scope [INFO] [stdout] --> src/crypto.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | NCRYPT_FLAGS(0), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCryptExportKey` in this scope [INFO] [stdout] --> src/crypto.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | NCryptExportKey( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCRYPT_FLAGS` in this scope [INFO] [stdout] --> src/crypto.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | NCRYPT_FLAGS(0), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCryptExportKey` in this scope [INFO] [stdout] --> src/crypto.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | NCryptExportKey( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BCRYPT_KEY_HANDLE` [INFO] [stdout] --> src/crypto.rs:281:51 [INFO] [stdout] | [INFO] [stdout] 281 | let mut h_tmp_key_raii = BCryptKeyHandle::new(BCRYPT_KEY_HANDLE::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `BCRYPT_KEY_HANDLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptImportKeyPair` in this scope [INFO] [stdout] --> src/crypto.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | BCryptImportKeyPair( [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/handles.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | let _ = unsafe { BCryptCloseAlgorithmProvider(self.handle, 0) }; [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/handles.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let _ = BCryptDestroyHash(self.handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCryptFreeObject` in this scope [INFO] [stdout] --> src/handles.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let _ = NCryptFreeObject(self.handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCryptFreeObject` in this scope [INFO] [stdout] --> src/handles.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let _ = NCryptFreeObject(self.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/handles.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | let _ = BCryptDestroyKey(self.handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/crypto.rs:201:29 [INFO] [stdout] | [INFO] [stdout] 201 | Err(ref err) if err.code() == HRESULT(0x8009000F) => { [INFO] [stdout] | ^^^^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CERT_KEY_SPEC` in this scope [INFO] [stdout] --> src/crypto.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | CERT_KEY_SPEC(0), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCRYPT_FLAGS` in this scope [INFO] [stdout] --> src/crypto.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | NCRYPT_FLAGS(0), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCryptOpenKey` in this scope [INFO] [stdout] --> src/crypto.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | NCryptOpenKey( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCRYPT_FLAGS` in this scope [INFO] [stdout] --> src/crypto.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | NCRYPT_FLAGS(0), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCryptExportKey` in this scope [INFO] [stdout] --> src/crypto.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | NCryptExportKey( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCRYPT_FLAGS` in this scope [INFO] [stdout] --> src/crypto.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | NCRYPT_FLAGS(0), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCryptExportKey` in this scope [INFO] [stdout] --> src/crypto.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | NCryptExportKey( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BCRYPT_KEY_HANDLE` [INFO] [stdout] --> src/crypto.rs:281:51 [INFO] [stdout] | [INFO] [stdout] 281 | let mut h_tmp_key_raii = BCryptKeyHandle::new(BCRYPT_KEY_HANDLE::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `BCRYPT_KEY_HANDLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptImportKeyPair` in this scope [INFO] [stdout] --> src/crypto.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | BCryptImportKeyPair( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptCloseAlgorithmProvider` in this scope [INFO] [stdout] --> src/handles.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | let _ = unsafe { BCryptCloseAlgorithmProvider(self.handle, 0) }; [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/handles.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let _ = BCryptDestroyHash(self.handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCryptFreeObject` in this scope [INFO] [stdout] --> src/handles.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let _ = NCryptFreeObject(self.handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NCryptFreeObject` in this scope [INFO] [stdout] --> src/handles.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let _ = NCryptFreeObject(self.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/handles.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | let _ = BCryptDestroyKey(self.handle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `winplay` (bin "winplay") due to 68 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winplay` (bin "winplay" test) due to 68 previous errors [INFO] running `Command { std: "docker" "inspect" "544b73d819394495618c9daa8d7f4e305836f28c59e3ae24db99d3f882ae3383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "544b73d819394495618c9daa8d7f4e305836f28c59e3ae24db99d3f882ae3383", kill_on_drop: false }` [INFO] [stdout] 544b73d819394495618c9daa8d7f4e305836f28c59e3ae24db99d3f882ae3383