nom-xml 0.3.0

A Rust Crate for parsing XML.
Documentation

Build #3568699 2026-06-13 17:53:27

# 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" "78d1f9a4d5d31bc40d74cd1bff57bdd5f774677cfb42d09ebd69fad78f81273c" "/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: unused import: `crate::attribute::Attribute` [INFO] [stderr] --> src/io.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::attribute::Attribute; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:913:28 [INFO] [stderr] | [INFO] [stderr] 913 | pub fn iter_with_depth(&self, max_level: usize) -> DocumentIterator { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 913 | pub fn iter_with_depth(&self, max_level: usize) -> DocumentIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:928:24 [INFO] [stderr] | [INFO] [stderr] 928 | fn iter_with_depth(&self, max_level: usize) -> DocumentIterator; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 928 | fn iter_with_depth(&self, max_level: usize) -> DocumentIterator<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:932:24 [INFO] [stderr] | [INFO] [stderr] 932 | fn iter_with_depth(&self, max_level: usize) -> DocumentIterator { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 932 | fn iter_with_depth(&self, max_level: usize) -> DocumentIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:938:24 [INFO] [stderr] | [INFO] [stderr] 938 | fn iter_with_depth(&self, max_level: usize) -> DocumentIterator { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 938 | fn iter_with_depth(&self, max_level: usize) -> DocumentIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:1041:9 [INFO] [stderr] | [INFO] [stderr] 1041 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 1042 | entity_references: &Rc<RefCell<HashMap<(Name, EntitySource), EntityValue>>>, [INFO] [stderr] 1043 | ) -> Result<Pattern, Box<dyn std::error::Error>> { [INFO] [stderr] | ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1043 | ) -> Result<Pattern<'_>, Box<dyn std::error::Error>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/transcode.rs:12:15 [INFO] [stderr] | [INFO] [stderr] 12 | fn decode(&self) -> Result<Cow<str>, Box<dyn std::error::Error + '_>> { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 12 | fn decode(&self) -> Result<Cow<'_, str>, Box<dyn std::error::Error + '_>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/transcode.rs:40:19 [INFO] [stderr] | [INFO] [stderr] 40 | fn decode_hex(&self, code: &str) -> IResult<&str, Cow<str>, Error<&str>> { [INFO] [stderr] | ^^^^^ ^^^^ ^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 40 | fn decode_hex(&self, code: &str) -> IResult<&str, Cow<'_, str>, Error<&str>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/transcode.rs:56:21 [INFO] [stderr] | [INFO] [stderr] 56 | fn decode_digit(&self, code: &str) -> IResult<&str, Cow<str>, Error<&str>> { [INFO] [stderr] | ^^^^^ ^^^^ ^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 56 | fn decode_digit(&self, code: &str) -> IResult<&str, Cow<'_, str>, Error<&str>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `nom-xml` (lib) generated 9 warnings (run `cargo fix --lib -p nom-xml` to apply 9 suggestions) [INFO] [stderr] Scraping nom-xml v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting nom-xml v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.51s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/nom_xml/index.html [INFO] running `Command { std: "docker" "inspect" "78d1f9a4d5d31bc40d74cd1bff57bdd5f774677cfb42d09ebd69fad78f81273c", kill_on_drop: false }`