[INFO] fetching crate windows_safe_handle 0.2.0... [INFO] building windows_safe_handle-0.2.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate windows_safe_handle 0.2.0 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate windows_safe_handle 0.2.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding windows v0.58.0 (available: v0.62.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c8c6989be54d493b0b8f30546f5a0e5a5a41c62117962d826a9752496740de7 [INFO] running `Command { std: "docker" "start" "-a" "6c8c6989be54d493b0b8f30546f5a0e5a5a41c62117962d826a9752496740de7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c8c6989be54d493b0b8f30546f5a0e5a5a41c62117962d826a9752496740de7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c8c6989be54d493b0b8f30546f5a0e5a5a41c62117962d826a9752496740de7", kill_on_drop: false }` [INFO] [stdout] 6c8c6989be54d493b0b8f30546f5a0e5a5a41c62117962d826a9752496740de7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9ae0deceb79411bd39e7eb4007fca893d95976eea6313fbafd136c449cbb101 [INFO] running `Command { std: "docker" "start" "-a" "d9ae0deceb79411bd39e7eb4007fca893d95976eea6313fbafd136c449cbb101", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling windows-result v0.2.0 [INFO] [stderr] Compiling windows-strings v0.1.0 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling windows-core v0.58.0 [INFO] [stderr] Compiling windows v0.58.0 [INFO] [stderr] Compiling windows_safe_handle v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.90s [INFO] running `Command { std: "docker" "inspect" "d9ae0deceb79411bd39e7eb4007fca893d95976eea6313fbafd136c449cbb101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9ae0deceb79411bd39e7eb4007fca893d95976eea6313fbafd136c449cbb101", kill_on_drop: false }` [INFO] [stdout] d9ae0deceb79411bd39e7eb4007fca893d95976eea6313fbafd136c449cbb101 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86c9ff666e42a3b8835f1216896a3c2bc167ac8729cb3d99de1cf66c3e480de6 [INFO] running `Command { std: "docker" "start" "-a" "86c9ff666e42a3b8835f1216896a3c2bc167ac8729cb3d99de1cf66c3e480de6", kill_on_drop: false }` [INFO] [stderr] Compiling windows v0.58.0 [INFO] [stderr] Compiling 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" "86c9ff666e42a3b8835f1216896a3c2bc167ac8729cb3d99de1cf66c3e480de6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c9ff666e42a3b8835f1216896a3c2bc167ac8729cb3d99de1cf66c3e480de6", kill_on_drop: false }` [INFO] [stdout] 86c9ff666e42a3b8835f1216896a3c2bc167ac8729cb3d99de1cf66c3e480de6