procinfo 0.4.2

A library for accessing Linux process and system information
Documentation
Build #1495864 2024-11-05T08:58:10.970272+00:00
# rustc version
rustc 1.84.0-nightly (fbab78289 2024-11-04)# docs.rs version
docsrs 0.6.0 (fd0fad95 2024-11-04)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/procinfo-0.4.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/procinfo-0.4.2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241104-1.84.0-nightly-fbab78289\", \"--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}/i686-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-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] 591b0312bb01552723ffef319a56b5594c154665238ef4e6adf94e3e48dce465
[INFO] running `Command { std: "docker" "start" "-a" "591b0312bb01552723ffef319a56b5594c154665238ef4e6adf94e3e48dce465", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting procinfo v0.4.2 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `libc::pid_t`
[INFO] [stderr]  --> src/loadavg.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use libc::pid_t;
[INFO] [stderr]   |     ^^^^^^^^^^^ no `pid_t` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `libc::pid_t`
[INFO] [stderr]  --> src/pid/cwd.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use libc::pid_t;
[INFO] [stderr]   |     ^^^^^^^^^^^ no `pid_t` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `libc::pid_t`
[INFO] [stderr]  --> src/pid/limits.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use libc::pid_t;
[INFO] [stderr]   |     ^^^^^^^^^^^ no `pid_t` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `libc::pid_t`
[INFO] [stderr]  --> src/pid/mountinfo.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use libc::pid_t;
[INFO] [stderr]   |     ^^^^^^^^^^^ no `pid_t` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `libc::pid_t`
[INFO] [stderr]  --> src/pid/stat.rs:7:21
[INFO] [stderr]   |
[INFO] [stderr] 7 | use libc::{clock_t, pid_t};
[INFO] [stderr]   |                     ^^^^^ no `pid_t` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `libc::pid_t`
[INFO] [stderr]  --> src/pid/statm.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use libc::pid_t;
[INFO] [stderr]   |     ^^^^^^^^^^^ no `pid_t` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `libc::gid_t`, `libc::mode_t`, `libc::pid_t`, `libc::uid_t`
[INFO] [stderr]  --> src/pid/status.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | use libc::{gid_t, mode_t, pid_t, uid_t};
[INFO] [stderr]   |            ^^^^^  ^^^^^^  ^^^^^  ^^^^^ no `uid_t` in the root
[INFO] [stderr]   |            |      |       |
[INFO] [stderr]   |            |      |       no `pid_t` in the root
[INFO] [stderr]   |            |      no `mode_t` in the root
[INFO] [stderr]   |            no `gid_t` in the root
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `rustc_nightly`
[INFO] [stderr]  --> src/lib.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | #![cfg_attr(rustc_nightly, feature(test))]
[INFO] [stderr]   |             ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[INFO] [stderr]   = help: consider using a Cargo feature instead
[INFO] [stderr]   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]            [lints.rust]
[INFO] [stderr]            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_nightly)'] }
[INFO] [stderr]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_nightly)");` to the top of the `build.rs`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `rustc_nightly`
[INFO] [stderr]   --> src/loadavg.rs:79:17
[INFO] [stderr]    |
[INFO] [stderr] 79 | #[cfg(all(test, rustc_nightly))]
[INFO] [stderr]    |                 ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_nightly)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_nightly)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `rustc_nightly`
[INFO] [stderr]    --> src/pid/limits.rs:263:17
[INFO] [stderr]     |
[INFO] [stderr] 263 | #[cfg(all(test, rustc_nightly))]
[INFO] [stderr]     |                 ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead
[INFO] [stderr]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]              [lints.rust]
[INFO] [stderr]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_nightly)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_nightly)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `rustc_nightly`
[INFO] [stderr]    --> src/pid/stat.rs:404:17
[INFO] [stderr]     |
[INFO] [stderr] 404 | #[cfg(all(test, rustc_nightly))]
[INFO] [stderr]     |                 ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead
[INFO] [stderr]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]              [lints.rust]
[INFO] [stderr]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_nightly)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_nightly)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `rustc_nightly`
[INFO] [stderr]   --> src/pid/statm.rs:85:17
[INFO] [stderr]    |
[INFO] [stderr] 85 | #[cfg(all(test, rustc_nightly))]
[INFO] [stderr]    |                 ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_nightly)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_nightly)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `rustc_nightly`
[INFO] [stderr]    --> src/pid/status.rs:479:17
[INFO] [stderr]     |
[INFO] [stderr] 479 | #[cfg(all(test, rustc_nightly))]
[INFO] [stderr]     |                 ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead
[INFO] [stderr]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]              [lints.rust]
[INFO] [stderr]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_nightly)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_nightly)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0432`.
[INFO] [stderr] warning: `procinfo` (lib doc) generated 6 warnings
[INFO] [stderr] error: could not document `procinfo`
[INFO] running `Command { std: "docker" "inspect" "591b0312bb01552723ffef319a56b5594c154665238ef4e6adf94e3e48dce465", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "591b0312bb01552723ffef319a56b5594c154665238ef4e6adf94e3e48dce465", kill_on_drop: false }`
[INFO] [stdout] 591b0312bb01552723ffef319a56b5594c154665238ef4e6adf94e3e48dce465