Build #1674176 2025-01-26T15:41:05.061874+00:00
# rustc version
rustc 1.86.0-nightly (f7cc13af8 2025-01-25)# docs.rs version
docsrs 0.6.0 (29a0e81b 2025-01-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/irox-units-0.4.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/irox-units-0.4.4/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250125-1.86.0-nightly-f7cc13af8\", \"--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] 7463bbe446602f4bb2601fd9da24c7350d040cbbe47f4a78fc50177f331a426c
[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" "7463bbe446602f4bb2601fd9da24c7350d040cbbe47f4a78fc50177f331a426c", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Documenting irox-units v0.4.4 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0658]: `#[doc(cfg)]` is experimental
[INFO] [stderr] --> src/prefixes.rs:63:5
[INFO] [stderr] |
[INFO] [stderr] 63 | / cfg_feature_alloc! {
[INFO] [stderr] 64 | | pub fn format<T: irox_tools::ToF64>(&self, t: &T) -> String {
[INFO] [stderr] 65 | | let val = t.to_f64() / self.scale_factor;
[INFO] [stderr] 66 | | format!("{val:.3}{}", self.symbol)
[INFO] [stderr] ... |
[INFO] [stderr] 73 | | }
[INFO] [stderr] | |_____^
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #43781 <https://github.com/rust-lang/rust/issues/43781> for more information
[INFO] [stderr] = help: add `#![feature(doc_cfg)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2025-01-25; consider upgrading it if it is out of date
[INFO] [stderr] = note: this error originates in the macro `cfg_feature_alloc` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0658]: `#[doc(cfg)]` is experimental
[INFO] [stderr] --> src/prefixes.rs:151:5
[INFO] [stderr] |
[INFO] [stderr] 151 | / cfg_feature_alloc! {
[INFO] [stderr] 152 | | pub fn best_prefix_for<T: irox_tools::ToF64>(&self, t: &T) -> Option<SIPrefix> {
[INFO] [stderr] 153 | | let v = t.to_f64().abs();
[INFO] [stderr] 154 | | let e = v.log10();
[INFO] [stderr] ... |
[INFO] [stderr] 176 | | }
[INFO] [stderr] | |_____^
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #43781 <https://github.com/rust-lang/rust/issues/43781> for more information
[INFO] [stderr] = help: add `#![feature(doc_cfg)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2025-01-25; consider upgrading it if it is out of date
[INFO] [stderr] = note: this error originates in the macro `cfg_feature_alloc` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0658]: `#[doc(cfg)]` is experimental
[INFO] [stderr] --> src/quantities.rs:127:5
[INFO] [stderr] |
[INFO] [stderr] 127 | / cfg_feature_alloc! {
[INFO] [stderr] 128 | | pub fn format<T: ToF64>(&self, v: &T) -> String {
[INFO] [stderr] 129 | | let value = v.to_f64();
[INFO] [stderr] 130 | | if let Some(prefix) = crate::prefixes::PrefixSet::Common.best_prefix_for(&value) {
[INFO] [stderr] ... |
[INFO] [stderr] 137 | | }
[INFO] [stderr] | |_____^
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #43781 <https://github.com/rust-lang/rust/issues/43781> for more information
[INFO] [stderr] = help: add `#![feature(doc_cfg)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2025-01-25; consider upgrading it if it is out of date
[INFO] [stderr] = note: this error originates in the macro `cfg_feature_alloc` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] error[E0658]: `#[doc(cfg)]` is experimental
[INFO] [stderr] --> src/quantities.rs:171:1
[INFO] [stderr] |
[INFO] [stderr] 171 | / cfg_feature_alloc! {
[INFO] [stderr] 172 | | use core::fmt::{Display, Formatter};
[INFO] [stderr] 173 | | impl<T: ToF64> Display for Quantity<T> {
[INFO] [stderr] 174 | | fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result {
[INFO] [stderr] ... |
[INFO] [stderr] 178 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] |
[INFO] [stderr] = note: see issue #43781 <https://github.com/rust-lang/rust/issues/43781> for more information
[INFO] [stderr] = help: add `#![feature(doc_cfg)]` to the crate attributes to enable
[INFO] [stderr] = note: this compiler was built on 2025-01-25; consider upgrading it if it is out of date
[INFO] [stderr] = note: this error originates in the macro `cfg_feature_alloc` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] For more information about this error, try `rustc --explain E0658`.
[INFO] [stderr] error: could not document `irox-units`
[INFO] running `Command { std: "docker" "inspect" "7463bbe446602f4bb2601fd9da24c7350d040cbbe47f4a78fc50177f331a426c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7463bbe446602f4bb2601fd9da24c7350d040cbbe47f4a78fc50177f331a426c", kill_on_drop: false }`
[INFO] [stdout] 7463bbe446602f4bb2601fd9da24c7350d040cbbe47f4a78fc50177f331a426c