[INFO] fetching crate ssd1320 0.1.0... [INFO] checking ssd1320-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate ssd1320 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate ssd1320 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ssd1320 0.1.0 [INFO] finished tweaking crates.io crate ssd1320 0.1.0 [INFO] tweaked toml for crates.io crate ssd1320 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate ssd1320 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cortex-m-rt v0.6.14 [INFO] [stderr] Downloaded stm32f4xx-hal v0.8.3 [INFO] [stderr] Downloaded embedded-graphics-core v0.3.2 [INFO] [stderr] Downloaded rtt-target v0.2.2 [INFO] [stderr] Downloaded embedded-hal v0.2.5 [INFO] [stderr] Downloaded display-interface v0.4.1 [INFO] [stderr] Downloaded display-interface-spi v0.4.1 [INFO] [stderr] Downloaded az v1.1.1 [INFO] [stderr] Downloaded cortex-m v0.7.2 [INFO] [stderr] Downloaded nom v6.2.0 [INFO] [stderr] Downloaded stm32f4 v0.11.0 [INFO] [stderr] Downloaded tinybmp v0.3.1 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e56460c9c85aeff65c50e891aa5f26069613fa8f00e30cb950b99cb084b72b1c [INFO] running `Command { std: "docker" "start" "-a" "e56460c9c85aeff65c50e891aa5f26069613fa8f00e30cb950b99cb084b72b1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e56460c9c85aeff65c50e891aa5f26069613fa8f00e30cb950b99cb084b72b1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e56460c9c85aeff65c50e891aa5f26069613fa8f00e30cb950b99cb084b72b1c", kill_on_drop: false }` [INFO] [stdout] e56460c9c85aeff65c50e891aa5f26069613fa8f00e30cb950b99cb084b72b1c [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4d3a0c0fa4045434ed1eeb6206e618b154d3376753add507c06d48a8c51e7c0 [INFO] running `Command { std: "docker" "start" "-a" "e4d3a0c0fa4045434ed1eeb6206e618b154d3376753add507c06d48a8c51e7c0", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling az v1.1.1 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling cortex-m-rt v0.6.14 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking embedded-hal v0.2.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Compiling stm32f4 v0.11.0 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking display-interface v0.4.1 [INFO] [stderr] Checking micromath v1.1.1 [INFO] [stderr] Checking rtt-target v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling nom v6.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking display-interface-spi v0.4.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking panic-rtt-target v0.1.2 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking embedded-graphics-core v0.3.2 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking embedded-graphics v0.7.1 [INFO] [stderr] Checking ssd1320 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/buffered_graphics.rs:87:53 [INFO] [stdout] | [INFO] [stdout] 87 | self.framebuffer[index as usize] |= (color.luma() << shift); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 87 - self.framebuffer[index as usize] |= (color.luma() << shift); [INFO] [stdout] 87 + self.framebuffer[index as usize] |= color.luma() << shift; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `display_interface_spi::SPIInterfaceNoCS` [INFO] [stdout] --> src/display.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use display_interface_spi::SPIInterfaceNoCS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cast v0.2.6 [INFO] [stdout] warning: method `select_all` is never used [INFO] [stdout] --> src/lib.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 75 | / impl Ssd1320z2 [INFO] [stdout] 76 | | where [INFO] [stdout] 77 | | DI: WriteOnlyDataCommand, [INFO] [stdout] 78 | | CS1: OutputPin, [INFO] [stdout] 79 | | CS2: OutputPin, [INFO] [stdout] | |___________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | fn select_all(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_PIXELS_ROWS` is never used [INFO] [stdout] --> src/consts.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub const NUM_PIXELS_ROWS: u16 = 160; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_BUF_COLS` is never used [INFO] [stdout] --> src/consts.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub const NUM_BUF_COLS: u16 = NUM_PIXELS_COLS / 2; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PIXEL_ROW_MAX` is never used [INFO] [stdout] --> src/consts.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub const PIXEL_ROW_MAX: u16 = NUM_PIXELS_ROWS - 1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUF_COL_MAX` is never used [INFO] [stdout] --> src/consts.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub const BUF_COL_MAX: u16 = NUM_BUF_COLS - 1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_display_on`, `set_column`, and `set_row` are never used [INFO] [stdout] --> src/display.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 18 | / impl Ssd1320 [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | DI: WriteOnlyDataCommand, [INFO] [stdout] | |_____________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn set_display_on(&mut self, on: bool) -> Result<(), DisplayError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn set_column(&mut self, column: u8) -> Result<(), DisplayError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn set_row(&mut self, row: u8) -> Result<(), DisplayError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/buffered_graphics.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | self.display.init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = self.display.init(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Checking rtt-target v0.2.2 [INFO] [stderr] Checking tinybmp v0.3.1 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Checking stm32f4xx-hal v0.8.3 [INFO] [stdout] error: couldn't read `examples/rust.bmp`: No such file or directory (os error 2) [INFO] [stdout] --> examples/embedded_graphics.rs:68:53 [INFO] [stdout] | [INFO] [stdout] 68 | let bmp: Bmp = Bmp::from_slice(include_bytes!("rust.bmp")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/buffered_graphics.rs:87:53 [INFO] [stdout] | [INFO] [stdout] 87 | self.framebuffer[index as usize] |= (color.luma() << shift); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 87 - self.framebuffer[index as usize] |= (color.luma() << shift); [INFO] [stdout] 87 + self.framebuffer[index as usize] |= color.luma() << shift; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `display_interface_spi::SPIInterfaceNoCS` [INFO] [stdout] --> src/display.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use display_interface_spi::SPIInterfaceNoCS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ssd1320` (example "embedded_graphics") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ssd1320` (example "standalone_run") due to 2 previous errors [INFO] [stdout] warning: method `select_all` is never used [INFO] [stdout] --> src/lib.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 75 | / impl Ssd1320z2 [INFO] [stdout] 76 | | where [INFO] [stdout] 77 | | DI: WriteOnlyDataCommand, [INFO] [stdout] 78 | | CS1: OutputPin, [INFO] [stdout] 79 | | CS2: OutputPin, [INFO] [stdout] | |___________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | fn select_all(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_PIXELS_ROWS` is never used [INFO] [stdout] --> src/consts.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub const NUM_PIXELS_ROWS: u16 = 160; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_BUF_COLS` is never used [INFO] [stdout] --> src/consts.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub const NUM_BUF_COLS: u16 = NUM_PIXELS_COLS / 2; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PIXEL_ROW_MAX` is never used [INFO] [stdout] --> src/consts.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub const PIXEL_ROW_MAX: u16 = NUM_PIXELS_ROWS - 1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUF_COL_MAX` is never used [INFO] [stdout] --> src/consts.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub const BUF_COL_MAX: u16 = NUM_BUF_COLS - 1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_display_on`, `set_column`, and `set_row` are never used [INFO] [stdout] --> src/display.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 18 | / impl Ssd1320 [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | DI: WriteOnlyDataCommand, [INFO] [stdout] | |_____________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn set_display_on(&mut self, on: bool) -> Result<(), DisplayError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn set_column(&mut self, column: u8) -> Result<(), DisplayError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn set_row(&mut self, row: u8) -> Result<(), DisplayError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/buffered_graphics.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | self.display.init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = self.display.init(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e4d3a0c0fa4045434ed1eeb6206e618b154d3376753add507c06d48a8c51e7c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4d3a0c0fa4045434ed1eeb6206e618b154d3376753add507c06d48a8c51e7c0", kill_on_drop: false }` [INFO] [stdout] e4d3a0c0fa4045434ed1eeb6206e618b154d3376753add507c06d48a8c51e7c0