css-in-rust 0.5.0

CSSinRust is a package for use with WASM applications providing a component level CSS styling experience.
Build #1523755 2024-11-12 04:30:45

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version
rustc 1.84.0-nightly (81eef2d36 2024-11-11)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/css-in-rust-0.5.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/css-in-rust-0.5.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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "yew_integration seed_integration" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241111-1.84.0-nightly-81eef2d36\", \"--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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 1dc27291295ad1a7c7ab2fee122504d5733efbbd266547425af857e3694891e6
[INFO] running `Command { std: "docker" "start" "-a" "1dc27291295ad1a7c7ab2fee122504d5733efbbd266547425af857e3694891e6", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking seed v0.6.0
[INFO] [stderr] error[E0283]: type annotations needed for `Closure<_>`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/seed-0.6.0/src/browser/service/routing.rs:113:9
[INFO] [stderr]     |
[INFO] [stderr] 113 |       let closure = Closure::new(move |event: web_sys::Event| {
[INFO] [stderr]     |  _________^^^^^^^___-
[INFO] [stderr] 114 | |         event.target()
[INFO] [stderr] 115 | |             .and_then(|et| et.dyn_into::<web_sys::Element>().ok())
[INFO] [stderr] 116 | |             .and_then(|el| el.closest("[href]").ok())
[INFO] [stderr] ...   |
[INFO] [stderr] 149 | |             });
[INFO] [stderr] 150 | |     });
[INFO] [stderr]     | |______- type must be known at this point
[INFO] [stderr]     |
[INFO] [stderr]     = note: cannot satisfy `_: WasmClosure`
[INFO] [stderr]     = help: the following types implement trait `WasmClosure`:
[INFO] [stderr]               (dyn Fn() -> R + 'static)
[INFO] [stderr]               (dyn Fn(A) -> R + 'static)
[INFO] [stderr]               (dyn Fn(A, B) -> R + 'static)
[INFO] [stderr]               (dyn Fn(A, B, C) -> R + 'static)
[INFO] [stderr]               (dyn Fn(A, B, C, D) -> R + 'static)
[INFO] [stderr]               (dyn Fn(A, B, C, D, E) -> R + 'static)
[INFO] [stderr]               (dyn Fn(A, B, C, D, E, F) -> R + 'static)
[INFO] [stderr]               (dyn Fn(A, B, C, D, E, F, G) -> R + 'static)
[INFO] [stderr]             and 12 others
[INFO] [stderr] note: required by a bound in `Closure::<T>::new`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.95/src/closure.rs:254:17
[INFO] [stderr]     |
[INFO] [stderr] 254 |     T: ?Sized + WasmClosure,
[INFO] [stderr]     |                 ^^^^^^^^^^^ required by this bound in `Closure::<T>::new`
[INFO] [stderr] ...
[INFO] [stderr] 272 |     pub fn new<F>(t: F) -> Closure<T>
[INFO] [stderr]     |            --- required by a bound in this associated function
[INFO] [stderr] help: consider giving `closure` an explicit type, where the type for type parameter `T` is specified
[INFO] [stderr]     |
[INFO] [stderr] 113 |     let closure: Closure<T> = Closure::new(move |event: web_sys::Event| {
[INFO] [stderr]     |                ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] error[E0283]: type annotations needed for `Closure<_>`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/seed-0.6.0/src/browser/service/routing.rs:113:9
[INFO] [stderr]     |
[INFO] [stderr] 113 |       let closure = Closure::new(move |event: web_sys::Event| {
[INFO] [stderr]     |  _________^^^^^^^___-
[INFO] [stderr] 114 | |         event.target()
[INFO] [stderr] 115 | |             .and_then(|et| et.dyn_into::<web_sys::Element>().ok())
[INFO] [stderr] 116 | |             .and_then(|el| el.closest("[href]").ok())
[INFO] [stderr] ...   |
[INFO] [stderr] 149 | |             });
[INFO] [stderr] 150 | |     });
[INFO] [stderr]     | |______- type must be known at this point
[INFO] [stderr]     |
[INFO] [stderr]     = note: multiple `impl`s satisfying `{closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/seed-0.6.0/src/browser/service/routing.rs:113:32: 113:60}: IntoWasmClosure<_>` found in the `wasm_bindgen` crate:
[INFO] [stderr]             - impl<T, A, R> IntoWasmClosure<(dyn Fn(A) -> R + 'static)> for T
[INFO] [stderr]               where <T as FnOnce<(A,)>>::Output == R, T: 'static, T: Fn(A), A: FromWasmAbi, A: 'static, R: ReturnWasmAbi, R: 'static;
[INFO] [stderr]             - impl<T, A, R> IntoWasmClosure<(dyn FnMut(A) -> R + 'static)> for T
[INFO] [stderr]               where <T as FnOnce<(A,)>>::Output == R, T: 'static, T: FnMut(A), A: FromWasmAbi, A: 'static, R: ReturnWasmAbi, R: 'static;
[INFO] [stderr] note: required by a bound in `Closure::<T>::new`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.95/src/closure.rs:274:12
[INFO] [stderr]     |
[INFO] [stderr] 272 |     pub fn new<F>(t: F) -> Closure<T>
[INFO] [stderr]     |            --- required by a bound in this associated function
[INFO] [stderr] 273 |     where
[INFO] [stderr] 274 |         F: IntoWasmClosure<T> + 'static,
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^ required by this bound in `Closure::<T>::new`
[INFO] [stderr] help: consider giving `closure` an explicit type, where the type for type parameter `T` is specified
[INFO] [stderr]     |
[INFO] [stderr] 113 |     let closure: Closure<T> = Closure::new(move |event: web_sys::Event| {
[INFO] [stderr]     |                ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0283`.
[INFO] [stderr] error: could not compile `seed` (lib) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "1dc27291295ad1a7c7ab2fee122504d5733efbbd266547425af857e3694891e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1dc27291295ad1a7c7ab2fee122504d5733efbbd266547425af857e3694891e6", kill_on_drop: false }`
[INFO] [stdout] 1dc27291295ad1a7c7ab2fee122504d5733efbbd266547425af857e3694891e6