syntax-error 0.0.4

Syntax error report
Documentation
Build #1657389 2025-01-22 13:55:35
# rustc version
rustc 1.86.0-nightly (ed43cbcb8 2025-01-21)# docs.rs version
docsrs 0.6.0 (13d4ccea 2025-01-13)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/syntax-error-0.0.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/syntax-error-0.0.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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250121-1.86.0-nightly-ed43cbcb8\", \"--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] 0ccffeed39918e3dc50ca60e34230bd5e368670ed0d11dd448b94dc3544aec51
[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" "0ccffeed39918e3dc50ca60e34230bd5e368670ed0d11dd448b94dc3544aec51", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting syntax-error v0.0.4 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition value: `concolor`
[INFO] [stderr]   --> src/draw.rs:96:15
[INFO] [stderr]    |
[INFO] [stderr] 96 |     #[cfg(not(feature = "concolor"))]
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `default`
[INFO] [stderr]    = help: consider adding `concolor` as a feature in `Cargo.toml`
[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 value: `concolor`
[INFO] [stderr]    --> src/draw.rs:128:17
[INFO] [stderr]     |
[INFO] [stderr] 128 |         if cfg!(feature = "concolor") {
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `default`
[INFO] [stderr]     = help: consider adding `concolor` as a feature in `Cargo.toml`
[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 value: `concolor`
[INFO] [stderr]    --> src/draw.rs:141:17
[INFO] [stderr]     |
[INFO] [stderr] 141 |         if cfg!(feature = "concolor") {
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `default`
[INFO] [stderr]     = help: consider adding `concolor` as a feature in `Cargo.toml`
[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: unresolved link to `StdoutFmt`
[INFO] [stderr]    --> src/draw.rs:118:60
[INFO] [stderr]     |
[INFO] [stderr] 118 | /// `stderr`. If you are printing to `stdout`, `use` the [`StdoutFmt`] trait instead.
[INFO] [stderr]     |                                                            ^^^^^^^^^ no item named `StdoutFmt` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr]     = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Cache`
[INFO] [stderr]    --> src/source.rs:148:9
[INFO] [stderr]     |
[INFO] [stderr] 148 | /// A [`Cache`] that fetches [`Source`]s from the filesystem.
[INFO] [stderr]     |         ^^^^^ no item named `Cache` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Cache`
[INFO] [stderr]   --> src/source.rs:57:92
[INFO] [stderr]    |
[INFO] [stderr] 57 |     /// Note that this function can be expensive for long strings. Use an implementor of [`Cache`] where possible.
[INFO] [stderr]    |                                                                                            ^^^^^ no item named `Cache` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `syntax-error` (lib doc) generated 6 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/syntax_error/index.html
[INFO] running `Command { std: "docker" "inspect" "0ccffeed39918e3dc50ca60e34230bd5e368670ed0d11dd448b94dc3544aec51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ccffeed39918e3dc50ca60e34230bd5e368670ed0d11dd448b94dc3544aec51", kill_on_drop: false }`
[INFO] [stdout] 0ccffeed39918e3dc50ca60e34230bd5e368670ed0d11dd448b94dc3544aec51