[INFO] cloning repository https://github.com/vincent-uden/pi-oled [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vincent-uden/pi-oled" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvincent-uden%2Fpi-oled", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvincent-uden%2Fpi-oled'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 801c30ea10cb0ff5ca729b40bfe247047140aa77 [INFO] checking vincent-uden/pi-oled against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvincent-uden%2Fpi-oled" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/vincent-uden/pi-oled [INFO] finished tweaking git repo https://github.com/vincent-uden/pi-oled [INFO] tweaked toml for git repo https://github.com/vincent-uden/pi-oled written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vincent-uden/pi-oled on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vincent-uden/pi-oled 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9569203e4ee51168ad3dbf1c4b28e82bba07894eab0f21f0c49e0f48fc4e4ee [INFO] running `Command { std: "docker" "start" "-a" "c9569203e4ee51168ad3dbf1c4b28e82bba07894eab0f21f0c49e0f48fc4e4ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9569203e4ee51168ad3dbf1c4b28e82bba07894eab0f21f0c49e0f48fc4e4ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9569203e4ee51168ad3dbf1c4b28e82bba07894eab0f21f0c49e0f48fc4e4ee", kill_on_drop: false }` [INFO] [stdout] c9569203e4ee51168ad3dbf1c4b28e82bba07894eab0f21f0c49e0f48fc4e4ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e6bacea48486af624e05634e9c62b9413bcd9ac1a0c902bda6db19e7e48f19c [INFO] running `Command { std: "docker" "start" "-a" "2e6bacea48486af624e05634e9c62b9413bcd9ac1a0c902bda6db19e7e48f19c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Checking bitflags v2.7.0 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking rustls-pki-types v1.10.1 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking micromath v2.1.0 [INFO] [stderr] Checking clap_builder v4.5.26 [INFO] [stderr] Compiling openssl-src v300.4.1+3.4.0 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking rppal v0.22.1 [INFO] [stderr] Checking macaddr v1.0.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking uuid v1.12.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Checking embedded-graphics-core v0.4.0 [INFO] [stderr] Checking embedded-graphics v0.8.1 [INFO] [stderr] Checking bitmap-font v0.3.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking axum-core v0.5.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking serde v1.0.217 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking clap v4.5.26 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling neli-proc-macros v0.1.4 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking neli v0.6.5 [INFO] [stderr] Checking local-ip-address v0.6.3 [INFO] [stderr] Checking oled v0.1.0 (/opt/rustwide/workdir/oled) [INFO] [stdout] warning: unused imports: `collections::HashSet` and `io` [INFO] [stdout] --> oled/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | io, [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: `Gray2` and `GrayColor` [INFO] [stdout] --> oled/src/display.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | pixelcolor::{BinaryColor, Gray2}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | prelude::{DrawTarget, GrayColor, OriginDimensions, Size}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> oled/src/mpv.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macaddr::MacAddr6` [INFO] [stdout] --> oled/src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use macaddr::MacAddr6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_log::log::LevelFilter` [INFO] [stdout] --> oled/src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use tracing_log::log::LevelFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashSet` and `io` [INFO] [stdout] --> oled/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | io, [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: `Gray2` and `GrayColor` [INFO] [stdout] --> oled/src/display.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | pixelcolor::{BinaryColor, Gray2}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | prelude::{DrawTarget, GrayColor, OriginDimensions, Size}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> oled/src/mpv.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macaddr::MacAddr6` [INFO] [stdout] --> oled/src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use macaddr::MacAddr6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_log::log::LevelFilter` [INFO] [stdout] --> oled/src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use tracing_log::log::LevelFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> oled/src/main.rs:677:17 [INFO] [stdout] | [INFO] [stdout] 677 | let (bt_tx, mut bt_rx) = tokio::sync::mpsc::channel::(10); [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] --> oled/src/main.rs:678:18 [INFO] [stdout] | [INFO] [stdout] 678 | let (mpv_tx, mut mpv_rx) = tokio::sync::mpsc::channel::(10); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> oled/src/main.rs:730:22 [INFO] [stdout] | [INFO] [stdout] 730 | while let Ok(event) = rx2.try_recv() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `audio_dir` and `font_width` are never read [INFO] [stdout] --> oled/src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | audio_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 53 | font_width: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pause` and `unpause` are never used [INFO] [stdout] --> oled/src/main.rs:609:14 [INFO] [stdout] | [INFO] [stdout] 91 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 609 | async fn pause(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 620 | async fn unpause(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cs_pin` and `bl_pin` are never read [INFO] [stdout] --> oled/src/display.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Display { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | cs_pin: OutputPin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | bl_pin: OutputPin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Display` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_data` is never used [INFO] [stdout] --> oled/src/display.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Display { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn write_data(&mut self, data: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | left_arrow.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | right_arrow.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | tab_text.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | text.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | ip_text.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | wifi_text.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | instruction_text.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | text.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | status_text.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | volume_text.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | progress_text.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | file_text.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oled` (bin "oled" test) due to 12 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> oled/src/main.rs:677:17 [INFO] [stdout] | [INFO] [stdout] 677 | let (bt_tx, mut bt_rx) = tokio::sync::mpsc::channel::(10); [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] --> oled/src/main.rs:678:18 [INFO] [stdout] | [INFO] [stdout] 678 | let (mpv_tx, mut mpv_rx) = tokio::sync::mpsc::channel::(10); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> oled/src/main.rs:730:22 [INFO] [stdout] | [INFO] [stdout] 730 | while let Ok(event) = rx2.try_recv() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `audio_dir` and `font_width` are never read [INFO] [stdout] --> oled/src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | audio_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 53 | font_width: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pause` and `unpause` are never used [INFO] [stdout] --> oled/src/main.rs:609:14 [INFO] [stdout] | [INFO] [stdout] 91 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 609 | async fn pause(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 620 | async fn unpause(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cs_pin` and `bl_pin` are never read [INFO] [stdout] --> oled/src/display.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Display { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | cs_pin: OutputPin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | bl_pin: OutputPin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Display` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_data` is never used [INFO] [stdout] --> oled/src/display.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Display { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn write_data(&mut self, data: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | left_arrow.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | right_arrow.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | tab_text.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | text.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | ip_text.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | wifi_text.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | instruction_text.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | text.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | status_text.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | volume_text.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | progress_text.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> oled/src/main.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | file_text.draw(&mut self.display).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oled` (bin "oled") due to 12 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2e6bacea48486af624e05634e9c62b9413bcd9ac1a0c902bda6db19e7e48f19c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e6bacea48486af624e05634e9c62b9413bcd9ac1a0c902bda6db19e7e48f19c", kill_on_drop: false }` [INFO] [stdout] 2e6bacea48486af624e05634e9c62b9413bcd9ac1a0c902bda6db19e7e48f19c