proc-mounts 0.3.0

Fetch active mounts and swaps on a Linux system
Documentation
Build #1554060 2024-11-18T02:46:09.547015+00:00
# rustc version
rustc 1.84.0-nightly (5ec7d6eee 2024-11-17)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# 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: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\", \"-20241117-1.84.0-nightly-5ec7d6eee\", \"--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] [stdout] 5c66e6bb7fe75d3b702c2dba277814166433102abf60773c21c329341c917bf7
[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" "5c66e6bb7fe75d3b702c2dba277814166433102abf60773c21c329341c917bf7", 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/5ec7d6eee7e0f5236ec1559499070eaf836bc608\library\std\src\os\mod.rs:36:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608\library\std\src\os\mod.rs:28:1
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608\library\std\src\os\mod.rs:85:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608\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/5ec7d6eee7e0f5236ec1559499070eaf836bc608\library\std\src\os\mod.rs:36:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608\library\std\src\os\mod.rs:28:1
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608\library\std\src\os\mod.rs:85:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608\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/5ec7d6eee7e0f5236ec1559499070eaf836bc608\library\std\src\os\mod.rs:36:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608\library\std\src\os\mod.rs:28:1
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]  --> /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608\library\std\src\os\mod.rs:85:9
[INFO] [stderr] note: the item is gated here
[INFO] [stderr]  --> /rustc/5ec7d6eee7e0f5236ec1559499070eaf836bc608\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" "5c66e6bb7fe75d3b702c2dba277814166433102abf60773c21c329341c917bf7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c66e6bb7fe75d3b702c2dba277814166433102abf60773c21c329341c917bf7", kill_on_drop: false }`
[INFO] [stdout] 5c66e6bb7fe75d3b702c2dba277814166433102abf60773c21c329341c917bf7