nar_dev_utils 0.44.0

用于NARS相关项目开发的实用工具包
Documentation

Build #3569767 2026-06-13 20:25:59

# rustc version rustc 1.98.0-nightly (654079540 2026-06-12)

# docs.rs version docsrs 0.0.0 (315c10ebfec2882140bb9b1758b9798e401693bc 2026-06-13 )

# 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" "9b1b1722208ff836c44002c038a7634aab141d991c34c976c229708a0c593cce" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260612-1.98.0-nightly-654079540\", \"--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 nar_dev_utils v0.44.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `macros.rs` [INFO] [stderr] --> src/lib.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | //! * 📌宏定义专门放在[`macros.rs`]中 [INFO] [stderr] | ^^^^^^^^^ no item named `macros.rs` 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 `crate::vec_tools` [INFO] [stderr] --> src/prelude.rs:19:21 [INFO] [stderr] | [INFO] [stderr] 19 | /// * 🎯「前后缀匹配」在没使用[`crate::vec_tools`]时的默认算法 [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no item named `vec_tools` in module `nar_dev_utils` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `local_inner_macros` [INFO] [stderr] --> src/macros.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | /// * 📝可选的[`local_inner_macros`]:导出在当前模块中定义的「内部宏」(inner macro)。 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ no item named `local_inner_macros` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `mods` [INFO] [stderr] --> src/macros.rs:1022:41 [INFO] [stderr] | [INFO] [stderr] 1022 | /// * 📌若需要定制化`pub mod`与`pub use`,可使用[`mods`] [INFO] [stderr] | ^^^^ no item named `mods` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `mods` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `mods` [INFO] [stderr] --> src/macros.rs:1173:41 [INFO] [stderr] | [INFO] [stderr] 1173 | /// * 📌若需要定制化`pub mod`与`pub use`,可使用[`mods`] [INFO] [stderr] | ^^^^ no item named `mods` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `mods` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `mods` [INFO] [stderr] --> src/macros.rs:1190:41 [INFO] [stderr] | [INFO] [stderr] 1190 | /// * 📌若需要定制化`pub mod`与`pub use`,可使用[`mods`] [INFO] [stderr] | ^^^^ no item named `mods` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `mods` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `pub_mod_and_reexport` [INFO] [stderr] --> src/macros.rs:1192:15 [INFO] [stderr] | [INFO] [stderr] 1192 | /// * 📄参考:[`pub_mod_and_reexport`] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no item named `pub_mod_and_reexport` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `HashMap` [INFO] [stderr] --> src/macros.rs:1605:18 [INFO] [stderr] | [INFO] [stderr] 1605 | /// * 📄初始化集合、[`HashMap`]等数据类型 [INFO] [stderr] | ^^^^^^^ no item named `HashMap` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `list` [INFO] [stderr] --> src/macros.rs:1881:21 [INFO] [stderr] | [INFO] [stderr] 1881 | /// * 具体应用可见列表推导式宏[`list`] [INFO] [stderr] | ^^^^ no item named `list` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `list` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: could not parse code block as Rust code [INFO] [stderr] --> src/macros.rs:2769:5 [INFO] [stderr] | [INFO] [stderr] 2769 | /// ```ignore [INFO] [stderr] | _____^ [INFO] [stderr] 2770 | | /// impl_once! { [INFO] [stderr] 2771 | | /// struct 【临时结构体名】 (in 【生命周期参数】) { [INFO] [stderr] 2772 | | /// 【字段名】 : 【字段类型】 = 【字段值】, [INFO] [stderr] ... | [INFO] [stderr] 2776 | | /// } [INFO] [stderr] 2777 | | /// ``` [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/macros.rs:2769:5 [INFO] [stderr] | [INFO] [stderr] 2769 | /// ```ignore [INFO] [stderr] | ^^^ [INFO] [stderr] = note: error from rustc: unknown start of token: \u{3010} [INFO] [stderr] = note: error from rustc: unknown start of token: \u{3011} [INFO] [stderr] = note: error from rustc: unknown start of token: \u{ff08} [INFO] [stderr] = note: error from rustc: unknown start of token: \u{3010} [INFO] [stderr] = note: error from rustc: unknown start of token: \u{3011} [INFO] [stderr] = note: error from rustc: unknown start of token: \u{ff09} [INFO] [stderr] = note: error from rustc: unknown start of token: \u{3010} [INFO] [stderr] = note: error from rustc: unknown start of token: \u{3011} [INFO] [stderr] = note: error from rustc: unknown start of token: \u{3010} [INFO] [stderr] = note: error from rustc: unknown start of token: \u{3011} [INFO] [stderr] = note: error from rustc: unknown start of token: \u{3010} [INFO] [stderr] = note: error from rustc: unknown start of token: \u{3011} [INFO] [stderr] = note: error from rustc: unknown start of token: \u{3010} [INFO] [stderr] = note: error from rustc: unknown start of token: \u{3011} [INFO] [stderr] = note: error from rustc: unknown start of token: \u{3010} [INFO] [stderr] = note: error from rustc: unknown start of token: \u{3011} [INFO] [stderr] = note: `#[warn(rustdoc::invalid_rust_codeblocks)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `nar_dev_utils` (lib doc) generated 10 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/nar_dev_utils/index.html [INFO] running `Command { std: "docker" "inspect" "9b1b1722208ff836c44002c038a7634aab141d991c34c976c229708a0c593cce", kill_on_drop: false }`