[INFO] cloning repository https://github.com/tuxerator/POTUS-light [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tuxerator/POTUS-light" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuxerator%2FPOTUS-light", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuxerator%2FPOTUS-light'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ed11ebd30acda933193883085326e9312edbe90 [INFO] checking tuxerator/POTUS-light against try#0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef for pr-147859 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuxerator%2FPOTUS-light" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/tuxerator/POTUS-light [INFO] finished tweaking git repo https://github.com/tuxerator/POTUS-light [INFO] tweaked toml for git repo https://github.com/tuxerator/POTUS-light written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tuxerator/POTUS-light on toolchain 0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tuxerator/POTUS-light 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" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytemuck v1.21.0 [INFO] [stderr] Downloaded smart-leds v0.3.0 [INFO] [stderr] Downloaded smart-leds-trait v0.2.1 [INFO] [stderr] Downloaded unicode-ident v1.0.15 [INFO] [stderr] Downloaded avr-device-macros v0.7.0 [INFO] [stderr] Downloaded micromath v2.1.0 [INFO] [stderr] Downloaded avr-device v0.7.0 [INFO] [stderr] Downloaded ws2812-spi v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17df2d7f9b3340aae35261fc196d43c6632d9c636c9a6c0d44c8c29174726746 [INFO] running `Command { std: "docker" "start" "-a" "17df2d7f9b3340aae35261fc196d43c6632d9c636c9a6c0d44c8c29174726746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17df2d7f9b3340aae35261fc196d43c6632d9c636c9a6c0d44c8c29174726746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17df2d7f9b3340aae35261fc196d43c6632d9c636c9a6c0d44c8c29174726746", kill_on_drop: false }` [INFO] [stdout] 17df2d7f9b3340aae35261fc196d43c6632d9c636c9a6c0d44c8c29174726746 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ee43599d3526263048ab46b7636cec221a44e6c3405b59b0e66041d878cb4b7 [INFO] running `Command { std: "docker" "start" "-a" "2ee43599d3526263048ab46b7636cec221a44e6c3405b59b0e66041d878cb4b7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling embedded-hal-bus v0.1.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking embedded-storage v0.2.0 [INFO] [stderr] Checking unwrap-infallible v0.1.5 [INFO] [stderr] Checking micromath v2.1.0 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking smart-leds-trait v0.2.1 [INFO] [stderr] Checking ws2812-spi v0.4.0 [INFO] [stderr] Checking smart-leds v0.3.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling avr-device-macros v0.7.0 [INFO] [stderr] Compiling ufmt-macros v0.3.0 [INFO] [stderr] Checking ufmt v0.2.0 [INFO] [stderr] Checking avr-device v0.7.0 [INFO] [stderr] Checking avr-hal-generic v0.1.0 (https://github.com/rahix/avr-hal?rev=3c089795cadbbc7fa83f45958128689fee7ba1e4#3c089795) [INFO] [stderr] Checking atmega-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=3c089795cadbbc7fa83f45958128689fee7ba1e4#3c089795) [INFO] [stderr] Checking arduino-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=3c089795cadbbc7fa83f45958128689fee7ba1e4#3c089795) [INFO] [stderr] Checking potus-light 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:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[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: `prelude::_unwrap_infallible_UnwrapInfallible` [INFO] [stdout] --> src/main.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use arduino_hal::{prelude::_unwrap_infallible_UnwrapInfallible, spi, Spi}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Effect` and `self` [INFO] [stdout] --> src/main.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use effects::{milk_pump::{self, MilkPump}, rainbow::Rainbow, running_light::RunningLight, Effect, Engine}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SmartLedsWrite` [INFO] [stdout] --> src/main.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use smart_leds::{SmartLedsWrite, RGB8}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Range` [INFO] [stdout] --> src/effects/mod.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use core::{fmt::Debug, ops::Range}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Spi` [INFO] [stdout] --> src/effects/mod.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use arduino_hal::{delay_ms, Spi}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RGB8` [INFO] [stdout] --> src/effects/mod.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use smart_leds::{SmartLedsWrite, RGB8}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Spi` and `delay_ms` [INFO] [stdout] --> src/effects/running_light.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use arduino_hal::{delay_ms, Spi}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RGB8` and `SmartLedsWrite` [INFO] [stdout] --> src/effects/running_light.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use smart_leds::{RGB8, SmartLedsWrite}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ws2812_spi::Ws2812` [INFO] [stdout] --> src/effects/running_light.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ws2812_spi::Ws2812; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Debug` [INFO] [stdout] --> src/effects/milk_pump.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use core::{f32::consts::PI, fmt::Debug}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::cmp::max` [INFO] [stdout] --> src/color.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Abs` [INFO] [stdout] --> src/color.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Abs; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut serial = arduino_hal::default_serial!(dp, pins, 57600); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut running_light = RunningLight::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut rainbow = Rainbow::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut milk_pump = MilkPump::new(Hsv::new(0.2, 0.2, 1.0), 7, 2); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serial` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut serial = arduino_hal::default_serial!(dp, pins, 57600); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serial` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `running_light` [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut running_light = RunningLight::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_running_light` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rainbow` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut rainbow = Rainbow::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rainbow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `milk_pump` [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut milk_pump = MilkPump::new(Hsv::new(0.2, 0.2, 1.0), 7, 2); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_milk_pump` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `potus-light` (bin "potus-light") due to 1 previous error; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2ee43599d3526263048ab46b7636cec221a44e6c3405b59b0e66041d878cb4b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ee43599d3526263048ab46b7636cec221a44e6c3405b59b0e66041d878cb4b7", kill_on_drop: false }` [INFO] [stdout] 2ee43599d3526263048ab46b7636cec221a44e6c3405b59b0e66041d878cb4b7