[INFO] fetching crate ssd1322-zjy128x64 0.1.0... [INFO] checking ssd1322-zjy128x64-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate ssd1322-zjy128x64 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate ssd1322-zjy128x64 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ssd1322-zjy128x64 0.1.0 [INFO] tweaked toml for crates.io crate ssd1322-zjy128x64 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ssd1322-zjy128x64 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ssd1322-zjy128x64 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embedded-graphics-core v0.4.0 [INFO] [stderr] Downloaded spin_sleep v1.3.1 [INFO] [stderr] Downloaded micromath v2.1.0 [INFO] [stderr] Downloaded rppal v0.22.1 [INFO] [stderr] Downloaded embedded-graphics v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e53af91a04ee89cac813d4fd18dae5f35575a59893ba909551334e6ce575a75e [INFO] running `Command { std: "docker" "start" "-a" "e53af91a04ee89cac813d4fd18dae5f35575a59893ba909551334e6ce575a75e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e53af91a04ee89cac813d4fd18dae5f35575a59893ba909551334e6ce575a75e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e53af91a04ee89cac813d4fd18dae5f35575a59893ba909551334e6ce575a75e", kill_on_drop: false }` [INFO] [stdout] e53af91a04ee89cac813d4fd18dae5f35575a59893ba909551334e6ce575a75e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5674e4fa5cd401b51ff47c0c1c49ae8456d6ffc066815553dba73d27ecc3fdf2 [INFO] running `Command { std: "docker" "start" "-a" "5674e4fa5cd401b51ff47c0c1c49ae8456d6ffc066815553dba73d27ecc3fdf2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking micromath v2.1.0 [INFO] [stderr] Checking spin_sleep v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking embedded-graphics-core v0.4.0 [INFO] [stderr] Checking rppal v0.22.1 [INFO] [stderr] Checking embedded-graphics v0.8.1 [INFO] [stderr] Checking ssd1322-zjy128x64 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `Spi: embedded_hal::spi::SpiDevice` is not satisfied [INFO] [stdout] --> examples/rppal.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | let mut display = SSD1322::new(spi, dc, res); [INFO] [stdout] | ------------ ^^^ the trait `embedded_hal::spi::SpiDevice` is not implemented for `Spi` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `embedded_hal::spi::SpiDevice`: [INFO] [stdout] `&mut T` implements `embedded_hal::spi::SpiDevice` [INFO] [stdout] `SimpleHalSpiDevice` implements `embedded_hal::spi::SpiDevice` [INFO] [stdout] note: required by a bound in `SSD1322::::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | SPI: SpiDevice, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SSD1322::::new` [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn new(spi: SPI, dc: OUTPIN, res: OUTPIN) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Spi: embedded_hal::spi::SpiDevice` is not satisfied [INFO] [stdout] --> examples/rppal.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | let mut display = SSD1322::new(spi, dc, res); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `embedded_hal::spi::SpiDevice` is not implemented for `Spi` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `embedded_hal::spi::SpiDevice`: [INFO] [stdout] `&mut T` implements `embedded_hal::spi::SpiDevice` [INFO] [stdout] `SimpleHalSpiDevice` implements `embedded_hal::spi::SpiDevice` [INFO] [stdout] note: required by a bound in `SSD1322` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct SSD1322 [INFO] [stdout] | ------- required by a bound in this struct [INFO] [stdout] 37 | where [INFO] [stdout] 38 | SPI: SpiDevice, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SSD1322` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `init` exists for struct `SSD1322`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/rppal.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | display.init(&mut delay)?; [INFO] [stdout] | ^^^^ method cannot be called on `SSD1322` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.22.1/src/spi.rs:417:1 [INFO] [stdout] | [INFO] [stdout] 417 | pub struct Spi { [INFO] [stdout] | -------------- doesn't satisfy `Spi: embedded_hal::spi::SpiDevice` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Spi: embedded_hal::spi::SpiDevice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clear` found for struct `SSD1322` in the current scope [INFO] [stdout] --> examples/rppal.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | display.clear(Gray4::new(15 - c))?; [INFO] [stdout] | ^^^^^ method not found in `SSD1322` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Spi: embedded_hal::spi::SpiDevice` is not satisfied [INFO] [stdout] --> examples/rppal.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | .draw(&mut display)?; [INFO] [stdout] | ^^^^ the trait `embedded_hal::spi::SpiDevice` is not implemented for `Spi` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `embedded_hal::spi::SpiDevice`: [INFO] [stdout] `&mut T` implements `embedded_hal::spi::SpiDevice` [INFO] [stdout] `SimpleHalSpiDevice` implements `embedded_hal::spi::SpiDevice` [INFO] [stdout] = note: required for `SSD1322` to implement `DrawTarget` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `flush` exists for struct `SSD1322`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/rppal.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | display.flush()?; [INFO] [stdout] | ^^^^^ method cannot be called on `SSD1322` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.22.1/src/spi.rs:417:1 [INFO] [stdout] | [INFO] [stdout] 417 | pub struct Spi { [INFO] [stdout] | -------------- doesn't satisfy `Spi: embedded_hal::spi::SpiDevice` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Spi: embedded_hal::spi::SpiDevice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ssd1322-zjy128x64` (example "rppal") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "5674e4fa5cd401b51ff47c0c1c49ae8456d6ffc066815553dba73d27ecc3fdf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5674e4fa5cd401b51ff47c0c1c49ae8456d6ffc066815553dba73d27ecc3fdf2", kill_on_drop: false }` [INFO] [stdout] 5674e4fa5cd401b51ff47c0c1c49ae8456d6ffc066815553dba73d27ecc3fdf2