linux-stat 0.3.3

A pure Rust library that implements stat functions on linux with only syscalls.
Documentation
Build #1663108 2025-01-24 01:47:32

# rustc version rustc 1.86.0-nightly (99768c80a 2025-01-23)

# docs.rs version docsrs 0.6.0 (29a0e81b 2025-01-22)

# build log [INFO] adding target aarch64-unknown-linux-gnu for toolchain nightly [INFO] running `Command { std: CARGO_HOME="/home/cratesfyi/workspace-builder/cargo-home" RUSTUP_HOME="/home/cratesfyi/workspace-builder/rustup-home" "/home/cratesfyi/workspace-builder/cargo-home/bin/rustup" "target" "add" "--toolchain" "nightly" "aarch64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] info: component 'rust-std' for target 'aarch64-unknown-linux-gnu' is up to date [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/linux-stat-0.3.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/linux-stat-0.3.3/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250123-1.86.0-nightly-99768c80a\", \"--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}/aarch64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "aarch64-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] e5f48a75d7a1983e6ecc8b2496a2837cb4fdb056755f5c559966c8192f5819a9 [INFO] running `Command { std: "docker" "start" "-a" "e5f48a75d7a1983e6ecc8b2496a2837cb4fdb056755f5c559966c8192f5819a9", 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: `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(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.41s [INFO] [stderr] Generated /opt/rustwide/target/aarch64-unknown-linux-gnu/doc/linux_stat/index.html [INFO] running `Command { std: "docker" "inspect" "e5f48a75d7a1983e6ecc8b2496a2837cb4fdb056755f5c559966c8192f5819a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5f48a75d7a1983e6ecc8b2496a2837cb4fdb056755f5c559966c8192f5819a9", kill_on_drop: false }` [INFO] [stdout] e5f48a75d7a1983e6ecc8b2496a2837cb4fdb056755f5c559966c8192f5819a9