CreateProcessW 0.1.7

Create and handle processes on Windows using the Win32 API
Documentation
Build #2732980 2025-12-14 17:25:24

# rustc version rustc 1.94.0-nightly (430d8297c 2025-12-13)

# docs.rs version docsrs 0.6.0 (c9c56e32 2025-12-11 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/CreateProcessW-0.1.7/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/CreateProcessW-0.1.7/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20251213-1.94.0-nightly-430d8297c\", \"--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-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-pc-windows-msvc", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 74e2d4c168d414a6869fb53a968aa5e7eb76e2d72e037ccd9dc7004a442ab1d7 [INFO] running `Command { std: "docker" "start" "-a" "74e2d4c168d414a6869fb53a968aa5e7eb76e2d72e037ccd9dc7004a442ab1d7", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting CreateProcessW v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `Error::KillFailed` [INFO] [stderr] --> src/lib.rs:331:24 [INFO] [stderr] | [INFO] [stderr] 331 | /// [`KillFailed`][Error::KillFailed] error is returned. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the struct `Error` has no field or associated item named `KillFailed` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `Error::GetExitCodeFailed` [INFO] [stderr] --> src/lib.rs:375:31 [INFO] [stderr] | [INFO] [stderr] 375 | /// [`GetExitCodeFailed`][Error::GetExitCodeFailed] error. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ the struct `Error` has no field or associated item named `GetExitCodeFailed` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `get-exit-code-process` [INFO] [stderr] --> src/lib.rs:435:50 [INFO] [stderr] | [INFO] [stderr] 435 | /// Equivalent to the [`GetExitCodeProcess`][get-exit-code-process] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no item named `get-exit-code-process` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `Error::GetExitCodeFailed` [INFO] [stderr] --> src/lib.rs:440:32 [INFO] [stderr] | [INFO] [stderr] 440 | /// [`GetExitCodeProcess`][Error::GetExitCodeFailed] error is returned. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ the struct `Error` has no field or associated item named `GetExitCodeFailed` [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:7:60 [INFO] [stderr] | [INFO] [stderr] 7 | //! This crate provides an API similar to [`std::process`](::std::process) to create [INFO] [stderr] | -------------- ^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 7 - //! This crate provides an API similar to [`std::process`](::std::process) to create [INFO] [stderr] 7 + //! This crate provides an API similar to [`std::process`] to create [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:47:21 [INFO] [stderr] | [INFO] [stderr] 47 | //! The [`Command`](crate::Command) struct is used to configure and spawn processes: [INFO] [stderr] | --------- ^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 47 - //! The [`Command`](crate::Command) struct is used to configure and spawn processes: [INFO] [stderr] 47 + //! The [`Command`] struct is used to configure and spawn processes: [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:60:15 [INFO] [stderr] | [INFO] [stderr] 60 | //! [`Child`](crate::Child) that represents the spawned child process. [INFO] [stderr] | ------- ^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 60 - //! [`Child`](crate::Child) that represents the spawned child process. [INFO] [stderr] 60 + //! [`Child`] that represents the spawned child process. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:83:49 [INFO] [stderr] | [INFO] [stderr] 83 | //! it to finish and returns its [`ExitStatus`](crate::ExitStatus). [INFO] [stderr] | ------------ ^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 83 - //! it to finish and returns its [`ExitStatus`](crate::ExitStatus). [INFO] [stderr] 83 + //! it to finish and returns its [`ExitStatus`]. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `CreateProcessW` (lib doc) generated 8 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-pc-windows-msvc/doc/CreateProcessW/index.html [INFO] running `Command { std: "docker" "inspect" "74e2d4c168d414a6869fb53a968aa5e7eb76e2d72e037ccd9dc7004a442ab1d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74e2d4c168d414a6869fb53a968aa5e7eb76e2d72e037ccd9dc7004a442ab1d7", kill_on_drop: false }` [INFO] [stdout] 74e2d4c168d414a6869fb53a968aa5e7eb76e2d72e037ccd9dc7004a442ab1d7