compiler_base_error 0.1.6

compiler_base_error
Documentation
Build #2099761 2025-05-11 05:28:35
# rustc version
rustc 1.89.0-nightly (7b84c9e9c 2025-05-10)# docs.rs version
docsrs 0.6.0 (f7595057 2025-05-09)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/compiler_base_error-0.1.6/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/compiler_base_error-0.1.6/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250510-1.89.0-nightly-7b84c9e9c\", \"--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] 114d7eb66095b888354bc40fbc713101fe4d42408deb1c22b09baa21d7597c95
[INFO] running `Command { std: "docker" "start" "-a" "114d7eb66095b888354bc40fbc713101fe4d42408deb1c22b09baa21d7597c95", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting compiler_base_error v0.1.6 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `index`
[INFO] [stderr]    --> src/diagnostic/diagnostic_handler.rs:287:20
[INFO] [stderr]     |
[INFO] [stderr] 287 |     /// Emit the [`index`]th diagnostics into strings and return.
[INFO] [stderr]     |                    ^^^^^ no item named `index` 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 `TyeWithUnit`
[INFO] [stderr]  --> src/unit_type.rs:3:7
[INFO] [stderr]   |
[INFO] [stderr] 3 | /// [`TyeWithUnit`] is a trait for types that can be converted into a string with a unit.
[INFO] [stderr]   |       ^^^^^^^^^^^ no item named `TyeWithUnit` in scope
[INFO] [stderr]   |
[INFO] [stderr]   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `into_string_with_unit`
[INFO] [stderr]   --> src/unit_type.rs:12:11
[INFO] [stderr]    |
[INFO] [stderr] 12 |     /// [`into_string_with_unit`] converts [`UnitUsize`] into a string with a unit.
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^ no item named `into_string_with_unit` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: could not parse code block as Rust code
[INFO] [stderr]   --> src/diagnostic/components.rs:76:5
[INFO] [stderr]    |
[INFO] [stderr] 76 |   /// ```ignore
[INFO] [stderr]    |  _____^
[INFO] [stderr] 77 | | /// int test = 0;
[INFO] [stderr] 78 | | ///     ^^^^ This is an underline under variable `test`
[INFO] [stderr] 79 | | /// ```
[INFO] [stderr]    | |_______^
[INFO] [stderr]    |
[INFO] [stderr] help: `ignore` code blocks require valid Rust code for syntax highlighting; mark blocks that do not contain Rust code as text: ```text
[INFO] [stderr]   --> src/diagnostic/components.rs:76:5
[INFO] [stderr]    |
[INFO] [stderr] 76 | /// ```ignore
[INFO] [stderr]    |     ^^^
[INFO] [stderr]    = note: error from rustc: unknown start of token: `
[INFO] [stderr]    = note: error from rustc: unknown start of token: `
[INFO] [stderr]    = note: `#[warn(rustdoc::invalid_rust_codeblocks)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: could not parse code block as Rust code
[INFO] [stderr]   --> src/diagnostic/diagnostic_handler.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 33 |   /// ``` ignore
[INFO] [stderr]    |  _____^
[INFO] [stderr] 34 | | /// invalid-syntax = Invalid syntax
[INFO] [stderr] 35 | | ///       .expected = Expected one of `{$expected_items}`
[INFO] [stderr] 36 | | /// ```
[INFO] [stderr]    | |_______^
[INFO] [stderr]    |
[INFO] [stderr] help: `ignore` code blocks require valid Rust code for syntax highlighting; mark blocks that do not contain Rust code as text: ```text
[INFO] [stderr]   --> src/diagnostic/diagnostic_handler.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 33 | /// ``` ignore
[INFO] [stderr]    |     ^^^
[INFO] [stderr]    = note: error from rustc: unknown start of token: `
[INFO] [stderr]    = note: error from rustc: unknown start of token: `
[INFO] [stderr] 
[INFO] [stderr] warning: could not parse code block as Rust code
[INFO] [stderr]   --> src/diagnostic/diagnostic_handler.rs:46:5
[INFO] [stderr]    |
[INFO] [stderr] 46 |   /// ``` ignore
[INFO] [stderr]    |  _____^
[INFO] [stderr] 47 | | ///    <'index'> = <'message_string' with optional 'MessageArgs'>
[INFO] [stderr] 48 | | ///             <optional 'sub_index' start with point> = <'message_string' with optional 'MessageArgs'>*
[INFO] [stderr] 49 | | /// ```
[INFO] [stderr]    | |_______^
[INFO] [stderr]    |
[INFO] [stderr] help: `ignore` code blocks require valid Rust code for syntax highlighting; mark blocks that do not contain Rust code as text: ```text
[INFO] [stderr]   --> src/diagnostic/diagnostic_handler.rs:46:5
[INFO] [stderr]    |
[INFO] [stderr] 46 | /// ``` ignore
[INFO] [stderr]    |     ^^^
[INFO] [stderr]    = note: error from rustc: character literal may only contain one codepoint
[INFO] [stderr]    = note: error from rustc: character literal may only contain one codepoint
[INFO] [stderr]    = note: error from rustc: character literal may only contain one codepoint
[INFO] [stderr]    = note: error from rustc: character literal may only contain one codepoint
[INFO] [stderr]    = note: error from rustc: character literal may only contain one codepoint
[INFO] [stderr]    = note: error from rustc: character literal may only contain one codepoint
[INFO] [stderr] 
[INFO] [stderr] warning: could not parse code block as Rust code
[INFO] [stderr]    --> src/diagnostic/diagnostic_handler.rs:479:9
[INFO] [stderr]     |
[INFO] [stderr] 479 |       /// ```ignore
[INFO] [stderr]     |  _________^
[INFO] [stderr] 480 | |     /// invalid-syntax = Invalid syntax
[INFO] [stderr] 481 | |     ///       .expected = Expected one of `{$expected_items}`
[INFO] [stderr] 482 | |     /// ```
[INFO] [stderr]     | |___________^
[INFO] [stderr]     |
[INFO] [stderr] help: `ignore` code blocks require valid Rust code for syntax highlighting; mark blocks that do not contain Rust code as text: ```text
[INFO] [stderr]    --> src/diagnostic/diagnostic_handler.rs:479:9
[INFO] [stderr]     |
[INFO] [stderr] 479 |     /// ```ignore
[INFO] [stderr]     |         ^^^
[INFO] [stderr]     = note: error from rustc: unknown start of token: `
[INFO] [stderr]     = note: error from rustc: unknown start of token: `
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/diagnostic/diagnostic_message.rs:5:52
[INFO] [stderr]   |
[INFO] [stderr] 5 | //! For more information about 'fluent0.16.0', see https://projectfluent.org/.
[INFO] [stderr]   |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]   = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]   |
[INFO] [stderr] 5 | //! For more information about 'fluent0.16.0', see <https://projectfluent.org/.>
[INFO] [stderr]   |                                                    +                           +
[INFO] [stderr] 
[INFO] [stderr] warning: `compiler_base_error` (lib doc) generated 8 warnings (run `cargo fix --lib -p compiler_base_error` to apply 1 suggestion)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.59s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/compiler_base_error/index.html
[INFO] running `Command { std: "docker" "inspect" "114d7eb66095b888354bc40fbc713101fe4d42408deb1c22b09baa21d7597c95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "114d7eb66095b888354bc40fbc713101fe4d42408deb1c22b09baa21d7597c95", kill_on_drop: false }`
[INFO] [stdout] 114d7eb66095b888354bc40fbc713101fe4d42408deb1c22b09baa21d7597c95