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