[go: up one dir, main page]

sysctl 0.6.0

Simplified interface to libc::sysctl
Documentation
Build #2363377 2025-07-30 09:25:16
# rustc version
rustc 1.90.0-nightly (ba7e63b63 2025-07-29)# docs.rs version
docsrs 0.6.0 (e18d034e 2025-07-29)# build log
[INFO] adding target i686-unknown-freebsd for toolchain nightly
[INFO] running `Command { std: CARGO_HOME="/home/cratesfyi/workspace/cargo-home" RUSTUP_HOME="/home/cratesfyi/workspace/rustup-home" "/home/cratesfyi/workspace/cargo-home/bin/rustup" "target" "add" "--toolchain" "nightly" "i686-unknown-freebsd", kill_on_drop: false }`
[INFO] [stderr] info: component 'rust-std' for target 'i686-unknown-freebsd' is up to date
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/sysctl-0.6.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/sysctl-0.6.0/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250729-1.90.0-nightly-ba7e63b63\", \"--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-unknown-freebsd\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-unknown-freebsd", 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] 13ba4411fe6988219243c531f86b2ec62ab1567e1a324bb0dc4822129e57d9bf
[INFO] running `Command { std: "docker" "start" "-a" "13ba4411fe6988219243c531f86b2ec62ab1567e1a324bb0dc4822129e57d9bf", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting sysctl v0.6.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stderr]   --> src/unix/ctl.rs:31:16
[INFO] [stderr]    |
[INFO] [stderr] 31 |     #[cfg_attr(feature = "cargo-clippy", allow(clippy::redundant_field_names))]
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[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 value: `cargo-clippy`
[INFO] [stderr]   --> src/unix/funcs.rs:81:16
[INFO] [stderr]    |
[INFO] [stderr] 81 |     #[cfg_attr(feature = "cargo-clippy", allow(clippy::redundant_field_names))]
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[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 value: `cargo-clippy`
[INFO] [stderr]    --> src/traits.rs:149:16
[INFO] [stderr]     |
[INFO] [stderr] 149 |     #[cfg_attr(feature = "cargo-clippy", allow(clippy::needless_doctest_main))]
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]     |
[INFO] [stderr]     = note: no expected values for `feature`
[INFO] [stderr]     = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[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 value: `cargo-clippy`
[INFO] [stderr]    --> src/traits.rs:169:16
[INFO] [stderr]     |
[INFO] [stderr] 169 |     #[cfg_attr(feature = "cargo-clippy", allow(clippy::needless_doctest_main))]
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]     |
[INFO] [stderr]     = note: no expected values for `feature`
[INFO] [stderr]     = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[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 value: `cargo-clippy`
[INFO] [stderr]    --> src/traits.rs:204:16
[INFO] [stderr]     |
[INFO] [stderr] 204 |     #[cfg_attr(feature = "cargo-clippy", allow(clippy::needless_doctest_main))]
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]     |
[INFO] [stderr]     = note: no expected values for `feature`
[INFO] [stderr]     = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[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: `sysctl` (lib doc) generated 5 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-unknown-freebsd/doc/sysctl/index.html
[INFO] running `Command { std: "docker" "inspect" "13ba4411fe6988219243c531f86b2ec62ab1567e1a324bb0dc4822129e57d9bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "13ba4411fe6988219243c531f86b2ec62ab1567e1a324bb0dc4822129e57d9bf", kill_on_drop: false }`
[INFO] [stdout] 13ba4411fe6988219243c531f86b2ec62ab1567e1a324bb0dc4822129e57d9bf