nar_dev_utils 0.44.0

用于NARS相关项目开发的实用工具包
Documentation
Build #1717912 2025-02-07 08:58:55
# rustc version
rustc 1.86.0-nightly (942db6782 2025-02-06)# docs.rs version
docsrs 0.6.0 (29a0e81b 2025-01-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/nar_dev_utils-0.44.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/nar_dev_utils-0.44.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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250206-1.86.0-nightly-942db6782\", \"--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] e18ac6abff501623343f6dd42c0c1094c90f1f89260ee7fcf8eb4b1bcc0603b5
[INFO] running `Command { std: "docker" "start" "-a" "e18ac6abff501623343f6dd42c0c1094c90f1f89260ee7fcf8eb4b1bcc0603b5", 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 `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]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[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 9 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/nar_dev_utils/index.html
[INFO] running `Command { std: "docker" "inspect" "e18ac6abff501623343f6dd42c0c1094c90f1f89260ee7fcf8eb4b1bcc0603b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e18ac6abff501623343f6dd42c0c1094c90f1f89260ee7fcf8eb4b1bcc0603b5", kill_on_drop: false }`
[INFO] [stdout] e18ac6abff501623343f6dd42c0c1094c90f1f89260ee7fcf8eb4b1bcc0603b5