Build #487956 2022-01-07 03:35:18
# rustc version
rustc 1.59.0-nightly (cfa4ac66c 2022-01-06)# docs.rs version
docsrs 0.6.0 (c86fbce 2021-12-30)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/dhat-0.3.0-pre.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/dhat-0.3.0-pre.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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/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\", \"-20220106-1.59.0-nightly-cfa4ac66c\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\"]" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] 0e2fde7c3c84efa399a4e7e0ab17cd3731996822ffea166c7805b904ca107db9
[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" "0e2fde7c3c84efa399a4e7e0ab17cd3731996822ffea166c7805b904ca107db9", kill_on_drop: false }`
[INFO] [stderr] Documenting dhat v0.3.0-pre.2 (/opt/rustwide/workdir)
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:940:1
[INFO] [stderr] |
[INFO] [stderr] 940 | / /// A type whose lifetime dictates the start and end of profiling.
[INFO] [stderr] 941 | | ///
[INFO] [stderr] 942 | | /// Profiling starts when the first value of this type is created. Profiling
[INFO] [stderr] 943 | | /// stops when (a) this value is dropped or (b) a `dhat` assertion fails,
[INFO] [stderr] 944 | | /// whichever comes first. When that happens, profiling data may be written to
[INFO] [stderr] 945 | | /// file, depending on how the `Profiler` has been configured. Only one
[INFO] [stderr] 946 | | /// `Profiler` can be running at any point in time.
[INFO] [stderr] | |___________________________________________________^
[INFO] [stderr] |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr] --> src/lib.rs:2:9
[INFO] [stderr] |
[INFO] [stderr] 2 | #![deny(rustdoc::missing_doc_code_examples)]
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:954:1
[INFO] [stderr] |
[INFO] [stderr] 954 | / impl Profiler {
[INFO] [stderr] 955 | | /// Initiates allocation profiling.
[INFO] [stderr] 956 | | ///
[INFO] [stderr] 957 | | /// Typically the first thing in `main`. Its result should be assigned to a
[INFO] [stderr] ... |
[INFO] [stderr] 998 | | }
[INFO] [stderr] 999 | | }
[INFO] [stderr] | |_^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:989:5
[INFO] [stderr] |
[INFO] [stderr] 989 | /// Creates a new [`ProfilerBuilder`], which defaults to heap profiling.
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1001:1
[INFO] [stderr] |
[INFO] [stderr] 1001 | / /// A builder for [`Profiler`], for cases beyond the basic ones provided by
[INFO] [stderr] 1002 | | /// [`Profiler`].
[INFO] [stderr] 1003 | | ///
[INFO] [stderr] 1004 | | /// Created with [`Profiler::builder`].
[INFO] [stderr] | |_______________________________________^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1014:1
[INFO] [stderr] |
[INFO] [stderr] 1014 | / impl ProfilerBuilder {
[INFO] [stderr] 1015 | | /// Requests ad hoc profiling.
[INFO] [stderr] 1016 | | ///
[INFO] [stderr] 1017 | | /// # Examples
[INFO] [stderr] ... |
[INFO] [stderr] 1134 | | }
[INFO] [stderr] 1135 | | }
[INFO] [stderr] | |_^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1097:5
[INFO] [stderr] |
[INFO] [stderr] 1097 | / /// Creates a [`Profiler`] from the builder and initiates profiling.
[INFO] [stderr] 1098 | | ///
[INFO] [stderr] 1099 | | /// # Panics
[INFO] [stderr] 1100 | | ///
[INFO] [stderr] 1101 | | /// Panics if another [`Profiler`] is running.
[INFO] [stderr] | |__________________________________________________^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1195:1
[INFO] [stderr] |
[INFO] [stderr] 1195 | / /// A global allocator that tracks allocations and deallocations on behalf of
[INFO] [stderr] 1196 | | /// the [`Profiler`] type.
[INFO] [stderr] 1197 | | ///
[INFO] [stderr] 1198 | | /// It must be set as the global allocator (via `#[global_allocator]`) when
[INFO] [stderr] 1199 | | /// doing heap profiling.
[INFO] [stderr] | |_________________________^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1302:1
[INFO] [stderr] |
[INFO] [stderr] 1302 | / /// Registers an event during ad hoc profiling.
[INFO] [stderr] 1303 | | ///
[INFO] [stderr] 1304 | | /// The meaning of the weight argument is determined by the user. A call to
[INFO] [stderr] 1305 | | /// this function has no effect if a [`Profiler`] is not running or not doing ad
[INFO] [stderr] 1306 | | /// hoc profiling.
[INFO] [stderr] | |__________________^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1321:1
[INFO] [stderr] |
[INFO] [stderr] 1321 | / impl Profiler {
[INFO] [stderr] 1322 | | fn drop_inner(&mut self, memory_output: Option<&mut String>) {
[INFO] [stderr] 1323 | | let ignore_allocs = IgnoreAllocs::new();
[INFO] [stderr] 1324 | | std::assert!(!ignore_allocs.was_already_ignoring_allocs);
[INFO] [stderr] ... |
[INFO] [stderr] 1344 | | }
[INFO] [stderr] 1345 | | }
[INFO] [stderr] | |_^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1582:1
[INFO] [stderr] |
[INFO] [stderr] 1582 | /// Stats from heap profiling.
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1607:1
[INFO] [stderr] |
[INFO] [stderr] 1607 | /// Stats from ad hoc profiling.
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1618:1
[INFO] [stderr] |
[INFO] [stderr] 1618 | / impl HeapStats {
[INFO] [stderr] 1619 | | /// Gets the current heap stats.
[INFO] [stderr] 1620 | | ///
[INFO] [stderr] 1621 | | /// # Panics
[INFO] [stderr] ... |
[INFO] [stderr] 1639 | | }
[INFO] [stderr] 1640 | | }
[INFO] [stderr] | |_^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1619:5
[INFO] [stderr] |
[INFO] [stderr] 1619 | / /// Gets the current heap stats.
[INFO] [stderr] 1620 | | ///
[INFO] [stderr] 1621 | | /// # Panics
[INFO] [stderr] 1622 | | ///
[INFO] [stderr] 1623 | | /// Panics if called when a [`Profiler`] is not running or not doing heap
[INFO] [stderr] 1624 | | /// profiling.
[INFO] [stderr] | |__________________^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1642:1
[INFO] [stderr] |
[INFO] [stderr] 1642 | / impl AdHocStats {
[INFO] [stderr] 1643 | | /// Gets the current ad hoc stats.
[INFO] [stderr] 1644 | | ///
[INFO] [stderr] 1645 | | /// # Panics
[INFO] [stderr] ... |
[INFO] [stderr] 1663 | | }
[INFO] [stderr] 1664 | | }
[INFO] [stderr] | |_^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1643:5
[INFO] [stderr] |
[INFO] [stderr] 1643 | / /// Gets the current ad hoc stats.
[INFO] [stderr] 1644 | | ///
[INFO] [stderr] 1645 | | /// # Panics
[INFO] [stderr] 1646 | | ///
[INFO] [stderr] 1647 | | /// Panics if called when a [`Profiler`] is not running or not doing ad hoc
[INFO] [stderr] 1648 | | /// profiling.
[INFO] [stderr] | |__________________^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1704:1
[INFO] [stderr] |
[INFO] [stderr] 1704 | / /// Asserts that an expression is true.
[INFO] [stderr] 1705 | | ///
[INFO] [stderr] 1706 | | /// Like [`std::assert!`], additional format arguments are supported. On
[INFO] [stderr] 1707 | | /// failure, this macro will save the profile data and panic.
[INFO] [stderr] ... |
[INFO] [stderr] 1714 | | /// - If called after a previous `dhat` assertion has failed with the current
[INFO] [stderr] 1715 | | /// [`Profiler`]. This is possible if [`std::panic::catch_unwind`] is used.
[INFO] [stderr] | |_____________________________________________________________________________^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1730:1
[INFO] [stderr] |
[INFO] [stderr] 1730 | / /// Asserts that two expressions are equal.
[INFO] [stderr] 1731 | | ///
[INFO] [stderr] 1732 | | /// Like [`std::assert_eq!`], additional format arguments are supported. On
[INFO] [stderr] 1733 | | /// failure, this macro will save the profile data and panic.
[INFO] [stderr] ... |
[INFO] [stderr] 1740 | | /// - If called after a previous `dhat` assertion has failed with the current
[INFO] [stderr] 1741 | | /// [`Profiler`]. This is possible if [`std::panic::catch_unwind`] is used.
[INFO] [stderr] | |_____________________________________________________________________________^
[INFO] [stderr]
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr] --> src/lib.rs:1762:1
[INFO] [stderr] |
[INFO] [stderr] 1762 | / /// Asserts that two expressions are not equal.
[INFO] [stderr] 1763 | | ///
[INFO] [stderr] 1764 | | /// Like [`std::assert_ne!`], additional format arguments are supported. On
[INFO] [stderr] 1765 | | /// failure, this macro will save the profile data and panic.
[INFO] [stderr] ... |
[INFO] [stderr] 1772 | | /// - If called after a previous `dhat` assertion has failed with the current
[INFO] [stderr] 1773 | | /// [`Profiler`]. This is possible if [`std::panic::catch_unwind`] is used.
[INFO] [stderr] | |_____________________________________________________________________________^
[INFO] [stderr]
[INFO] [stderr] warning: `dhat` (lib doc) generated 18 warnings
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.10s
[INFO] running `Command { std: "docker" "inspect" "0e2fde7c3c84efa399a4e7e0ab17cd3731996822ffea166c7805b904ca107db9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e2fde7c3c84efa399a4e7e0ab17cd3731996822ffea166c7805b904ca107db9", kill_on_drop: false }`
[INFO] [stdout] 0e2fde7c3c84efa399a4e7e0ab17cd3731996822ffea166c7805b904ca107db9