[go: up one dir, main page]

colored 3.0.0

The most simple way to add colors in your terminal
Documentation
Build #2504077 2025-09-14 17:55:39
# rustc version
rustc 1.91.0-nightly (02c7b1a7a 2025-09-13)# docs.rs version
docsrs 0.6.0 (f42173de 2025-09-12)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/colored-3.0.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/colored-3.0.0/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250913-1.91.0-nightly-02c7b1a7a\", \"--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] bf878903fbe5e592daec856dd9ed8fde568784df220aba792b9adabecbb0d631
[INFO] running `Command { std: "docker" "start" "-a" "bf878903fbe5e592daec856dd9ed8fde568784df220aba792b9adabecbb0d631", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: as_error, control, custom_colors, dynamic_colors, most_simple, nested_colors
[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 colored v3.0.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stderr]    --> src/style.rs:245:34
[INFO] [stderr]     |
[INFO] [stderr] 245 |             .filter(|&(mask, _)| (0 != (u & mask)))
[INFO] [stderr]     |                                  ^               ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 245 -             .filter(|&(mask, _)| (0 != (u & mask)))
[INFO] [stderr] 245 +             .filter(|&(mask, _)| 0 != (u & mask))
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `colored` (lib doc) generated 1 warning (run `cargo fix --lib -p colored` to apply 1 suggestion)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/colored/index.html
[INFO] running `Command { std: "docker" "inspect" "bf878903fbe5e592daec856dd9ed8fde568784df220aba792b9adabecbb0d631", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf878903fbe5e592daec856dd9ed8fde568784df220aba792b9adabecbb0d631", kill_on_drop: false }`
[INFO] [stdout] bf878903fbe5e592daec856dd9ed8fde568784df220aba792b9adabecbb0d631