pmc-rs 0.2.2

A safe abstraction for interacting with Performance Monitor Counters on FreeBSD.
Documentation
Build #1042437 2023-12-06T05:59:35.366872+00:00
# rustc version
rustc 1.76.0-nightly (e9013ac0e 2023-12-05)# docs.rs version
docsrs 0.6.0 (cd4e3294 2023-12-01)# 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\", \"-20231205-1.76.0-nightly-e9013ac0e\", \"--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] a45717c0fc6c2c6653ae6969aa4fef69147f25a04026cbe683f4395a6562cf34
[INFO] running `Command { std: "docker" "start" "-a" "a45717c0fc6c2c6653ae6969aa4fef69147f25a04026cbe683f4395a6562cf34", 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.39s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/pmc/index.html
[INFO] running `Command { std: "docker" "inspect" "a45717c0fc6c2c6653ae6969aa4fef69147f25a04026cbe683f4395a6562cf34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a45717c0fc6c2c6653ae6969aa4fef69147f25a04026cbe683f4395a6562cf34", kill_on_drop: false }`
[INFO] [stdout] a45717c0fc6c2c6653ae6969aa4fef69147f25a04026cbe683f4395a6562cf34