proc-mounts 0.3.0

Fetch active mounts and swaps on a Linux system
Documentation
Build #1790133 2025-02-21T20:40:50.718693+00:00
# rustc version
rustc 1.87.0-nightly (f04bbc60f 2025-02-20)# docs.rs version
docsrs 0.6.0 (35977596 2025-02-09)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/proc-mounts-0.3.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/proc-mounts-0.3.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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250220-1.87.0-nightly-f04bbc60f\", \"--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] [stdout] 58787cffd875919b589047e2f8d20d796422bcf5779e56a6a9ec7a6374152210
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "58787cffd875919b589047e2f8d20d796422bcf5779e56a6a9ec7a6374152210", kill_on_drop: false }`
[INFO] [stderr]     Checking proc-mounts v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to check lib in package `proc-mounts` as a prerequisite for scraping examples from: example "example"
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `proc-mounts` (lib) generated 1 warning
[INFO] [stderr]     Scraping proc-mounts v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to scan example "example" in package `proc-mounts` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `proc-mounts` (example "example") generated 1 warning
[INFO] [stderr]  Documenting proc-mounts v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]  --> src/mounts/info.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 |     os::unix::ffi::OsStringExt,
[INFO] [stderr]   |         ^^^^ could not find `unix` in `os`
[INFO] [stderr]   |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/f04bbc60f8c353ee5ba0677bc583ac4a88b2c180\library\std\src\os\mod.rs:36:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/f04bbc60f8c353ee5ba0677bc583ac4a88b2c180\library\std\src\os\mod.rs:28:1
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/f04bbc60f8c353ee5ba0677bc583ac4a88b2c180\library\std\src\os\mod.rs:85:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/f04bbc60f8c353ee5ba0677bc583ac4a88b2c180\library\std\src\os\mod.rs:84:1
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]  --> src/mounts/list.rs:4:9
[INFO] [stderr]   |
[INFO] [stderr] 4 |     os::unix::ffi::OsStrExt,
[INFO] [stderr]   |         ^^^^ could not find `unix` in `os`
[INFO] [stderr]   |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/f04bbc60f8c353ee5ba0677bc583ac4a88b2c180\library\std\src\os\mod.rs:36:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/f04bbc60f8c353ee5ba0677bc583ac4a88b2c180\library\std\src\os\mod.rs:28:1
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/f04bbc60f8c353ee5ba0677bc583ac4a88b2c180\library\std\src\os\mod.rs:85:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/f04bbc60f8c353ee5ba0677bc583ac4a88b2c180\library\std\src\os\mod.rs:84:1
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `unix` in `os`
[INFO] [stderr]  --> src/swaps.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 |     os::unix::ffi::OsStringExt,
[INFO] [stderr]   |         ^^^^ could not find `unix` in `os`
[INFO] [stderr]   |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/f04bbc60f8c353ee5ba0677bc583ac4a88b2c180\library\std\src\os\mod.rs:36:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/f04bbc60f8c353ee5ba0677bc583ac4a88b2c180\library\std\src\os\mod.rs:28:1
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/f04bbc60f8c353ee5ba0677bc583ac4a88b2c180\library\std\src\os\mod.rs:85:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/f04bbc60f8c353ee5ba0677bc583ac4a88b2c180\library\std\src\os\mod.rs:84:1
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0433`.
[INFO] [stderr] error: could not document `proc-mounts`
[INFO] running `Command { std: "docker" "inspect" "58787cffd875919b589047e2f8d20d796422bcf5779e56a6a9ec7a6374152210", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58787cffd875919b589047e2f8d20d796422bcf5779e56a6a9ec7a6374152210", kill_on_drop: false }`
[INFO] [stdout] 58787cffd875919b589047e2f8d20d796422bcf5779e56a6a9ec7a6374152210