[INFO] fetching crate microbit-common 0.10.1... [INFO] checking microbit-common-0.10.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate microbit-common 0.10.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate microbit-common 0.10.1 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate microbit-common 0.10.1 [INFO] finished tweaking crates.io crate microbit-common 0.10.1 [INFO] tweaked toml for crates.io crate microbit-common 0.10.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nrf51-hal v0.12.2 [INFO] [stderr] Downloaded nrf51 v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e50c9b3f68a2f4e2296fc4bd1b177c5f04de15b319222d15a56eb27ece04a723 [INFO] running `Command { std: "docker" "start" "-a" "e50c9b3f68a2f4e2296fc4bd1b177c5f04de15b319222d15a56eb27ece04a723", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e50c9b3f68a2f4e2296fc4bd1b177c5f04de15b319222d15a56eb27ece04a723", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e50c9b3f68a2f4e2296fc4bd1b177c5f04de15b319222d15a56eb27ece04a723", kill_on_drop: false }` [INFO] [stdout] e50c9b3f68a2f4e2296fc4bd1b177c5f04de15b319222d15a56eb27ece04a723 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9dceafa33e239c77951020e365ead733abbd89d2116043ba4bab8e1537ae414c [INFO] running `Command { std: "docker" "start" "-a" "9dceafa33e239c77951020e365ead733abbd89d2116043ba4bab8e1537ae414c", kill_on_drop: false }` [INFO] [stderr] Checking tiny-led-matrix v1.0.2 [INFO] [stderr] Checking microbit-common v0.10.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[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 imports `crate::gpio::NUM_COLS`, `crate::gpio::NUM_ROWS` [INFO] [stdout] --> src/display/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: 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 imports `crate::gpio::NUM_COLS`, `crate::gpio::NUM_ROWS` [INFO] [stdout] --> src/display/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/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] [INFO] [stdout] error[E0432]: unresolved imports `crate::gpio::NUM_COLS`, `crate::gpio::NUM_ROWS` [INFO] [stdout] --> src/display/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/mod.rs:200:32 [INFO] [stdout] | [INFO] [stdout] 200 | use crate::{gpio::DisplayPins, hal::timer::Instance}; [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hal` in the crate root [INFO] [stdout] --> src/led.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | use crate::hal::{ [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::gpio::DisplayPins` [INFO] [stdout] --> src/display/mod.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | use crate::{gpio::DisplayPins, hal::timer::Instance}; [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`, `crate::pac` [INFO] [stdout] --> src/display/control.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pac, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/led.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | 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[E0433]: failed to resolve: use of undeclared crate or module `pins` [INFO] [stdout] --> src/display/control.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | 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/control.rs:45:36 [INFO] [stdout] | [INFO] [stdout] 45 | 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 type `P0` [INFO] [stdout] --> src/display/control.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | 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/control.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | 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/control.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | 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/control.rs:106:35 [INFO] [stdout] | [INFO] [stdout] 106 | .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/control.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | 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/control.rs:129:36 [INFO] [stdout] | [INFO] [stdout] 129 | 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 crate or module `pins` [INFO] [stdout] --> src/display/control.rs:132:54 [INFO] [stdout] | [INFO] [stdout] 132 | let cols_to_clear = column_pins(p0cols, &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 type `P0` [INFO] [stdout] --> src/display/control.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | 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/control.rs:155:56 [INFO] [stdout] | [INFO] [stdout] 155 | .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[E0425]: cannot find function `split_cols` in this scope [INFO] [stdout] --> src/display/control.rs:126:36 [INFO] [stdout] | [INFO] [stdout] 126 | 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/control.rs:152:36 [INFO] [stdout] | [INFO] [stdout] 152 | let (p0cols, p1cols) = split_cols(cols); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Instance` in this scope [INFO] [stdout] --> src/display/timer.rs:20:36 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct MicrobitDisplayTimer(T); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Instance` in this scope [INFO] [stdout] --> src/display/timer.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | impl MicrobitDisplayTimer { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Instance` in this scope [INFO] [stdout] --> src/display/timer.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | impl DisplayTimer for MicrobitDisplayTimer { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Instance` in this scope [INFO] [stdout] --> src/display/mod.rs:234:30 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn initialise_display( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Instance` in this scope [INFO] [stdout] --> src/display/mod.rs:268:32 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn handle_display_event( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/led.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) type LED = Pin>; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 53 | use core::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Output` in this scope [INFO] [stdout] --> src/led.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) type LED = Pin>; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PushPull` in this scope [INFO] [stdout] --> src/led.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) type LED = Pin>; [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hal` in the crate root [INFO] [stdout] --> src/display/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] [INFO] [stdout] error[E0432]: unresolved imports `crate::gpio::NUM_COLS`, `crate::gpio::NUM_ROWS` [INFO] [stdout] --> src/display/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/mod.rs:200:32 [INFO] [stdout] | [INFO] [stdout] 200 | use crate::{gpio::DisplayPins, hal::timer::Instance}; [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hal` in the crate root [INFO] [stdout] --> src/led.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | use crate::hal::{ [INFO] [stdout] | ^^^ could not find `hal` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::gpio::DisplayPins` [INFO] [stdout] --> src/display/mod.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | use crate::{gpio::DisplayPins, hal::timer::Instance}; [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`, `crate::pac` [INFO] [stdout] --> src/display/control.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pac, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/led.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | 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[E0433]: failed to resolve: use of undeclared crate or module `pins` [INFO] [stdout] --> src/display/control.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | 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/control.rs:45:36 [INFO] [stdout] | [INFO] [stdout] 45 | 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 type `P0` [INFO] [stdout] --> src/display/control.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | 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/control.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | 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/control.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | 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/control.rs:106:35 [INFO] [stdout] | [INFO] [stdout] 106 | .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/control.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | 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/control.rs:129:36 [INFO] [stdout] | [INFO] [stdout] 129 | 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 crate or module `pins` [INFO] [stdout] --> src/display/control.rs:132:54 [INFO] [stdout] | [INFO] [stdout] 132 | let cols_to_clear = column_pins(p0cols, &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 type `P0` [INFO] [stdout] --> src/display/control.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | 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/control.rs:155:56 [INFO] [stdout] | [INFO] [stdout] 155 | .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[E0425]: cannot find function `split_cols` in this scope [INFO] [stdout] --> src/display/control.rs:126:36 [INFO] [stdout] | [INFO] [stdout] 126 | 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/control.rs:152:36 [INFO] [stdout] | [INFO] [stdout] 152 | let (p0cols, p1cols) = split_cols(cols); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Instance` in this scope [INFO] [stdout] --> src/display/timer.rs:20:36 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct MicrobitDisplayTimer(T); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Instance` in this scope [INFO] [stdout] --> src/display/timer.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | impl MicrobitDisplayTimer { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Instance` in this scope [INFO] [stdout] --> src/display/timer.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | impl DisplayTimer for MicrobitDisplayTimer { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Instance` in this scope [INFO] [stdout] --> src/display/mod.rs:234:30 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn initialise_display( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Instance` in this scope [INFO] [stdout] --> src/display/mod.rs:268:32 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn handle_display_event( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/led.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) type LED = Pin>; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 53 | use core::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `microbit-common` due to 31 previous errors [INFO] [stdout] error[E0412]: cannot find type `Output` in this scope [INFO] [stdout] --> src/led.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) type LED = Pin>; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `PushPull` in this scope [INFO] [stdout] --> src/led.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) type LED = Pin>; [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9dceafa33e239c77951020e365ead733abbd89d2116043ba4bab8e1537ae414c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dceafa33e239c77951020e365ead733abbd89d2116043ba4bab8e1537ae414c", kill_on_drop: false }` [INFO] [stdout] 9dceafa33e239c77951020e365ead733abbd89d2116043ba4bab8e1537ae414c