compiler_base_error 0.1.6

compiler_base_error
Documentation

Build #3515562 2026-06-08 11:27:59

# rustc version rustc 1.98.0-nightly (f20a92ec0 2026-06-07)

# docs.rs version docsrs 0.0.0 (39849b9c22c419f6b690c8d2213455bc7426a6b8 2026-06-03 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "e85535c05653268050790a9e6653cc82a8926f133c655431c384a0d163ee73c9" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260607-1.98.0-nightly-f20a92ec0\", \"--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: 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: unnecessary parentheses around closure body [INFO] [stderr] --> src/diagnostic/diagnostic_handler.rs:335:38 [INFO] [stderr] | [INFO] [stderr] 335 | .with_context(|| ("Emit Error Diagnostics Failed."))?; [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] 335 - .with_context(|| ("Emit Error Diagnostics Failed."))?; [INFO] [stderr] 335 + .with_context(|| "Emit Error Diagnostics Failed.")?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/diagnostic/diagnostic_handler.rs:362:38 [INFO] [stderr] | [INFO] [stderr] 362 | .with_context(|| ("Emit Warn Diagnostics Failed."))?; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 362 - .with_context(|| ("Emit Warn Diagnostics Failed."))?; [INFO] [stderr] 362 + .with_context(|| "Emit Warn Diagnostics Failed.")?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/diagnostic/diagnostic_handler.rs:391:38 [INFO] [stderr] | [INFO] [stderr] 391 | .with_context(|| ("Emit Stashed Diagnostics Failed."))?; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 391 - .with_context(|| ("Emit Stashed Diagnostics Failed."))?; [INFO] [stderr] 391 + .with_context(|| "Emit Stashed Diagnostics Failed.")?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/diagnostic/diagnostic_handler.rs:469:38 [INFO] [stderr] | [INFO] [stderr] 469 | .with_context(|| ("Abort If Errors Failed."))?; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 469 - .with_context(|| ("Abort If Errors Failed."))?; [INFO] [stderr] 469 + .with_context(|| "Abort If Errors Failed.")?; [INFO] [stderr] | [INFO] [stderr] [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 12 warnings (run `cargo fix --lib -p compiler_base_error` to apply 5 suggestions) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.67s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/compiler_base_error/index.html [INFO] running `Command { std: "docker" "inspect" "e85535c05653268050790a9e6653cc82a8926f133c655431c384a0d163ee73c9", kill_on_drop: false }`