cssparser 0.31.2

Rust implementation of CSS Syntax Level 3
Documentation
Build #831921 2023-06-06 10:26:38

# rustc version rustc 1.72.0-nightly (e6d4725c7 2023-06-05)

# docs.rs version docsrs 0.6.0 (4b18bfe6 2023-06-02)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/cssparser-0.31.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/cssparser-0.31.2/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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20230605-1.72.0-nightly-e6d4725c7\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--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" "-j3" "--target" "x86_64-unknown-linux-gnu", 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] a1a6db812636a3a4e399d746cd6b0a019381fae1c82f1b7276696afe111d5c0e [INFO] running `Command { std: "docker" "start" "-a" "a1a6db812636a3a4e399d746cd6b0a019381fae1c82f1b7276696afe111d5c0e", kill_on_drop: false }` [INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op [INFO] [stderr] Documenting cssparser v0.31.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: unclosed HTML tag `T` [INFO] [stderr] --> src/macros.rs:113:38 [INFO] [stderr] | [INFO] [stderr] 113 | /// 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] 113 | /// 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:798:17 [INFO] [stderr] | [INFO] [stderr] 798 | /// 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:808:17 [INFO] [stderr] | [INFO] [stderr] 808 | /// 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:822:17 [INFO] [stderr] | [INFO] [stderr] 822 | /// 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:833:17 [INFO] [stderr] | [INFO] [stderr] 833 | /// 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:847:24 [INFO] [stderr] | [INFO] [stderr] 847 | /// 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:847:43 [INFO] [stderr] | [INFO] [stderr] 847 | /// 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:856:17 [INFO] [stderr] | [INFO] [stderr] 856 | /// 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:870:24 [INFO] [stderr] | [INFO] [stderr] 870 | /// 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:870:41 [INFO] [stderr] | [INFO] [stderr] 870 | /// 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:885:17 [INFO] [stderr] | [INFO] [stderr] 885 | /// 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:893:17 [INFO] [stderr] | [INFO] [stderr] 893 | /// 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:901:17 [INFO] [stderr] | [INFO] [stderr] 901 | /// 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:910:21 [INFO] [stderr] | [INFO] [stderr] 910 | /// Parse a `:` <colon-token>. [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `semicolon-token` [INFO] [stderr] --> src/parser.rs:918:21 [INFO] [stderr] | [INFO] [stderr] 918 | /// Parse a `;` <semicolon-token>. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `comma-token` [INFO] [stderr] --> src/parser.rs:926:21 [INFO] [stderr] | [INFO] [stderr] 926 | /// Parse a `,` <comma-token>. [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `delim-token` [INFO] [stderr] --> src/parser.rs:934:17 [INFO] [stderr] | [INFO] [stderr] 934 | /// Parse a <delim-token> with the given value. [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `function` [INFO] [stderr] --> src/parser.rs:972:17 [INFO] [stderr] | [INFO] [stderr] 972 | /// Parse a <function> token and return its name. [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `function` [INFO] [stderr] --> src/parser.rs:982:17 [INFO] [stderr] | [INFO] [stderr] 982 | /// 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:397:13 [INFO] [stderr] | [INFO] [stderr] 397 | /// 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:399:13 [INFO] [stderr] | [INFO] [stderr] 399 | /// 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:244:5 [INFO] [stderr] | [INFO] [stderr] 244 | /// 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 [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "a1a6db812636a3a4e399d746cd6b0a019381fae1c82f1b7276696afe111d5c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1a6db812636a3a4e399d746cd6b0a019381fae1c82f1b7276696afe111d5c0e", kill_on_drop: false }` [INFO] [stdout] a1a6db812636a3a4e399d746cd6b0a019381fae1c82f1b7276696afe111d5c0e