[INFO] fetching crate microbit-common 0.12.0... [INFO] documenting microbit-common-0.12.0 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate microbit-common 0.12.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate microbit-common 0.12.0 on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate microbit-common 0.12.0 [INFO] finished tweaking crates.io crate microbit-common 0.12.0 [INFO] tweaked toml for crates.io crate microbit-common 0.12.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nrf51-hal v0.14.1 [INFO] [stderr] Downloaded nrf51-pac v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1721c5aabe2c99dc4cadd4168dbba9c2c9140ce9fca287d67f959467c4d3ae42 [INFO] running `Command { std: "docker" "start" "-a" "1721c5aabe2c99dc4cadd4168dbba9c2c9140ce9fca287d67f959467c4d3ae42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1721c5aabe2c99dc4cadd4168dbba9c2c9140ce9fca287d67f959467c4d3ae42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1721c5aabe2c99dc4cadd4168dbba9c2c9140ce9fca287d67f959467c4d3ae42", kill_on_drop: false }` [INFO] [stdout] 1721c5aabe2c99dc4cadd4168dbba9c2c9140ce9fca287d67f959467c4d3ae42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1dabfc85186afea9fde135b520f19ef9de8fea201301d25d2da9a548bf186eff [INFO] running `Command { std: "docker" "start" "-a" "1dabfc85186afea9fde135b520f19ef9de8fea201301d25d2da9a548bf186eff", kill_on_drop: false }` [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking tiny-led-matrix v1.0.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Documenting microbit-common v0.12.0 (/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: could not find `hal` in the crate root [INFO] [stdout] --> src/display/blocking.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::hal::{ [INFO] [stdout] | ^^^ could not find `hal` in the crate root [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::DisplayPins`, `crate::gpio::NUM_COLS`, `crate::gpio::NUM_ROWS` [INFO] [stdout] --> src/display/blocking.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | 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[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] [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:165:32 [INFO] [stdout] | [INFO] [stdout] 165 | use crate::{gpio::DisplayPins, hal::timer::Instance}; [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/nonblocking/mod.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | use crate::{gpio::DisplayPins, hal::timer::Instance}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `DisplayPins` in `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `board::Board`, `crate::pac` [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use board::Board; [INFO] [stdout] | ^^^^^^^^^^^^ no `Board` in `board` [INFO] [stdout] | [INFO] [stdout] ::: src/display/nonblocking/control.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pac, [INFO] [stdout] | ^^^ [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: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/nonblocking/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[E0412]: cannot find type `Pin` in this scope [INFO] [stdout] --> src/display/blocking.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | 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] 39 | use core::pin::Pin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Output` in this scope [INFO] [stdout] --> src/display/blocking.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | 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/display/blocking.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | 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[E0405]: cannot find trait `Instance` in this scope [INFO] [stdout] --> src/display/nonblocking/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/nonblocking/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/nonblocking/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/nonblocking/mod.rs:170:23 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct 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/nonblocking/mod.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | impl Display { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not document `microbit-common` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name microbit_common src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=e14d55ec81dc751a -L dependency=/opt/rustwide/target/debug/deps --extern embedded_hal=/opt/rustwide/target/debug/deps/libembedded_hal-1461e784d4f583fb.rmeta --extern tiny_led_matrix=/opt/rustwide/target/debug/deps/libtiny_led_matrix-4d45fbf18cd22fc8.rmeta --cap-lints=warn --crate-version 0.12.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "1dabfc85186afea9fde135b520f19ef9de8fea201301d25d2da9a548bf186eff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dabfc85186afea9fde135b520f19ef9de8fea201301d25d2da9a548bf186eff", kill_on_drop: false }` [INFO] [stdout] 1dabfc85186afea9fde135b520f19ef9de8fea201301d25d2da9a548bf186eff