[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] cc1d9dabba43f09b3293027567d3ff170a44b931 [INFO] building antroids/ds4-gui against master#9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 for pr-117684 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantroids%2Fds4-gui" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/antroids/ds4-gui on toolchain 9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "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-7-tc1/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" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memchr v2.6.0 [INFO] [stderr] Downloaded atk-sys v0.16.0 [INFO] [stderr] Downloaded gdk-sys v0.16.0 [INFO] [stderr] Downloaded gtk-sys v0.16.0 [INFO] [stderr] Downloaded hidapi v2.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d8ac571349c337a9169656587041d77b6b93c239c56498b3a491d0191ae19e2 [INFO] running `Command { std: "docker" "start" "-a" "3d8ac571349c337a9169656587041d77b6b93c239c56498b3a491d0191ae19e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d8ac571349c337a9169656587041d77b6b93c239c56498b3a491d0191ae19e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d8ac571349c337a9169656587041d77b6b93c239c56498b3a491d0191ae19e2", kill_on_drop: false }` [INFO] [stdout] 3d8ac571349c337a9169656587041d77b6b93c239c56498b3a491d0191ae19e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb014ce30bb16a58c7fb095a75b8152469f5dbbe9f4e59c6ccbee6d8c9c54d2d [INFO] running `Command { std: "docker" "start" "-a" "fb014ce30bb16a58c7fb095a75b8152469f5dbbe9f4e59c6ccbee6d8c9c54d2d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling target-lexicon v0.12.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling xml-rs v0.8.16 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling cfg-expr v0.15.4 [INFO] [stderr] Compiling memchr v2.6.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling libloading v0.8.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling concurrent-queue v2.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling parking v2.1.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling ttf-parser v0.19.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling toml v0.7.6 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling system-deps v6.1.1 [INFO] [stderr] Compiling owned_ttf_parser v0.19.0 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling bytemuck_derive v1.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling glib-sys v0.16.3 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling ab_glyph v0.2.21 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling gobject-sys v0.16.3 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling enumflags2_derive v0.7.7 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling async-task v4.4.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling png v0.17.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling zvariant_derive v3.15.0 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling atomic-waker v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling blocking v1.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling regex v1.9.4 [INFO] [stderr] Compiling enumflags2 v0.7.7 [INFO] [stderr] Compiling zvariant v3.15.0 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling accesskit v0.11.2 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling zbus_macros v3.14.1 [INFO] [stderr] Compiling zbus_names v2.6.0 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling xdg-home v1.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling async-executor v1.5.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling gio-sys v0.16.3 [INFO] [stderr] Compiling atk-sys v0.16.0 [INFO] [stderr] Compiling gdk-sys v0.16.0 [INFO] [stderr] Compiling async-recursion v1.0.4 [INFO] [stderr] Compiling serde_repr v0.1.16 [INFO] [stderr] Compiling winit v0.28.6 [INFO] [stderr] Compiling async-broadcast v0.5.1 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling atspi-macros v0.2.0 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling emath v0.22.0 [INFO] [stderr] Compiling ecolor v0.22.0 [INFO] [stderr] Compiling cairo-sys-rs v0.16.3 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.16.3 [INFO] [stderr] Compiling pango-sys v0.16.3 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling epaint v0.22.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling zbus v3.14.1 [INFO] [stderr] Compiling accesskit_consumer v0.15.2 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling gtk-sys v0.16.0 [INFO] [stderr] Compiling x11rb-protocol v0.10.0 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling egui v0.22.0 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.3 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling webbrowser v0.8.11 [INFO] [stderr] Compiling time-macros v0.2.14 [INFO] [stderr] Compiling anstream v0.5.0 [INFO] [stderr] Compiling atspi v0.10.1 [INFO] [stderr] Compiling hidapi v2.4.1 [INFO] [stderr] Compiling smithay-clipboard v0.6.6 [INFO] [stderr] Compiling x11rb v0.10.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling deranged v0.3.8 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling arboard v3.2.1 [INFO] [stderr] Compiling rfd v0.11.4 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling time v0.3.28 [INFO] [stderr] Compiling clap_builder v4.4.2 [INFO] [stderr] Compiling egui_glow v0.22.0 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling simplelog v0.12.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling clap v4.4.3 [INFO] [stderr] Compiling accesskit_unix v0.5.2 [INFO] [stderr] Compiling accesskit_winit v0.14.4 [INFO] [stderr] Compiling egui-winit v0.22.0 [INFO] [stderr] Compiling eframe v0.22.0 [INFO] [stderr] Compiling ds4-gui v0.1.2 (/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: unused import: `std::fmt::format` [INFO] [stdout] --> src/application/test_commands.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::format; [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] | ^ [INFO] [stdout] | [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] | ^ [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] = note: `#[warn(dead_code)]` on by default [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: 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: 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: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.81s [INFO] running `Command { std: "docker" "inspect" "fb014ce30bb16a58c7fb095a75b8152469f5dbbe9f4e59c6ccbee6d8c9c54d2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb014ce30bb16a58c7fb095a75b8152469f5dbbe9f4e59c6ccbee6d8c9c54d2d", kill_on_drop: false }` [INFO] [stdout] fb014ce30bb16a58c7fb095a75b8152469f5dbbe9f4e59c6ccbee6d8c9c54d2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5def6a320dd835b4a9be75e0a3a8153ad069d698445f8a4f6af2529f83bf619 [INFO] running `Command { std: "docker" "start" "-a" "d5def6a320dd835b4a9be75e0a3a8153ad069d698445f8a4f6af2529f83bf619", kill_on_drop: false }` [INFO] [stderr] Compiling ds4-gui v0.1.2 (/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: unused import: `std::fmt::format` [INFO] [stdout] --> src/application/test_commands.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::format; [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] | ^ [INFO] [stdout] | [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] | ^ [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] = note: `#[warn(dead_code)]` on by default [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: 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: 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: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.71s [INFO] running `Command { std: "docker" "inspect" "d5def6a320dd835b4a9be75e0a3a8153ad069d698445f8a4f6af2529f83bf619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5def6a320dd835b4a9be75e0a3a8153ad069d698445f8a4f6af2529f83bf619", kill_on_drop: false }` [INFO] [stdout] d5def6a320dd835b4a9be75e0a3a8153ad069d698445f8a4f6af2529f83bf619