[INFO] fetching crate windows_safe_handle 0.2.0... [INFO] testing windows_safe_handle-0.2.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate windows_safe_handle 0.2.0 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate windows_safe_handle 0.2.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d23df3e76e9749674b174574dc68e11dd2669fa77b66d6fb12e8bb0221ded05 [INFO] running `Command { std: "docker" "start" "-a" "3d23df3e76e9749674b174574dc68e11dd2669fa77b66d6fb12e8bb0221ded05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d23df3e76e9749674b174574dc68e11dd2669fa77b66d6fb12e8bb0221ded05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d23df3e76e9749674b174574dc68e11dd2669fa77b66d6fb12e8bb0221ded05", kill_on_drop: false }` [INFO] [stdout] 3d23df3e76e9749674b174574dc68e11dd2669fa77b66d6fb12e8bb0221ded05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4dc2788cc96f3f63a31c8bdd1e1779a71d7291bbec796c0ef18bc5f01b58554c [INFO] running `Command { std: "docker" "start" "-a" "4dc2788cc96f3f63a31c8bdd1e1779a71d7291bbec796c0ef18bc5f01b58554c", 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.48s [INFO] running `Command { std: "docker" "inspect" "4dc2788cc96f3f63a31c8bdd1e1779a71d7291bbec796c0ef18bc5f01b58554c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dc2788cc96f3f63a31c8bdd1e1779a71d7291bbec796c0ef18bc5f01b58554c", kill_on_drop: false }` [INFO] [stdout] 4dc2788cc96f3f63a31c8bdd1e1779a71d7291bbec796c0ef18bc5f01b58554c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39cf17aef13fa844731a2e5706a392577cdc4cf67886553fa9b27bcb1fdd90d3 [INFO] running `Command { std: "docker" "start" "-a" "39cf17aef13fa844731a2e5706a392577cdc4cf67886553fa9b27bcb1fdd90d3", 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" "39cf17aef13fa844731a2e5706a392577cdc4cf67886553fa9b27bcb1fdd90d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39cf17aef13fa844731a2e5706a392577cdc4cf67886553fa9b27bcb1fdd90d3", kill_on_drop: false }` [INFO] [stdout] 39cf17aef13fa844731a2e5706a392577cdc4cf67886553fa9b27bcb1fdd90d3