cssparser 0.34.0

Rust implementation of CSS Syntax Level 3
Documentation
Build #1693228 2025-01-31T08:06:08.458419+00:00
# rustc version
rustc 1.86.0-nightly (a730edcd6 2025-01-30)# docs.rs version
docsrs 0.6.0 (29a0e81b 2025-01-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/cssparser-0.34.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/cssparser-0.34.0/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" "-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250130-1.86.0-nightly-a730edcd6\", \"--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}/i686-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] a5b2950709c075b75c79c501bd33e303e6cb89a5f4b8d93b7ca1d140717909f4
[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" "a5b2950709c075b75c79c501bd33e303e6cb89a5f4b8d93b7ca1d140717909f4", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting cssparser v0.34.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: expected `=`, found `,`
[INFO] [stderr]   --> src/lib.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | / /*!
[INFO] [stderr] 11 | |
[INFO] [stderr] 12 | | Implementation of [CSS Syntax Module Level 3](https://drafts.csswg.org/css-syntax/) for Rust.
[INFO] [stderr] ...  |
[INFO] [stderr] 66 | | */
[INFO] [stderr]    | |__^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(rustdoc::invalid_codeblock_attributes)]` on by default
[INFO] [stderr] 
[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:10
[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: expected `=`, found `,`
[INFO] [stderr]    --> src/parser.rs:294:1
[INFO] [stderr]     |
[INFO] [stderr] 294 | / /// A set of characters, to be used with the `Parser::parse_until*` methods.
[INFO] [stderr] 295 | | ///
[INFO] [stderr] 296 | | /// The union of two sets can be obtained with the `|` operator. Example:
[INFO] [stderr] 297 | | ///
[INFO] [stderr] 298 | | /// ```{rust,ignore}
[INFO] [stderr] 299 | | /// input.parse_until_before(Delimiter::CurlyBracketBlock | Delimiter::Semicolon)
[INFO] [stderr] 300 | | /// ```
[INFO] [stderr]     | |_______^
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `whitespace-token`
[INFO] [stderr]    --> src/parser.rs:823:17
[INFO] [stderr]     |
[INFO] [stderr] 823 |     /// 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:833:17
[INFO] [stderr]     |
[INFO] [stderr] 833 |     /// 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:847:17
[INFO] [stderr]     |
[INFO] [stderr] 847 |     /// 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:858:17
[INFO] [stderr]     |
[INFO] [stderr] 858 |     /// 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:872:24
[INFO] [stderr]     |
[INFO] [stderr] 872 |     /// 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:872:43
[INFO] [stderr]     |
[INFO] [stderr] 872 |     /// 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:881:17
[INFO] [stderr]     |
[INFO] [stderr] 881 |     /// 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:895:24
[INFO] [stderr]     |
[INFO] [stderr] 895 |     /// 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:895:41
[INFO] [stderr]     |
[INFO] [stderr] 895 |     /// 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:910:17
[INFO] [stderr]     |
[INFO] [stderr] 910 |     /// 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:918:17
[INFO] [stderr]     |
[INFO] [stderr] 918 |     /// 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:926:17
[INFO] [stderr]     |
[INFO] [stderr] 926 |     /// 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:935:21
[INFO] [stderr]     |
[INFO] [stderr] 935 |     /// Parse a `:` <colon-token>.
[INFO] [stderr]     |                     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `semicolon-token`
[INFO] [stderr]    --> src/parser.rs:943:21
[INFO] [stderr]     |
[INFO] [stderr] 943 |     /// Parse a `;` <semicolon-token>.
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `comma-token`
[INFO] [stderr]    --> src/parser.rs:951:21
[INFO] [stderr]     |
[INFO] [stderr] 951 |     /// Parse a `,` <comma-token>.
[INFO] [stderr]     |                     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `delim-token`
[INFO] [stderr]    --> src/parser.rs:959:17
[INFO] [stderr]     |
[INFO] [stderr] 959 |     /// Parse a <delim-token> with the given value.
[INFO] [stderr]     |                 ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `function`
[INFO] [stderr]    --> src/parser.rs:997:17
[INFO] [stderr]     |
[INFO] [stderr] 997 |     /// Parse a <function> token and return its name.
[INFO] [stderr]     |                 ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `function`
[INFO] [stderr]     --> src/parser.rs:1007:17
[INFO] [stderr]      |
[INFO] [stderr] 1007 |     /// Parse a <function> token whose name is an ASCII-insensitive match for the given value.
[INFO] [stderr]      |                 ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: expected `=`, found `,`
[INFO] [stderr]    --> src/serializer.rs:284:1
[INFO] [stderr]     |
[INFO] [stderr] 284 | / /// A `fmt::Write` adapter that escapes text for writing as a double-quoted CSS string.
[INFO] [stderr] 285 | | /// Quotes are not included.
[INFO] [stderr] 286 | | ///
[INFO] [stderr] 287 | | /// Typical usage:
[INFO] [stderr] ...   |
[INFO] [stderr] 298 | | /// }
[INFO] [stderr] 299 | | /// ```
[INFO] [stderr]     | |_______^
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/serializer.rs:491:13
[INFO] [stderr]     |
[INFO] [stderr] 491 |     /// 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] 491 |     /// 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:493:13
[INFO] [stderr]     |
[INFO] [stderr] 493 |     /// 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] 493 |     /// 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:243:5
[INFO] [stderr]     |
[INFO] [stderr] 243 | /// 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] 243 | /// <https://drafts.csswg.org/css-syntax/#consume-a-blocks-contents>
[INFO] [stderr]     |     +                                                              +
[INFO] [stderr] 
[INFO] [stderr] warning: `cssparser` (lib doc) generated 29 warnings (run `cargo fix --lib -p cssparser` to apply 7 suggestions)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.54s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-unknown-linux-gnu/doc/cssparser/index.html
[INFO] running `Command { std: "docker" "inspect" "a5b2950709c075b75c79c501bd33e303e6cb89a5f4b8d93b7ca1d140717909f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5b2950709c075b75c79c501bd33e303e6cb89a5f4b8d93b7ca1d140717909f4", kill_on_drop: false }`
[INFO] [stdout] a5b2950709c075b75c79c501bd33e303e6cb89a5f4b8d93b7ca1d140717909f4