webf-sys 0.1.0

Rust bindings to Web API which provided by WebF

Build #1129746 2024-02-16 14:23:54

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.78.0-nightly (a4472498d 2024-02-15)

# docs.rs version docsrs 0.6.0 (a0c5cca6 2024-02-14)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/webf-sys-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/webf-sys-0.1.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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240215-1.78.0-nightly-a4472498d\", \"--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] 3399ed16ae02e4bbbeeaa9d78cbe4d63c4365866e8d12fad14f39d5dabf07049 [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" "3399ed16ae02e4bbbeeaa9d78cbe4d63c4365866e8d12fad14f39d5dabf07049", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting webf-sys v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `libc::boolean_t` [INFO] [stderr] --> src/event_target.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | use libc::{boolean_t, c_char}; [INFO] [stderr] | ^^^^^^^^^ no `boolean_t` in the root [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/node.rs:58:8 [INFO] [stderr] | [INFO] [stderr] 58 | if (exception_state.has_exception()) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 58 - if (exception_state.has_exception()) { [INFO] [stderr] 58 + if exception_state.has_exception() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/exception_state.rs:57:64 [INFO] [stderr] | [INFO] [stderr] 57 | let message = String::from_utf8_lossy(slice).to_string();; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] warning: `webf-sys` (lib doc) generated 2 warnings [INFO] [stderr] error: could not document `webf-sys` [INFO] running `Command { std: "docker" "inspect" "3399ed16ae02e4bbbeeaa9d78cbe4d63c4365866e8d12fad14f39d5dabf07049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3399ed16ae02e4bbbeeaa9d78cbe4d63c4365866e8d12fad14f39d5dabf07049", kill_on_drop: false }` [INFO] [stdout] 3399ed16ae02e4bbbeeaa9d78cbe4d63c4365866e8d12fad14f39d5dabf07049