[INFO] fetching crate windows_safe_handle 0.2.0... [INFO] testing windows_safe_handle-0.2.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-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 caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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.62.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3d7eaa265272fecda8d567ad8511d9fbed7938e4590caf62142fc25c1b77ec2 [INFO] running `Command { std: "docker" "start" "-a" "c3d7eaa265272fecda8d567ad8511d9fbed7938e4590caf62142fc25c1b77ec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3d7eaa265272fecda8d567ad8511d9fbed7938e4590caf62142fc25c1b77ec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3d7eaa265272fecda8d567ad8511d9fbed7938e4590caf62142fc25c1b77ec2", kill_on_drop: false }` [INFO] [stdout] c3d7eaa265272fecda8d567ad8511d9fbed7938e4590caf62142fc25c1b77ec2 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c78dcd20d22a182c9de6aabbfa2cc01d4e2785ece781a577cac3481ed9c293bc [INFO] running `Command { std: "docker" "start" "-a" "c78dcd20d22a182c9de6aabbfa2cc01d4e2785ece781a577cac3481ed9c293bc", 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-interface v0.58.0 [INFO] [stderr] Compiling windows-implement 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 2.45s [INFO] running `Command { std: "docker" "inspect" "c78dcd20d22a182c9de6aabbfa2cc01d4e2785ece781a577cac3481ed9c293bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c78dcd20d22a182c9de6aabbfa2cc01d4e2785ece781a577cac3481ed9c293bc", kill_on_drop: false }` [INFO] [stdout] c78dcd20d22a182c9de6aabbfa2cc01d4e2785ece781a577cac3481ed9c293bc [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3988c9ef37e38156b7e2feb90808573a80a7d4c7232b5b0bb321d63d07edd434 [INFO] running `Command { std: "docker" "start" "-a" "3988c9ef37e38156b7e2feb90808573a80a7d4c7232b5b0bb321d63d07edd434", 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" "3988c9ef37e38156b7e2feb90808573a80a7d4c7232b5b0bb321d63d07edd434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3988c9ef37e38156b7e2feb90808573a80a7d4c7232b5b0bb321d63d07edd434", kill_on_drop: false }` [INFO] [stdout] 3988c9ef37e38156b7e2feb90808573a80a7d4c7232b5b0bb321d63d07edd434