[INFO] fetching crate ssd1322_rs 0.2.0... [INFO] testing ssd1322_rs-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate ssd1322_rs 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate ssd1322_rs 0.2.0 [INFO] finished tweaking crates.io crate ssd1322_rs 0.2.0 [INFO] tweaked toml for crates.io crate ssd1322_rs 0.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ssd1322_rs 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e1ddaf5964756b9b600acabdd4e97dc1a8b4dde072a51162d206bcf17f7e9f7 [INFO] running `Command { std: "docker" "start" "-a" "3e1ddaf5964756b9b600acabdd4e97dc1a8b4dde072a51162d206bcf17f7e9f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e1ddaf5964756b9b600acabdd4e97dc1a8b4dde072a51162d206bcf17f7e9f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e1ddaf5964756b9b600acabdd4e97dc1a8b4dde072a51162d206bcf17f7e9f7", kill_on_drop: false }` [INFO] [stdout] 3e1ddaf5964756b9b600acabdd4e97dc1a8b4dde072a51162d206bcf17f7e9f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 868f499b0b6cc9393d52acdfc4ff87fdc384851d883a7ee45dcdb178e07636ba [INFO] running `Command { std: "docker" "start" "-a" "868f499b0b6cc9393d52acdfc4ff87fdc384851d883a7ee45dcdb178e07636ba", kill_on_drop: false }` [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling embedded-graphics-core v0.4.0 [INFO] [stderr] Compiling ssd1322_rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.93s [INFO] running `Command { std: "docker" "inspect" "868f499b0b6cc9393d52acdfc4ff87fdc384851d883a7ee45dcdb178e07636ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "868f499b0b6cc9393d52acdfc4ff87fdc384851d883a7ee45dcdb178e07636ba", kill_on_drop: false }` [INFO] [stdout] 868f499b0b6cc9393d52acdfc4ff87fdc384851d883a7ee45dcdb178e07636ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69d48d61cc88267911befdd3e1b180cc7899d086b33c45b04412da31e130a8be [INFO] running `Command { std: "docker" "start" "-a" "69d48d61cc88267911befdd3e1b180cc7899d086b33c45b04412da31e130a8be", kill_on_drop: false }` [INFO] [stderr] Compiling ssd1322_rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "69d48d61cc88267911befdd3e1b180cc7899d086b33c45b04412da31e130a8be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69d48d61cc88267911befdd3e1b180cc7899d086b33c45b04412da31e130a8be", kill_on_drop: false }` [INFO] [stdout] 69d48d61cc88267911befdd3e1b180cc7899d086b33c45b04412da31e130a8be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1b16931e4811e3bfa4aea492e3e4293c34179b2322f8b5c8599535c8b37789a4 [INFO] running `Command { std: "docker" "start" "-a" "1b16931e4811e3bfa4aea492e3e4293c34179b2322f8b5c8599535c8b37789a4", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ssd1322_rs-23eb206b6d9042f1) [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 ssd1322_rs [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - SSD1322::set_address_window (line 382) ... FAILED [INFO] [stdout] test src/lib.rs - SSD1322::flush_buffer (line 428) ... FAILED [INFO] [stdout] test src/lib.rs - SSD1322::set_orientation (line 266) ... FAILED [INFO] [stdout] test src/lib.rs - SSD1322::init_default (line 130) ... FAILED [INFO] [stdout] test src/lib.rs - SSD1322::flush_frame (line 463) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - SSD1322::set_address_window (line 382) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `SPI` in this scope [INFO] [stdout] --> src/lib.rs:385:46 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DC` in this scope [INFO] [stdout] --> src/lib.rs:385:51 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RST` in this scope [INFO] [stdout] --> src/lib.rs:385:55 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PO` in this scope [INFO] [stdout] --> src/lib.rs:385:60 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `E` in this scope [INFO] [stdout] --> src/lib.rs:385:85 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | ^ [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/cmp.rs:338:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Eq` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | + [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - SSD1322::flush_buffer (line 428) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `SPI` in this scope [INFO] [stdout] --> src/lib.rs:431:46 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, buffer: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, buffer: &[u8]) -> Result<(), Error> { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DC` in this scope [INFO] [stdout] --> src/lib.rs:431:51 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, buffer: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, buffer: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RST` in this scope [INFO] [stdout] --> src/lib.rs:431:55 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, buffer: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, buffer: &[u8]) -> Result<(), Error> { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PO` in this scope [INFO] [stdout] --> src/lib.rs:431:60 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, buffer: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, buffer: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `E` in this scope [INFO] [stdout] --> src/lib.rs:431:100 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, buffer: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ^ [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/cmp.rs:338:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Eq` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, buffer: &[u8]) -> Result<(), Error> { [INFO] [stdout] | + [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, buffer: &[u8]) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - SSD1322::set_orientation (line 266) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `your_crate` [INFO] [stdout] --> src/lib.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 5 | use your_crate::{ssd1322_rs, Orientation, Error}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SSD1322` in this scope [INFO] [stdout] --> src/lib.rs:269:38 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use ssd1322_rs::SSD1322; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SPI` in this scope [INFO] [stdout] --> src/lib.rs:269:46 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DC` in this scope [INFO] [stdout] --> src/lib.rs:269:51 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RST` in this scope [INFO] [stdout] --> src/lib.rs:269:55 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PO` in this scope [INFO] [stdout] --> src/lib.rs:269:60 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `E` in this scope [INFO] [stdout] --> src/lib.rs:269:85 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | ^ [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/cmp.rs:338:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Eq` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | + [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - SSD1322::init_default (line 130) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `SPI` in this scope [INFO] [stdout] --> src/lib.rs:133:49 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, delay: &mut D) -> Result<(), Error> [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, delay: &mut D) -> Result<(), Error> [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DC` in this scope [INFO] [stdout] --> src/lib.rs:133:54 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, delay: &mut D) -> Result<(), Error> [INFO] [stdout] | - ^^ [INFO] [stdout] | | [INFO] [stdout] | similarly named type parameter `D` defined here [INFO] [stdout] | [INFO] [stdout] help: a type parameter with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - async fn example_usage(display: &mut SSD1322, delay: &mut D) -> Result<(), Error> [INFO] [stdout] 6 + async fn example_usage(display: &mut SSD1322, delay: &mut D) -> Result<(), Error> [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, delay: &mut D) -> Result<(), Error> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RST` in this scope [INFO] [stdout] --> src/lib.rs:133:58 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, delay: &mut D) -> Result<(), Error> [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, delay: &mut D) -> Result<(), Error> [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PO` in this scope [INFO] [stdout] --> src/lib.rs:133:63 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, delay: &mut D) -> Result<(), Error> [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, delay: &mut D) -> Result<(), Error> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `E` in this scope [INFO] [stdout] --> src/lib.rs:133:103 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, delay: &mut D) -> Result<(), Error> [INFO] [stdout] | - similarly named type parameter `D` defined here ^ [INFO] [stdout] | [INFO] [stdout] help: a type parameter with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - async fn example_usage(display: &mut SSD1322, delay: &mut D) -> Result<(), Error> [INFO] [stdout] 6 + async fn example_usage(display: &mut SSD1322, delay: &mut D) -> Result<(), Error> [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, delay: &mut D) -> Result<(), Error> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command` [INFO] [stdout] --> src/lib.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 12 | display.write_command(Command::SetStartLine(0).prepare()?).await?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Command` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Command; [INFO] [stdout] | [INFO] [stdout] 2 + use ssd1322_rs::instruction::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command` [INFO] [stdout] --> src/lib.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 13 | display.write_command(Command::SetDisplayOffset(0).prepare()?).await?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Command` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Command; [INFO] [stdout] | [INFO] [stdout] 2 + use ssd1322_rs::instruction::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `CommandData` is private [INFO] [stdout] --> src/lib.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 5 | use ssd1322_rs::{SSD1322, CommandData, DelayNs, Error}; [INFO] [stdout] | ^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `CommandData` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::instruction::{Command, CommandError, CommandData, consts::{BUF_COL_MAX, PIXEL_ROW_MAX}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: import `CommandData` directly [INFO] [stdout] | [INFO] [stdout] 5 | use ssd1322_rs::{SSD1322, ssd1322_rs::instruction::CommandData, DelayNs, Error}; [INFO] [stdout] | +++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0603]: trait `DelayNs` is private [INFO] [stdout] --> src/lib.rs:132:40 [INFO] [stdout] | [INFO] [stdout] 5 | use ssd1322_rs::{SSD1322, CommandData, DelayNs, Error}; [INFO] [stdout] | ^^^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `DelayNs` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use embedded_hal_async::delay::DelayNs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: import `DelayNs` directly [INFO] [stdout] | [INFO] [stdout] 5 | use ssd1322_rs::{SSD1322, CommandData, embedded_hal_async::delay::DelayNs, Error}; [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - SSD1322::flush_frame (line 463) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `SPI` in this scope [INFO] [stdout] --> src/lib.rs:466:62 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, frame: &Frame) -> Result<(), Error> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, frame: &Frame) -> Result<(), Error> { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DC` in this scope [INFO] [stdout] --> src/lib.rs:466:67 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, frame: &Frame) -> Result<(), Error> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, frame: &Frame) -> Result<(), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RST` in this scope [INFO] [stdout] --> src/lib.rs:466:71 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, frame: &Frame) -> Result<(), Error> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, frame: &Frame) -> Result<(), Error> { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PO` in this scope [INFO] [stdout] --> src/lib.rs:466:76 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, frame: &Frame) -> Result<(), Error> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, frame: &Frame) -> Result<(), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `E` in this scope [INFO] [stdout] --> src/lib.rs:466:119 [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, frame: &Frame) -> Result<(), Error> { [INFO] [stdout] | ^ [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/cmp.rs:338:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Eq` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, frame: &Frame) -> Result<(), Error> { [INFO] [stdout] | + [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 6 | async fn example_usage(display: &mut SSD1322, frame: &Frame) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - SSD1322::flush_buffer (line 428) [INFO] [stdout] src/lib.rs - SSD1322::flush_frame (line 463) [INFO] [stdout] src/lib.rs - SSD1322::init_default (line 130) [INFO] [stdout] src/lib.rs - SSD1322::set_address_window (line 382) [INFO] [stdout] src/lib.rs - SSD1322::set_orientation (line 266) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1b16931e4811e3bfa4aea492e3e4293c34179b2322f8b5c8599535c8b37789a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b16931e4811e3bfa4aea492e3e4293c34179b2322f8b5c8599535c8b37789a4", kill_on_drop: false }` [INFO] [stdout] 1b16931e4811e3bfa4aea492e3e4293c34179b2322f8b5c8599535c8b37789a4