[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] building vincent-uden/pi-oled against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvincent-uden%2Fpi-oled" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vincent-uden/pi-oled on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 824636859fdcccbe6fa70173f6111e71bf3edf0fb33f5323562d29c1a24c7cb5 [INFO] running `Command { std: "docker" "start" "-a" "824636859fdcccbe6fa70173f6111e71bf3edf0fb33f5323562d29c1a24c7cb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "824636859fdcccbe6fa70173f6111e71bf3edf0fb33f5323562d29c1a24c7cb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "824636859fdcccbe6fa70173f6111e71bf3edf0fb33f5323562d29c1a24c7cb5", kill_on_drop: false }` [INFO] [stdout] 824636859fdcccbe6fa70173f6111e71bf3edf0fb33f5323562d29c1a24c7cb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9666fa1f562833d495c1e9f6022daced9e9715e447dd9d3220572980819bc2bc [INFO] running `Command { std: "docker" "start" "-a" "9666fa1f562833d495c1e9f6022daced9e9715e447dd9d3220572980819bc2bc", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling bitflags v2.7.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling micromath v2.1.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling openssl-src v300.4.1+3.4.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling clap_builder v4.5.26 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling embedded-graphics-core v0.4.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling rppal v0.22.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling embedded-graphics v0.8.1 [INFO] [stderr] Compiling macaddr v1.0.1 [INFO] [stderr] Compiling uuid v1.12.0 [INFO] [stderr] Compiling 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 zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.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] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling axum-core v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling clap v4.5.26 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling neli-proc-macros v0.1.4 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling neli v0.6.5 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling local-ip-address v0.6.3 [INFO] [stderr] Compiling oled v0.1.0 (/opt/rustwide/workdir/oled) [INFO] [stderr] Compiling hyper-util v0.1.10 [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 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: 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: 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] [stderr] Compiling axum v0.8.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling remote-dev v0.1.0 (/opt/rustwide/workdir/remote-dev) [INFO] [stdout] warning: unused imports: `Json`, `Router`, `get`, `http::StatusCode`, and `post` [INFO] [stdout] --> remote-dev/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | routing::{get, post}, [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] 6 | Json, Router, [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 import: `Args` [INFO] [stdout] --> remote-dev/src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use clap::{Args, Parser, Subcommand}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> remote-dev/src/client.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use reqwest::{Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `path::PathBuf` [INFO] [stdout] --> remote-dev/src/server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashMap, fs, io::Write, os::unix::fs::PermissionsExt as _, path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Response` [INFO] [stdout] --> remote-dev/src/server.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | response::{IntoResponse, Response, Result}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> remote-dev/src/server.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | .map_err(|e| StatusCode::INTERNAL_SERVER_ERROR)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> remote-dev/src/server.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | .map_err(|e| StatusCode::INTERNAL_SERVER_ERROR)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6m 34s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitmap-font v0.3.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "9666fa1f562833d495c1e9f6022daced9e9715e447dd9d3220572980819bc2bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9666fa1f562833d495c1e9f6022daced9e9715e447dd9d3220572980819bc2bc", kill_on_drop: false }` [INFO] [stdout] 9666fa1f562833d495c1e9f6022daced9e9715e447dd9d3220572980819bc2bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d4d93fb2f322c6b7976d1d539fdd6d9f048243d6a17de5eb459d90fc7e3372c [INFO] running `Command { std: "docker" "start" "-a" "1d4d93fb2f322c6b7976d1d539fdd6d9f048243d6a17de5eb459d90fc7e3372c", kill_on_drop: false }` [INFO] [stderr] Compiling oled v0.1.0 (/opt/rustwide/workdir/oled) [INFO] [stderr] Compiling remote-dev v0.1.0 (/opt/rustwide/workdir/remote-dev) [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: `Json`, `Router`, `get`, `http::StatusCode`, and `post` [INFO] [stdout] --> remote-dev/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | routing::{get, post}, [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] 6 | Json, Router, [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 import: `Args` [INFO] [stdout] --> remote-dev/src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use clap::{Args, Parser, Subcommand}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> remote-dev/src/client.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use reqwest::{Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `path::PathBuf` [INFO] [stdout] --> remote-dev/src/server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashMap, fs, io::Write, os::unix::fs::PermissionsExt as _, path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Response` [INFO] [stdout] --> remote-dev/src/server.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | response::{IntoResponse, Response, Result}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> remote-dev/src/server.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | .map_err(|e| StatusCode::INTERNAL_SERVER_ERROR)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> remote-dev/src/server.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | .map_err(|e| StatusCode::INTERNAL_SERVER_ERROR)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.89s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitmap-font v0.3.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "1d4d93fb2f322c6b7976d1d539fdd6d9f048243d6a17de5eb459d90fc7e3372c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d4d93fb2f322c6b7976d1d539fdd6d9f048243d6a17de5eb459d90fc7e3372c", kill_on_drop: false }` [INFO] [stdout] 1d4d93fb2f322c6b7976d1d539fdd6d9f048243d6a17de5eb459d90fc7e3372c