rust_gpiozero 0.2.1

A library inspired by gpiozero written in Rust.
Documentation
Build #2460771 2025-08-30 23:33:30
# rustc version
rustc 1.91.0-nightly (fe5536432 2025-08-29)# docs.rs version
docsrs 0.6.0 (8bbaf878 2025-08-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/rust_gpiozero-0.2.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/rust_gpiozero-0.2.1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250829-1.91.0-nightly-fe5536432\", \"--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] dbc9d8daf28c431d4cc48658aa831b634f2dfb8699ac202dd13f7144a15849c6
[INFO] running `Command { std: "docker" "start" "-a" "dbc9d8daf28c431d4cc48658aa831b634f2dfb8699ac202dd13f7144a15849c6", kill_on_drop: false }`
[INFO] [stderr] warning: field `inactive_state` is never read
[INFO] [stderr]   --> src/devices.rs:34:5
[INFO] [stderr]    |
[INFO] [stderr] 31 | pub struct GpioDevice {
[INFO] [stderr]    |            ---------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 34 |     inactive_state: bool,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `GpioDevice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `bounce_time` is never read
[INFO] [stderr]    --> src/input_devices.rs:101:5
[INFO] [stderr]     |
[INFO] [stderr]  97 | pub struct DigitalInputDevice {
[INFO] [stderr]     |            ------------------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 101 |     bounce_time: Option<f32>,
[INFO] [stderr]     |     ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `DigitalInputDevice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_gpiozero` (lib) generated 2 warnings
[INFO] [stderr]     Scraping rust_gpiozero v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting rust_gpiozero v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `0,100`
[INFO] [stderr]    --> src/output_devices.rs:357:72
[INFO] [stderr]     |
[INFO] [stderr] 357 | /// The pulse width of the signal will be 100μs with a value range of [0,100] (where 0 is a constant low and 100 is a constant high) resu...
[INFO] [stderr]     |                                                                        ^^^^^ no item named `0,100` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr]     = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/input_devices.rs:113:17
[INFO] [stderr]     |
[INFO] [stderr] 113 |     /// Source: https://pinout.xyz/pinout/pin5_gpio3
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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] help: use an automatic link instead
[INFO] [stderr]     |
[INFO] [stderr] 113 |     /// Source: <https://pinout.xyz/pinout/pin5_gpio3>
[INFO] [stderr]     |                 +                                    +
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_gpiozero` (lib doc) generated 2 warnings (run `cargo fix --lib -p rust_gpiozero` to apply 1 suggestion)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.82s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/rust_gpiozero/index.html
[INFO] running `Command { std: "docker" "inspect" "dbc9d8daf28c431d4cc48658aa831b634f2dfb8699ac202dd13f7144a15849c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dbc9d8daf28c431d4cc48658aa831b634f2dfb8699ac202dd13f7144a15849c6", kill_on_drop: false }`
[INFO] [stdout] dbc9d8daf28c431d4cc48658aa831b634f2dfb8699ac202dd13f7144a15849c6