[INFO] cloning repository https://github.com/antroids/ds4-gui
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/antroids/ds4-gui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantroids%2Fds4-gui", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantroids%2Fds4-gui'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d4958a098005f89bcb076ab800e9ae59774ac774
[INFO] checking antroids/ds4-gui against try#a7b168ac4977e8e93a43448b44847adaa305d5a9 for pr-150557
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantroids%2Fds4-gui" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/antroids/ds4-gui
[INFO] finished tweaking git repo https://github.com/antroids/ds4-gui
[INFO] tweaked toml for git repo https://github.com/antroids/ds4-gui written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/antroids/ds4-gui on toolchain a7b168ac4977e8e93a43448b44847adaa305d5a9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/antroids/ds4-gui 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" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 145a3e265001d954d37a8a61484105bd2008e7d319c1960fa618d610bcf6ff1a
[INFO] running `Command { std: "docker" "start" "-a" "145a3e265001d954d37a8a61484105bd2008e7d319c1960fa618d610bcf6ff1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "145a3e265001d954d37a8a61484105bd2008e7d319c1960fa618d610bcf6ff1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "145a3e265001d954d37a8a61484105bd2008e7d319c1960fa618d610bcf6ff1a", kill_on_drop: false }`
[INFO] [stdout] 145a3e265001d954d37a8a61484105bd2008e7d319c1960fa618d610bcf6ff1a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 54f002bec683ced870e17ff09383b65657793dd72b4693095416e4dbc2d8198b
[INFO] running `Command { std: "docker" "start" "-a" "54f002bec683ced870e17ff09383b65657793dd72b4693095416e4dbc2d8198b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.162
[INFO] [stderr]    Compiling rustix v0.38.39
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling hashbrown v0.15.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling wayland-sys v0.31.5
[INFO] [stderr]    Compiling wayland-backend v0.3.7
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling enumflags2_derive v0.7.10
[INFO] [stderr]    Compiling zvariant_utils v2.1.0
[INFO] [stderr]     Checking fastrand v2.2.0
[INFO] [stderr]    Compiling quick-xml v0.36.2
[INFO] [stderr]    Compiling wayland-client v0.31.7
[INFO] [stderr]    Compiling bytemuck_derive v1.8.0
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]    Compiling thiserror v1.0.68
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking futures-lite v2.5.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]     Checking piper v0.2.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.68
[INFO] [stderr]     Checking cpufeatures v0.2.14
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]    Compiling serde_repr v0.1.19
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]     Checking ordered-stream v0.2.0
[INFO] [stderr]     Checking event-listener v5.3.1
[INFO] [stderr]     Checking async-executor v1.13.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking ttf-parser v0.25.0
[INFO] [stderr]     Checking event-listener-strategy v0.5.2
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling wayland-scanner v0.31.5
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.8
[INFO] [stderr]    Compiling xml-rs v0.8.23
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking accesskit v0.16.3
[INFO] [stderr]     Checking async-channel v2.3.1
[INFO] [stderr]     Checking async-lock v3.4.0
[INFO] [stderr]     Checking blocking v1.6.1
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking bytemuck v1.19.0
[INFO] [stderr]     Checking xdg-home v1.3.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking nix v0.29.0
[INFO] [stderr]     Checking async-broadcast v0.7.1
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]     Checking async-fs v2.1.2
[INFO] [stderr]     Checking memmap2 v0.9.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking strict-num v0.1.1
[INFO] [stderr]     Checking x11-dl v2.21.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking emath v0.29.1
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking immutable-chunkmap v2.0.6
[INFO] [stderr]    Compiling winit v0.30.5
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]     Checking epaint_default_fonts v0.29.1
[INFO] [stderr]    Compiling glutin_glx_sys v0.6.0
[INFO] [stderr]    Compiling glutin_egl_sys v0.7.0
[INFO] [stderr]     Checking ecolor v0.29.1
[INFO] [stderr]     Checking xkbcommon-dl v0.4.2
[INFO] [stderr]     Checking smol_str v0.2.2
[INFO] [stderr]    Compiling glutin v0.32.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking accesskit_consumer v0.24.3
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]    Compiling glutin-winit v0.5.0
[INFO] [stderr]     Checking home v0.5.9
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]     Checking owned_ttf_parser v0.25.0
[INFO] [stderr]    Compiling hidapi v2.6.3
[INFO] [stderr]     Checking clap_lex v0.7.2
[INFO] [stderr]     Checking ab_glyph v0.2.29
[INFO] [stderr]     Checking web-time v1.1.0
[INFO] [stderr]    Compiling rfd v0.15.0
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking url v2.5.3
[INFO] [stderr]     Checking enumflags2 v0.7.10
[INFO] [stderr]     Checking quick-xml v0.30.0
[INFO] [stderr]     Checking epaint v0.29.1
[INFO] [stderr]     Checking clap_builder v4.5.20
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]     Checking pollster v0.3.0
[INFO] [stderr]     Checking dirs v5.0.1
[INFO] [stderr]    Compiling proc-macro-crate v3.2.0
[INFO] [stderr]     Checking webbrowser v1.0.2
[INFO] [stderr]     Checking image v0.25.5
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking egui v0.29.1
[INFO] [stderr]    Compiling zvariant_derive v4.2.0
[INFO] [stderr]    Compiling zbus_macros v4.4.0
[INFO] [stderr]     Checking polling v3.7.4
[INFO] [stderr]     Checking x11rb v0.13.1
[INFO] [stderr]     Checking async-io v2.4.0
[INFO] [stderr]     Checking calloop v0.13.0
[INFO] [stderr]     Checking async-net v2.0.0
[INFO] [stderr]     Checking simplelog v0.12.2
[INFO] [stderr]     Checking clap v4.5.20
[INFO] [stderr]     Checking zvariant v4.2.0
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]     Checking arboard v3.4.1
[INFO] [stderr]     Checking wayland-protocols v0.32.5
[INFO] [stderr]     Checking wayland-cursor v0.31.7
[INFO] [stderr]     Checking calloop-wayland-source v0.3.0
[INFO] [stderr]     Checking egui_glow v0.29.1
[INFO] [stderr]     Checking egui_plot v0.29.0
[INFO] [stderr]    Compiling zbus_names v3.0.0
[INFO] [stderr]     Checking zbus v4.4.0
[INFO] [stderr]     Checking zbus_xml v4.0.0
[INFO] [stderr]     Checking zbus-lockstep v0.4.4
[INFO] [stderr]    Compiling zbus-lockstep-macros v0.4.4
[INFO] [stderr]     Checking wayland-protocols-wlr v0.3.5
[INFO] [stderr]     Checking wayland-protocols-plasma v0.3.5
[INFO] [stderr]     Checking atspi-common v0.6.0
[INFO] [stderr]     Checking ashpd v0.9.2
[INFO] [stderr]     Checking smithay-client-toolkit v0.19.2
[INFO] [stderr]     Checking sctk-adwaita v0.10.1
[INFO] [stderr]     Checking smithay-clipboard v0.7.2
[INFO] [stderr]     Checking atspi-proxies v0.6.0
[INFO] [stderr]     Checking accesskit_atspi_common v0.9.3
[INFO] [stderr]     Checking atspi-connection v0.6.0
[INFO] [stderr]     Checking atspi v0.22.0
[INFO] [stderr]     Checking accesskit_unix v0.12.3
[INFO] [stderr]     Checking accesskit_winit v0.22.4
[INFO] [stderr]     Checking egui-winit v0.29.1
[INFO] [stderr]     Checking eframe v0.29.1
[INFO] [stderr]     Checking ds4-gui v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]   --> src/main.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::path::{Path, PathBuf};
[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: `std::str::FromStr`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TestCommand`
[INFO] [stdout]   --> src/application.rs:10:39
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::dual_shock_4::{DualShock4, TestCommand, TestData};
[INFO] [stdout]    |                                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]   --> src/main.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::path::{Path, PathBuf};
[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: `std::str::FromStr`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TestCommand`
[INFO] [stdout]   --> src/application.rs:10:39
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::dual_shock_4::{DualShock4, TestCommand, TestData};
[INFO] [stdout]    |                                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/application.rs:428:13
[INFO] [stdout]     |
[INFO] [stdout] 428 |             _ => {
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/application.rs:428:13
[INFO] [stdout]     |
[INFO] [stdout] 423 |             Panel::DeviceInfo(info) => device_info(ui, info),
[INFO] [stdout]     |             ----------------------- matches some of the same values
[INFO] [stdout] 424 |             Panel::Output(_) => output(ui, ctx, state, sh.clone()),
[INFO] [stdout]     |             ---------------- matches some of the same values
[INFO] [stdout] 425 |             Panel::Calibration(_) => calibration(ui, ctx, state, sh.clone()),
[INFO] [stdout]     |             --------------------- matches some of the same values
[INFO] [stdout] 426 |             Panel::Flash(_) => flash(ui, ctx, state, sh.clone()),
[INFO] [stdout]     |             --------------- matches some of the same values
[INFO] [stdout] 427 |             Panel::Test(_, _, _) => test_commands(ui, ctx, state, sh.clone()),
[INFO] [stdout] 428 |             _ => {
[INFO] [stdout]     |             ^ ...and 1 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/dual_shock_4.rs:1027:21
[INFO] [stdout]      |
[INFO] [stdout] 1027 |                     _ => panic!("Unsupported Factory Command"),
[INFO] [stdout]      |                     ^ no value can reach this
[INFO] [stdout]      |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]     --> src/dual_shock_4.rs:1027:21
[INFO] [stdout]      |
[INFO] [stdout] 1003 |                       TriggerMinMaxCalibrationType::StartRecordMinMax(TriggerKeyLeftRight::Left) => {
[INFO] [stdout]      |                       -------------------------------------------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1006 |                       TriggerMinMaxCalibrationType::StartRecordMinMax(TriggerKeyLeftRight::Right) => {
[INFO] [stdout]      |                       --------------------------------------------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1009 |                       TriggerMinMaxCalibrationType::StartRecordMinMax(TriggerKeyLeftRight::Both) => {
[INFO] [stdout]      |                       -------------------------------------------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1012 | /                     TriggerMinMaxCalibrationType::StartRecordMinMax(
[INFO] [stdout] 1013 | |                         TriggerKeyLeftRight::Unknown,
[INFO] [stdout] 1014 | |                     ) => 0x40,
[INFO] [stdout]      | |_____________________- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1027 |                       _ => panic!("Unsupported Factory Command"),
[INFO] [stdout]      |                       ^ ...and 8 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/application.rs:428:13
[INFO] [stdout]     |
[INFO] [stdout] 428 |             _ => {
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/application.rs:428:13
[INFO] [stdout]     |
[INFO] [stdout] 423 |             Panel::DeviceInfo(info) => device_info(ui, info),
[INFO] [stdout]     |             ----------------------- matches some of the same values
[INFO] [stdout] 424 |             Panel::Output(_) => output(ui, ctx, state, sh.clone()),
[INFO] [stdout]     |             ---------------- matches some of the same values
[INFO] [stdout] 425 |             Panel::Calibration(_) => calibration(ui, ctx, state, sh.clone()),
[INFO] [stdout]     |             --------------------- matches some of the same values
[INFO] [stdout] 426 |             Panel::Flash(_) => flash(ui, ctx, state, sh.clone()),
[INFO] [stdout]     |             --------------- matches some of the same values
[INFO] [stdout] 427 |             Panel::Test(_, _, _) => test_commands(ui, ctx, state, sh.clone()),
[INFO] [stdout] 428 |             _ => {
[INFO] [stdout]     |             ^ ...and 1 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/application.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |     DualShock4Error(crate::dual_shock_4::Error),
[INFO] [stdout]    |     --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 35 -     DualShock4Error(crate::dual_shock_4::Error),
[INFO] [stdout] 35 +     DualShock4Error(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/application.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |     HidError(HidError),
[INFO] [stdout]    |     -------- ^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 36 -     HidError(HidError),
[INFO] [stdout] 36 +     HidError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/application.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |     EframeError(eframe::Error),
[INFO] [stdout]    |     ----------- ^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 -     EframeError(eframe::Error),
[INFO] [stdout] 37 +     EframeError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Message` is never constructed
[INFO] [stdout]   --> src/application.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub enum Status {
[INFO] [stdout]    |          ------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 71 |     Message(String),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `path` is never used
[INFO] [stdout]   --> src/application.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 94 | impl ConnectedDevice {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] 95 |     pub fn path(&self) -> &CString {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `message` is never used
[INFO] [stdout]    --> src/application.rs:161:8
[INFO] [stdout]     |
[INFO] [stdout] 140 | impl StatusHandler {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 161 |     fn message(&self, message: impl Into<String>) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GAMEPAD_FONT_BOTH_ANALOG_CLOCKWISE` is never used
[INFO] [stdout]   --> src/application/font.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub const GAMEPAD_FONT_BOTH_ANALOG_CLOCKWISE: &str = "\u{21AD}";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TRIGGER_MIN_MAX_CALIBRATION_SAMPLES` is never used
[INFO] [stdout]   --> src/dual_shock_4.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub const TRIGGER_MIN_MAX_CALIBRATION_SAMPLES: u16 = 0x04E2;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STICK_HISTORY_DEGREES` is never used
[INFO] [stdout]   --> src/dual_shock_4.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const STICK_HISTORY_DEGREES: usize = 360;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STICK_HISTORY_SECTORS` is never used
[INFO] [stdout]   --> src/dual_shock_4.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const STICK_HISTORY_SECTORS: usize = 36;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STICK_HISTORY_SECTOR_DEGREE` is never used
[INFO] [stdout]   --> src/dual_shock_4.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | const STICK_HISTORY_SECTOR_DEGREE: usize = STICK_HISTORY_DEGREES / STICK_HISTORY_SECTORS;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/dual_shock_4.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 |     HidError(HidError),
[INFO] [stdout]    |     -------- ^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 39 -     HidError(HidError),
[INFO] [stdout] 39 +     HidError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/dual_shock_4.rs:42:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     ErrorMessage(String),
[INFO] [stdout]    |     ------------ ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 42 -     ErrorMessage(String),
[INFO] [stdout] 42 +     ErrorMessage(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `OutOfRange` is never constructed
[INFO] [stdout]   --> src/dual_shock_4.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub enum Error {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] 39 |     HidError(HidError),
[INFO] [stdout] 40 |     OutOfRange(i64, Range<i64>),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `path` is never read
[INFO] [stdout]   --> src/dual_shock_4.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct DualShock4 {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 68 |     hid_device: HidDevice,
[INFO] [stdout] 69 |     path: CString,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `path` is never used
[INFO] [stdout]    --> src/dual_shock_4.rs:306:12
[INFO] [stdout]     |
[INFO] [stdout]  72 | impl DualShock4 {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 306 |     pub fn path(&self) -> &CString {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `normalized_left_x`, `normalized_left_y`, `normalized_right_x`, and `normalized_right_y` are never used
[INFO] [stdout]    --> src/dual_shock_4.rs:527:12
[INFO] [stdout]     |
[INFO] [stdout] 495 | impl StickCenterCalibration {
[INFO] [stdout]     | --------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 527 |     pub fn normalized_left_x(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 531 |     pub fn normalized_left_y(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 535 |     pub fn normalized_right_x(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 539 |     pub fn normalized_right_y(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_left_max_y` and `set_right_max_y` are never used
[INFO] [stdout]    --> src/dual_shock_4.rs:627:12
[INFO] [stdout]     |
[INFO] [stdout] 573 | impl StickMinMaxCalibration {
[INFO] [stdout]     | --------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 627 |     pub fn set_left_max_y(&mut self, value: i16) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 641 |     pub fn set_right_max_y(&mut self, value: i16) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StickCenterCalibrationResult` is never constructed
[INFO] [stdout]    --> src/dual_shock_4.rs:647:12
[INFO] [stdout]     |
[INFO] [stdout] 647 | pub struct StickCenterCalibrationResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/dual_shock_4.rs:944:14
[INFO] [stdout]     |
[INFO] [stdout] 944 |     Finished(CalibrationDeviceType) = 0x02,
[INFO] [stdout]     |     -------- ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CalibrationState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 944 -     Finished(CalibrationDeviceType) = 0x02,
[INFO] [stdout] 944 +     Finished(()) = 0x02,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/dual_shock_4.rs:965:18
[INFO] [stdout]     |
[INFO] [stdout] 965 |     NotCompleted(CalibrationDeviceType) = 0xff,
[INFO] [stdout]     |     ------------ ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CalibrationResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 965 -     NotCompleted(CalibrationDeviceType) = 0xff,
[INFO] [stdout] 965 +     NotCompleted(()) = 0xff,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `args` is never used
[INFO] [stdout]     --> src/dual_shock_4.rs:1090:12
[INFO] [stdout]      |
[INFO] [stdout] 1089 | impl TestData {
[INFO] [stdout]      | ------------- method in this implementation
[INFO] [stdout] 1090 |     pub fn args(&self) -> [u8; 2] {
[INFO] [stdout]      |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_crc` and `stick_center_calibration` are never used
[INFO] [stdout]     --> src/dual_shock_4.rs:1139:12
[INFO] [stdout]      |
[INFO] [stdout] 1119 | impl FlashMirror {
[INFO] [stdout]      | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1139 |     pub fn update_crc(&mut self) {
[INFO] [stdout]      |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1145 |     pub fn stick_center_calibration(&self) -> StickCenterCalibration {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `id` and `payload_mut` are never used
[INFO] [stdout]   --> src/dual_shock_4/hid_report.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Report {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn id(&self) -> &ReportId {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn payload_mut(&mut self) -> &mut [u8] {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/dual_shock_4/hid_report.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub enum ReportId {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 52 |     InputReport = 0x1,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 53 |     OutputDevice = 0x5,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     GetParingInfo = 0x12,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 60 |     SetParingInfo = 0x13,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 61 |     SetUsbBtControl = 0x14,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 62 |     SetBdAdr = 0x80,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 63 |     GetBdAdr = 0x81,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 64 |     SetFactoryData = 0x82,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 65 |     SetAdrToGetFactoryData = 0x83,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 66 |     GetFactoryData = 0x84,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 67 |     SetPcbaId = 0x85,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 68 |     GetPcbaId = 0x86,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 69 |     GetTrackRecord = 0x87,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     SetBtEnable = 0xa1,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 76 |     SetDfuEnable = 0xa2,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 77 |     GetFirmInfo = 0xa3,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReportId` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/dual_shock_4.rs:149:29
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let mut buf = report.clone().to_vec();
[INFO] [stdout]     |                             ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]     --> src/dual_shock_4.rs:1027:21
[INFO] [stdout]      |
[INFO] [stdout] 1027 |                     _ => panic!("Unsupported Factory Command"),
[INFO] [stdout]      |                     ^ no value can reach this
[INFO] [stdout]      |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]     --> src/dual_shock_4.rs:1027:21
[INFO] [stdout]      |
[INFO] [stdout] 1003 |                       TriggerMinMaxCalibrationType::StartRecordMinMax(TriggerKeyLeftRight::Left) => {
[INFO] [stdout]      |                       -------------------------------------------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1006 |                       TriggerMinMaxCalibrationType::StartRecordMinMax(TriggerKeyLeftRight::Right) => {
[INFO] [stdout]      |                       --------------------------------------------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1009 |                       TriggerMinMaxCalibrationType::StartRecordMinMax(TriggerKeyLeftRight::Both) => {
[INFO] [stdout]      |                       -------------------------------------------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1012 | /                     TriggerMinMaxCalibrationType::StartRecordMinMax(
[INFO] [stdout] 1013 | |                         TriggerKeyLeftRight::Unknown,
[INFO] [stdout] 1014 | |                     ) => 0x40,
[INFO] [stdout]      | |_____________________- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 1027 |                       _ => panic!("Unsupported Factory Command"),
[INFO] [stdout]      |                       ^ ...and 8 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/application.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |     DualShock4Error(crate::dual_shock_4::Error),
[INFO] [stdout]    |     --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 35 -     DualShock4Error(crate::dual_shock_4::Error),
[INFO] [stdout] 35 +     DualShock4Error(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/application.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |     HidError(HidError),
[INFO] [stdout]    |     -------- ^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 36 -     HidError(HidError),
[INFO] [stdout] 36 +     HidError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/application.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |     EframeError(eframe::Error),
[INFO] [stdout]    |     ----------- ^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 -     EframeError(eframe::Error),
[INFO] [stdout] 37 +     EframeError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Message` is never constructed
[INFO] [stdout]   --> src/application.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub enum Status {
[INFO] [stdout]    |          ------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 71 |     Message(String),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `path` is never used
[INFO] [stdout]   --> src/application.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 94 | impl ConnectedDevice {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] 95 |     pub fn path(&self) -> &CString {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `message` is never used
[INFO] [stdout]    --> src/application.rs:161:8
[INFO] [stdout]     |
[INFO] [stdout] 140 | impl StatusHandler {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 161 |     fn message(&self, message: impl Into<String>) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GAMEPAD_FONT_BOTH_ANALOG_CLOCKWISE` is never used
[INFO] [stdout]   --> src/application/font.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub const GAMEPAD_FONT_BOTH_ANALOG_CLOCKWISE: &str = "\u{21AD}";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TRIGGER_MIN_MAX_CALIBRATION_SAMPLES` is never used
[INFO] [stdout]   --> src/dual_shock_4.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub const TRIGGER_MIN_MAX_CALIBRATION_SAMPLES: u16 = 0x04E2;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STICK_HISTORY_DEGREES` is never used
[INFO] [stdout]   --> src/dual_shock_4.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const STICK_HISTORY_DEGREES: usize = 360;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STICK_HISTORY_SECTORS` is never used
[INFO] [stdout]   --> src/dual_shock_4.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const STICK_HISTORY_SECTORS: usize = 36;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STICK_HISTORY_SECTOR_DEGREE` is never used
[INFO] [stdout]   --> src/dual_shock_4.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | const STICK_HISTORY_SECTOR_DEGREE: usize = STICK_HISTORY_DEGREES / STICK_HISTORY_SECTORS;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/dual_shock_4.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 |     HidError(HidError),
[INFO] [stdout]    |     -------- ^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 39 -     HidError(HidError),
[INFO] [stdout] 39 +     HidError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/dual_shock_4.rs:42:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     ErrorMessage(String),
[INFO] [stdout]    |     ------------ ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 42 -     ErrorMessage(String),
[INFO] [stdout] 42 +     ErrorMessage(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `OutOfRange` is never constructed
[INFO] [stdout]   --> src/dual_shock_4.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub enum Error {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] 39 |     HidError(HidError),
[INFO] [stdout] 40 |     OutOfRange(i64, Range<i64>),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `path` is never read
[INFO] [stdout]   --> src/dual_shock_4.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct DualShock4 {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 68 |     hid_device: HidDevice,
[INFO] [stdout] 69 |     path: CString,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `path` is never used
[INFO] [stdout]    --> src/dual_shock_4.rs:306:12
[INFO] [stdout]     |
[INFO] [stdout]  72 | impl DualShock4 {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 306 |     pub fn path(&self) -> &CString {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `normalized_left_x`, `normalized_left_y`, `normalized_right_x`, and `normalized_right_y` are never used
[INFO] [stdout]    --> src/dual_shock_4.rs:527:12
[INFO] [stdout]     |
[INFO] [stdout] 495 | impl StickCenterCalibration {
[INFO] [stdout]     | --------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 527 |     pub fn normalized_left_x(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 531 |     pub fn normalized_left_y(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 535 |     pub fn normalized_right_x(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 539 |     pub fn normalized_right_y(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_left_max_y` and `set_right_max_y` are never used
[INFO] [stdout]    --> src/dual_shock_4.rs:627:12
[INFO] [stdout]     |
[INFO] [stdout] 573 | impl StickMinMaxCalibration {
[INFO] [stdout]     | --------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 627 |     pub fn set_left_max_y(&mut self, value: i16) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 641 |     pub fn set_right_max_y(&mut self, value: i16) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StickCenterCalibrationResult` is never constructed
[INFO] [stdout]    --> src/dual_shock_4.rs:647:12
[INFO] [stdout]     |
[INFO] [stdout] 647 | pub struct StickCenterCalibrationResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/dual_shock_4.rs:944:14
[INFO] [stdout]     |
[INFO] [stdout] 944 |     Finished(CalibrationDeviceType) = 0x02,
[INFO] [stdout]     |     -------- ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CalibrationState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 944 -     Finished(CalibrationDeviceType) = 0x02,
[INFO] [stdout] 944 +     Finished(()) = 0x02,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/dual_shock_4.rs:965:18
[INFO] [stdout]     |
[INFO] [stdout] 965 |     NotCompleted(CalibrationDeviceType) = 0xff,
[INFO] [stdout]     |     ------------ ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CalibrationResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 965 -     NotCompleted(CalibrationDeviceType) = 0xff,
[INFO] [stdout] 965 +     NotCompleted(()) = 0xff,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `args` is never used
[INFO] [stdout]     --> src/dual_shock_4.rs:1090:12
[INFO] [stdout]      |
[INFO] [stdout] 1089 | impl TestData {
[INFO] [stdout]      | ------------- method in this implementation
[INFO] [stdout] 1090 |     pub fn args(&self) -> [u8; 2] {
[INFO] [stdout]      |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_crc` and `stick_center_calibration` are never used
[INFO] [stdout]     --> src/dual_shock_4.rs:1139:12
[INFO] [stdout]      |
[INFO] [stdout] 1119 | impl FlashMirror {
[INFO] [stdout]      | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1139 |     pub fn update_crc(&mut self) {
[INFO] [stdout]      |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1145 |     pub fn stick_center_calibration(&self) -> StickCenterCalibration {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `id` and `payload_mut` are never used
[INFO] [stdout]   --> src/dual_shock_4/hid_report.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Report {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn id(&self) -> &ReportId {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn payload_mut(&mut self) -> &mut [u8] {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/dual_shock_4/hid_report.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub enum ReportId {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 52 |     InputReport = 0x1,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 53 |     OutputDevice = 0x5,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     GetParingInfo = 0x12,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 60 |     SetParingInfo = 0x13,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 61 |     SetUsbBtControl = 0x14,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 62 |     SetBdAdr = 0x80,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 63 |     GetBdAdr = 0x81,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 64 |     SetFactoryData = 0x82,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 65 |     SetAdrToGetFactoryData = 0x83,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 66 |     GetFactoryData = 0x84,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 67 |     SetPcbaId = 0x85,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 68 |     GetPcbaId = 0x86,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 69 |     GetTrackRecord = 0x87,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     SetBtEnable = 0xa1,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 76 |     SetDfuEnable = 0xa2,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 77 |     GetFirmInfo = 0xa3,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReportId` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/dual_shock_4.rs:149:29
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let mut buf = report.clone().to_vec();
[INFO] [stdout]     |                             ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.40s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ashpd v0.9.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] running `Command { std: "docker" "inspect" "54f002bec683ced870e17ff09383b65657793dd72b4693095416e4dbc2d8198b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "54f002bec683ced870e17ff09383b65657793dd72b4693095416e4dbc2d8198b", kill_on_drop: false }`
[INFO] [stdout] 54f002bec683ced870e17ff09383b65657793dd72b4693095416e4dbc2d8198b
