[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] building antroids/ds4-gui against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantroids%2Fds4-gui" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/antroids/ds4-gui on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94cb91afc59b744fcd92ee429e6746bd1a30438ac722751f83876d7639e74f66 [INFO] running `Command { std: "docker" "start" "-a" "94cb91afc59b744fcd92ee429e6746bd1a30438ac722751f83876d7639e74f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94cb91afc59b744fcd92ee429e6746bd1a30438ac722751f83876d7639e74f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94cb91afc59b744fcd92ee429e6746bd1a30438ac722751f83876d7639e74f66", kill_on_drop: false }` [INFO] [stdout] 94cb91afc59b744fcd92ee429e6746bd1a30438ac722751f83876d7639e74f66 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ef500677bdb9db1bc94530101879800176d0e83b55e7dbba34bec35675b865a [INFO] running `Command { std: "docker" "start" "-a" "2ef500677bdb9db1bc94530101879800176d0e83b55e7dbba34bec35675b865a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling rustix v0.38.39 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling cc v1.1.37 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling futures-lite v2.5.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling wayland-client v0.31.7 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling ttf-parser v0.25.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling async-broadcast v0.7.1 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling xml-rs v0.8.23 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling accesskit v0.16.3 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling immutable-chunkmap v2.0.6 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling epaint_default_fonts v0.29.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling dpi v0.1.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling glutin v0.32.1 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling accesskit_consumer v0.24.3 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling fdeflate v0.3.6 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling glutin_glx_sys v0.6.0 [INFO] [stderr] Compiling glutin_egl_sys v0.7.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling hidapi v2.6.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling glow v0.14.2 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling rfd v0.15.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling bytemuck v1.19.0 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling emath v0.29.1 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling ecolor v0.29.1 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling epaint v0.29.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling wayland-protocols v0.32.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling wayland-cursor v0.31.7 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling async-net v2.0.0 [INFO] [stderr] Compiling egui v0.29.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling enumflags2 v0.7.10 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling zvariant v4.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.5 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.5 [INFO] [stderr] Compiling webbrowser v1.0.2 [INFO] [stderr] Compiling egui_glow v0.29.1 [INFO] [stderr] Compiling egui_plot v0.29.0 [INFO] [stderr] Compiling zbus_names v3.0.0 [INFO] [stderr] Compiling zbus_xml v4.0.0 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling smithay-clipboard v0.7.2 [INFO] [stderr] Compiling zbus-lockstep v0.4.4 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Compiling zbus v4.4.0 [INFO] [stderr] Compiling arboard v3.4.1 [INFO] [stderr] Compiling atspi-common v0.6.0 [INFO] [stderr] Compiling ashpd v0.9.2 [INFO] [stderr] Compiling atspi-proxies v0.6.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.9.3 [INFO] [stderr] Compiling atspi-connection v0.6.0 [INFO] [stderr] Compiling atspi v0.22.0 [INFO] [stderr] Compiling accesskit_unix v0.12.3 [INFO] [stderr] Compiling accesskit_winit v0.22.4 [INFO] [stderr] Compiling egui-winit v0.29.1 [INFO] [stderr] Compiling eframe v0.29.1 [INFO] [stderr] Compiling 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)]` 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)]` 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)]` 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) { [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), [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] = note: `StickCenterCalibrationResult` 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 `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 `Clone` and `Debug`, 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 1m 25s [INFO] running `Command { std: "docker" "inspect" "2ef500677bdb9db1bc94530101879800176d0e83b55e7dbba34bec35675b865a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ef500677bdb9db1bc94530101879800176d0e83b55e7dbba34bec35675b865a", kill_on_drop: false }` [INFO] [stdout] 2ef500677bdb9db1bc94530101879800176d0e83b55e7dbba34bec35675b865a [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd9f8d0ecceec915d61c0f9f70ad887ba03015ff707bd0debf94c99f4e2fe9d0 [INFO] running `Command { std: "docker" "start" "-a" "cd9f8d0ecceec915d61c0f9f70ad887ba03015ff707bd0debf94c99f4e2fe9d0", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` 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)]` 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)]` 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) { [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), [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] = note: `StickCenterCalibrationResult` 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 `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 `Clone` and `Debug`, 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 `test` profile [unoptimized + debuginfo] target(s) in 1.71s [INFO] running `Command { std: "docker" "inspect" "cd9f8d0ecceec915d61c0f9f70ad887ba03015ff707bd0debf94c99f4e2fe9d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd9f8d0ecceec915d61c0f9f70ad887ba03015ff707bd0debf94c99f4e2fe9d0", kill_on_drop: false }` [INFO] [stdout] cd9f8d0ecceec915d61c0f9f70ad887ba03015ff707bd0debf94c99f4e2fe9d0