linux-stat 0.3.3

A pure Rust library that implements stat functions on linux with only syscalls.
Documentation
Build #1859115 2025-03-12 17:37:04

# rustc version rustc 1.87.0-nightly (665025243 2025-03-11)

# docs.rs version docsrs 0.6.0 (004a02c4 2025-03-05)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/linux-stat-0.3.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/linux-stat-0.3.3/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250311-1.87.0-nightly-665025243\", \"--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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d6b0fb18f97b7adc4e8d4f2cc65e0d36e13087c8a31aea552bba9b8de53fb621 [INFO] running `Command { std: "docker" "start" "-a" "d6b0fb18f97b7adc4e8d4f2cc65e0d36e13087c8a31aea552bba9b8de53fb621", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting linux-stat v0.3.3 (/opt/rustwide/workdir) [INFO] [stderr] warning: unexpected `cfg` condition name: `extern_cstr` [INFO] [stderr] --> src/lib.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | #[cfg(not(extern_cstr))] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [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(extern_cstr)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(extern_cstr)");` 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: `extern_cstr` [INFO] [stderr] --> src/lib.rs:16:7 [INFO] [stderr] | [INFO] [stderr] 16 | #[cfg(extern_cstr)] [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(extern_cstr)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(extern_cstr)");` 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: `extern_cstr` [INFO] [stderr] --> src/lib.rs:475:11 [INFO] [stderr] | [INFO] [stderr] 475 | #[cfg(extern_cstr)] [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(extern_cstr)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(extern_cstr)");` 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: `extern_cstr` [INFO] [stderr] --> src/lib.rs:477:15 [INFO] [stderr] | [INFO] [stderr] 477 | #[cfg(not(extern_cstr))] [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(extern_cstr)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(extern_cstr)");` 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: `linux-stat` (lib doc) generated 4 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/linux_stat/index.html [INFO] running `Command { std: "docker" "inspect" "d6b0fb18f97b7adc4e8d4f2cc65e0d36e13087c8a31aea552bba9b8de53fb621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6b0fb18f97b7adc4e8d4f2cc65e0d36e13087c8a31aea552bba9b8de53fb621", kill_on_drop: false }` [INFO] [stdout] d6b0fb18f97b7adc4e8d4f2cc65e0d36e13087c8a31aea552bba9b8de53fb621