cssparser 0.34.0

Rust implementation of CSS Syntax Level 3
Documentation
Build #1199145 2024-04-23T17:47:40.958413+00:00
# rustc version
rustc 1.79.0-nightly (7f2fc33da 2024-04-22)# docs.rs version
docsrs 0.6.0 (bc86a4d3 2024-04-17)# 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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240422-1.79.0-nightly-7f2fc33da\", \"--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] [stdout] 6745c48b633b930d3dd3ac9bc7773f5578194cd2d1b69eeef247364cb1732dfc
[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" "6745c48b633b930d3dd3ac9bc7773f5578194cd2d1b69eeef247364cb1732dfc", 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: 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]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://encoding.spec.whatwg.org/#concept-encoding-get>`
[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]   --> src/from_bytes.rs:29:10
[INFO] [stderr]    |
[INFO] [stderr] 29 | ///     (https://drafts.csswg.org/css-syntax/#environment-encoding), if any.
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://drafts.csswg.org/css-syntax/#environment-encoding>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[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: 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]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://drafts.csswg.org/css-syntax/#serialization>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[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]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/w3c/csswg-drafts/issues/4088>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[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]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://drafts.csswg.org/css-syntax/#urange>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[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]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://drafts.csswg.org/css-syntax/#urange-syntax>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[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]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://drafts.csswg.org/css-syntax/#consume-a-blocks-contents>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[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.63s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/cssparser/index.html
[INFO] running `Command { std: "docker" "inspect" "6745c48b633b930d3dd3ac9bc7773f5578194cd2d1b69eeef247364cb1732dfc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6745c48b633b930d3dd3ac9bc7773f5578194cd2d1b69eeef247364cb1732dfc", kill_on_drop: false }`
[INFO] [stdout] 6745c48b633b930d3dd3ac9bc7773f5578194cd2d1b69eeef247364cb1732dfc