[INFO] crate win-crypto-ng 0.1.1 is already in cache [INFO] documenting win-crypto-ng-0.1.1 against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] extracting crate win-crypto-ng 0.1.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate win-crypto-ng 0.1.1 on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate win-crypto-ng 0.1.1 [INFO] finished tweaking crates.io crate win-crypto-ng 0.1.1 [INFO] tweaked toml for crates.io crate win-crypto-ng 0.1.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bba71430821b28ba0dea57671faf7a3595d00f3ab84e66d239155df8be75d9e1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bba71430821b28ba0dea57671faf7a3595d00f3ab84e66d239155df8be75d9e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bba71430821b28ba0dea57671faf7a3595d00f3ab84e66d239155df8be75d9e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bba71430821b28ba0dea57671faf7a3595d00f3ab84e66d239155df8be75d9e1", kill_on_drop: false }` [INFO] [stdout] bba71430821b28ba0dea57671faf7a3595d00f3ab84e66d239155df8be75d9e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74ec2480f39567989fd687f5262718fcc567a2ab4aa3429cdd5741676612050e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "74ec2480f39567989fd687f5262718fcc567a2ab4aa3429cdd5741676612050e", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking zeroize v0.10.1 [INFO] [stderr] Documenting win-crypto-ng v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::ntdef::NTSTATUS; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hash.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hash.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | use winapi::shared::minwindef::{DWORD, ULONG, PUCHAR}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/symmetric.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/symmetric.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | use winapi::shared::minwindef::{DWORD, ULONG, PUCHAR}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/helpers.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::bcrypt::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/helpers.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::ntdef::{LPCWSTR, PUCHAR, UCHAR, ULONG, VOID}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/helpers.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::ntstatus; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_HASH_HANDLE` in this scope [INFO] [stdout] --> src/hash.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | handle: BCRYPT_HASH_HANDLE, [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] --> src/hash.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | fn as_ptr(&self) -> BCRYPT_HASH_HANDLE { [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] --> src/hash.rs:182:38 [INFO] [stdout] | [INFO] [stdout] 182 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_HASH_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/symmetric.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | handle: BCRYPT_KEY_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/symmetric.rs:259:25 [INFO] [stdout] | [INFO] [stdout] 259 | fn as_ptr(&self) -> BCRYPT_KEY_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_KEY_HANDLE` in this scope [INFO] [stdout] --> src/symmetric.rs:263:38 [INFO] [stdout] | [INFO] [stdout] 263 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_KEY_HANDLE { [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] --> src/helpers.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | fn as_ptr(&self) -> BCRYPT_HANDLE; [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] --> src/helpers.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_HANDLE; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_ALG_HANDLE` in this scope [INFO] [stdout] --> src/helpers.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | handle: BCRYPT_ALG_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_ALG_HANDLE` in this scope [INFO] [stdout] --> src/helpers.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | fn as_ptr(&self) -> BCRYPT_ALG_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BCRYPT_ALG_HANDLE` in this scope [INFO] [stdout] --> src/helpers.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | fn as_mut_ptr(&mut self) -> *mut BCRYPT_ALG_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/helpers.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn as_ptr(&self) -> LPCWSTR { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/lib.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | Unknown(NTSTATUS), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/lib.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | fn check(status: NTSTATUS) -> std::result::Result<(), Self> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `win-crypto-ng`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name win_crypto_ng src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-bb2f80616a0e01bb.rmeta --extern zeroize=/opt/rustwide/target/debug/deps/libzeroize-1c220a7fe9410381.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "74ec2480f39567989fd687f5262718fcc567a2ab4aa3429cdd5741676612050e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74ec2480f39567989fd687f5262718fcc567a2ab4aa3429cdd5741676612050e", kill_on_drop: false }` [INFO] [stdout] 74ec2480f39567989fd687f5262718fcc567a2ab4aa3429cdd5741676612050e