Build #1790378 2025-02-21 21:50:52
# rustc version
rustc 1.87.0-nightly (f04bbc60f 2025-02-20)# docs.rs version
docsrs 0.6.0 (35977596 2025-02-09)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/smartstring-1.0.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/smartstring-1.0.1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "arbitrary proptest serde" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250220-1.87.0-nightly-f04bbc60f\", \"--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] 816f5f57fec2f0ee704ceaee81b3bcced90b8f94e4f8580d00ad3514a71501c8
[INFO] running `Command { std: "docker" "start" "-a" "816f5f57fec2f0ee704ceaee81b3bcced90b8f94e4f8580d00ad3514a71501c8", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Documenting smartstring v1.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition name: `needs_allocator_feature`
[INFO] [stderr] --> src/lib.rs:104:13
[INFO] [stderr] |
[INFO] [stderr] 104 | #![cfg_attr(needs_allocator_feature, feature(allocator_api))]
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stderr] = help: consider using a Cargo feature instead
[INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr] [lints.rust]
[INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(needs_allocator_feature)'] }
[INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(needs_allocator_feature)");` to the top of the `build.rs`
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition name: `has_allocator`
[INFO] [stderr] --> src/boxed.rs:175:19
[INFO] [stderr] |
[INFO] [stderr] 175 | #[cfg(has_allocator)]
[INFO] [stderr] | ^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = help: consider using a Cargo feature instead
[INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr] [lints.rust]
[INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_allocator)'] }
[INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs`
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition name: `has_allocator`
[INFO] [stderr] --> src/boxed.rs:199:23
[INFO] [stderr] |
[INFO] [stderr] 199 | #[cfg(not(has_allocator))]
[INFO] [stderr] | ^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = help: consider using a Cargo feature instead
[INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr] [lints.rust]
[INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_allocator)'] }
[INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs`
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition name: `has_allocator`
[INFO] [stderr] --> src/boxed.rs:208:15
[INFO] [stderr] |
[INFO] [stderr] 208 | #[cfg(has_allocator)]
[INFO] [stderr] | ^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = help: consider using a Cargo feature instead
[INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr] [lints.rust]
[INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_allocator)'] }
[INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs`
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition name: `has_allocator`
[INFO] [stderr] --> src/boxed.rs:226:19
[INFO] [stderr] |
[INFO] [stderr] 226 | #[cfg(not(has_allocator))]
[INFO] [stderr] | ^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = help: consider using a Cargo feature instead
[INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr] [lints.rust]
[INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_allocator)'] }
[INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs`
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr] --> src/lib.rs:168:40
[INFO] [stderr] |
[INFO] [stderr] 168 | /// Just pretend it's a [`String`][String]!
[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] 168 - /// Just pretend it's a [`String`][String]!
[INFO] [stderr] 168 + /// Just pretend it's a [`String`]!
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] warning: `smartstring` (lib doc) generated 6 warnings
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.60s
[INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/smartstring/index.html
[INFO] running `Command { std: "docker" "inspect" "816f5f57fec2f0ee704ceaee81b3bcced90b8f94e4f8580d00ad3514a71501c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "816f5f57fec2f0ee704ceaee81b3bcced90b8f94e4f8580d00ad3514a71501c8", kill_on_drop: false }`
[INFO] [stdout] 816f5f57fec2f0ee704ceaee81b3bcced90b8f94e4f8580d00ad3514a71501c8