[INFO] fetching crate microbit-common 0.15.1... [INFO] checking microbit-common-0.15.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate microbit-common 0.15.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate microbit-common 0.15.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate microbit-common 0.15.1 [INFO] finished tweaking crates.io crate microbit-common 0.15.1 [INFO] tweaked toml for crates.io crate microbit-common 0.15.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 45 packages to latest compatible versions [INFO] [stderr] Adding bare-metal v0.2.5 (available: v1.0.0) [INFO] [stderr] Adding bitfield v0.13.2 (available: v0.17.0) [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding nb v0.1.3 (available: v1.1.0) [INFO] [stderr] Adding rustc_version v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (available: v0.10.2) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nrf52833-hal v0.18.0 [INFO] [stderr] Downloaded nrf51-hal v0.18.0 [INFO] [stderr] Downloaded nrf51-pac v0.12.2 [INFO] [stderr] Downloaded tiny-led-matrix v1.0.2 [INFO] [stderr] Downloaded nrf-usbd v0.3.0 [INFO] [stderr] Downloaded nrf-hal-common v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbe7b8dc3b23282d9c2c9b4c1b9695af2bbb2e24cc6f5cf709d1b93571d86420 [INFO] running `Command { std: "docker" "start" "-a" "fbe7b8dc3b23282d9c2c9b4c1b9695af2bbb2e24cc6f5cf709d1b93571d86420", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbe7b8dc3b23282d9c2c9b4c1b9695af2bbb2e24cc6f5cf709d1b93571d86420", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbe7b8dc3b23282d9c2c9b4c1b9695af2bbb2e24cc6f5cf709d1b93571d86420", kill_on_drop: false }` [INFO] [stdout] fbe7b8dc3b23282d9c2c9b4c1b9695af2bbb2e24cc6f5cf709d1b93571d86420 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff04d86adefc02601ef7d9ad5de86ae9290a46e9c7b15ec5653fd5a53954d3a2 [INFO] running `Command { std: "docker" "start" "-a" "ff04d86adefc02601ef7d9ad5de86ae9290a46e9c7b15ec5653fd5a53954d3a2", kill_on_drop: false }` [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking tiny-led-matrix v1.0.2 [INFO] [stderr] Checking microbit-common v0.15.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hal` [INFO] [stdout] --> src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use hal::pac::Peripherals; [INFO] [stdout] | ^^^ use of undeclared crate or module `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hal` [INFO] [stdout] --> src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use hal::pac::Peripherals; [INFO] [stdout] | ^^^ use of undeclared crate or module `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal` [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use hal::pac; [INFO] [stdout] | ^^^ use of undeclared crate or module `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hal` [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use hal::pac; [INFO] [stdout] | ^^^ use of undeclared crate or module `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hal` in the crate root [INFO] [stdout] --> src/display/blocking.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | use crate::hal::gpio::{Output, Pin, PushPull}; [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub use nrf51_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `v1` feature [INFO] [stdout] --> src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "v1")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub use nrf52833_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `v2` feature [INFO] [stdout] --> src/lib.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "v2")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hal` in the crate root [INFO] [stdout] --> src/display/blocking.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | use crate::hal::gpio::{Output, Pin, PushPull}; [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub use nrf51_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `v1` feature [INFO] [stdout] --> src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "v1")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub use nrf52833_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `v2` feature [INFO] [stdout] --> src/lib.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "v2")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::gpio::DisplayPins`, `crate::gpio::NUM_COLS`, `crate::gpio::NUM_ROWS` [INFO] [stdout] --> src/display/blocking.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | use crate::gpio::{DisplayPins, NUM_COLS, NUM_ROWS}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ no `NUM_ROWS` in `gpio` [INFO] [stdout] | | | [INFO] [stdout] | | no `NUM_COLS` in `gpio` [INFO] [stdout] | no `DisplayPins` in `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::gpio::DisplayPins`, `crate::gpio::NUM_COLS`, `crate::gpio::NUM_ROWS` [INFO] [stdout] --> src/display/blocking.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | use crate::gpio::{DisplayPins, NUM_COLS, NUM_ROWS}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ no `NUM_ROWS` in `gpio` [INFO] [stdout] | | | [INFO] [stdout] | | no `NUM_COLS` in `gpio` [INFO] [stdout] | no `DisplayPins` in `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::gpio::NUM_COLS`, `crate::gpio::NUM_ROWS` [INFO] [stdout] --> src/display/nonblocking/control.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | gpio::{NUM_COLS, NUM_ROWS}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ no `NUM_ROWS` in `gpio` [INFO] [stdout] | | [INFO] [stdout] | no `NUM_COLS` in `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::gpio::NUM_COLS`, `crate::gpio::NUM_ROWS` [INFO] [stdout] --> src/display/nonblocking/control.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | gpio::{NUM_COLS, NUM_ROWS}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ no `NUM_ROWS` in `gpio` [INFO] [stdout] | | [INFO] [stdout] | no `NUM_COLS` in `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hal` in the crate root [INFO] [stdout] --> src/display/nonblocking/timer.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::hal::timer::Instance; [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub use nrf51_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `v1` feature [INFO] [stdout] --> src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "v1")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub use nrf52833_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `v2` feature [INFO] [stdout] --> src/lib.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "v2")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::gpio::NUM_COLS`, `crate::gpio::NUM_ROWS` [INFO] [stdout] --> src/display/nonblocking/matrix.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::gpio::{NUM_COLS, NUM_ROWS}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ no `NUM_ROWS` in `gpio` [INFO] [stdout] | | [INFO] [stdout] | no `NUM_COLS` in `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hal` in the crate root [INFO] [stdout] --> src/display/nonblocking/timer.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::hal::timer::Instance; [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub use nrf51_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `v1` feature [INFO] [stdout] --> src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "v1")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub use nrf52833_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `v2` feature [INFO] [stdout] --> src/lib.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "v2")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::gpio::NUM_COLS`, `crate::gpio::NUM_ROWS` [INFO] [stdout] --> src/display/nonblocking/matrix.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::gpio::{NUM_COLS, NUM_ROWS}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ no `NUM_ROWS` in `gpio` [INFO] [stdout] | | [INFO] [stdout] | no `NUM_COLS` in `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hal` in the crate root [INFO] [stdout] --> src/display/nonblocking/mod.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | use crate::{gpio::DisplayPins, hal::timer::Instance}; [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub use nrf51_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `v1` feature [INFO] [stdout] --> src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "v1")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub use nrf52833_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `v2` feature [INFO] [stdout] --> src/lib.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "v2")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::gpio::DisplayPins` [INFO] [stdout] --> src/display/nonblocking/mod.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | use crate::{gpio::DisplayPins, hal::timer::Instance}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `DisplayPins` in `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hal` in the crate root [INFO] [stdout] --> src/display/nonblocking/mod.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | use crate::{gpio::DisplayPins, hal::timer::Instance}; [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub use nrf51_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `v1` feature [INFO] [stdout] --> src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "v1")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub use nrf52833_hal as hal; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated behind the `v2` feature [INFO] [stdout] --> src/lib.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "v2")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::gpio::DisplayPins` [INFO] [stdout] --> src/display/nonblocking/mod.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | use crate::{gpio::DisplayPins, hal::timer::Instance}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `DisplayPins` in `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `board::Board` [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use board::Board; [INFO] [stdout] | ^^^^^^^^^^^^ no `Board` in `board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `board::Board` [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use board::Board; [INFO] [stdout] | ^^^^^^^^^^^^ no `Board` in `board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `prescaler` in this scope [INFO] [stdout] --> src/display/nonblocking/timer.rs:57:52 [INFO] [stdout] | [INFO] [stdout] 57 | timer0.prescaler.write(|w| unsafe { w.bits(prescaler) }); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `prescaler` in this scope [INFO] [stdout] --> src/display/nonblocking/timer.rs:57:52 [INFO] [stdout] | [INFO] [stdout] 57 | timer0.prescaler.write(|w| unsafe { w.bits(prescaler) }); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pins` [INFO] [stdout] --> src/display/nonblocking/control.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | const P0_COL_BITS: u32 = pin_bits(&pins::P0_COLS); [INFO] [stdout] | ^^^^ use of undeclared crate or module `pins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pins` [INFO] [stdout] --> src/display/nonblocking/control.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | const P0_COL_BITS: u32 = pin_bits(&pins::P0_COLS); [INFO] [stdout] | ^^^^ use of undeclared crate or module `pins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pins` [INFO] [stdout] --> src/display/nonblocking/control.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 44 | const P0_ROW_BITS: u32 = pin_bits(&pins::P0_ROWS); [INFO] [stdout] | ^^^^ use of undeclared crate or module `pins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pins` [INFO] [stdout] --> src/display/nonblocking/control.rs:44:36 [INFO] [stdout] | [INFO] [stdout] 44 | const P0_ROW_BITS: u32 = pin_bits(&pins::P0_ROWS); [INFO] [stdout] | ^^^^ use of undeclared crate or module `pins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `split_cols` in this scope [INFO] [stdout] --> src/display/nonblocking/control.rs:160:36 [INFO] [stdout] | [INFO] [stdout] 160 | let (p0cols, p1cols) = split_cols(cols); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `split_cols` in this scope [INFO] [stdout] --> src/display/nonblocking/control.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | let (p0cols, p1cols) = split_cols(cols); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `P0` [INFO] [stdout] --> src/display/nonblocking/control.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | let p0 = &*P0::ptr(); [INFO] [stdout] | ^^ use of undeclared type `P0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pins` [INFO] [stdout] --> src/display/nonblocking/control.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | for ii in pins::P0_COLS.iter() { [INFO] [stdout] | ^^^^ use of undeclared crate or module `pins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pins` [INFO] [stdout] --> src/display/nonblocking/control.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | for ii in pins::P0_ROWS.iter() { [INFO] [stdout] | ^^^^ use of undeclared crate or module `pins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pins` [INFO] [stdout] --> src/display/nonblocking/control.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | .write(|w| w.bits(pins::P0_COLS.iter().map(|pin| 1 << pin).sum())); [INFO] [stdout] | ^^^^ use of undeclared crate or module `pins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `P0` [INFO] [stdout] --> src/display/nonblocking/control.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | let p0 = &*P0::ptr(); [INFO] [stdout] | ^^ use of undeclared type `P0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pins` [INFO] [stdout] --> src/display/nonblocking/control.rs:128:36 [INFO] [stdout] | [INFO] [stdout] 128 | let rows_to_set = 1 << pins::P0_ROWS[row]; [INFO] [stdout] | ^^^^ use of undeclared crate or module `pins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `P0` [INFO] [stdout] --> src/display/nonblocking/control.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | let p0 = &*P0::ptr(); [INFO] [stdout] | ^^ use of undeclared type `P0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pins` [INFO] [stdout] --> src/display/nonblocking/control.rs:163:56 [INFO] [stdout] | [INFO] [stdout] 163 | .write(|w| w.bits(column_pins(p0cols, &pins::P0_COLS))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `pins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `microbit-common` (lib) due to 24 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `split_cols` in this scope [INFO] [stdout] --> src/display/nonblocking/control.rs:160:36 [INFO] [stdout] | [INFO] [stdout] 160 | let (p0cols, p1cols) = split_cols(cols); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `split_cols` in this scope [INFO] [stdout] --> src/display/nonblocking/control.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | let (p0cols, p1cols) = split_cols(cols); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `P0` [INFO] [stdout] --> src/display/nonblocking/control.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | let p0 = &*P0::ptr(); [INFO] [stdout] | ^^ use of undeclared type `P0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pins` [INFO] [stdout] --> src/display/nonblocking/control.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | for ii in pins::P0_COLS.iter() { [INFO] [stdout] | ^^^^ use of undeclared crate or module `pins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pins` [INFO] [stdout] --> src/display/nonblocking/control.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | for ii in pins::P0_ROWS.iter() { [INFO] [stdout] | ^^^^ use of undeclared crate or module `pins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pins` [INFO] [stdout] --> src/display/nonblocking/control.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | .write(|w| w.bits(pins::P0_COLS.iter().map(|pin| 1 << pin).sum())); [INFO] [stdout] | ^^^^ use of undeclared crate or module `pins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `P0` [INFO] [stdout] --> src/display/nonblocking/control.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | let p0 = &*P0::ptr(); [INFO] [stdout] | ^^ use of undeclared type `P0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pins` [INFO] [stdout] --> src/display/nonblocking/control.rs:128:36 [INFO] [stdout] | [INFO] [stdout] 128 | let rows_to_set = 1 << pins::P0_ROWS[row]; [INFO] [stdout] | ^^^^ use of undeclared crate or module `pins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `P0` [INFO] [stdout] --> src/display/nonblocking/control.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | let p0 = &*P0::ptr(); [INFO] [stdout] | ^^ use of undeclared type `P0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pins` [INFO] [stdout] --> src/display/nonblocking/control.rs:163:56 [INFO] [stdout] | [INFO] [stdout] 163 | .write(|w| w.bits(column_pins(p0cols, &pins::P0_COLS))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `pins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `microbit-common` (lib test) due to 24 previous errors [INFO] running `Command { std: "docker" "inspect" "ff04d86adefc02601ef7d9ad5de86ae9290a46e9c7b15ec5653fd5a53954d3a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff04d86adefc02601ef7d9ad5de86ae9290a46e9c7b15ec5653fd5a53954d3a2", kill_on_drop: false }` [INFO] [stdout] ff04d86adefc02601ef7d9ad5de86ae9290a46e9c7b15ec5653fd5a53954d3a2