[go: up one dir, main page]

dhat 0.3.3

A library for heap profiling and ad hoc profiling with DHAT.
Documentation
Build #1879081 2025-03-17 11:03:39
# rustc version
rustc 1.87.0-nightly (227690a25 2025-03-16)# docs.rs version
docsrs 0.6.0 (004a02c4 2025-03-05)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/dhat-0.3.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/dhat-0.3.3/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250316-1.87.0-nightly-227690a25\", \"--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] [stdout] 1ab470683e6d10cde8ea8587eca820df5da24469a830789ba6793ed48ad252af
[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" "1ab470683e6d10cde8ea8587eca820df5da24469a830789ba6793ed48ad252af", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: ad-hoc, heap, heap-testing
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting dhat v0.3.3 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unknown lint: `rustdoc::missing_doc_code_examples`
[INFO] [stderr]  --> src/lib.rs:2:9
[INFO] [stderr]   |
[INFO] [stderr] 2 | #![deny(rustdoc::missing_doc_code_examples)]
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: the `rustdoc::missing_doc_code_examples` lint is unstable
[INFO] [stderr]   = note: see issue #101730 <https://github.com/rust-lang/rust/issues/101730> for more information
[INFO] [stderr]   = help: add `#![feature(rustdoc_missing_doc_code_examples)]` to the crate attributes to enable
[INFO] [stderr]   = note: this compiler was built on 2025-03-16; consider upgrading it if it is out of date
[INFO] [stderr]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:359:30
[INFO] [stderr]     |
[INFO] [stderr] 359 | //! [`std::hint::black_box`](std::hint::black_box) function may also be helpful
[INFO] [stderr]     |      ----------------------  ^^^^^^^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |      |
[INFO] [stderr]     |      because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr]     = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 359 - //! [`std::hint::black_box`](std::hint::black_box) function may also be helpful
[INFO] [stderr] 359 + //! [`std::hint::black_box`] function may also be helpful
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `dhat` (lib doc) generated 2 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.43s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/dhat/index.html
[INFO] running `Command { std: "docker" "inspect" "1ab470683e6d10cde8ea8587eca820df5da24469a830789ba6793ed48ad252af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ab470683e6d10cde8ea8587eca820df5da24469a830789ba6793ed48ad252af", kill_on_drop: false }`
[INFO] [stdout] 1ab470683e6d10cde8ea8587eca820df5da24469a830789ba6793ed48ad252af