[INFO] fetching crate rustls-cng-crypto 0.1.0... [INFO] testing rustls-cng-crypto-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate rustls-cng-crypto 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate rustls-cng-crypto 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rustls-cng-crypto 0.1.0 [INFO] tweaked toml for crates.io crate rustls-cng-crypto 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustls-cng-crypto 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 134 packages to latest compatible versions [INFO] [stderr] Adding libloading v0.8.8 (available: v0.8.9) [INFO] [stderr] Adding rcgen v0.13.2 (available: v0.14.5) [INFO] [stderr] Adding rstest v0.23.0 (available: v0.26.1) [INFO] [stderr] Adding rustls-webpki v0.102.8 (available: v0.103.7) [INFO] [stderr] Adding webpki-roots v0.26.11 (available: v1.0.2) [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rcgen v0.13.2 [INFO] [stderr] Downloaded rstest_macros v0.23.0 [INFO] [stderr] Downloaded rstest v0.23.0 [INFO] [stderr] Downloaded wycheproof v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b7c36d47cefad04c09f6767ded941a82175abc1f5eed698a4271e31c26b657d [INFO] running `Command { std: "docker" "start" "-a" "2b7c36d47cefad04c09f6767ded941a82175abc1f5eed698a4271e31c26b657d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b7c36d47cefad04c09f6767ded941a82175abc1f5eed698a4271e31c26b657d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b7c36d47cefad04c09f6767ded941a82175abc1f5eed698a4271e31c26b657d", kill_on_drop: false }` [INFO] [stdout] 2b7c36d47cefad04c09f6767ded941a82175abc1f5eed698a4271e31c26b657d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10089fdc2e65f73b0f80b3299bb0f3e42a72a005f184de1b13906f097f3d3e62 [INFO] running `Command { std: "docker" "start" "-a" "10089fdc2e65f73b0f80b3299bb0f3e42a72a005f184de1b13906f097f3d3e62", kill_on_drop: false }` [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling windows-result v0.2.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling windows-strings v0.1.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling rustls-webpki v0.103.7 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [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 rustls-cng-crypto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/lib.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | use windows::Win32::Security::Cryptography::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/aead.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::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] --> src/aead.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::core::Owned; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/alg.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::Win32::Security::Cryptography::BCRYPT_TLS1_2_KDF_ALGORITHM; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/alg.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::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] --> src/alg.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::core::Free; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/alg.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Win32::Security::Cryptography::{BCRYPT_ALG_HANDLE, BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS}, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/fips.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use windows::Win32::Security::Cryptography::BCryptGetFipsAlgorithmMode; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/alg.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | core::PCWSTR, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/hash.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::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] --> src/hash.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::core::{Owned, PCWSTR}; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/hkdf.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::Win32::Foundation::NTSTATUS; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/hkdf.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::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] --> src/hkdf.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::core::{Owned, PCWSTR}; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/hmac.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::Security::Cryptography::BCryptCreateHash; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/hmac.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::core::Owned; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/keys.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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] --> src/keys.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | core::{Owned, Param}, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/kx.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::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] --> src/kx.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::core::Owned; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/prf.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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] --> src/prf.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | core::Owned, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/quic.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Win32::Security::Cryptography::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/signer/ec.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::Security::Cryptography::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/signer/rsa.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::Security::Cryptography::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/verify.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::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] --> src/quic.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | core::Owned, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/kx.rs:82:35 [INFO] [stdout] | [INFO] [stdout] 82 | fn start(&self) -> Result, Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - fn start(&self) -> Result, Error> { [INFO] [stdout] 82 + fn start(&self) -> Result, Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustls-cng-crypto` (lib) due to 27 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "10089fdc2e65f73b0f80b3299bb0f3e42a72a005f184de1b13906f097f3d3e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10089fdc2e65f73b0f80b3299bb0f3e42a72a005f184de1b13906f097f3d3e62", kill_on_drop: false }` [INFO] [stdout] 10089fdc2e65f73b0f80b3299bb0f3e42a72a005f184de1b13906f097f3d3e62