cssparser 0.36.0

Rust implementation of CSS Syntax Level 3
Documentation
Build #2651069 2025-11-10 06:03:39

# rustc version rustc 1.93.0-nightly (6647be936 2025-11-09)

# docs.rs version docsrs 0.6.0 (fb84acf8 2025-11-04)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/cssparser-0.36.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/cssparser-0.36.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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--output-format\", \"json\", \"--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}/aarch64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "aarch64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stdout] eb7c71e69fd953dd4688d43f381df363122f5a647223154dafea5df687b33ee2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eb7c71e69fd953dd4688d43f381df363122f5a647223154dafea5df687b33ee2", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting cssparser v0.36.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unclosed HTML tag `T` [INFO] [stderr] --> src/macros.rs:132:38 [INFO] [stderr] | [INFO] [stderr] 132 | /// Create a new array of MaybeUninit<T> items, in an uninitialized state. [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::invalid_html_tags)]` on by default [INFO] [stderr] help: try marking as source code [INFO] [stderr] | [INFO] [stderr] 132 | /// Create a new array of `MaybeUninit<T>` items, in an uninitialized state. [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/from_bytes.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | /// https://encoding.spec.whatwg.org/#concept-encoding-get [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] 10 | /// <https://encoding.spec.whatwg.org/#concept-encoding-get> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/from_bytes.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | /// (https://drafts.csswg.org/css-syntax/#environment-encoding), if any. [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] 29 | /// (<https://drafts.csswg.org/css-syntax/#environment-encoding>), if any. [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `whitespace-token` [INFO] [stderr] --> src/parser.rs:829:17 [INFO] [stderr] | [INFO] [stderr] 829 | /// Parse a <whitespace-token> and return its value. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `ident-token` [INFO] [stderr] --> src/parser.rs:839:17 [INFO] [stderr] | [INFO] [stderr] 839 | /// Parse a <ident-token> and return the unescaped value. [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `ident-token` [INFO] [stderr] --> src/parser.rs:853:17 [INFO] [stderr] | [INFO] [stderr] 853 | /// Parse a <ident-token> whose unescaped value is an ASCII-insensitive match for the given value. [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `string-token` [INFO] [stderr] --> src/parser.rs:864:17 [INFO] [stderr] | [INFO] [stderr] 864 | /// Parse a <string-token> and return the unescaped value. [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `ident-token` [INFO] [stderr] --> src/parser.rs:878:24 [INFO] [stderr] | [INFO] [stderr] 878 | /// Parse either a <ident-token> or a <string-token>, and return the unescaped value. [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `string-token` [INFO] [stderr] --> src/parser.rs:878:43 [INFO] [stderr] | [INFO] [stderr] 878 | /// Parse either a <ident-token> or a <string-token>, and return the unescaped value. [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `url-token` [INFO] [stderr] --> src/parser.rs:887:17 [INFO] [stderr] | [INFO] [stderr] 887 | /// Parse a <url-token> and return the unescaped value. [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `url-token` [INFO] [stderr] --> src/parser.rs:901:24 [INFO] [stderr] | [INFO] [stderr] 901 | /// Parse either a <url-token> or a <string-token>, and return the unescaped value. [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `string-token` [INFO] [stderr] --> src/parser.rs:901:41 [INFO] [stderr] | [INFO] [stderr] 901 | /// Parse either a <url-token> or a <string-token>, and return the unescaped value. [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `number-token` [INFO] [stderr] --> src/parser.rs:916:17 [INFO] [stderr] | [INFO] [stderr] 916 | /// Parse a <number-token> and return the integer value. [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `number-token` [INFO] [stderr] --> src/parser.rs:924:17 [INFO] [stderr] | [INFO] [stderr] 924 | /// Parse a <number-token> that does not have a fractional part, and return the integer value. [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `percentage-token` [INFO] [stderr] --> src/parser.rs:932:17 [INFO] [stderr] | [INFO] [stderr] 932 | /// Parse a <percentage-token> and return the value. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `colon-token` [INFO] [stderr] --> src/parser.rs:941:21 [INFO] [stderr] | [INFO] [stderr] 941 | /// Parse a `:` <colon-token>. [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `semicolon-token` [INFO] [stderr] --> src/parser.rs:949:21 [INFO] [stderr] | [INFO] [stderr] 949 | /// Parse a `;` <semicolon-token>. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `comma-token` [INFO] [stderr] --> src/parser.rs:957:21 [INFO] [stderr] | [INFO] [stderr] 957 | /// Parse a `,` <comma-token>. [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `delim-token` [INFO] [stderr] --> src/parser.rs:965:17 [INFO] [stderr] | [INFO] [stderr] 965 | /// Parse a <delim-token> with the given value. [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `function` [INFO] [stderr] --> src/parser.rs:1003:17 [INFO] [stderr] | [INFO] [stderr] 1003 | /// Parse a <function> token and return its name. [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `function` [INFO] [stderr] --> src/parser.rs:1013:17 [INFO] [stderr] | [INFO] [stderr] 1013 | /// Parse a <function> token whose name is an ASCII-insensitive match for the given value. [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/serializer.rs:494:13 [INFO] [stderr] | [INFO] [stderr] 494 | /// See https://drafts.csswg.org/css-syntax/#serialization [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] 494 | /// See <https://drafts.csswg.org/css-syntax/#serialization> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/serializer.rs:496:13 [INFO] [stderr] | [INFO] [stderr] 496 | /// See https://github.com/w3c/csswg-drafts/issues/4088 for the [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] 496 | /// See <https://github.com/w3c/csswg-drafts/issues/4088> for the [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/unicode_range.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | //! https://drafts.csswg.org/css-syntax/#urange [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] 5 | //! <https://drafts.csswg.org/css-syntax/#urange> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/unicode_range.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | /// https://drafts.csswg.org/css-syntax/#urange-syntax [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] 26 | /// <https://drafts.csswg.org/css-syntax/#urange-syntax> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/rules_and_declarations.rs:244:5 [INFO] [stderr] | [INFO] [stderr] 244 | /// https://drafts.csswg.org/css-syntax/#consume-a-blocks-contents [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] 244 | /// <https://drafts.csswg.org/css-syntax/#consume-a-blocks-contents> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: `cssparser` (lib doc) generated 26 warnings (run `cargo fix --lib -p cssparser` to apply 7 suggestions) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "eb7c71e69fd953dd4688d43f381df363122f5a647223154dafea5df687b33ee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb7c71e69fd953dd4688d43f381df363122f5a647223154dafea5df687b33ee2", kill_on_drop: false }` [INFO] [stdout] eb7c71e69fd953dd4688d43f381df363122f5a647223154dafea5df687b33ee2