libxml 0.3.9

A Rust wrapper for libxml2 - the XML C parser and toolkit developed for the Gnome project
Documentation
Build #3173898 2026-04-23 13:51:18

# rustc version rustc 1.97.0-nightly (913e4bea8 2026-04-22)

# docs.rs version docsrs 0.0.0 (9a14b3d3fb884a3034195abfb368439d6d1cca28 2026-04-21 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/libxml-0.3.9/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/libxml-0.3.9/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" "-m" "6442450944" "--cpuset-cpus" "12-15" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "sleep" "infinity", 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] af2295bace4077366a8067741e6e17ae94f1ce7ffc7e6e7607d3b2876b37c49b [INFO] running `Command { std: "docker" "start" "af2295bace4077366a8067741e6e17ae94f1ce7ffc7e6e7607d3b2876b37c49b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-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" "--user" "1001:1001" "af2295bace4077366a8067741e6e17ae94f1ce7ffc7e6e7607d3b2876b37c49b" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260422-1.97.0-nightly-913e4bea8\", \"--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" "-j4" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: schema_example, tree_example, xpath_example [INFO] [stderr] If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true` [INFO] [stderr] to the [[example]] target configuration of at least one example. [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting libxml v0.3.9 (/opt/rustwide/workdir) [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/libxml-6f3755705f5001a7/out/bindings.rs:8721:9 [INFO] [stderr] | [INFO] [stderr] 8721 | ... = " Various defines for the various Link prope...butes by using the base mechanism if found."] [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] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/libxml-6f3755705f5001a7/out/bindings.rs:8721:286 [INFO] [stderr] | [INFO] [stderr] 8721 | ... layer will expand role=\"foo:myrole\"\n to \"http://foo.com/:myrole\".\n NOTE: the link detection layer will expand URI-... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 8721 | #[doc = " Various defines for the various Link properties.\n\n NOTE: the link detection layer will try to resolve QName expansion\n of namespaces. If \"foo\" is the prefix for \"http://foo.com/\"\n then the link detection layer will expand role=\"foo:myrole\"\n to \"<http://foo.com/:myrole>\".\n NOTE: the link detection layer will expand URI-References found on\n href attributes by using the base mechanism if found."] [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/libxml-6f3755705f5001a7/out/bindings.rs:12516:298 [INFO] [stderr] | [INFO] [stderr] 12516 | ...y if the former is set.\n See: http://mail.gnome.org/archives/xml/2007-April/thread.html#00127"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 12516 | #[doc = " xmlURI:\n\n A parsed URI reference. This is a struct containing the various fields\n as described in RFC 2396 but separated for further processing.\n\n Note: query is a deprecated field which is incorrectly unescaped.\n query_raw takes precedence over query if the former is set.\n See: <http://mail.gnome.org/archives/xml/2007-April/thread.html#00127>"] [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `math` [INFO] [stderr] --> src/parser.rs:351:126 [INFO] [stderr] | [INFO] [stderr] 351 | /// IMPORTANT: This function is currently implemented in a HACKY way, to ignore invalid errors for HTML5 elements (such as <math>) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::invalid_html_tags)]` on by default [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/xpath.rs:286:26 [INFO] [stderr] | [INFO] [stderr] 286 | /// Calls the binding to http://xmlsoft.org/html/libxml-xpath.html#xmlXPathCompile and return true if [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 286 | /// Calls the binding to <http://xmlsoft.org/html/libxml-xpath.html#xmlXPathCompile> and return true if [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: `libxml` (lib doc) generated 5 warnings (run `cargo fix --lib -p libxml` to apply 3 suggestions) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.31s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/libxml/index.html [INFO] running `Command { std: "docker" "stop" "-t" "1" "af2295bace4077366a8067741e6e17ae94f1ce7ffc7e6e7607d3b2876b37c49b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af2295bace4077366a8067741e6e17ae94f1ce7ffc7e6e7607d3b2876b37c49b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af2295bace4077366a8067741e6e17ae94f1ce7ffc7e6e7607d3b2876b37c49b", kill_on_drop: false }` [INFO] [stdout] af2295bace4077366a8067741e6e17ae94f1ce7ffc7e6e7607d3b2876b37c49b