[INFO] fetching crate windows_safe_handle 0.2.0... [INFO] building windows_safe_handle-0.2.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate windows_safe_handle 0.2.0 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate windows_safe_handle 0.2.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 689ae9549999bca047d0296e6b028681ea0ec34bb60df6864e5259ea0403f491 [INFO] running `Command { std: "docker" "start" "-a" "689ae9549999bca047d0296e6b028681ea0ec34bb60df6864e5259ea0403f491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "689ae9549999bca047d0296e6b028681ea0ec34bb60df6864e5259ea0403f491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "689ae9549999bca047d0296e6b028681ea0ec34bb60df6864e5259ea0403f491", kill_on_drop: false }` [INFO] [stdout] 689ae9549999bca047d0296e6b028681ea0ec34bb60df6864e5259ea0403f491 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e1c70365704ece115f6b58e118bd9a87f6f0dd5974f7a2a6123e909536dd50a [INFO] running `Command { std: "docker" "start" "-a" "2e1c70365704ece115f6b58e118bd9a87f6f0dd5974f7a2a6123e909536dd50a", 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 7.06s [INFO] running `Command { std: "docker" "inspect" "2e1c70365704ece115f6b58e118bd9a87f6f0dd5974f7a2a6123e909536dd50a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e1c70365704ece115f6b58e118bd9a87f6f0dd5974f7a2a6123e909536dd50a", kill_on_drop: false }` [INFO] [stdout] 2e1c70365704ece115f6b58e118bd9a87f6f0dd5974f7a2a6123e909536dd50a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d8d4e24d9338449b107f43d47f07a4add5019edf25bfe3c6092e3368762e00c [INFO] running `Command { std: "docker" "start" "-a" "6d8d4e24d9338449b107f43d47f07a4add5019edf25bfe3c6092e3368762e00c", 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] [stderr] error: could not compile `windows_safe_handle` (test "bcrypt_hash") due to 35 previous errors [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] running `Command { std: "docker" "inspect" "6d8d4e24d9338449b107f43d47f07a4add5019edf25bfe3c6092e3368762e00c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d8d4e24d9338449b107f43d47f07a4add5019edf25bfe3c6092e3368762e00c", kill_on_drop: false }` [INFO] [stdout] 6d8d4e24d9338449b107f43d47f07a4add5019edf25bfe3c6092e3368762e00c