[INFO] cloning repository https://github.com/wired-maya/ledmatrix_pi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wired-maya/ledmatrix_pi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwired-maya%2Fledmatrix_pi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwired-maya%2Fledmatrix_pi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50d3b19c1c6141c8ceb26d479356dec1829930c5 [INFO] checking wired-maya/ledmatrix_pi against master#a7fc463dd8fbeca800d4b3efc501069502cffe64 for pr-136988 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwired-maya%2Fledmatrix_pi" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wired-maya/ledmatrix_pi on toolchain a7fc463dd8fbeca800d4b3efc501069502cffe64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7fc463dd8fbeca800d4b3efc501069502cffe64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wired-maya/ledmatrix_pi [INFO] finished tweaking git repo https://github.com/wired-maya/ledmatrix_pi [INFO] tweaked toml for git repo https://github.com/wired-maya/ledmatrix_pi written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wired-maya/ledmatrix_pi 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" "+a7fc463dd8fbeca800d4b3efc501069502cffe64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rppal v0.22.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+a7fc463dd8fbeca800d4b3efc501069502cffe64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99ae4a8094c7b1cb98409a9558fce22a3592c67a6319bb53e107637bcf12dc8c [INFO] running `Command { std: "docker" "start" "-a" "99ae4a8094c7b1cb98409a9558fce22a3592c67a6319bb53e107637bcf12dc8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99ae4a8094c7b1cb98409a9558fce22a3592c67a6319bb53e107637bcf12dc8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99ae4a8094c7b1cb98409a9558fce22a3592c67a6319bb53e107637bcf12dc8c", kill_on_drop: false }` [INFO] [stdout] 99ae4a8094c7b1cb98409a9558fce22a3592c67a6319bb53e107637bcf12dc8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+a7fc463dd8fbeca800d4b3efc501069502cffe64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dece4a2f5348853e292e55151b9126626dc77808ec1d5ce1f2cf62d937d1751c [INFO] running `Command { std: "docker" "start" "-a" "dece4a2f5348853e292e55151b9126626dc77808ec1d5ce1f2cf62d937d1751c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking miniz_oxide v0.8.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking avif-serialize v0.8.2 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking image-webp v0.2.1 [INFO] [stderr] Checking zune-jpeg v0.4.14 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking rppal v0.22.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking ravif v0.11.11 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Checking ledmatrix v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Mutex`, `SystemTime`, `arch::asm`, `current`, and `ffi::c_void` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{arch::asm, error::Error, ffi::c_void, sync::{atomic::AtomicPtr, Arc, Mutex}, thread::{self, current, sleep}, time::{Duration, Instant, SystemTime}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pixel` and `Rgb` [INFO] [stdout] --> src/main.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{DynamicImage, ImageBuffer, ImageReader, Pixel, Rgb, Rgba}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Level` [INFO] [stdout] --> src/main.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use rppal::gpio::{Gpio, Level, OutputPin}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 413 | / loop { [INFO] [stdout] 414 | | led_matrix.next_frame = Some(LedMatrix::imgbuffer_to_disaplayable(&img1)); [INFO] [stdout] 415 | | sleep(Duration::from_secs(1)); [INFO] [stdout] 416 | | led_matrix.next_frame = Some(LedMatrix::imgbuffer_to_disaplayable(&img2)); [INFO] [stdout] 417 | | sleep(Duration::from_secs(1)); [INFO] [stdout] 418 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 419 | [INFO] [stdout] 420 | thread.join().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex`, `SystemTime`, `arch::asm`, `current`, and `ffi::c_void` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{arch::asm, error::Error, ffi::c_void, sync::{atomic::AtomicPtr, Arc, Mutex}, thread::{self, current, sleep}, time::{Duration, Instant, SystemTime}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pixel` and `Rgb` [INFO] [stdout] --> src/main.rs:3:53 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{DynamicImage, ImageBuffer, ImageReader, Pixel, Rgb, Rgba}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Level` [INFO] [stdout] --> src/main.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use rppal::gpio::{Gpio, Level, OutputPin}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/main.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | let thread: thread::JoinHandle<()> = thread::spawn(move || { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GAMMA_CORRECTION` is never used [INFO] [stdout] --> src/main.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | const GAMMA_CORRECTION: f64 = 2.2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GAMMA_LUT` is never used [INFO] [stdout] --> src/main.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | const GAMMA_LUT: [u8; 256] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `brightness` and `gpio` are never read [INFO] [stdout] --> src/main.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct LedMatrix { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 73 | brightness: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 74 | gpio: Gpio, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `set_pin_int`, `disable_display`, `correct_gamma`, `set_brightness`, and `apply_alpha` are never used [INFO] [stdout] --> src/main.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 95 | impl LedMatrix { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | fn set_pin_int(pin: &mut OutputPin, val: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | fn disable_display(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | fn correct_gamma(val: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | fn set_brightness(&mut self, brightness: f64) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | fn apply_alpha(colour: &Rgba) -> Rgba { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 413 | / loop { [INFO] [stdout] 414 | | led_matrix.next_frame = Some(LedMatrix::imgbuffer_to_disaplayable(&img1)); [INFO] [stdout] 415 | | sleep(Duration::from_secs(1)); [INFO] [stdout] 416 | | led_matrix.next_frame = Some(LedMatrix::imgbuffer_to_disaplayable(&img2)); [INFO] [stdout] 417 | | sleep(Duration::from_secs(1)); [INFO] [stdout] 418 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 419 | [INFO] [stdout] 420 | thread.join().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/main.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | let thread: thread::JoinHandle<()> = thread::spawn(move || { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GAMMA_CORRECTION` is never used [INFO] [stdout] --> src/main.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | const GAMMA_CORRECTION: f64 = 2.2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GAMMA_LUT` is never used [INFO] [stdout] --> src/main.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | const GAMMA_LUT: [u8; 256] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `brightness` and `gpio` are never read [INFO] [stdout] --> src/main.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct LedMatrix { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 73 | brightness: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 74 | gpio: Gpio, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `set_pin_int`, `disable_display`, `correct_gamma`, `set_brightness`, and `apply_alpha` are never used [INFO] [stdout] --> src/main.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 95 | impl LedMatrix { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | fn set_pin_int(pin: &mut OutputPin, val: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | fn disable_display(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | fn correct_gamma(val: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | fn set_brightness(&mut self, brightness: f64) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | fn apply_alpha(colour: &Rgba) -> Rgba { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 37.85s [INFO] running `Command { std: "docker" "inspect" "dece4a2f5348853e292e55151b9126626dc77808ec1d5ce1f2cf62d937d1751c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dece4a2f5348853e292e55151b9126626dc77808ec1d5ce1f2cf62d937d1751c", kill_on_drop: false }` [INFO] [stdout] dece4a2f5348853e292e55151b9126626dc77808ec1d5ce1f2cf62d937d1751c