[INFO] fetching crate windows_safe_handle 0.2.0... [INFO] checking windows_safe_handle-0.2.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate windows_safe_handle 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate windows_safe_handle 0.2.0 [INFO] finished tweaking crates.io crate windows_safe_handle 0.2.0 [INFO] tweaked toml for crates.io crate windows_safe_handle 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate windows_safe_handle 0.2.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding windows v0.58.0 (available: v0.61.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30247ef053660f8e0a05eecdd5e7c2db1b2db7a0b327a719b8c0f25bb9114d4f [INFO] running `Command { std: "docker" "start" "-a" "30247ef053660f8e0a05eecdd5e7c2db1b2db7a0b327a719b8c0f25bb9114d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30247ef053660f8e0a05eecdd5e7c2db1b2db7a0b327a719b8c0f25bb9114d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30247ef053660f8e0a05eecdd5e7c2db1b2db7a0b327a719b8c0f25bb9114d4f", kill_on_drop: false }` [INFO] [stdout] 30247ef053660f8e0a05eecdd5e7c2db1b2db7a0b327a719b8c0f25bb9114d4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a3e33e3cd5622cbbe7a5de810ad465bfb143b8503d04b482b9310ec9aae032d [INFO] running `Command { std: "docker" "start" "-a" "0a3e33e3cd5622cbbe7a5de810ad465bfb143b8503d04b482b9310ec9aae032d", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling syn v2.0.106 [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 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 windows_safe_handle v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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] --> tests/bcrypt_hash.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | core::{w, Result, PCWSTR}, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / safe_handle!(pub AlgProvider(BCRYPT_ALG_HANDLE as BCRYPT_HANDLE), |x| { [INFO] [stdout] 9 | | unsafe { BCryptCloseAlgorithmProvider(x, 0) } [INFO] [stdout] 10 | | }); [INFO] [stdout] | |__^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::safe_handle` which comes from the expansion of the macro `safe_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / safe_handle!(pub AlgProvider(BCRYPT_ALG_HANDLE as BCRYPT_HANDLE), |x| { [INFO] [stdout] 9 | | unsafe { BCryptCloseAlgorithmProvider(x, 0) } [INFO] [stdout] 10 | | }); [INFO] [stdout] | |__^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::safe_handle` which comes from the expansion of the macro `safe_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / safe_handle!(pub AlgProvider(BCRYPT_ALG_HANDLE as BCRYPT_HANDLE), |x| { [INFO] [stdout] 9 | | unsafe { BCryptCloseAlgorithmProvider(x, 0) } [INFO] [stdout] 10 | | }); [INFO] [stdout] | |__^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::safe_handle` which comes from the expansion of the macro `safe_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / safe_handle!(pub AlgProvider(BCRYPT_ALG_HANDLE as BCRYPT_HANDLE), |x| { [INFO] [stdout] 9 | | unsafe { BCryptCloseAlgorithmProvider(x, 0) } [INFO] [stdout] 10 | | }); [INFO] [stdout] | |__^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::safe_handle` which comes from the expansion of the macro `safe_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / safe_handle!(pub AlgProvider(BCRYPT_ALG_HANDLE as BCRYPT_HANDLE), |x| { [INFO] [stdout] 9 | | unsafe { BCryptCloseAlgorithmProvider(x, 0) } [INFO] [stdout] 10 | | }); [INFO] [stdout] | |__^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::safe_handle` which comes from the expansion of the macro `safe_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / safe_handle!(pub AlgProvider(BCRYPT_ALG_HANDLE as BCRYPT_HANDLE), |x| { [INFO] [stdout] 9 | | unsafe { BCryptCloseAlgorithmProvider(x, 0) } [INFO] [stdout] 10 | | }); [INFO] [stdout] | |__^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::safe_handle` which comes from the expansion of the macro `safe_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / safe_handle!(pub AlgProvider(BCRYPT_ALG_HANDLE as BCRYPT_HANDLE), |x| { [INFO] [stdout] 9 | | unsafe { BCryptCloseAlgorithmProvider(x, 0) } [INFO] [stdout] 10 | | }); [INFO] [stdout] | |__^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `safe_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / safe_handle!(pub AlgProvider(BCRYPT_ALG_HANDLE as BCRYPT_HANDLE), |x| { [INFO] [stdout] 9 | | unsafe { BCryptCloseAlgorithmProvider(x, 0) } [INFO] [stdout] 10 | | }); [INFO] [stdout] | |__^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `safe_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / safe_handle!(pub AlgProvider(BCRYPT_ALG_HANDLE as BCRYPT_HANDLE), |x| { [INFO] [stdout] 9 | | unsafe { BCryptCloseAlgorithmProvider(x, 0) } [INFO] [stdout] 10 | | }); [INFO] [stdout] | |__^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `safe_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / safe_handle!(pub AlgProvider(BCRYPT_ALG_HANDLE as BCRYPT_HANDLE), |x| { [INFO] [stdout] 9 | | unsafe { BCryptCloseAlgorithmProvider(x, 0) } [INFO] [stdout] 10 | | }); [INFO] [stdout] | |__^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `safe_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | safe_handle!(pub Hash(BCRYPT_HASH_HANDLE as BCRYPT_HANDLE), BCryptDestroyHash); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::safe_handle` which comes from the expansion of the macro `safe_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | safe_handle!(pub Hash(BCRYPT_HASH_HANDLE as BCRYPT_HANDLE), BCryptDestroyHash); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::safe_handle` which comes from the expansion of the macro `safe_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | safe_handle!(pub Hash(BCRYPT_HASH_HANDLE as BCRYPT_HANDLE), BCryptDestroyHash); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::safe_handle` which comes from the expansion of the macro `safe_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | safe_handle!(pub Hash(BCRYPT_HASH_HANDLE as BCRYPT_HANDLE), BCryptDestroyHash); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::safe_handle` which comes from the expansion of the macro `safe_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | safe_handle!(pub Hash(BCRYPT_HASH_HANDLE as BCRYPT_HANDLE), BCryptDestroyHash); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::safe_handle` which comes from the expansion of the macro `safe_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | safe_handle!(pub Hash(BCRYPT_HASH_HANDLE as BCRYPT_HANDLE), BCryptDestroyHash); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::safe_handle` which comes from the expansion of the macro `safe_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | safe_handle!(pub Hash(BCRYPT_HASH_HANDLE as BCRYPT_HANDLE), BCryptDestroyHash); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::safe_handle` which comes from the expansion of the macro `safe_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | safe_handle!(pub Hash(BCRYPT_HASH_HANDLE as BCRYPT_HANDLE), BCryptDestroyHash); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::safe_handle` which comes from the expansion of the macro `safe_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | safe_handle!(pub Hash(BCRYPT_HASH_HANDLE as BCRYPT_HANDLE), BCryptDestroyHash); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::safe_handle` which comes from the expansion of the macro `safe_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> tests/bcrypt_hash.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | safe_handle!(pub Hash(BCRYPT_HASH_HANDLE as BCRYPT_HANDLE), BCryptDestroyHash); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::safe_handle` which comes from the expansion of the macro `safe_handle` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_ALG_HANDLE` in this scope [INFO] [stdout] --> tests/bcrypt_hash.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | safe_handle!(pub AlgProvider(BCRYPT_ALG_HANDLE as BCRYPT_HANDLE), |x| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> tests/bcrypt_hash.rs:8:51 [INFO] [stdout] | [INFO] [stdout] 8 | safe_handle!(pub AlgProvider(BCRYPT_ALG_HANDLE as BCRYPT_HANDLE), |x| { [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] --> tests/bcrypt_hash.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | safe_handle!(pub Hash(BCRYPT_HASH_HANDLE as BCRYPT_HANDLE), BCryptDestroyHash); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HANDLE` in this scope [INFO] [stdout] --> tests/bcrypt_hash.rs:38:45 [INFO] [stdout] | [INFO] [stdout] 38 | safe_handle!(pub Hash(BCRYPT_HASH_HANDLE as BCRYPT_HANDLE), BCryptDestroyHash); [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] --> tests/bcrypt_hash.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | 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_OPEN_ALGORITHM_PROVIDER_FLAGS` [INFO] [stdout] --> tests/bcrypt_hash.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptCloseAlgorithmProvider` in this scope [INFO] [stdout] --> tests/bcrypt_hash.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe { BCryptCloseAlgorithmProvider(x, 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] --> tests/bcrypt_hash.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | BCryptOpenAlgorithmProvider( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptCreateHash` in this scope [INFO] [stdout] --> tests/bcrypt_hash.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe { BCryptCreateHash(self.0, handle.as_mut(), None, 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 `BCryptDestroyHash` in this scope [INFO] [stdout] --> tests/bcrypt_hash.rs:38:61 [INFO] [stdout] | [INFO] [stdout] 38 | safe_handle!(pub Hash(BCRYPT_HASH_HANDLE as BCRYPT_HANDLE), BCryptDestroyHash); [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] --> tests/bcrypt_hash.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | let result = unsafe { BCryptHashData(self.0, bytes, 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] --> tests/bcrypt_hash.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | BCryptGetProperty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try calling `BCryptGetProperty` as a method [INFO] [stdout] | [INFO] [stdout] 54 ~ self.BCryptGetProperty(BCRYPT_HASH_LENGTH, [INFO] [stdout] 55 + Some(&mut buffer), [INFO] [stdout] 56 + &mut dummy, [INFO] [stdout] 57 + 0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BCryptFinishHash` in this scope [INFO] [stdout] --> tests/bcrypt_hash.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | let result = unsafe { BCryptFinishHash(self.0, hash_buffer, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `windows_safe_handle` (test "bcrypt_hash") due to 35 previous errors [INFO] running `Command { std: "docker" "inspect" "0a3e33e3cd5622cbbe7a5de810ad465bfb143b8503d04b482b9310ec9aae032d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a3e33e3cd5622cbbe7a5de810ad465bfb143b8503d04b482b9310ec9aae032d", kill_on_drop: false }` [INFO] [stdout] 0a3e33e3cd5622cbbe7a5de810ad465bfb143b8503d04b482b9310ec9aae032d