swc_html 0.78.19

HTML apis for rust
Build #639498 2022-09-30T00:43:39.373982+00:00
# rustc version
rustc 1.66.0-nightly (ce7f0f1aa 2022-09-28)
# docs.rs version
docsrs 0.6.0 (b194f43 2022-09-25)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/swc_html-0.78.19/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/swc_html-0.78.19/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20220928-1.66.0-nightly-ce7f0f1aa\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-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] db1665c0cb24cbc7a5561e584bec50d8796bb29eefd2e4e917addccde8e3c646
[INFO] running `Command { std: "docker" "start" "-a" "db1665c0cb24cbc7a5561e584bec50d8796bb29eefd2e4e917addccde8e3c646", kill_on_drop: false }`
[INFO] [stderr]     Checking swc_html_minifier v0.75.24
[INFO] [stderr] error[E0277]: the trait bound `std::string::String: Borrow<string_cache::atom::Atom<JsWordStaticSet>>` is not satisfied
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/swc_html_minifier-0.75.24/src/lib.rs:373:79
[INFO] [stderr]     |
[INFO] [stderr] 373 |         if let Some(global_pseudo_element) = HTML_ELEMENTS_AND_ATTRIBUTES.get(&js_word!("*")) {
[INFO] [stderr]     |                                                                           --- ^^^^^^^^^^^^^^ the trait `Borrow<string_cache::atom::Atom<JsWordStaticSet>>` is not implemented for `std::string::String`
[INFO] [stderr]     |                                                                           |
[INFO] [stderr]     |                                                                           required by a bound introduced by this call
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `Borrow<str>` is implemented for `std::string::String`
[INFO] [stderr] note: required by a bound in `HashMap::<K, V, S>::get`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `std::string::String: Borrow<string_cache::atom::Atom<JsWordStaticSet>>` is not satisfied
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/swc_html_minifier-0.75.24/src/lib.rs:374:68
[INFO] [stderr]     |
[INFO] [stderr] 374 |             if let Some(element) = global_pseudo_element.other.get(name) {
[INFO] [stderr]     |                                                                --- ^^^^ the trait `Borrow<string_cache::atom::Atom<JsWordStaticSet>>` is not implemented for `std::string::String`
[INFO] [stderr]     |                                                                |
[INFO] [stderr]     |                                                                required by a bound introduced by this call
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `Borrow<str>` is implemented for `std::string::String`
[INFO] [stderr] note: required by a bound in `HashMap::<K, V, S>::get`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `std::string::String: Borrow<string_cache::atom::Atom<JsWordStaticSet>>` is not satisfied
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/swc_html_minifier-0.75.24/src/lib.rs:381:65
[INFO] [stderr]     |
[INFO] [stderr] 381 |         if let Some(element) = HTML_ELEMENTS_AND_ATTRIBUTES.get(&element.tag_name) {
[INFO] [stderr]     |                                                             --- ^^^^^^^^^^^^^^^^^ the trait `Borrow<string_cache::atom::Atom<JsWordStaticSet>>` is not implemented for `std::string::String`
[INFO] [stderr]     |                                                             |
[INFO] [stderr]     |                                                             required by a bound introduced by this call
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `Borrow<str>` is implemented for `std::string::String`
[INFO] [stderr] note: required by a bound in `HashMap::<K, V, S>::get`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `std::string::String: Borrow<string_cache::atom::Atom<JsWordStaticSet>>` is not satisfied
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/swc_html_minifier-0.75.24/src/lib.rs:382:54
[INFO] [stderr]     |
[INFO] [stderr] 382 |             if let Some(element) = element.other.get(name) {
[INFO] [stderr]     |                                                  --- ^^^^ the trait `Borrow<string_cache::atom::Atom<JsWordStaticSet>>` is not implemented for `std::string::String`
[INFO] [stderr]     |                                                  |
[INFO] [stderr]     |                                                  required by a bound introduced by this call
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `Borrow<str>` is implemented for `std::string::String`
[INFO] [stderr] note: required by a bound in `HashMap::<K, V, S>::get`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `std::string::String: Borrow<string_cache::atom::Atom<JsWordStaticSet>>` is not satisfied
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/swc_html_minifier-0.75.24/src/lib.rs:620:63
[INFO] [stderr]     |
[INFO] [stderr] 620 |                 let attributes = match default_attributes.get(tag_name) {
[INFO] [stderr]     |                                                           --- ^^^^^^^^ the trait `Borrow<string_cache::atom::Atom<JsWordStaticSet>>` is not implemented for `std::string::String`
[INFO] [stderr]     |                                                           |
[INFO] [stderr]     |                                                           required by a bound introduced by this call
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `Borrow<str>` is implemented for `std::string::String`
[INFO] [stderr] note: required by a bound in `HashMap::<K, V, S>::get`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `std::string::String: Borrow<string_cache::atom::Atom<JsWordStaticSet>>` is not satisfied
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/swc_html_minifier-0.75.24/src/lib.rs:625:65
[INFO] [stderr]     |
[INFO] [stderr] 625 |                 let attribute_info = match attributes.other.get(&attribute_name) {
[INFO] [stderr]     |                                                             --- ^^^^^^^^^^^^^^^ the trait `Borrow<string_cache::atom::Atom<JsWordStaticSet>>` is not implemented for `std::string::String`
[INFO] [stderr]     |                                                             |
[INFO] [stderr]     |                                                             required by a bound introduced by this call
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `Borrow<str>` is implemented for `std::string::String`
[INFO] [stderr] note: required by a bound in `HashMap::<K, V, S>::get`
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `swc_html_minifier` due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "db1665c0cb24cbc7a5561e584bec50d8796bb29eefd2e4e917addccde8e3c646", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db1665c0cb24cbc7a5561e584bec50d8796bb29eefd2e4e917addccde8e3c646", kill_on_drop: false }`
[INFO] [stdout] db1665c0cb24cbc7a5561e584bec50d8796bb29eefd2e4e917addccde8e3c646