pmc-rs 0.2.2

A safe abstraction for interacting with Performance Monitor Counters on FreeBSD.
Documentation
Build #9991042023-11-24T02:06:57.144661+00:00
# rustc version
rustc 1.76.0-nightly (a1a37735c 2023-11-23)# docs.rs version
docsrs 0.6.0 (7f551f6b 2023-11-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/pmc-rs-0.2.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/pmc-rs-0.2.2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20231123-1.76.0-nightly-a1a37735c\", \"--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] 8a5517b1f7dab643fecb66d64c3f63563ec78f8fbd19e727939167e5afe39614
[INFO] running `Command { std: "docker" "start" "-a" "8a5517b1f7dab643fecb66d64c3f63563ec78f8fbd19e727939167e5afe39614", kill_on_drop: false }`
[INFO] [stderr]     Checking pmc-rs v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to check lib in package `pmc-rs` as a prerequisite for scraping examples from: example "pmc"
[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: `pmc-rs` (lib) generated 1 warning
[INFO] [stderr]     Scraping pmc-rs v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to scan example "pmc" in package `pmc-rs` 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: `pmc-rs` (example "pmc") generated 1 warning
[INFO] [stderr]  Documenting pmc-rs v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr] warning: public documentation for `attach_to` links to private item `pmc_mode_PMC_MODE_TC`
[INFO] [stderr]   --> src/counter.rs:60:17
[INFO] [stderr]    |
[INFO] [stderr] 60 |     /// mode ([`pmc_mode_PMC_MODE_TC`] - see `man pmc`).
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]    |
[INFO] [stderr]    = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr]    = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `pmc-rs` (lib doc) generated 1 warning
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.42s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/pmc/index.html
[INFO] running `Command { std: "docker" "inspect" "8a5517b1f7dab643fecb66d64c3f63563ec78f8fbd19e727939167e5afe39614", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8a5517b1f7dab643fecb66d64c3f63563ec78f8fbd19e727939167e5afe39614", kill_on_drop: false }`
[INFO] [stdout] 8a5517b1f7dab643fecb66d64c3f63563ec78f8fbd19e727939167e5afe39614