[INFO] fetching crate edrv-ssd1327 0.0.1...
[INFO] testing edrv-ssd1327-0.0.1 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate edrv-ssd1327 0.0.1 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate edrv-ssd1327 0.0.1
[INFO] finished tweaking crates.io crate edrv-ssd1327 0.0.1
[INFO] tweaked toml for crates.io crate edrv-ssd1327 0.0.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate edrv-ssd1327 0.0.1 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 2 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1de1800b62e836e34a765344ba06408d42b4fd98fa78ad9ed1a5fff5bf041d1e
[INFO] running `Command { std: "docker" "start" "-a" "1de1800b62e836e34a765344ba06408d42b4fd98fa78ad9ed1a5fff5bf041d1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1de1800b62e836e34a765344ba06408d42b4fd98fa78ad9ed1a5fff5bf041d1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1de1800b62e836e34a765344ba06408d42b4fd98fa78ad9ed1a5fff5bf041d1e", kill_on_drop: false }`
[INFO] [stdout] 1de1800b62e836e34a765344ba06408d42b4fd98fa78ad9ed1a5fff5bf041d1e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 431132d54a2aee68d62e593a783f2e6cf7f51b8a1f939830c7715c777a2a5244
[INFO] running `Command { std: "docker" "start" "-a" "431132d54a2aee68d62e593a783f2e6cf7f51b8a1f939830c7715c777a2a5244", kill_on_drop: false }`
[INFO] [stderr]    Compiling embedded-hal-async v1.0.0
[INFO] [stderr]    Compiling edrv-ssd1327 v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.55s
[INFO] running `Command { std: "docker" "inspect" "431132d54a2aee68d62e593a783f2e6cf7f51b8a1f939830c7715c777a2a5244", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "431132d54a2aee68d62e593a783f2e6cf7f51b8a1f939830c7715c777a2a5244", kill_on_drop: false }`
[INFO] [stdout] 431132d54a2aee68d62e593a783f2e6cf7f51b8a1f939830c7715c777a2a5244
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e68b0bb45acc67e85f1e3b49e24c6ce89b19401143a626047e1b74d8755e152d
[INFO] running `Command { std: "docker" "start" "-a" "e68b0bb45acc67e85f1e3b49e24c6ce89b19401143a626047e1b74d8755e152d", kill_on_drop: false }`
[INFO] [stderr]    Compiling edrv-ssd1327 v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s
[INFO] running `Command { std: "docker" "inspect" "e68b0bb45acc67e85f1e3b49e24c6ce89b19401143a626047e1b74d8755e152d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e68b0bb45acc67e85f1e3b49e24c6ce89b19401143a626047e1b74d8755e152d", kill_on_drop: false }`
[INFO] [stdout] e68b0bb45acc67e85f1e3b49e24c6ce89b19401143a626047e1b74d8755e152d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 762351c660f47b9c33763a77bb861a1a9b5d9ff1d4c7100031523fe2db0edd54
[INFO] running `Command { std: "docker" "start" "-a" "762351c660f47b9c33763a77bb861a1a9b5d9ff1d4c7100031523fe2db0edd54", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/edrv_ssd1327-65c111f8269e5712)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests edrv_ssd1327
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/blocking.rs - blocking::SSD1327 (line 36) ... FAILED
[INFO] [stdout] test src/lib.rs - SSD1327 (line 80) ... FAILED
[INFO] [stdout] test src/blocking.rs - blocking (line 5) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 5) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/blocking.rs - blocking::SSD1327 (line 36) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_graphics`
[INFO] [stdout]   --> src/blocking.rs:37:64
[INFO] [stdout]    |
[INFO] [stdout] 37 | ...ttleEndian, 128, 128, { embedded_graphics::framebuffer::buffer_size::<Gray4>(128, 128) }>::new();
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_graphics`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `embedded_graphics`, use `cargo add embedded_graphics` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Gray4` in this scope
[INFO] [stdout]   --> src/blocking.rs:37:28
[INFO] [stdout]    |
[INFO] [stdout] 37 | let mut fb = Framebuffer::<Gray4, _, LittleEndian, 128, 128, { embedded_graphics::framebuffer::buffer_size::<Gray4>(128, 128) }>::ne...
[INFO] [stdout]    |                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_blocking_rs_36_0<Gray4>() {
[INFO] [stdout]    |                                                                           +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LittleEndian` in this scope
[INFO] [stdout]   --> src/blocking.rs:37:38
[INFO] [stdout]    |
[INFO] [stdout] 37 | let mut fb = Framebuffer::<Gray4, _, LittleEndian, 128, 128, { embedded_graphics::framebuffer::buffer_size::<Gray4>(128, 128) }>::ne...
[INFO] [stdout]    |                                      ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_blocking_rs_36_0<LittleEndian>() {
[INFO] [stdout]    |                                                                           ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Gray4` in this scope
[INFO] [stdout]   --> src/blocking.rs:37:110
[INFO] [stdout]    |
[INFO] [stdout] 37 | ..., { embedded_graphics::framebuffer::buffer_size::<Gray4>(128, 128) }>::new();
[INFO] [stdout]    |                                                      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_blocking_rs_36_0<Gray4>() {
[INFO] [stdout]    |                                                                           +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Gray4` in this scope
[INFO] [stdout]   --> src/blocking.rs:39:28
[INFO] [stdout]    |
[INFO] [stdout] 39 | let mut fb = Framebuffer::<Gray4, _, LittleEndian, 128, 128, { 128 * 128 / 2 }>::new();
[INFO] [stdout]    |                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_blocking_rs_36_0<Gray4>() {
[INFO] [stdout]    |                                                                           +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LittleEndian` in this scope
[INFO] [stdout]   --> src/blocking.rs:39:38
[INFO] [stdout]    |
[INFO] [stdout] 39 | let mut fb = Framebuffer::<Gray4, _, LittleEndian, 128, 128, { 128 * 128 / 2 }>::new();
[INFO] [stdout]    |                                      ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_blocking_rs_36_0<LittleEndian>() {
[INFO] [stdout]    |                                                                           ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Framebuffer`
[INFO] [stdout]   --> src/blocking.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 | let mut fb = Framebuffer::<Gray4, _, LittleEndian, 128, 128, { embedded_graphics::framebuffer::buffer_size::<Gray4>(128, 128) }>::ne...
[INFO] [stdout]    |              ^^^^^^^^^^^ use of undeclared type `Framebuffer`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Framebuffer`
[INFO] [stdout]   --> src/blocking.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 | let mut fb = Framebuffer::<Gray4, _, LittleEndian, 128, 128, { 128 * 128 / 2 }>::new();
[INFO] [stdout]    |              ^^^^^^^^^^^ use of undeclared type `Framebuffer`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - SSD1327 (line 80) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_graphics`
[INFO] [stdout]   --> src/lib.rs:81:64
[INFO] [stdout]    |
[INFO] [stdout] 81 | ...ttleEndian, 128, 128, { embedded_graphics::framebuffer::buffer_size::<Gray4>(128, 128) }>::new();
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_graphics`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `embedded_graphics`, use `cargo add embedded_graphics` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Gray4` in this scope
[INFO] [stdout]   --> src/lib.rs:81:28
[INFO] [stdout]    |
[INFO] [stdout] 81 | let mut fb = Framebuffer::<Gray4, _, LittleEndian, 128, 128, { embedded_graphics::framebuffer::buffer_size::<Gray4>(128, 128) }>::ne...
[INFO] [stdout]    |                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_80_0<Gray4>() {
[INFO] [stdout]    |                                                                      +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LittleEndian` in this scope
[INFO] [stdout]   --> src/lib.rs:81:38
[INFO] [stdout]    |
[INFO] [stdout] 81 | let mut fb = Framebuffer::<Gray4, _, LittleEndian, 128, 128, { embedded_graphics::framebuffer::buffer_size::<Gray4>(128, 128) }>::ne...
[INFO] [stdout]    |                                      ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_80_0<LittleEndian>() {
[INFO] [stdout]    |                                                                      ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Gray4` in this scope
[INFO] [stdout]   --> src/lib.rs:81:110
[INFO] [stdout]    |
[INFO] [stdout] 81 | ..., { embedded_graphics::framebuffer::buffer_size::<Gray4>(128, 128) }>::new();
[INFO] [stdout]    |                                                      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_80_0<Gray4>() {
[INFO] [stdout]    |                                                                      +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Gray4` in this scope
[INFO] [stdout]   --> src/lib.rs:83:28
[INFO] [stdout]    |
[INFO] [stdout] 83 | let mut fb = Framebuffer::<Gray4, _, LittleEndian, 128, 128, { 128 * 128 / 2 }>::new();
[INFO] [stdout]    |                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_80_0<Gray4>() {
[INFO] [stdout]    |                                                                      +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LittleEndian` in this scope
[INFO] [stdout]   --> src/lib.rs:83:38
[INFO] [stdout]    |
[INFO] [stdout] 83 | let mut fb = Framebuffer::<Gray4, _, LittleEndian, 128, 128, { 128 * 128 / 2 }>::new();
[INFO] [stdout]    |                                      ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_80_0<LittleEndian>() {
[INFO] [stdout]    |                                                                      ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Framebuffer`
[INFO] [stdout]   --> src/lib.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 | let mut fb = Framebuffer::<Gray4, _, LittleEndian, 128, 128, { embedded_graphics::framebuffer::buffer_size::<Gray4>(128, 128) }>::ne...
[INFO] [stdout]    |              ^^^^^^^^^^^ use of undeclared type `Framebuffer`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Framebuffer`
[INFO] [stdout]   --> src/lib.rs:83:14
[INFO] [stdout]    |
[INFO] [stdout] 83 | let mut fb = Framebuffer::<Gray4, _, LittleEndian, 128, 128, { 128 * 128 / 2 }>::new();
[INFO] [stdout]    |              ^^^^^^^^^^^ use of undeclared type `Framebuffer`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/blocking.rs - blocking (line 5) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_graphics`
[INFO] [stdout]  --> src/blocking.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use embedded_graphics::framebuffer::Framebuffer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_graphics`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `embedded_graphics`, use `cargo add embedded_graphics` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hal`
[INFO] [stdout]   --> src/blocking.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | let mut config = hal::spi::Config::default();
[INFO] [stdout]    |                  ^^^ use of unresolved module or unlinked crate `hal`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hal`, use `cargo add hal` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hal`
[INFO] [stdout]   --> src/blocking.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | let spi = hal::spi::Spi::new_blocking_txonly(r.spi1, r.sclk, r.mosi, config);
[INFO] [stdout]    |           ^^^ use of unresolved module or unlinked crate `hal`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hal`, use `cargo add hal` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal_bus`
[INFO] [stdout]   --> src/blocking.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | let spi_bus = embedded_hal_bus::util::AtomicCell::new(spi);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal_bus`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 16 - let spi_bus = embedded_hal_bus::util::AtomicCell::new(spi);
[INFO] [stdout] 16 + let spi_bus = embedded_hal::util::AtomicCell::new(spi);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_hal_bus`
[INFO] [stdout]   --> src/blocking.rs:17:15
[INFO] [stdout]    |
[INFO] [stdout] 17 | let spi_dev = embedded_hal_bus::spi::AtomicDevice::new(&spi_bus, cs, Delay).unwrap();
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_hal_bus`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 17 - let spi_dev = embedded_hal_bus::spi::AtomicDevice::new(&spi_bus, cs, Delay).unwrap();
[INFO] [stdout] 17 + let spi_dev = embedded_hal::spi::AtomicDevice::new(&spi_bus, cs, Delay).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output`
[INFO] [stdout]  --> src/blocking.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | let dc = Output::new(r.dc, Level::Low, Default::default());
[INFO] [stdout]   |          ^^^^^^ use of undeclared type `Output`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 + use std::process::Output;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `r` in this scope
[INFO] [stdout]  --> src/blocking.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 | let dc = Output::new(r.dc, Level::Low, Default::default());
[INFO] [stdout]   |                      ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output`
[INFO] [stdout]   --> src/blocking.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | let cs = Output::new(r.cs, Level::High, Default::default());
[INFO] [stdout]    |          ^^^^^^ use of undeclared type `Output`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::process::Output;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `r` in this scope
[INFO] [stdout]   --> src/blocking.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | let cs = Output::new(r.cs, Level::High, Default::default());
[INFO] [stdout]    |                      ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `r` in this scope
[INFO] [stdout]   --> src/blocking.rs:14:46
[INFO] [stdout]    |
[INFO] [stdout] 14 | let spi = hal::spi::Spi::new_blocking_txonly(r.spi1, r.sclk, r.mosi, config);
[INFO] [stdout]    |                                              ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `r` in this scope
[INFO] [stdout]   --> src/blocking.rs:14:54
[INFO] [stdout]    |
[INFO] [stdout] 14 | let spi = hal::spi::Spi::new_blocking_txonly(r.spi1, r.sclk, r.mosi, config);
[INFO] [stdout]    |                                                      ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `r` in this scope
[INFO] [stdout]   --> src/blocking.rs:14:62
[INFO] [stdout]    |
[INFO] [stdout] 14 | let spi = hal::spi::Spi::new_blocking_txonly(r.spi1, r.sclk, r.mosi, config);
[INFO] [stdout]    |                                                              ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Delay` in this scope
[INFO] [stdout]   --> src/blocking.rs:17:70
[INFO] [stdout]    |
[INFO] [stdout] 17 | let spi_dev = embedded_hal_bus::spi::AtomicDevice::new(&spi_bus, cs, Delay).unwrap();
[INFO] [stdout]    |                                                                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Gray4` in this scope
[INFO] [stdout]   --> src/blocking.rs:22:28
[INFO] [stdout]    |
[INFO] [stdout] 22 | let mut fb = Framebuffer::<Gray4, _, LittleEndian, 128, 128, { 128 * 128 / 2 }>::new();
[INFO] [stdout]    |                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_blocking_rs_5_0<Gray4>() {
[INFO] [stdout]    |                                                                          +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LittleEndian` in this scope
[INFO] [stdout]   --> src/blocking.rs:22:38
[INFO] [stdout]    |
[INFO] [stdout] 22 | let mut fb = Framebuffer::<Gray4, _, LittleEndian, 128, 128, { 128 * 128 / 2 }>::new();
[INFO] [stdout]    |                                      ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_blocking_rs_5_0<LittleEndian>() {
[INFO] [stdout]    |                                                                          ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Level`
[INFO] [stdout]  --> src/blocking.rs:9:28
[INFO] [stdout]   |
[INFO] [stdout] 9 | let dc = Output::new(r.dc, Level::Low, Default::default());
[INFO] [stdout]   |                            ^^^^^ use of undeclared type `Level`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Level`
[INFO] [stdout]   --> src/blocking.rs:10:28
[INFO] [stdout]    |
[INFO] [stdout] 10 | let cs = Output::new(r.cs, Level::High, Default::default());
[INFO] [stdout]    |                            ^^^^^ use of undeclared type `Level`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hertz`
[INFO] [stdout]   --> src/blocking.rs:13:20
[INFO] [stdout]    |
[INFO] [stdout] 13 | config.frequency = Hertz::mhz(20);
[INFO] [stdout]    |                    ^^^^^ use of undeclared type `Hertz`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 5) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_graphics`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use embedded_graphics::framebuffer::Framebuffer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_graphics`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `embedded_graphics`, use `cargo add embedded_graphics` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hal`
[INFO] [stdout]   --> src/lib.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | let mut config = hal::spi::Config::default();
[INFO] [stdout]    |                  ^^^ use of unresolved module or unlinked crate `hal`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hal`, use `cargo add hal` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hal`
[INFO] [stdout]   --> src/lib.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | let spi = hal::spi::Spi::new_txonly(r.spi1, r.sclk, r.mosi, r.dma_ch0, config);
[INFO] [stdout]    |           ^^^ use of unresolved module or unlinked crate `hal`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `hal`, use `cargo add hal` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output`
[INFO] [stdout]  --> src/lib.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | let dc = Output::new(r.dc, Level::Low, Default::default());
[INFO] [stdout]   |          ^^^^^^ use of undeclared type `Output`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 + use std::process::Output;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `r` in this scope
[INFO] [stdout]  --> src/lib.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 | let dc = Output::new(r.dc, Level::Low, Default::default());
[INFO] [stdout]   |                      ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Output`
[INFO] [stdout]   --> src/lib.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | let cs = Output::new(r.cs, Level::High, Default::default());
[INFO] [stdout]    |          ^^^^^^ use of undeclared type `Output`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::process::Output;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `r` in this scope
[INFO] [stdout]   --> src/lib.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | let cs = Output::new(r.cs, Level::High, Default::default());
[INFO] [stdout]    |                      ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `r` in this scope
[INFO] [stdout]   --> src/lib.rs:14:37
[INFO] [stdout]    |
[INFO] [stdout] 14 | let spi = hal::spi::Spi::new_txonly(r.spi1, r.sclk, r.mosi, r.dma_ch0, config);
[INFO] [stdout]    |                                     ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `r` in this scope
[INFO] [stdout]   --> src/lib.rs:14:45
[INFO] [stdout]    |
[INFO] [stdout] 14 | let spi = hal::spi::Spi::new_txonly(r.spi1, r.sclk, r.mosi, r.dma_ch0, config);
[INFO] [stdout]    |                                             ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `r` in this scope
[INFO] [stdout]   --> src/lib.rs:14:53
[INFO] [stdout]    |
[INFO] [stdout] 14 | let spi = hal::spi::Spi::new_txonly(r.spi1, r.sclk, r.mosi, r.dma_ch0, config);
[INFO] [stdout]    |                                                     ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `r` in this scope
[INFO] [stdout]   --> src/lib.rs:14:61
[INFO] [stdout]    |
[INFO] [stdout] 14 | let spi = hal::spi::Spi::new_txonly(r.spi1, r.sclk, r.mosi, r.dma_ch0, config);
[INFO] [stdout]    |                                                             ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_sync`
[INFO] [stdout]   --> src/lib.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 | let spi_bus = embassy_sync::mutex::Mutex::<NoopRawMutex, _>::new(spi);
[INFO] [stdout]    |               ^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_sync`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `embassy_sync`, use `cargo add embassy_sync` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::Mutex;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::sync::nonpoison::Mutex;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Mutex`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 15 - let spi_bus = embassy_sync::mutex::Mutex::<NoopRawMutex, _>::new(spi);
[INFO] [stdout] 15 + let spi_bus = Mutex::<NoopRawMutex, _>::new(spi);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `NoopRawMutex` in this scope
[INFO] [stdout]   --> src/lib.rs:15:44
[INFO] [stdout]    |
[INFO] [stdout] 15 | let spi_bus = embassy_sync::mutex::Mutex::<NoopRawMutex, _>::new(spi);
[INFO] [stdout]    |                                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0<NoopRawMutex>() {
[INFO] [stdout]    |                                                                     ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embassy_embedded_hal`
[INFO] [stdout]   --> src/lib.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | let spi_dev = embassy_embedded_hal::shared_bus::asynch::spi::SpiDevice::new(&spi_bus, cs);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embassy_embedded_hal`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `embassy_embedded_hal`, use `cargo add embassy_embedded_hal` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these traits
[INFO] [stdout]    |
[INFO] [stdout]  4 + use embedded_hal::spi::SpiDevice;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use embedded_hal_async::spi::SpiDevice;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `SpiDevice`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 16 - let spi_dev = embassy_embedded_hal::shared_bus::asynch::spi::SpiDevice::new(&spi_bus, cs);
[INFO] [stdout] 16 + let spi_dev = SpiDevice::new(&spi_bus, cs);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Gray4` in this scope
[INFO] [stdout]   --> src/lib.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 | let mut fb = Framebuffer::<Gray4, _, LittleEndian, 128, 128, { 128 * 128 / 2 }>::new();
[INFO] [stdout]    |                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0<Gray4>() {
[INFO] [stdout]    |                                                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LittleEndian` in this scope
[INFO] [stdout]   --> src/lib.rs:19:38
[INFO] [stdout]    |
[INFO] [stdout] 19 | let mut fb = Framebuffer::<Gray4, _, LittleEndian, 128, 128, { 128 * 128 / 2 }>::new();
[INFO] [stdout]    |                                      ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout]  6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0<LittleEndian>() {
[INFO] [stdout]    |                                                                     ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout]  6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 18 | ssd1327.init().await.unwrap();
[INFO] [stdout]    |                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:23:38
[INFO] [stdout]    |
[INFO] [stdout]  6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 23 | ssd1327.write_framebuffer(fb.data()).await.unwrap();
[INFO] [stdout]    |                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Level`
[INFO] [stdout]  --> src/lib.rs:9:28
[INFO] [stdout]   |
[INFO] [stdout] 9 | let dc = Output::new(r.dc, Level::Low, Default::default());
[INFO] [stdout]   |                            ^^^^^ use of undeclared type `Level`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Level`
[INFO] [stdout]   --> src/lib.rs:10:28
[INFO] [stdout]    |
[INFO] [stdout] 10 | let cs = Output::new(r.cs, Level::High, Default::default());
[INFO] [stdout]    |                            ^^^^^ use of undeclared type `Level`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hertz`
[INFO] [stdout]   --> src/lib.rs:13:20
[INFO] [stdout]    |
[INFO] [stdout] 13 | config.frequency = Hertz::mhz(20);
[INFO] [stdout]    |                    ^^^^^ use of undeclared type `Hertz`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 21 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/blocking.rs - blocking (line 5)
[INFO] [stdout]     src/blocking.rs - blocking::SSD1327 (line 36)
[INFO] [stdout]     src/lib.rs - (line 5)
[INFO] [stdout]     src/lib.rs - SSD1327 (line 80)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "762351c660f47b9c33763a77bb861a1a9b5d9ff1d4c7100031523fe2db0edd54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "762351c660f47b9c33763a77bb861a1a9b5d9ff1d4c7100031523fe2db0edd54", kill_on_drop: false }`
[INFO] [stdout] 762351c660f47b9c33763a77bb861a1a9b5d9ff1d4c7100031523fe2db0edd54
