microbit-common 0.15.1

Implementation details for the BBC Micro:bit board support crates
Build #1312752 2024-08-05T11:06:04.763063+00:00
# rustc version
rustc 1.82.0-nightly (176e54520 2024-08-04)# docs.rs version
docsrs 0.6.0 (e434406d 2024-07-31)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/microbit-common-0.15.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/microbit-common-0.15.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240804-1.82.0-nightly-176e54520\", \"--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] 02356f4277bbf8a946b40ffc00b1a64baa7720b0463baf979293a2cca9868533
[INFO] running `Command { std: "docker" "start" "-a" "02356f4277bbf8a946b40ffc00b1a64baa7720b0463baf979293a2cca9868533", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting microbit-common v0.15.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `hal`
[INFO] [stderr]   --> src/lib.rs:19:9
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub use hal::pac::Peripherals;
[INFO] [stderr]    |         ^^^ use of undeclared crate or module `hal`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `hal`
[INFO] [stderr]   --> src/lib.rs:18:9
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub use hal::pac;
[INFO] [stderr]    |         ^^^ use of undeclared crate or module `hal`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `hal` in the crate root
[INFO] [stderr]   --> src/display/blocking.rs:67:12
[INFO] [stderr]    |
[INFO] [stderr] 67 | use crate::hal::gpio::{Output, Pin, PushPull};
[INFO] [stderr]    |            ^^^ could not find `hal` in the crate root
[INFO] [stderr]    |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/lib.rs:13:22
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub use nrf51_hal as hal;
[INFO] [stderr]    |                      ^^^
[INFO] [stderr] note: the item is gated behind the `v1` feature
[INFO] [stderr]   --> src/lib.rs:12:7
[INFO] [stderr]    |
[INFO] [stderr] 12 | #[cfg(feature = "v1")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/lib.rs:16:25
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub use nrf52833_hal as hal;
[INFO] [stderr]    |                         ^^^
[INFO] [stderr] note: the item is gated behind the `v2` feature
[INFO] [stderr]   --> src/lib.rs:15:7
[INFO] [stderr]    |
[INFO] [stderr] 15 | #[cfg(feature = "v2")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `crate::gpio::DisplayPins`, `crate::gpio::NUM_COLS`, `crate::gpio::NUM_ROWS`
[INFO] [stderr]   --> src/display/blocking.rs:66:19
[INFO] [stderr]    |
[INFO] [stderr] 66 | use crate::gpio::{DisplayPins, NUM_COLS, NUM_ROWS};
[INFO] [stderr]    |                   ^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^ no `NUM_ROWS` in `gpio`
[INFO] [stderr]    |                   |            |
[INFO] [stderr]    |                   |            no `NUM_COLS` in `gpio`
[INFO] [stderr]    |                   no `DisplayPins` in `gpio`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `crate::gpio::NUM_COLS`, `crate::gpio::NUM_ROWS`
[INFO] [stderr]   --> src/display/nonblocking/control.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr] 10 |     gpio::{NUM_COLS, NUM_ROWS},
[INFO] [stderr]    |            ^^^^^^^^  ^^^^^^^^ no `NUM_ROWS` in `gpio`
[INFO] [stderr]    |            |
[INFO] [stderr]    |            no `NUM_COLS` in `gpio`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `hal` in the crate root
[INFO] [stderr]   --> src/display/nonblocking/timer.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr] 7  | use crate::hal::timer::Instance;
[INFO] [stderr]    |            ^^^ could not find `hal` in the crate root
[INFO] [stderr]    |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/lib.rs:13:22
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub use nrf51_hal as hal;
[INFO] [stderr]    |                      ^^^
[INFO] [stderr] note: the item is gated behind the `v1` feature
[INFO] [stderr]   --> src/lib.rs:12:7
[INFO] [stderr]    |
[INFO] [stderr] 12 | #[cfg(feature = "v1")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]   --> src/lib.rs:16:25
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub use nrf52833_hal as hal;
[INFO] [stderr]    |                         ^^^
[INFO] [stderr] note: the item is gated behind the `v2` feature
[INFO] [stderr]   --> src/lib.rs:15:7
[INFO] [stderr]    |
[INFO] [stderr] 15 | #[cfg(feature = "v2")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `crate::gpio::NUM_COLS`, `crate::gpio::NUM_ROWS`
[INFO] [stderr]  --> src/display/nonblocking/matrix.rs:9:19
[INFO] [stderr]   |
[INFO] [stderr] 9 | use crate::gpio::{NUM_COLS, NUM_ROWS};
[INFO] [stderr]   |                   ^^^^^^^^  ^^^^^^^^ no `NUM_ROWS` in `gpio`
[INFO] [stderr]   |                   |
[INFO] [stderr]   |                   no `NUM_COLS` in `gpio`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `hal` in the crate root
[INFO] [stderr]    --> src/display/nonblocking/mod.rs:171:32
[INFO] [stderr]     |
[INFO] [stderr] 171 | use crate::{gpio::DisplayPins, hal::timer::Instance};
[INFO] [stderr]     |                                ^^^ could not find `hal` in the crate root
[INFO] [stderr]     |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]    --> src/lib.rs:13:22
[INFO] [stderr]     |
[INFO] [stderr] 13  | pub use nrf51_hal as hal;
[INFO] [stderr]     |                      ^^^
[INFO] [stderr] note: the item is gated behind the `v1` feature
[INFO] [stderr]    --> src/lib.rs:12:7
[INFO] [stderr]     |
[INFO] [stderr] 12  | #[cfg(feature = "v1")]
[INFO] [stderr]     |       ^^^^^^^^^^^^^^
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]    --> src/lib.rs:16:25
[INFO] [stderr]     |
[INFO] [stderr] 16  | pub use nrf52833_hal as hal;
[INFO] [stderr]     |                         ^^^
[INFO] [stderr] note: the item is gated behind the `v2` feature
[INFO] [stderr]    --> src/lib.rs:15:7
[INFO] [stderr]     |
[INFO] [stderr] 15  | #[cfg(feature = "v2")]
[INFO] [stderr]     |       ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `crate::gpio::DisplayPins`
[INFO] [stderr]    --> src/display/nonblocking/mod.rs:171:13
[INFO] [stderr]     |
[INFO] [stderr] 171 | use crate::{gpio::DisplayPins, hal::timer::Instance};
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^ no `DisplayPins` in `gpio`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `board::Board`
[INFO] [stderr]   --> src/lib.rs:26:9
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub use board::Board;
[INFO] [stderr]    |         ^^^^^^^^^^^^ no `Board` in `board`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not resolve path `pins::P0_COLS`
[INFO] [stderr]   --> src/display/nonblocking/control.rs:40:36
[INFO] [stderr]    |
[INFO] [stderr] 40 | const P0_COL_BITS: u32 = pin_bits(&pins::P0_COLS);
[INFO] [stderr]    |                                    ^^^^^^^^^^^^^ could not resolve path `pins::P0_COLS`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error was originally ignored because you are running `rustdoc`
[INFO] [stderr]    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `pins`
[INFO] [stderr]   --> src/display/nonblocking/control.rs:40:36
[INFO] [stderr]    |
[INFO] [stderr] 40 | const P0_COL_BITS: u32 = pin_bits(&pins::P0_COLS);
[INFO] [stderr]    |                                    ^^^^ use of undeclared crate or module `pins`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not resolve path `pins::P0_ROWS`
[INFO] [stderr]   --> src/display/nonblocking/control.rs:44:36
[INFO] [stderr]    |
[INFO] [stderr] 44 | const P0_ROW_BITS: u32 = pin_bits(&pins::P0_ROWS);
[INFO] [stderr]    |                                    ^^^^^^^^^^^^^ could not resolve path `pins::P0_ROWS`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error was originally ignored because you are running `rustdoc`
[INFO] [stderr]    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `pins`
[INFO] [stderr]   --> src/display/nonblocking/control.rs:44:36
[INFO] [stderr]    |
[INFO] [stderr] 44 | const P0_ROW_BITS: u32 = pin_bits(&pins::P0_ROWS);
[INFO] [stderr]    |                                    ^^^^ use of undeclared crate or module `pins`
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0432`.
[INFO] [stderr] error: could not document `microbit-common`
[INFO] running `Command { std: "docker" "inspect" "02356f4277bbf8a946b40ffc00b1a64baa7720b0463baf979293a2cca9868533", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02356f4277bbf8a946b40ffc00b1a64baa7720b0463baf979293a2cca9868533", kill_on_drop: false }`
[INFO] [stdout] 02356f4277bbf8a946b40ffc00b1a64baa7720b0463baf979293a2cca9868533