wdk 0.3.0

Safe idiomatic bindings to APIs available in the Windows Development Kit (WDK)
Build #1378076 2024-10-02T23:46:06.270581+00:00
# rustc version
rustc 1.83.0-nightly (06bb8364a 2024-10-01)# docs.rs version
docsrs 0.6.0 (d5a37845 2024-09-24)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/wdk-0.3.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/wdk-0.3.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241001-1.83.0-nightly-06bb8364a\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] 643fbac0663af19890866a05f7e340d6f9a3374978fe7b63d0ff3dec611e83a6
[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" "643fbac0663af19890866a05f7e340d6f9a3374978fe7b63d0ff3dec611e83a6", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling wdk-build v0.3.0
[INFO] [stderr] error[E0433]: failed to resolve: could not find `Win32` in `windows`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wdk-build-0.3.0/src/utils.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 |     Win32::System::Registry::{
[INFO] [stderr]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `windows::core`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wdk-build-0.3.0/src/utils.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 |     core::{s, PCSTR},
[INFO] [stderr]    |     ^^^^ could not find `core` in `windows`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wdk-build-0.3.0/src/cargo_make.rs:851:28
[INFO] [stderr]     |
[INFO] [stderr] 851 |         return Ok(std::os::windows::fs::symlink_file(
[INFO] [stderr]     |                            ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr]     |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]    --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/mod.rs:54:9
[INFO] [stderr]     |
[INFO] [stderr] 54  | pub mod windows {}
[INFO] [stderr]     |         ^^^^^^^
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]    --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/mod.rs:46:1
[INFO] [stderr]     |
[INFO] [stderr] 46  | / #[cfg(all(
[INFO] [stderr] 47  | |     doc,
[INFO] [stderr] 48  | |     any(
[INFO] [stderr] 49  | |         all(target_arch = "wasm32", not(target_os = "wasi")),
[INFO] [stderr] 50  | |         all(target_vendor = "fortanix", target_env = "sgx")
[INFO] [stderr] 51  | |     )
[INFO] [stderr] 52  | | ))]
[INFO] [stderr]     | |___^
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]    --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/mod.rs:101:9
[INFO] [stderr]     |
[INFO] [stderr] 101 | pub mod windows;
[INFO] [stderr]     |         ^^^^^^^
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]    --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/mod.rs:100:1
[INFO] [stderr]     |
[INFO] [stderr] 100 | #[cfg(any(windows, doc))]
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wdk-build-0.3.0/src/cargo_make.rs:859:28
[INFO] [stderr]     |
[INFO] [stderr] 859 |         return Ok(std::os::windows::fs::symlink_file(
[INFO] [stderr]     |                            ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr]     |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]    --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/mod.rs:54:9
[INFO] [stderr]     |
[INFO] [stderr] 54  | pub mod windows {}
[INFO] [stderr]     |         ^^^^^^^
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]    --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/mod.rs:46:1
[INFO] [stderr]     |
[INFO] [stderr] 46  | / #[cfg(all(
[INFO] [stderr] 47  | |     doc,
[INFO] [stderr] 48  | |     any(
[INFO] [stderr] 49  | |         all(target_arch = "wasm32", not(target_os = "wasi")),
[INFO] [stderr] 50  | |         all(target_vendor = "fortanix", target_env = "sgx")
[INFO] [stderr] 51  | |     )
[INFO] [stderr] 52  | | ))]
[INFO] [stderr]     | |___^
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]    --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/mod.rs:101:9
[INFO] [stderr]     |
[INFO] [stderr] 101 | pub mod windows;
[INFO] [stderr]     |         ^^^^^^^
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]    --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/mod.rs:100:1
[INFO] [stderr]     |
[INFO] [stderr] 100 | #[cfg(any(windows, doc))]
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0432`.
[INFO] [stderr] error: could not compile `wdk-build` (lib) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "643fbac0663af19890866a05f7e340d6f9a3374978fe7b63d0ff3dec611e83a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "643fbac0663af19890866a05f7e340d6f9a3374978fe7b63d0ff3dec611e83a6", kill_on_drop: false }`
[INFO] [stdout] 643fbac0663af19890866a05f7e340d6f9a3374978fe7b63d0ff3dec611e83a6