[INFO] crate win-crypto-ng 0.1.1 is already in cache [INFO] checking win-crypto-ng-0.1.1 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate win-crypto-ng 0.1.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate win-crypto-ng 0.1.1 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate win-crypto-ng 0.1.1 [INFO] finished tweaking crates.io crate win-crypto-ng 0.1.1 [INFO] tweaked toml for crates.io crate win-crypto-ng 0.1.1 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] c8bcfd6bdd99aa68926640df5c6f4fdb99477c03880a20077c9376e891dea027 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "c8bcfd6bdd99aa68926640df5c6f4fdb99477c03880a20077c9376e891dea027"` [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking zeroize v0.10.1 [INFO] [stderr] Checking win-crypto-ng v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/lib.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::shared::ntdef::NTSTATUS; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/lib.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::shared::ntdef::NTSTATUS; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/hash.rs:50:13 [INFO] [stderr] | [INFO] [stderr] 50 | use winapi::shared::bcrypt::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/hash.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | use winapi::shared::minwindef::{DWORD, ULONG, PUCHAR}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/symmetric.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | use winapi::shared::bcrypt::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/symmetric.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | use winapi::shared::minwindef::{DWORD, ULONG, PUCHAR}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/helpers.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::bcrypt::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/helpers.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::shared::ntdef::{LPCWSTR, PUCHAR, UCHAR, ULONG, VOID}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/helpers.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::shared` [INFO] [stderr] --> src/lib.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::ntstatus; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/hash.rs:50:13 [INFO] [stderr] | [INFO] [stderr] 50 | use winapi::shared::bcrypt::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/hash.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | use winapi::shared::minwindef::{DWORD, ULONG, PUCHAR}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/symmetric.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | use winapi::shared::bcrypt::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/symmetric.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | use winapi::shared::minwindef::{DWORD, ULONG, PUCHAR}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/helpers.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::bcrypt::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/helpers.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::shared::ntdef::{LPCWSTR, PUCHAR, UCHAR, ULONG, VOID}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/helpers.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::shared` [INFO] [stderr] --> src/lib.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use winapi::shared::ntstatus; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_SHA1_ALGORITHM` in this scope [INFO] [stderr] --> src/hash.rs:102:27 [INFO] [stderr] | [INFO] [stderr] 102 | Self::Sha1 => BCRYPT_SHA1_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_SHA256_ALGORITHM` in this scope [INFO] [stderr] --> src/hash.rs:103:29 [INFO] [stderr] | [INFO] [stderr] 103 | Self::Sha256 => BCRYPT_SHA256_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_SHA384_ALGORITHM` in this scope [INFO] [stderr] --> src/hash.rs:104:29 [INFO] [stderr] | [INFO] [stderr] 104 | Self::Sha384 => BCRYPT_SHA384_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_SHA512_ALGORITHM` in this scope [INFO] [stderr] --> src/hash.rs:105:29 [INFO] [stderr] | [INFO] [stderr] 105 | Self::Sha512 => BCRYPT_SHA512_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_MD2_ALGORITHM` in this scope [INFO] [stderr] --> src/hash.rs:106:26 [INFO] [stderr] | [INFO] [stderr] 106 | Self::Md2 => BCRYPT_MD2_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_MD4_ALGORITHM` in this scope [INFO] [stderr] --> src/hash.rs:107:26 [INFO] [stderr] | [INFO] [stderr] 107 | Self::Md4 => BCRYPT_MD4_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_MD5_ALGORITHM` in this scope [INFO] [stderr] --> src/hash.rs:108:26 [INFO] [stderr] | [INFO] [stderr] 108 | Self::Md5 => BCRYPT_MD5_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_OBJECT_LENGTH` in this scope [INFO] [stderr] --> src/hash.rs:139:61 [INFO] [stderr] | [INFO] [stderr] 139 | let object_size = self.handle.get_property::(BCRYPT_OBJECT_LENGTH)? as usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/hash.rs:139:54 [INFO] [stderr] | [INFO] [stderr] 120 | impl HashAlgorithm { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 139 | let object_size = self.handle.get_property::(BCRYPT_OBJECT_LENGTH)? as usize; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptCreateHash` in this scope [INFO] [stderr] --> src/hash.rs:145:17 [INFO] [stderr] | [INFO] [stderr] 145 | BCryptCreateHash( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/hash.rs:149:37 [INFO] [stderr] | [INFO] [stderr] 149 | object.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_HASH_HANDLE` in this scope [INFO] [stderr] --> src/hash.rs:160:13 [INFO] [stderr] | [INFO] [stderr] 160 | handle: BCRYPT_HASH_HANDLE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDestroyHash` in this scope [INFO] [stderr] --> src/hash.rs:172:22 [INFO] [stderr] | [INFO] [stderr] 172 | unsafe { BCryptDestroyHash(self.handle); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_HASH_HANDLE` in this scope [INFO] [stderr] --> src/hash.rs:178:25 [INFO] [stderr] | [INFO] [stderr] 178 | fn as_ptr(&self) -> BCRYPT_HASH_HANDLE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_HASH_HANDLE` in this scope [INFO] [stderr] --> src/hash.rs:182:38 [INFO] [stderr] | [INFO] [stderr] 182 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_HASH_HANDLE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptHashData` in this scope [INFO] [stderr] --> src/hash.rs:211:26 [INFO] [stderr] | [INFO] [stderr] 211 | Error::check(BCryptHashData( [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stderr] --> src/hash.rs:213:34 [INFO] [stderr] | [INFO] [stderr] 213 | data.as_ptr() as PUCHAR, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/hash.rs:214:31 [INFO] [stderr] | [INFO] [stderr] 214 | data.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptFinishHash` in this scope [INFO] [stderr] --> src/hash.rs:246:17 [INFO] [stderr] | [INFO] [stderr] 246 | BCryptFinishHash( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/hash.rs:249:37 [INFO] [stderr] | [INFO] [stderr] 249 | result.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_HASH_LENGTH` in this scope [INFO] [stderr] --> src/hash.rs:269:43 [INFO] [stderr] | [INFO] [stderr] 269 | self.handle.get_property::(BCRYPT_HASH_LENGTH).map(|hash_size| hash_size as usize) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/hash.rs:269:36 [INFO] [stderr] | [INFO] [stderr] 193 | impl Hash { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 269 | self.handle.get_property::(BCRYPT_HASH_LENGTH).map(|hash_size| hash_size as usize) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_AES_ALGORITHM` in this scope [INFO] [stderr] --> src/symmetric.rs:95:26 [INFO] [stderr] | [INFO] [stderr] 95 | Self::Aes => BCRYPT_AES_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_DES_ALGORITHM` in this scope [INFO] [stderr] --> src/symmetric.rs:96:26 [INFO] [stderr] | [INFO] [stderr] 96 | Self::Des => BCRYPT_DES_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_DESX_ALGORITHM` in this scope [INFO] [stderr] --> src/symmetric.rs:97:27 [INFO] [stderr] | [INFO] [stderr] 97 | Self::DesX => BCRYPT_DESX_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_RC2_ALGORITHM` in this scope [INFO] [stderr] --> src/symmetric.rs:98:26 [INFO] [stderr] | [INFO] [stderr] 98 | Self::Rc2 => BCRYPT_RC2_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_3DES_ALGORITHM` in this scope [INFO] [stderr] --> src/symmetric.rs:100:32 [INFO] [stderr] | [INFO] [stderr] 100 | Self::TripleDes => BCRYPT_3DES_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_3DES_112_ALGORITHM` in this scope [INFO] [stderr] --> src/symmetric.rs:101:35 [INFO] [stderr] | [INFO] [stderr] 101 | Self::TripleDes112 => BCRYPT_3DES_112_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_CHAIN_MODE_ECB` in this scope [INFO] [stderr] --> src/symmetric.rs:139:26 [INFO] [stderr] | [INFO] [stderr] 139 | Self::Ecb => BCRYPT_CHAIN_MODE_ECB, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_CHAIN_MODE_CBC` in this scope [INFO] [stderr] --> src/symmetric.rs:140:26 [INFO] [stderr] | [INFO] [stderr] 140 | Self::Cbc => BCRYPT_CHAIN_MODE_CBC, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_CHAIN_MODE_CFB` in this scope [INFO] [stderr] --> src/symmetric.rs:141:26 [INFO] [stderr] | [INFO] [stderr] 141 | Self::Cfb => BCRYPT_CHAIN_MODE_CFB, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_CHAINING_MODE` in this scope [INFO] [stderr] --> src/symmetric.rs:169:29 [INFO] [stderr] | [INFO] [stderr] 169 | handle.set_property(BCRYPT_CHAINING_MODE, chaining_mode_str.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_KEY_LENGTHS` in this scope [INFO] [stderr] --> src/symmetric.rs:203:86 [INFO] [stderr] | [INFO] [stderr] 203 | let key_sizes_struct = self.handle.get_property::(BCRYPT_KEY_LENGTHS)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_KEY_LENGTHS_STRUCT` in this scope [INFO] [stderr] --> src/symmetric.rs:203:59 [INFO] [stderr] | [INFO] [stderr] 154 | impl SymmetricAlgorithm { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 203 | let key_sizes_struct = self.handle.get_property::(BCRYPT_KEY_LENGTHS)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_OBJECT_LENGTH` in this scope [INFO] [stderr] --> src/symmetric.rs:220:61 [INFO] [stderr] | [INFO] [stderr] 220 | let object_size = self.handle.get_property::(BCRYPT_OBJECT_LENGTH)? as usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/symmetric.rs:220:54 [INFO] [stderr] | [INFO] [stderr] 154 | impl SymmetricAlgorithm { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 220 | let object_size = self.handle.get_property::(BCRYPT_OBJECT_LENGTH)? as usize; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptGenerateSymmetricKey` in this scope [INFO] [stderr] --> src/symmetric.rs:226:17 [INFO] [stderr] | [INFO] [stderr] 226 | BCryptGenerateSymmetricKey( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:230:37 [INFO] [stderr] | [INFO] [stderr] 230 | object.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stderr] --> src/symmetric.rs:231:40 [INFO] [stderr] | [INFO] [stderr] 231 | secret.as_ptr() as PUCHAR, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:232:37 [INFO] [stderr] | [INFO] [stderr] 232 | secret.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stderr] --> src/symmetric.rs:241:13 [INFO] [stderr] | [INFO] [stderr] 241 | handle: BCRYPT_KEY_HANDLE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDestroyKey` in this scope [INFO] [stderr] --> src/symmetric.rs:253:22 [INFO] [stderr] | [INFO] [stderr] 253 | unsafe { BCryptDestroyKey(self.handle); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stderr] --> src/symmetric.rs:259:25 [INFO] [stderr] | [INFO] [stderr] 259 | fn as_ptr(&self) -> BCRYPT_KEY_HANDLE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stderr] --> src/symmetric.rs:263:38 [INFO] [stderr] | [INFO] [stderr] 263 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_KEY_HANDLE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_KEY_LENGTH` in this scope [INFO] [stderr] --> src/symmetric.rs:288:43 [INFO] [stderr] | [INFO] [stderr] 288 | self.handle.get_property::(BCRYPT_KEY_LENGTH).map(|key_size| key_size as usize) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/symmetric.rs:288:36 [INFO] [stderr] | [INFO] [stderr] 274 | impl SymmetricAlgorithmKey { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 288 | self.handle.get_property::(BCRYPT_KEY_LENGTH).map(|key_size| key_size as usize) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_BLOCK_LENGTH` in this scope [INFO] [stderr] --> src/symmetric.rs:306:43 [INFO] [stderr] | [INFO] [stderr] 306 | self.handle.get_property::(BCRYPT_BLOCK_LENGTH).map(|block_size| block_size as usize) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/symmetric.rs:306:36 [INFO] [stderr] | [INFO] [stderr] 274 | impl SymmetricAlgorithmKey { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 306 | self.handle.get_property::(BCRYPT_BLOCK_LENGTH).map(|block_size| block_size as usize) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:340:66 [INFO] [stderr] | [INFO] [stderr] 340 | let iv_len = iv_copy.as_ref().map_or(0, |iv| iv.len() as ULONG); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:342:47 [INFO] [stderr] | [INFO] [stderr] 274 | impl SymmetricAlgorithmKey { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 342 | let mut encrypted_len = MaybeUninit::::uninit(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptEncrypt` in this scope [INFO] [stderr] --> src/symmetric.rs:345:17 [INFO] [stderr] | [INFO] [stderr] 345 | BCryptEncrypt( [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stderr] --> src/symmetric.rs:347:38 [INFO] [stderr] | [INFO] [stderr] 347 | data.as_ptr() as PUCHAR, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:348:35 [INFO] [stderr] | [INFO] [stderr] 348 | data.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_BLOCK_PADDING` in this scope [INFO] [stderr] --> src/symmetric.rs:355:21 [INFO] [stderr] | [INFO] [stderr] 355 | BCRYPT_BLOCK_PADDING [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptEncrypt` in this scope [INFO] [stderr] --> src/symmetric.rs:362:17 [INFO] [stderr] | [INFO] [stderr] 362 | BCryptEncrypt( [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stderr] --> src/symmetric.rs:364:38 [INFO] [stderr] | [INFO] [stderr] 364 | data.as_ptr() as PUCHAR, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:365:35 [INFO] [stderr] | [INFO] [stderr] 365 | data.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:370:37 [INFO] [stderr] | [INFO] [stderr] 370 | output.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_BLOCK_PADDING` in this scope [INFO] [stderr] --> src/symmetric.rs:372:21 [INFO] [stderr] | [INFO] [stderr] 372 | BCRYPT_BLOCK_PADDING [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:407:66 [INFO] [stderr] | [INFO] [stderr] 407 | let iv_len = iv_copy.as_ref().map_or(0, |iv| iv.len() as ULONG); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:409:47 [INFO] [stderr] | [INFO] [stderr] 274 | impl SymmetricAlgorithmKey { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 409 | let mut plaintext_len = MaybeUninit::::uninit(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDecrypt` in this scope [INFO] [stderr] --> src/symmetric.rs:412:17 [INFO] [stderr] | [INFO] [stderr] 412 | BCryptDecrypt( [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stderr] --> src/symmetric.rs:414:38 [INFO] [stderr] | [INFO] [stderr] 414 | data.as_ptr() as PUCHAR, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:415:35 [INFO] [stderr] | [INFO] [stderr] 415 | data.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_BLOCK_PADDING` in this scope [INFO] [stderr] --> src/symmetric.rs:422:21 [INFO] [stderr] | [INFO] [stderr] 422 | BCRYPT_BLOCK_PADDING [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDecrypt` in this scope [INFO] [stderr] --> src/symmetric.rs:429:17 [INFO] [stderr] | [INFO] [stderr] 429 | BCryptDecrypt( [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stderr] --> src/symmetric.rs:431:38 [INFO] [stderr] | [INFO] [stderr] 431 | data.as_ptr() as PUCHAR, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:432:35 [INFO] [stderr] | [INFO] [stderr] 432 | data.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:437:37 [INFO] [stderr] | [INFO] [stderr] 437 | output.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_BLOCK_PADDING` in this scope [INFO] [stderr] --> src/symmetric.rs:439:21 [INFO] [stderr] | [INFO] [stderr] 439 | BCRYPT_BLOCK_PADDING [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stderr] --> src/helpers.rs:10:25 [INFO] [stderr] | [INFO] [stderr] 10 | fn as_ptr(&self) -> BCRYPT_HANDLE; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stderr] --> src/helpers.rs:11:38 [INFO] [stderr] | [INFO] [stderr] 11 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_HANDLE; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptSetProperty` in this scope [INFO] [stderr] --> src/helpers.rs:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | BCryptSetProperty( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stderr] --> src/helpers.rs:20:42 [INFO] [stderr] | [INFO] [stderr] 20 | value as *const _ as PUCHAR, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/helpers.rs:21:53 [INFO] [stderr] | [INFO] [stderr] 21 | std::mem::size_of_val(value) as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/helpers.rs:31:44 [INFO] [stderr] | [INFO] [stderr] 9 | pub trait Handle { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 31 | let mut result_len = MaybeUninit::::uninit(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptGetProperty` in this scope [INFO] [stderr] --> src/helpers.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | BCryptGetProperty( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UCHAR` in this scope [INFO] [stderr] --> src/helpers.rs:37:48 [INFO] [stderr] | [INFO] [stderr] 37 | value.as_mut_ptr() as *mut UCHAR, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/helpers.rs:38:49 [INFO] [stderr] | [INFO] [stderr] 38 | std::mem::size_of::() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_ALG_HANDLE` in this scope [INFO] [stderr] --> src/helpers.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | handle: BCRYPT_ALG_HANDLE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `VOID` in this scope [INFO] [stderr] --> src/helpers.rs:53:37 [INFO] [stderr] | [INFO] [stderr] 51 | impl AlgoHandle { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 52 | pub fn open(id: &str) -> Result { [INFO] [stderr] 53 | let mut handle = null_mut::(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptOpenAlgorithmProvider` in this scope [INFO] [stderr] --> src/helpers.rs:57:17 [INFO] [stderr] | [INFO] [stderr] 57 | BCryptOpenAlgorithmProvider( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptCloseAlgorithmProvider` in this scope [INFO] [stderr] --> src/helpers.rs:70:22 [INFO] [stderr] | [INFO] [stderr] 70 | unsafe { BCryptCloseAlgorithmProvider(self.handle, 0); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_ALG_HANDLE` in this scope [INFO] [stderr] --> src/helpers.rs:76:25 [INFO] [stderr] | [INFO] [stderr] 76 | fn as_ptr(&self) -> BCRYPT_ALG_HANDLE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_ALG_HANDLE` in this scope [INFO] [stderr] --> src/helpers.rs:80:38 [INFO] [stderr] | [INFO] [stderr] 80 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_ALG_HANDLE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/helpers.rs:105:29 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn as_ptr(&self) -> LPCWSTR { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stderr] --> src/lib.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | Unknown(NTSTATUS), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stderr] --> src/lib.rs:29:22 [INFO] [stderr] | [INFO] [stderr] 29 | fn check(status: NTSTATUS) -> std::result::Result<(), Self> { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_SHA1_ALGORITHM` in this scope [INFO] [stderr] --> src/hash.rs:102:27 [INFO] [stderr] | [INFO] [stderr] 102 | Self::Sha1 => BCRYPT_SHA1_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_SHA256_ALGORITHM` in this scope [INFO] [stderr] --> src/hash.rs:103:29 [INFO] [stderr] | [INFO] [stderr] 103 | Self::Sha256 => BCRYPT_SHA256_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_SHA384_ALGORITHM` in this scope [INFO] [stderr] --> src/hash.rs:104:29 [INFO] [stderr] | [INFO] [stderr] 104 | Self::Sha384 => BCRYPT_SHA384_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_SHA512_ALGORITHM` in this scope [INFO] [stderr] --> src/hash.rs:105:29 [INFO] [stderr] | [INFO] [stderr] 105 | Self::Sha512 => BCRYPT_SHA512_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_MD2_ALGORITHM` in this scope [INFO] [stderr] --> src/hash.rs:106:26 [INFO] [stderr] | [INFO] [stderr] 106 | Self::Md2 => BCRYPT_MD2_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_MD4_ALGORITHM` in this scope [INFO] [stderr] --> src/hash.rs:107:26 [INFO] [stderr] | [INFO] [stderr] 107 | Self::Md4 => BCRYPT_MD4_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_MD5_ALGORITHM` in this scope [INFO] [stderr] --> src/hash.rs:108:26 [INFO] [stderr] | [INFO] [stderr] 108 | Self::Md5 => BCRYPT_MD5_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_OBJECT_LENGTH` in this scope [INFO] [stderr] --> src/hash.rs:139:61 [INFO] [stderr] | [INFO] [stderr] 139 | let object_size = self.handle.get_property::(BCRYPT_OBJECT_LENGTH)? as usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/hash.rs:139:54 [INFO] [stderr] | [INFO] [stderr] 120 | impl HashAlgorithm { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 139 | let object_size = self.handle.get_property::(BCRYPT_OBJECT_LENGTH)? as usize; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptCreateHash` in this scope [INFO] [stderr] --> src/hash.rs:145:17 [INFO] [stderr] | [INFO] [stderr] 145 | BCryptCreateHash( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/hash.rs:149:37 [INFO] [stderr] | [INFO] [stderr] 149 | object.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_HASH_HANDLE` in this scope [INFO] [stderr] --> src/hash.rs:160:13 [INFO] [stderr] | [INFO] [stderr] 160 | handle: BCRYPT_HASH_HANDLE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDestroyHash` in this scope [INFO] [stderr] --> src/hash.rs:172:22 [INFO] [stderr] | [INFO] [stderr] 172 | unsafe { BCryptDestroyHash(self.handle); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_HASH_HANDLE` in this scope [INFO] [stderr] --> src/hash.rs:178:25 [INFO] [stderr] | [INFO] [stderr] 178 | fn as_ptr(&self) -> BCRYPT_HASH_HANDLE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_HASH_HANDLE` in this scope [INFO] [stderr] --> src/hash.rs:182:38 [INFO] [stderr] | [INFO] [stderr] 182 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_HASH_HANDLE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptHashData` in this scope [INFO] [stderr] --> src/hash.rs:211:26 [INFO] [stderr] | [INFO] [stderr] 211 | Error::check(BCryptHashData( [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stderr] --> src/hash.rs:213:34 [INFO] [stderr] | [INFO] [stderr] 213 | data.as_ptr() as PUCHAR, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/hash.rs:214:31 [INFO] [stderr] | [INFO] [stderr] 214 | data.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptFinishHash` in this scope [INFO] [stderr] --> src/hash.rs:246:17 [INFO] [stderr] | [INFO] [stderr] 246 | BCryptFinishHash( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/hash.rs:249:37 [INFO] [stderr] | [INFO] [stderr] 249 | result.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_HASH_LENGTH` in this scope [INFO] [stderr] --> src/hash.rs:269:43 [INFO] [stderr] | [INFO] [stderr] 269 | self.handle.get_property::(BCRYPT_HASH_LENGTH).map(|hash_size| hash_size as usize) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/hash.rs:269:36 [INFO] [stderr] | [INFO] [stderr] 193 | impl Hash { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 269 | self.handle.get_property::(BCRYPT_HASH_LENGTH).map(|hash_size| hash_size as usize) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_AES_ALGORITHM` in this scope [INFO] [stderr] --> src/symmetric.rs:95:26 [INFO] [stderr] | [INFO] [stderr] 95 | Self::Aes => BCRYPT_AES_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_DES_ALGORITHM` in this scope [INFO] [stderr] --> src/symmetric.rs:96:26 [INFO] [stderr] | [INFO] [stderr] 96 | Self::Des => BCRYPT_DES_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_DESX_ALGORITHM` in this scope [INFO] [stderr] --> src/symmetric.rs:97:27 [INFO] [stderr] | [INFO] [stderr] 97 | Self::DesX => BCRYPT_DESX_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_RC2_ALGORITHM` in this scope [INFO] [stderr] --> src/symmetric.rs:98:26 [INFO] [stderr] | [INFO] [stderr] 98 | Self::Rc2 => BCRYPT_RC2_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_3DES_ALGORITHM` in this scope [INFO] [stderr] --> src/symmetric.rs:100:32 [INFO] [stderr] | [INFO] [stderr] 100 | Self::TripleDes => BCRYPT_3DES_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_3DES_112_ALGORITHM` in this scope [INFO] [stderr] --> src/symmetric.rs:101:35 [INFO] [stderr] | [INFO] [stderr] 101 | Self::TripleDes112 => BCRYPT_3DES_112_ALGORITHM, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_CHAIN_MODE_ECB` in this scope [INFO] [stderr] --> src/symmetric.rs:139:26 [INFO] [stderr] | [INFO] [stderr] 139 | Self::Ecb => BCRYPT_CHAIN_MODE_ECB, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_CHAIN_MODE_CBC` in this scope [INFO] [stderr] --> src/symmetric.rs:140:26 [INFO] [stderr] | [INFO] [stderr] 140 | Self::Cbc => BCRYPT_CHAIN_MODE_CBC, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_CHAIN_MODE_CFB` in this scope [INFO] [stderr] --> src/symmetric.rs:141:26 [INFO] [stderr] | [INFO] [stderr] 141 | Self::Cfb => BCRYPT_CHAIN_MODE_CFB, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_CHAINING_MODE` in this scope [INFO] [stderr] --> src/symmetric.rs:169:29 [INFO] [stderr] | [INFO] [stderr] 169 | handle.set_property(BCRYPT_CHAINING_MODE, chaining_mode_str.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_KEY_LENGTHS` in this scope [INFO] [stderr] --> src/symmetric.rs:203:86 [INFO] [stderr] | [INFO] [stderr] 203 | let key_sizes_struct = self.handle.get_property::(BCRYPT_KEY_LENGTHS)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_KEY_LENGTHS_STRUCT` in this scope [INFO] [stderr] --> src/symmetric.rs:203:59 [INFO] [stderr] | [INFO] [stderr] 154 | impl SymmetricAlgorithm { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 203 | let key_sizes_struct = self.handle.get_property::(BCRYPT_KEY_LENGTHS)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_OBJECT_LENGTH` in this scope [INFO] [stderr] --> src/symmetric.rs:220:61 [INFO] [stderr] | [INFO] [stderr] 220 | let object_size = self.handle.get_property::(BCRYPT_OBJECT_LENGTH)? as usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/symmetric.rs:220:54 [INFO] [stderr] | [INFO] [stderr] 154 | impl SymmetricAlgorithm { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 220 | let object_size = self.handle.get_property::(BCRYPT_OBJECT_LENGTH)? as usize; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptGenerateSymmetricKey` in this scope [INFO] [stderr] --> src/symmetric.rs:226:17 [INFO] [stderr] | [INFO] [stderr] 226 | BCryptGenerateSymmetricKey( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:230:37 [INFO] [stderr] | [INFO] [stderr] 230 | object.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stderr] --> src/symmetric.rs:231:40 [INFO] [stderr] | [INFO] [stderr] 231 | secret.as_ptr() as PUCHAR, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:232:37 [INFO] [stderr] | [INFO] [stderr] 232 | secret.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stderr] --> src/symmetric.rs:241:13 [INFO] [stderr] | [INFO] [stderr] 241 | handle: BCRYPT_KEY_HANDLE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDestroyKey` in this scope [INFO] [stderr] --> src/symmetric.rs:253:22 [INFO] [stderr] | [INFO] [stderr] 253 | unsafe { BCryptDestroyKey(self.handle); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stderr] --> src/symmetric.rs:259:25 [INFO] [stderr] | [INFO] [stderr] 259 | fn as_ptr(&self) -> BCRYPT_KEY_HANDLE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stderr] --> src/symmetric.rs:263:38 [INFO] [stderr] | [INFO] [stderr] 263 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_KEY_HANDLE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_KEY_LENGTH` in this scope [INFO] [stderr] --> src/symmetric.rs:288:43 [INFO] [stderr] | [INFO] [stderr] 288 | self.handle.get_property::(BCRYPT_KEY_LENGTH).map(|key_size| key_size as usize) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/symmetric.rs:288:36 [INFO] [stderr] | [INFO] [stderr] 274 | impl SymmetricAlgorithmKey { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 288 | self.handle.get_property::(BCRYPT_KEY_LENGTH).map(|key_size| key_size as usize) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_BLOCK_LENGTH` in this scope [INFO] [stderr] --> src/symmetric.rs:306:43 [INFO] [stderr] | [INFO] [stderr] 306 | self.handle.get_property::(BCRYPT_BLOCK_LENGTH).map(|block_size| block_size as usize) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/symmetric.rs:306:36 [INFO] [stderr] | [INFO] [stderr] 274 | impl SymmetricAlgorithmKey { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 306 | self.handle.get_property::(BCRYPT_BLOCK_LENGTH).map(|block_size| block_size as usize) [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:340:66 [INFO] [stderr] | [INFO] [stderr] 340 | let iv_len = iv_copy.as_ref().map_or(0, |iv| iv.len() as ULONG); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:342:47 [INFO] [stderr] | [INFO] [stderr] 274 | impl SymmetricAlgorithmKey { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 342 | let mut encrypted_len = MaybeUninit::::uninit(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptEncrypt` in this scope [INFO] [stderr] --> src/symmetric.rs:345:17 [INFO] [stderr] | [INFO] [stderr] 345 | BCryptEncrypt( [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stderr] --> src/symmetric.rs:347:38 [INFO] [stderr] | [INFO] [stderr] 347 | data.as_ptr() as PUCHAR, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:348:35 [INFO] [stderr] | [INFO] [stderr] 348 | data.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_BLOCK_PADDING` in this scope [INFO] [stderr] --> src/symmetric.rs:355:21 [INFO] [stderr] | [INFO] [stderr] 355 | BCRYPT_BLOCK_PADDING [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptEncrypt` in this scope [INFO] [stderr] --> src/symmetric.rs:362:17 [INFO] [stderr] | [INFO] [stderr] 362 | BCryptEncrypt( [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stderr] --> src/symmetric.rs:364:38 [INFO] [stderr] | [INFO] [stderr] 364 | data.as_ptr() as PUCHAR, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:365:35 [INFO] [stderr] | [INFO] [stderr] 365 | data.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:370:37 [INFO] [stderr] | [INFO] [stderr] 370 | output.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_BLOCK_PADDING` in this scope [INFO] [stderr] --> src/symmetric.rs:372:21 [INFO] [stderr] | [INFO] [stderr] 372 | BCRYPT_BLOCK_PADDING [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:407:66 [INFO] [stderr] | [INFO] [stderr] 407 | let iv_len = iv_copy.as_ref().map_or(0, |iv| iv.len() as ULONG); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:409:47 [INFO] [stderr] | [INFO] [stderr] 274 | impl SymmetricAlgorithmKey { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 409 | let mut plaintext_len = MaybeUninit::::uninit(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDecrypt` in this scope [INFO] [stderr] --> src/symmetric.rs:412:17 [INFO] [stderr] | [INFO] [stderr] 412 | BCryptDecrypt( [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stderr] --> src/symmetric.rs:414:38 [INFO] [stderr] | [INFO] [stderr] 414 | data.as_ptr() as PUCHAR, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:415:35 [INFO] [stderr] | [INFO] [stderr] 415 | data.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_BLOCK_PADDING` in this scope [INFO] [stderr] --> src/symmetric.rs:422:21 [INFO] [stderr] | [INFO] [stderr] 422 | BCRYPT_BLOCK_PADDING [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptDecrypt` in this scope [INFO] [stderr] --> src/symmetric.rs:429:17 [INFO] [stderr] | [INFO] [stderr] 429 | BCryptDecrypt( [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stderr] --> src/symmetric.rs:431:38 [INFO] [stderr] | [INFO] [stderr] 431 | data.as_ptr() as PUCHAR, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:432:35 [INFO] [stderr] | [INFO] [stderr] 432 | data.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/symmetric.rs:437:37 [INFO] [stderr] | [INFO] [stderr] 437 | output.len() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BCRYPT_BLOCK_PADDING` in this scope [INFO] [stderr] --> src/symmetric.rs:439:21 [INFO] [stderr] | [INFO] [stderr] 439 | BCRYPT_BLOCK_PADDING [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stderr] --> src/helpers.rs:10:25 [INFO] [stderr] | [INFO] [stderr] 10 | fn as_ptr(&self) -> BCRYPT_HANDLE; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stderr] --> src/helpers.rs:11:38 [INFO] [stderr] | [INFO] [stderr] 11 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_HANDLE; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptSetProperty` in this scope [INFO] [stderr] --> src/helpers.rs:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | BCryptSetProperty( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUCHAR` in this scope [INFO] [stderr] --> src/helpers.rs:20:42 [INFO] [stderr] | [INFO] [stderr] 20 | value as *const _ as PUCHAR, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/helpers.rs:21:53 [INFO] [stderr] | [INFO] [stderr] 21 | std::mem::size_of_val(value) as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/helpers.rs:31:44 [INFO] [stderr] | [INFO] [stderr] 9 | pub trait Handle { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 31 | let mut result_len = MaybeUninit::::uninit(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptGetProperty` in this scope [INFO] [stderr] --> src/helpers.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | BCryptGetProperty( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UCHAR` in this scope [INFO] [stderr] --> src/helpers.rs:37:48 [INFO] [stderr] | [INFO] [stderr] 37 | value.as_mut_ptr() as *mut UCHAR, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/helpers.rs:38:49 [INFO] [stderr] | [INFO] [stderr] 38 | std::mem::size_of::() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_ALG_HANDLE` in this scope [INFO] [stderr] --> src/helpers.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | handle: BCRYPT_ALG_HANDLE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `VOID` in this scope [INFO] [stderr] --> src/helpers.rs:53:37 [INFO] [stderr] | [INFO] [stderr] 51 | impl AlgoHandle { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 52 | pub fn open(id: &str) -> Result { [INFO] [stderr] 53 | let mut handle = null_mut::(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptOpenAlgorithmProvider` in this scope [INFO] [stderr] --> src/helpers.rs:57:17 [INFO] [stderr] | [INFO] [stderr] 57 | BCryptOpenAlgorithmProvider( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptCloseAlgorithmProvider` in this scope [INFO] [stderr] --> src/helpers.rs:70:22 [INFO] [stderr] | [INFO] [stderr] 70 | unsafe { BCryptCloseAlgorithmProvider(self.handle, 0); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_ALG_HANDLE` in this scope [INFO] [stderr] --> src/helpers.rs:76:25 [INFO] [stderr] | [INFO] [stderr] 76 | fn as_ptr(&self) -> BCRYPT_ALG_HANDLE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BCRYPT_ALG_HANDLE` in this scope [INFO] [stderr] --> src/helpers.rs:80:38 [INFO] [stderr] | [INFO] [stderr] 80 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_ALG_HANDLE { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stderr] --> src/helpers.rs:105:29 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn as_ptr(&self) -> LPCWSTR { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stderr] --> src/lib.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | Unknown(NTSTATUS), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stderr] --> src/lib.rs:29:22 [INFO] [stderr] | [INFO] [stderr] 29 | fn check(status: NTSTATUS) -> std::result::Result<(), Self> { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/helpers.rs:91:41 [INFO] [stderr] | [INFO] [stderr] 91 | Self { inner: OsStr::new(value).encode_wide().chain(Some(0).into_iter()).collect() } [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/helpers.rs:110:19 [INFO] [stderr] | [INFO] [stderr] 110 | OsString::from_wide(&self.inner).to_string_lossy().as_ref().to_string() [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] error: aborting due to 99 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [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] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/helpers.rs:91:41 [INFO] [stderr] | [INFO] [stderr] 91 | Self { inner: OsStr::new(value).encode_wide().chain(Some(0).into_iter()).collect() } [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/helpers.rs:110:19 [INFO] [stderr] | [INFO] [stderr] 110 | OsString::from_wide(&self.inner).to_string_lossy().as_ref().to_string() [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] error: aborting due to 99 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `win-crypto-ng`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c8bcfd6bdd99aa68926640df5c6f4fdb99477c03880a20077c9376e891dea027"` [INFO] running `"docker" "rm" "-f" "c8bcfd6bdd99aa68926640df5c6f4fdb99477c03880a20077c9376e891dea027"` [INFO] [stdout] c8bcfd6bdd99aa68926640df5c6f4fdb99477c03880a20077c9376e891dea027