pmc-rs 0.2.2

A safe abstraction for interacting with Performance Monitor Counters on FreeBSD.
Documentation
Build #9577632023-11-02T21:49:58.367688+00:00
# rustc version
rustc 1.75.0-nightly (75b064d26 2023-11-01)# docs.rs version
docsrs 0.6.0 (45c814ae 2023-10-19)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/pmc-rs-0.2.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/pmc-rs-0.2.2/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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/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\", \"-20231101-1.75.0-nightly-75b064d26\", \"--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] df87c2e5b6d59a8ef0c7e356a8f7561eadbdc66f37b524b111e213615256547d
[INFO] running `Command { std: "docker" "start" "-a" "df87c2e5b6d59a8ef0c7e356a8f7561eadbdc66f37b524b111e213615256547d", 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" "df87c2e5b6d59a8ef0c7e356a8f7561eadbdc66f37b524b111e213615256547d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df87c2e5b6d59a8ef0c7e356a8f7561eadbdc66f37b524b111e213615256547d", kill_on_drop: false }`
[INFO] [stdout] df87c2e5b6d59a8ef0c7e356a8f7561eadbdc66f37b524b111e213615256547d