[INFO] cloning repository https://github.com/pahlavaubivca/arduino-ui-device [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pahlavaubivca/arduino-ui-device" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpahlavaubivca%2Farduino-ui-device", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpahlavaubivca%2Farduino-ui-device'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdf90c106f6920990b87a7bceb9c958e9ef62b94 [INFO] testing pahlavaubivca/arduino-ui-device against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpahlavaubivca%2Farduino-ui-device" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/pahlavaubivca/arduino-ui-device [INFO] finished tweaking git repo https://github.com/pahlavaubivca/arduino-ui-device [INFO] tweaked toml for git repo https://github.com/pahlavaubivca/arduino-ui-device written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pahlavaubivca/arduino-ui-device on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pahlavaubivca/arduino-ui-device 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/rahix/avr-hal` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embedded-graphics-core v0.4.0 [INFO] [stderr] Downloaded unwrap-infallible v0.1.5 [INFO] [stderr] Downloaded object-chain v0.1.3 [INFO] [stderr] Downloaded avr-device-macros v0.5.4 [INFO] [stderr] Downloaded ufmt-macros v0.3.0 [INFO] [stderr] Downloaded panic-halt v0.2.0 [INFO] [stderr] Downloaded embedded-hal-bus v0.1.0 [INFO] [stderr] Downloaded az v1.2.1 [INFO] [stderr] Downloaded embedded-storage v0.2.0 [INFO] [stderr] Downloaded embedded-text v0.7.0 [INFO] [stderr] Downloaded ufmt v0.2.0 [INFO] [stderr] Downloaded micromath v2.1.0 [INFO] [stderr] Downloaded avr-device v0.5.4 [INFO] [stderr] Downloaded embedded-graphics v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b26d406f04fd81b9cc6f6bce7fd9d8188487928b6c0de9a5125f56d6cee70ce [INFO] running `Command { std: "docker" "start" "-a" "8b26d406f04fd81b9cc6f6bce7fd9d8188487928b6c0de9a5125f56d6cee70ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b26d406f04fd81b9cc6f6bce7fd9d8188487928b6c0de9a5125f56d6cee70ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b26d406f04fd81b9cc6f6bce7fd9d8188487928b6c0de9a5125f56d6cee70ce", kill_on_drop: false }` [INFO] [stdout] 8b26d406f04fd81b9cc6f6bce7fd9d8188487928b6c0de9a5125f56d6cee70ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8809446eb20d63e686fcb58f1ff97e5b3d6e640350556d684207a5ade44f1fe6 [INFO] running `Command { std: "docker" "start" "-a" "8809446eb20d63e686fcb58f1ff97e5b3d6e640350556d684207a5ade44f1fe6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling embedded-hal-bus v0.1.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling critical-section v1.1.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bare-metal v1.0.0 [INFO] [stderr] Compiling ufmt-write v0.1.0 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-storage v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unwrap-infallible v0.1.5 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling micromath v2.1.0 [INFO] [stderr] Compiling object-chain v0.1.3 [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling avr-hal-generic v0.1.0 (https://github.com/rahix/avr-hal?rev=3e362624547462928a219c40f9ea8e3a64f21e5f#3e362624) [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling embedded-graphics-core v0.4.0 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling embedded-graphics v0.8.1 [INFO] [stderr] Compiling embedded-text v0.7.0 [INFO] [stderr] Compiling ufmt-macros v0.3.0 [INFO] [stderr] Compiling avr-device-macros v0.5.4 [INFO] [stderr] Compiling ufmt v0.2.0 [INFO] [stderr] Compiling avr-device v0.5.4 [INFO] [stderr] Compiling atmega-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=3e362624547462928a219c40f9ea8e3a64f21e5f#3e362624) [INFO] [stderr] Compiling arduino-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=3e362624547462928a219c40f9ea8e3a64f21e5f#3e362624) [INFO] [stderr] Compiling arduino-ui-device v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: Ensure that you are using an AVR target! You may need to change directories or pass a --target flag to cargo. See [INFO] [stdout] https://github.com/Rahix/avr-device/pull/41 for more details. [INFO] [stdout] --> src/main.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[arduino_hal::entry] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `arduino_hal::entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_hal::spi` [INFO] [stdout] --> src/lcd/lcd.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use embedded_hal::spi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `_embedded_hal_blocking_spi_Write` [INFO] [stdout] --> src/main.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use arduino_hal::prelude::{_embedded_hal_blocking_spi_Write, _embedded_hal_serial_Read, _unwrap_infallible_UnwrapInfallible}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_hal::digital::OutputPin` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use embedded_hal::digital::OutputPin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Orientation` [INFO] [stdout] --> src/main.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::lcd::lcd::{Orientation, ST7735}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MonoTextStyleBuilder` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | MonoTextStyleBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageRawLE`, `ImageRaw`, and `Image` [INFO] [stdout] --> src/main.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | use embedded_graphics::image::{Image, ImageRaw, ImageRawLE}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FONT_8X13` [INFO] [stdout] --> src/main.rs:25:54 [INFO] [stdout] | [INFO] [stdout] 25 | use embedded_graphics::mono_font::ascii::{FONT_6X12, FONT_8X13}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | buffer[i] = (b'0' + (num % 10) as u8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 180 - buffer[i] = (b'0' + (num % 10) as u8); [INFO] [stdout] 180 + buffer[i] = b'0' + (num % 10) as u8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/lcd/lcd.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:110:34 [INFO] [stdout] | [INFO] [stdout] 110 | Err(nb::Error::Other(e)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut sclk_pin = pins.d13.into_output(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/main.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | let start = i; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arduino-ui-device` (bin "arduino-ui-device") due to 1 previous error; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8809446eb20d63e686fcb58f1ff97e5b3d6e640350556d684207a5ade44f1fe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8809446eb20d63e686fcb58f1ff97e5b3d6e640350556d684207a5ade44f1fe6", kill_on_drop: false }` [INFO] [stdout] 8809446eb20d63e686fcb58f1ff97e5b3d6e640350556d684207a5ade44f1fe6