wdk-mutex 0.0.1

An idiomatic Rust mutex type for Windows kernel driver development.
Build #1600321 2024-12-26T14:25:59.471468+00:00
# rustc version
rustc 1.85.0-nightly (7c002ff9a 2024-12-25)# docs.rs version
docsrs 0.6.0 (a9496dd3 2024-12-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/wdk-mutex-0.0.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/wdk-mutex-0.0.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241225-1.85.0-nightly-7c002ff9a\", \"--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] ecd39cf5f9ad328b8793111e54997e584a02811fa7a697edb2511ec45a44c6e0
[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" "ecd39cf5f9ad328b8793111e54997e584a02811fa7a697edb2511ec45a44c6e0", 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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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:63:9
[INFO] [stderr]     |
[INFO] [stderr] 63  | 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:55:1
[INFO] [stderr]     |
[INFO] [stderr] 55  | / #[cfg(all(
[INFO] [stderr] 56  | |     doc,
[INFO] [stderr] 57  | |     any(
[INFO] [stderr] 58  | |         all(target_arch = "wasm32", not(target_os = "wasi")),
[INFO] [stderr] ...   |
[INFO] [stderr] 61  | | ))]
[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:121:9
[INFO] [stderr]     |
[INFO] [stderr] 121 | 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:120:1
[INFO] [stderr]     |
[INFO] [stderr] 120 | #[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-1949cf8c6b5b557f/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:63:9
[INFO] [stderr]     |
[INFO] [stderr] 63  | 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:55:1
[INFO] [stderr]     |
[INFO] [stderr] 55  | / #[cfg(all(
[INFO] [stderr] 56  | |     doc,
[INFO] [stderr] 57  | |     any(
[INFO] [stderr] 58  | |         all(target_arch = "wasm32", not(target_os = "wasi")),
[INFO] [stderr] ...   |
[INFO] [stderr] 61  | | ))]
[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:121:9
[INFO] [stderr]     |
[INFO] [stderr] 121 | 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:120:1
[INFO] [stderr]     |
[INFO] [stderr] 120 | #[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" "ecd39cf5f9ad328b8793111e54997e584a02811fa7a697edb2511ec45a44c6e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ecd39cf5f9ad328b8793111e54997e584a02811fa7a697edb2511ec45a44c6e0", kill_on_drop: false }`
[INFO] [stdout] ecd39cf5f9ad328b8793111e54997e584a02811fa7a697edb2511ec45a44c6e0