[INFO] fetching crate ssd1322_rs 0.2.0... [INFO] testing ssd1322_rs-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate ssd1322_rs 0.2.0 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ssd1322_rs 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 155fcdff9456407dc6fb95e1e4c71e4cc4b095311dff7f050d43f587f167b38e [INFO] running `Command { std: "docker" "start" "-a" "155fcdff9456407dc6fb95e1e4c71e4cc4b095311dff7f050d43f587f167b38e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "155fcdff9456407dc6fb95e1e4c71e4cc4b095311dff7f050d43f587f167b38e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "155fcdff9456407dc6fb95e1e4c71e4cc4b095311dff7f050d43f587f167b38e", kill_on_drop: false }` [INFO] [stdout] 155fcdff9456407dc6fb95e1e4c71e4cc4b095311dff7f050d43f587f167b38e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f49bd83b5e25847ba744492ec9bd34e60f8d2f4e7bcb0ca31240ba4efa7ecf6 [INFO] running `Command { std: "docker" "start" "-a" "5f49bd83b5e25847ba744492ec9bd34e60f8d2f4e7bcb0ca31240ba4efa7ecf6", 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 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.72s [INFO] running `Command { std: "docker" "inspect" "5f49bd83b5e25847ba744492ec9bd34e60f8d2f4e7bcb0ca31240ba4efa7ecf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f49bd83b5e25847ba744492ec9bd34e60f8d2f4e7bcb0ca31240ba4efa7ecf6", kill_on_drop: false }` [INFO] [stdout] 5f49bd83b5e25847ba744492ec9bd34e60f8d2f4e7bcb0ca31240ba4efa7ecf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a8ad01264e59dfd0d9fa380668263cea6e162a111b9562495f08b0feb395323 [INFO] running `Command { std: "docker" "start" "-a" "9a8ad01264e59dfd0d9fa380668263cea6e162a111b9562495f08b0feb395323", 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.56s [INFO] running `Command { std: "docker" "inspect" "9a8ad01264e59dfd0d9fa380668263cea6e162a111b9562495f08b0feb395323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a8ad01264e59dfd0d9fa380668263cea6e162a111b9562495f08b0feb395323", kill_on_drop: false }` [INFO] [stdout] 9a8ad01264e59dfd0d9fa380668263cea6e162a111b9562495f08b0feb395323 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2c88c1a8138eb07682c65b02b2de2900817a07cb4281afc0b60ef584469f4292 [INFO] running `Command { std: "docker" "start" "-a" "2c88c1a8138eb07682c65b02b2de2900817a07cb4281afc0b60ef584469f4292", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [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::flush_buffer (line 428) ... FAILED [INFO] [stdout] test src/lib.rs - SSD1322::set_address_window (line 382) ... 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] test src/lib.rs - SSD1322::set_orientation (line 266) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 431 | 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] 431 | 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] 431 | 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] 431 | 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] 431 | 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] 431 | 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] 431 | 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] 431 | 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] 431 | async fn example_usage(display: &mut SSD1322, buffer: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/cmp.rs:338:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Eq` defined here [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 431 | 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] 431 | 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_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] 385 | 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] 385 | 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] 385 | 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] 385 | 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] 385 | 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] 385 | 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] 385 | 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] 385 | 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] 385 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/cmp.rs:338:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Eq` defined here [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 385 | 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] 385 | 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::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] 133 | 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] 133 | 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] 133 | 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] 133 - async fn example_usage(display: &mut SSD1322, delay: &mut D) -> Result<(), Error> [INFO] [stdout] 133 + 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] 133 | 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] 133 | 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] 133 | 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] 133 | 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] 133 | 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] 133 | 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] 133 - async fn example_usage(display: &mut SSD1322, delay: &mut D) -> Result<(), Error> [INFO] [stdout] 133 + 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] 133 | 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] 139 | 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] 129 + use std::process::Command; [INFO] [stdout] | [INFO] [stdout] 129 + 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] 140 | 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] 129 + use std::process::Command; [INFO] [stdout] | [INFO] [stdout] 129 + 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] 132 | 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] 132 | 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] 132 | 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] 132 | 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] 466 | 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] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] 466 | 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] 466 | 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] 466 | 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] 466 | 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] 466 | 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] 466 | 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] 466 | 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] 466 | async fn example_usage(display: &mut SSD1322, frame: &Frame) -> Result<(), Error> { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/cmp.rs:338:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Eq` defined here [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 466 | 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] 466 | 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] ---- 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] 268 | 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] 269 | 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] 265 + 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] 269 | 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] 269 | 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] 269 | 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] 269 | 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] 269 | 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] 269 | 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] 269 | 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] 269 | 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] 269 | async fn example_usage(display: &mut SSD1322) -> Result<(), Error> { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/cmp.rs:338:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Eq` defined here [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 269 | 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] 269 | 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] [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.29s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2c88c1a8138eb07682c65b02b2de2900817a07cb4281afc0b60ef584469f4292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c88c1a8138eb07682c65b02b2de2900817a07cb4281afc0b60ef584469f4292", kill_on_drop: false }` [INFO] [stdout] 2c88c1a8138eb07682c65b02b2de2900817a07cb4281afc0b60ef584469f4292