[INFO] fetching crate tauri-plugin-ble 0.1.2...
[INFO] testing tauri-plugin-ble-0.1.2 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] extracting crate tauri-plugin-ble 0.1.2 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate tauri-plugin-ble 0.1.2
[INFO] finished tweaking crates.io crate tauri-plugin-ble 0.1.2
[INFO] tweaked toml for crates.io crate tauri-plugin-ble 0.1.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate tauri-plugin-ble 0.1.2 on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate tauri-plugin-ble 0.1.2 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tauri-plugin v2.3.0
[INFO] [stderr]   Downloaded toml v0.8.22
[INFO] [stderr]   Downloaded camino v1.1.9
[INFO] [stderr]   Downloaded winreg v0.52.0
[INFO] [stderr]   Downloaded cargo_toml v0.22.1
[INFO] [stderr]   Downloaded tauri-runtime v2.7.0
[INFO] [stderr]   Downloaded plist v1.7.1
[INFO] [stderr]   Downloaded tauri-utils v2.5.0
[INFO] [stderr]   Downloaded tauri-runtime-wry v2.7.1
[INFO] [stderr]   Downloaded json v0.12.4
[INFO] [stderr]   Downloaded muda v0.17.0
[INFO] [stderr]   Downloaded tray-icon v0.21.0
[INFO] [stderr]   Downloaded tauri v2.6.2
[INFO] [stderr]   Downloaded quick-xml v0.32.0
[INFO] [stderr]   Downloaded tauri-build v2.3.0
[INFO] [stderr]   Downloaded tauri-codegen v2.3.0
[INFO] [stderr]   Downloaded br-ble v0.2.0
[INFO] [stderr]   Downloaded tauri-macros v2.3.1
[INFO] [stderr]   Downloaded derive_more v0.99.19
[INFO] [stderr]   Downloaded embed-resource v3.0.2
[INFO] [stderr]   Downloaded tauri-winres v0.3.0
[INFO] [stderr]   Downloaded dlopen2_derive v0.4.0
[INFO] [stderr]   Downloaded toml_write v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ef730f1b7fa454f030de18901f71393a1f152e136a17052014ef3496e1250b7b
[INFO] running `Command { std: "docker" "start" "-a" "ef730f1b7fa454f030de18901f71393a1f152e136a17052014ef3496e1250b7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ef730f1b7fa454f030de18901f71393a1f152e136a17052014ef3496e1250b7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef730f1b7fa454f030de18901f71393a1f152e136a17052014ef3496e1250b7b", kill_on_drop: false }`
[INFO] [stdout] ef730f1b7fa454f030de18901f71393a1f152e136a17052014ef3496e1250b7b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 958022b64550e5314cd3d64ac0d882ed6cba8d04337a200a4959ff87db5f9cbd
[INFO] running `Command { std: "docker" "start" "-a" "958022b64550e5314cd3d64ac0d882ed6cba8d04337a200a4959ff87db5f9cbd", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling toml_write v0.1.1
[INFO] [stderr]    Compiling winnow v0.7.12
[INFO] [stderr]    Compiling target-lexicon v0.12.16
[INFO] [stderr]    Compiling version-compare v0.2.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling siphasher v1.0.1
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling typeid v1.0.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling unic-char-range v0.9.0
[INFO] [stderr]    Compiling unic-common v0.9.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling proc-macro-hack v0.5.20+deprecated
[INFO] [stderr]    Compiling unic-char-property v0.9.0
[INFO] [stderr]    Compiling unic-ucd-version v0.9.0
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling unic-ucd-ident v0.9.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling mac v0.1.1
[INFO] [stderr]    Compiling gio v0.18.4
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling futf v0.1.5
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling dtoa v1.0.10
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling tendril v0.4.3
[INFO] [stderr]    Compiling brotli v8.0.1
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling dtoa-short v0.3.5
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling camino v1.1.9
[INFO] [stderr]    Compiling nodrop v0.1.14
[INFO] [stderr]    Compiling phf v0.8.0
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling cfg-expr v0.15.8
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling servo_arc v0.2.0
[INFO] [stderr]    Compiling schemars v0.8.22
[INFO] [stderr]    Compiling dyn-clone v1.0.19
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling gtk v0.18.2
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling x11 v2.21.0
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling cc v1.2.19
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling miniz_oxide v0.8.8
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling flate2 v1.1.1
[INFO] [stderr]    Compiling raw-window-handle v0.6.2
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling wry v0.52.1
[INFO] [stderr]    Compiling tauri-runtime v2.7.0
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling tauri-runtime-wry v2.7.1
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling json v0.12.4
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling ico v0.4.0
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling phf_generator v0.10.0
[INFO] [stderr]    Compiling phf_generator v0.8.0
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling phf_codegen v0.8.0
[INFO] [stderr]    Compiling string_cache_codegen v0.5.4
[INFO] [stderr]    Compiling phf_codegen v0.11.3
[INFO] [stderr]    Compiling selectors v0.24.0
[INFO] [stderr]    Compiling markup5ever v0.14.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling phf_macros v0.10.0
[INFO] [stderr]    Compiling cssparser v0.29.6
[INFO] [stderr]    Compiling serialize-to-javascript-impl v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling phf_macros v0.11.3
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling cssparser-macros v0.6.1
[INFO] [stderr]    Compiling ctor v0.2.9
[INFO] [stderr]    Compiling derive_more v0.99.19
[INFO] [stderr]    Compiling match_token v0.1.0
[INFO] [stderr]    Compiling schemars_derive v0.8.22
[INFO] [stderr]    Compiling phf v0.10.1
[INFO] [stderr]    Compiling dlopen2_derive v0.4.0
[INFO] [stderr]    Compiling phf v0.11.3
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling dlopen2 v0.7.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tokio v1.46.1
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling serde_with_macros v3.12.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling dpi v0.1.1
[INFO] [stderr]    Compiling toml_datetime v0.6.9
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling erased-serde v0.4.6
[INFO] [stderr]    Compiling serde_with v3.12.0
[INFO] [stderr]    Compiling keyboard-types v0.7.0
[INFO] [stderr]    Compiling toml_edit v0.22.26
[INFO] [stderr]    Compiling cfb v0.7.3
[INFO] [stderr]    Compiling br-ble v0.2.0
[INFO] [stderr]    Compiling string_cache v0.8.9
[INFO] [stderr]    Compiling toml_edit v0.20.7
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling cargo-platform v0.1.9
[INFO] [stderr]    Compiling field-offset v0.3.6
[INFO] [stderr]    Compiling jsonptr v0.6.3
[INFO] [stderr]    Compiling cargo_metadata v0.19.2
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling infer v0.19.0
[INFO] [stderr]    Compiling html5ever v0.29.1
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling serde-untagged v0.1.7
[INFO] [stderr]    Compiling json-patch v3.0.1
[INFO] [stderr]    Compiling serialize-to-javascript v0.1.1
[INFO] [stderr]    Compiling proc-macro-crate v2.0.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling kuchikiki v0.8.8-speedreader
[INFO] [stderr]    Compiling glib-macros v0.18.5
[INFO] [stderr]    Compiling toml v0.8.22
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling system-deps v6.2.2
[INFO] [stderr]    Compiling embed-resource v3.0.2
[INFO] [stderr]    Compiling cargo_toml v0.22.1
[INFO] [stderr]    Compiling urlpattern v0.3.0
[INFO] [stderr]    Compiling gtk3-macros v0.18.2
[INFO] [stderr]    Compiling tauri-winres v0.3.0
[INFO] [stderr]    Compiling glib-sys v0.18.1
[INFO] [stderr]    Compiling gobject-sys v0.18.0
[INFO] [stderr]    Compiling gio-sys v0.18.1
[INFO] [stderr]    Compiling gdk-sys v0.18.2
[INFO] [stderr]    Compiling pango-sys v0.18.0
[INFO] [stderr]    Compiling gdk-pixbuf-sys v0.18.0
[INFO] [stderr]    Compiling cairo-sys-rs v0.18.2
[INFO] [stderr]    Compiling atk-sys v0.18.2
[INFO] [stderr]    Compiling gtk-sys v0.18.2
[INFO] [stderr]    Compiling soup3-sys v0.5.0
[INFO] [stderr]    Compiling javascriptcore-rs-sys v1.1.1
[INFO] [stderr]    Compiling gdkx11-sys v0.18.2
[INFO] [stderr]    Compiling webkit2gtk-sys v2.0.1
[INFO] [stderr]    Compiling tauri-utils v2.5.0
[INFO] [stderr]    Compiling glib v0.18.5
[INFO] [stderr]    Compiling gdkwayland-sys v0.18.2
[INFO] [stderr]    Compiling cairo-rs v0.18.5
[INFO] [stderr]    Compiling atk v0.18.2
[INFO] [stderr]    Compiling javascriptcore-rs v1.1.2
[INFO] [stderr]    Compiling tauri-build v2.3.0
[INFO] [stderr]    Compiling tauri-plugin v2.3.0
[INFO] [stderr]    Compiling tauri-codegen v2.3.0
[INFO] [stderr]    Compiling tauri v2.6.2
[INFO] [stderr]    Compiling tauri-plugin-ble v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling tauri-macros v2.3.1
[INFO] [stderr]    Compiling gdk-pixbuf v0.18.5
[INFO] [stderr]    Compiling pango v0.18.3
[INFO] [stderr]    Compiling soup3 v0.5.0
[INFO] [stderr]    Compiling gdk v0.18.2
[INFO] [stderr]    Compiling gdkx11 v0.18.2
[INFO] [stderr]    Compiling webkit2gtk v2.0.1
[INFO] [stderr]    Compiling tao v0.34.0
[INFO] [stderr]    Compiling muda v0.17.0
[INFO] [stdout] warning: function `discover_list` is never used
[INFO] [stdout]   --> src/device/mod.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub fn discover_list() -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connect_device` is never used
[INFO] [stdout]    --> src/device/mod.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub fn connect_device(id: String) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `disconnected` is never used
[INFO] [stdout]    --> src/device/mod.rs:138:8
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub fn disconnected(id: String) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `work_mode_device` is never used
[INFO] [stdout]    --> src/device/mod.rs:159:8
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub fn work_mode_device(id: String, work_mode: String) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_device_zero` is never used
[INFO] [stdout]    --> src/device/mod.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub fn set_device_zero(id: String) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `zero` is never read
[INFO] [stdout]    --> src/device/mod.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub struct Device {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 218 |     pub zero: bool,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Device` 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: variants `Usb`, `File`, `Hid`, and `None` are never constructed
[INFO] [stdout]    --> src/device/mod.rs:293:5
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub enum Types {
[INFO] [stdout]     |          ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 293 |     Usb,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 294 |     /// 文件解析设备
[INFO] [stdout] 295 |     File,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 296 |     /// 蓝牙HID设备
[INFO] [stdout] 297 |     Hid,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 298 |     None,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Types` 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: associated function `from` is never used
[INFO] [stdout]    --> src/device/mod.rs:311:8
[INFO] [stdout]     |
[INFO] [stdout] 301 | impl Types {
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 311 |     fn from(name: &str) -> Self {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SpiritLevel`, `Gyroscope`, `Potentiometer`, `Instrument`, `ScanCode`, and `None` are never constructed
[INFO] [stdout]    --> src/device/mod.rs:325:5
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub enum Mode {
[INFO] [stdout]     |          ---- variants in this enum
[INFO] [stdout] 324 |     /// 水平仪
[INFO] [stdout] 325 |     SpiritLevel,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 326 |     /// 陀螺仪
[INFO] [stdout] 327 |     Gyroscope,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 331 |     Potentiometer,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 332 |     /// 仪器
[INFO] [stdout] 333 |     Instrument,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 334 |     /// 扫码抢
[INFO] [stdout] 335 |     ScanCode,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 336 |     /// 未知
[INFO] [stdout] 337 |     None,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Mode` 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: associated function `from` is never used
[INFO] [stdout]    --> src/device/mod.rs:352:8
[INFO] [stdout]     |
[INFO] [stdout] 340 | impl Mode {
[INFO] [stdout]     | --------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 352 |     fn from(name: &str) -> Self {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ConnectionState` is never used
[INFO] [stdout]    --> src/device/mod.rs:367:10
[INFO] [stdout]     |
[INFO] [stdout] 367 | pub enum ConnectionState {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `str` is never used
[INFO] [stdout]    --> src/device/mod.rs:381:8
[INFO] [stdout]     |
[INFO] [stdout] 380 | impl ConnectionState {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] 381 |     fn str(&mut self) -> &'static str {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Dormancy`, `Abnormal`, `Disabled`, `ConnectionFailed`, and `Unconnected` are never constructed
[INFO] [stdout]    --> src/device/mod.rs:397:5
[INFO] [stdout]     |
[INFO] [stdout] 395 | pub enum ErrState {
[INFO] [stdout]     |          -------- variants in this enum
[INFO] [stdout] 396 |     /// 休眠
[INFO] [stdout] 397 |     Dormancy,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 398 |     /// 异常
[INFO] [stdout] 399 |     Abnormal,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 400 |     /// 禁用
[INFO] [stdout] 401 |     Disabled,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 402 |     /// 连接失败
[INFO] [stdout] 403 |     ConnectionFailed,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 404 |     /// 断开连接
[INFO] [stdout] 405 |     Unconnected,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ErrState` 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: struct `Data` is never constructed
[INFO] [stdout]    --> src/device/mod.rs:410:12
[INFO] [stdout]     |
[INFO] [stdout] 410 | pub struct Data {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `json` is never used
[INFO] [stdout]    --> src/device/mod.rs:460:12
[INFO] [stdout]     |
[INFO] [stdout] 459 | impl Data {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] 460 |     pub fn json(self) -> JsonValue {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ConnectFailed` and `Removed` are never constructed
[INFO] [stdout]    --> src/device/mod.rs:493:5
[INFO] [stdout]     |
[INFO] [stdout] 480 | pub enum Status {
[INFO] [stdout]     |          ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 493 |     ConnectFailed,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 494 |     /// 移除
[INFO] [stdout] 495 |     Removed,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Status` 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: associated function `from` is never used
[INFO] [stdout]    --> src/device/mod.rs:513:12
[INFO] [stdout]     |
[INFO] [stdout] 499 | impl Status {
[INFO] [stdout]     | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 513 |     pub fn from(name: &str) -> Status {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/device/ble/mod.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     LVH(Lvh),
[INFO] [stdout]    |     --- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BleModel` has derived impls for the traits `Debug` and `Clone`, but these are 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] 45 -     LVH(Lvh),
[INFO] [stdout] 45 +     LVH(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]  --> src/device/ble/lvh.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Lvh {
[INFO] [stdout]   |            --- field in this struct
[INFO] [stdout] 5 |     pub id: String,
[INFO] [stdout]   |         ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Lvh` 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: struct `Wt90` is never constructed
[INFO] [stdout]  --> src/device/ble/wt90.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Wt90 {}
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `a_xyz`, `w_xyz`, `angle_x`, `angle_y`, and `angle_z` are never used
[INFO] [stdout]   --> src/device/ble/wt90.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Wt90 {
[INFO] [stdout]    | --------- associated functions in this implementation
[INFO] [stdout]  6 |     /// 加速度
[INFO] [stdout]  7 |     pub fn a_xyz(mut data: Vec<u8>) -> f64 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn w_xyz(mut data: Vec<u8>) -> f64 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn angle_x(mut data: Vec<u8>) -> f64 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn angle_y(mut data: Vec<u8>) -> f64 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn angle_z(mut data: Vec<u8>) -> f64 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 26s
[INFO] running `Command { std: "docker" "inspect" "958022b64550e5314cd3d64ac0d882ed6cba8d04337a200a4959ff87db5f9cbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "958022b64550e5314cd3d64ac0d882ed6cba8d04337a200a4959ff87db5f9cbd", kill_on_drop: false }`
[INFO] [stdout] 958022b64550e5314cd3d64ac0d882ed6cba8d04337a200a4959ff87db5f9cbd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8def37f0cf3c2fbc3cf51acb4d23df7dbe71639ca4587132f2af31ddf737b103
[INFO] running `Command { std: "docker" "start" "-a" "8def37f0cf3c2fbc3cf51acb4d23df7dbe71639ca4587132f2af31ddf737b103", kill_on_drop: false }`
[INFO] [stdout] warning: function `discover_list` is never used
[INFO] [stdout]   --> src/device/mod.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub fn discover_list() -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connect_device` is never used
[INFO] [stdout]    --> src/device/mod.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub fn connect_device(id: String) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `disconnected` is never used
[INFO] [stdout]    --> src/device/mod.rs:138:8
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub fn disconnected(id: String) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `work_mode_device` is never used
[INFO] [stdout]    --> src/device/mod.rs:159:8
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub fn work_mode_device(id: String, work_mode: String) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_device_zero` is never used
[INFO] [stdout]    --> src/device/mod.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub fn set_device_zero(id: String) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `zero` is never read
[INFO] [stdout]    --> src/device/mod.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub struct Device {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 218 |     pub zero: bool,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Device` 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: variants `Usb`, `File`, `Hid`, and `None` are never constructed
[INFO] [stdout]    --> src/device/mod.rs:293:5
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub enum Types {
[INFO] [stdout]     |          ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 293 |     Usb,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 294 |     /// 文件解析设备
[INFO] [stdout] 295 |     File,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 296 |     /// 蓝牙HID设备
[INFO] [stdout] 297 |     Hid,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 298 |     None,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Types` 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: associated function `from` is never used
[INFO] [stdout]    --> src/device/mod.rs:311:8
[INFO] [stdout]     |
[INFO] [stdout] 301 | impl Types {
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 311 |     fn from(name: &str) -> Self {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SpiritLevel`, `Gyroscope`, `Potentiometer`, `Instrument`, `ScanCode`, and `None` are never constructed
[INFO] [stdout]    --> src/device/mod.rs:325:5
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub enum Mode {
[INFO] [stdout]     |          ---- variants in this enum
[INFO] [stdout] 324 |     /// 水平仪
[INFO] [stdout] 325 |     SpiritLevel,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 326 |     /// 陀螺仪
[INFO] [stdout] 327 |     Gyroscope,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 331 |     Potentiometer,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 332 |     /// 仪器
[INFO] [stdout] 333 |     Instrument,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 334 |     /// 扫码抢
[INFO] [stdout] 335 |     ScanCode,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 336 |     /// 未知
[INFO] [stdout] 337 |     None,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Mode` 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: associated function `from` is never used
[INFO] [stdout]    --> src/device/mod.rs:352:8
[INFO] [stdout]     |
[INFO] [stdout] 340 | impl Mode {
[INFO] [stdout]     | --------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 352 |     fn from(name: &str) -> Self {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ConnectionState` is never used
[INFO] [stdout]    --> src/device/mod.rs:367:10
[INFO] [stdout]     |
[INFO] [stdout] 367 | pub enum ConnectionState {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `str` is never used
[INFO] [stdout]    --> src/device/mod.rs:381:8
[INFO] [stdout]     |
[INFO] [stdout] 380 | impl ConnectionState {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] 381 |     fn str(&mut self) -> &'static str {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Dormancy`, `Abnormal`, `Disabled`, `ConnectionFailed`, and `Unconnected` are never constructed
[INFO] [stdout]    --> src/device/mod.rs:397:5
[INFO] [stdout]     |
[INFO] [stdout] 395 | pub enum ErrState {
[INFO] [stdout]     |          -------- variants in this enum
[INFO] [stdout] 396 |     /// 休眠
[INFO] [stdout] 397 |     Dormancy,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 398 |     /// 异常
[INFO] [stdout] 399 |     Abnormal,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 400 |     /// 禁用
[INFO] [stdout] 401 |     Disabled,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 402 |     /// 连接失败
[INFO] [stdout] 403 |     ConnectionFailed,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 404 |     /// 断开连接
[INFO] [stdout] 405 |     Unconnected,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ErrState` 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: struct `Data` is never constructed
[INFO] [stdout]    --> src/device/mod.rs:410:12
[INFO] [stdout]     |
[INFO] [stdout] 410 | pub struct Data {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `json` is never used
[INFO] [stdout]    --> src/device/mod.rs:460:12
[INFO] [stdout]     |
[INFO] [stdout] 459 | impl Data {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] 460 |     pub fn json(self) -> JsonValue {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ConnectFailed` and `Removed` are never constructed
[INFO] [stdout]    --> src/device/mod.rs:493:5
[INFO] [stdout]     |
[INFO] [stdout] 480 | pub enum Status {
[INFO] [stdout]     |          ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 493 |     ConnectFailed,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 494 |     /// 移除
[INFO] [stdout] 495 |     Removed,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Status` 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: associated function `from` is never used
[INFO] [stdout]    --> src/device/mod.rs:513:12
[INFO] [stdout]     |
[INFO] [stdout] 499 | impl Status {
[INFO] [stdout]     | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 513 |     pub fn from(name: &str) -> Status {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tauri-plugin-ble v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/device/ble/mod.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     LVH(Lvh),
[INFO] [stdout]    |     --- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BleModel` has derived impls for the traits `Debug` and `Clone`, but these are 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] 45 -     LVH(Lvh),
[INFO] [stdout] 45 +     LVH(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]  --> src/device/ble/lvh.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Lvh {
[INFO] [stdout]   |            --- field in this struct
[INFO] [stdout] 5 |     pub id: String,
[INFO] [stdout]   |         ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Lvh` 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: struct `Wt90` is never constructed
[INFO] [stdout]  --> src/device/ble/wt90.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Wt90 {}
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `a_xyz`, `w_xyz`, `angle_x`, `angle_y`, and `angle_z` are never used
[INFO] [stdout]   --> src/device/ble/wt90.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Wt90 {
[INFO] [stdout]    | --------- associated functions in this implementation
[INFO] [stdout]  6 |     /// 加速度
[INFO] [stdout]  7 |     pub fn a_xyz(mut data: Vec<u8>) -> f64 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn w_xyz(mut data: Vec<u8>) -> f64 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn angle_x(mut data: Vec<u8>) -> f64 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn angle_y(mut data: Vec<u8>) -> f64 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn angle_z(mut data: Vec<u8>) -> f64 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `discover_list` is never used
[INFO] [stdout]   --> src/device/mod.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub fn discover_list() -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connect_device` is never used
[INFO] [stdout]    --> src/device/mod.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub fn connect_device(id: String) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `disconnected` is never used
[INFO] [stdout]    --> src/device/mod.rs:138:8
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub fn disconnected(id: String) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `work_mode_device` is never used
[INFO] [stdout]    --> src/device/mod.rs:159:8
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub fn work_mode_device(id: String, work_mode: String) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_device_zero` is never used
[INFO] [stdout]    --> src/device/mod.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub fn set_device_zero(id: String) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `zero` is never read
[INFO] [stdout]    --> src/device/mod.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub struct Device {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 218 |     pub zero: bool,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Device` 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: variants `Usb`, `File`, `Hid`, and `None` are never constructed
[INFO] [stdout]    --> src/device/mod.rs:293:5
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub enum Types {
[INFO] [stdout]     |          ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 293 |     Usb,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 294 |     /// 文件解析设备
[INFO] [stdout] 295 |     File,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 296 |     /// 蓝牙HID设备
[INFO] [stdout] 297 |     Hid,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 298 |     None,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Types` 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: associated function `from` is never used
[INFO] [stdout]    --> src/device/mod.rs:311:8
[INFO] [stdout]     |
[INFO] [stdout] 301 | impl Types {
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 311 |     fn from(name: &str) -> Self {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SpiritLevel`, `Gyroscope`, `Potentiometer`, `Instrument`, `ScanCode`, and `None` are never constructed
[INFO] [stdout]    --> src/device/mod.rs:325:5
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub enum Mode {
[INFO] [stdout]     |          ---- variants in this enum
[INFO] [stdout] 324 |     /// 水平仪
[INFO] [stdout] 325 |     SpiritLevel,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 326 |     /// 陀螺仪
[INFO] [stdout] 327 |     Gyroscope,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 331 |     Potentiometer,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 332 |     /// 仪器
[INFO] [stdout] 333 |     Instrument,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 334 |     /// 扫码抢
[INFO] [stdout] 335 |     ScanCode,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 336 |     /// 未知
[INFO] [stdout] 337 |     None,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Mode` 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: associated function `from` is never used
[INFO] [stdout]    --> src/device/mod.rs:352:8
[INFO] [stdout]     |
[INFO] [stdout] 340 | impl Mode {
[INFO] [stdout]     | --------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 352 |     fn from(name: &str) -> Self {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ConnectionState` is never used
[INFO] [stdout]    --> src/device/mod.rs:367:10
[INFO] [stdout]     |
[INFO] [stdout] 367 | pub enum ConnectionState {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `str` is never used
[INFO] [stdout]    --> src/device/mod.rs:381:8
[INFO] [stdout]     |
[INFO] [stdout] 380 | impl ConnectionState {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] 381 |     fn str(&mut self) -> &'static str {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Dormancy`, `Abnormal`, `Disabled`, `ConnectionFailed`, and `Unconnected` are never constructed
[INFO] [stdout]    --> src/device/mod.rs:397:5
[INFO] [stdout]     |
[INFO] [stdout] 395 | pub enum ErrState {
[INFO] [stdout]     |          -------- variants in this enum
[INFO] [stdout] 396 |     /// 休眠
[INFO] [stdout] 397 |     Dormancy,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 398 |     /// 异常
[INFO] [stdout] 399 |     Abnormal,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 400 |     /// 禁用
[INFO] [stdout] 401 |     Disabled,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 402 |     /// 连接失败
[INFO] [stdout] 403 |     ConnectionFailed,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 404 |     /// 断开连接
[INFO] [stdout] 405 |     Unconnected,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ErrState` 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: struct `Data` is never constructed
[INFO] [stdout]    --> src/device/mod.rs:410:12
[INFO] [stdout]     |
[INFO] [stdout] 410 | pub struct Data {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `json` is never used
[INFO] [stdout]    --> src/device/mod.rs:460:12
[INFO] [stdout]     |
[INFO] [stdout] 459 | impl Data {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] 460 |     pub fn json(self) -> JsonValue {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ConnectFailed` and `Removed` are never constructed
[INFO] [stdout]    --> src/device/mod.rs:493:5
[INFO] [stdout]     |
[INFO] [stdout] 480 | pub enum Status {
[INFO] [stdout]     |          ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 493 |     ConnectFailed,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 494 |     /// 移除
[INFO] [stdout] 495 |     Removed,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Status` 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: associated function `from` is never used
[INFO] [stdout]    --> src/device/mod.rs:513:12
[INFO] [stdout]     |
[INFO] [stdout] 499 | impl Status {
[INFO] [stdout]     | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 513 |     pub fn from(name: &str) -> Status {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/device/ble/mod.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     LVH(Lvh),
[INFO] [stdout]    |     --- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BleModel` has derived impls for the traits `Debug` and `Clone`, but these are 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] 45 -     LVH(Lvh),
[INFO] [stdout] 45 +     LVH(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]  --> src/device/ble/lvh.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Lvh {
[INFO] [stdout]   |            --- field in this struct
[INFO] [stdout] 5 |     pub id: String,
[INFO] [stdout]   |         ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Lvh` 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: struct `Wt90` is never constructed
[INFO] [stdout]  --> src/device/ble/wt90.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Wt90 {}
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `a_xyz`, `w_xyz`, `angle_x`, `angle_y`, and `angle_z` are never used
[INFO] [stdout]   --> src/device/ble/wt90.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Wt90 {
[INFO] [stdout]    | --------- associated functions in this implementation
[INFO] [stdout]  6 |     /// 加速度
[INFO] [stdout]  7 |     pub fn a_xyz(mut data: Vec<u8>) -> f64 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn w_xyz(mut data: Vec<u8>) -> f64 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn angle_x(mut data: Vec<u8>) -> f64 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn angle_y(mut data: Vec<u8>) -> f64 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn angle_z(mut data: Vec<u8>) -> f64 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 6.18s
[INFO] running `Command { std: "docker" "inspect" "8def37f0cf3c2fbc3cf51acb4d23df7dbe71639ca4587132f2af31ddf737b103", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8def37f0cf3c2fbc3cf51acb4d23df7dbe71639ca4587132f2af31ddf737b103", kill_on_drop: false }`
[INFO] [stdout] 8def37f0cf3c2fbc3cf51acb4d23df7dbe71639ca4587132f2af31ddf737b103
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1e0b8a8a5bcb6712fd7f572a849870c15f54d5070898c6ad8b05bf67dca0f97d
[INFO] running `Command { std: "docker" "start" "-a" "1e0b8a8a5bcb6712fd7f572a849870c15f54d5070898c6ad8b05bf67dca0f97d", kill_on_drop: false }`
[INFO] [stderr] warning: function `discover_list` is never used
[INFO] [stderr]   --> src/device/mod.rs:94:8
[INFO] [stderr]    |
[INFO] [stderr] 94 | pub fn discover_list() -> String {
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `connect_device` is never used
[INFO] [stderr]    --> src/device/mod.rs:129:8
[INFO] [stderr]     |
[INFO] [stderr] 129 | pub fn connect_device(id: String) -> String {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `disconnected` is never used
[INFO] [stderr]    --> src/device/mod.rs:138:8
[INFO] [stderr]     |
[INFO] [stderr] 138 | pub fn disconnected(id: String) -> String {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `work_mode_device` is never used
[INFO] [stderr]    --> src/device/mod.rs:159:8
[INFO] [stderr]     |
[INFO] [stderr] 159 | pub fn work_mode_device(id: String, work_mode: String) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `set_device_zero` is never used
[INFO] [stderr]    --> src/device/mod.rs:172:8
[INFO] [stderr]     |
[INFO] [stderr] 172 | pub fn set_device_zero(id: String) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `zero` is never read
[INFO] [stderr]    --> src/device/mod.rs:218:9
[INFO] [stderr]     |
[INFO] [stderr] 182 | pub struct Device {
[INFO] [stderr]     |            ------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 218 |     pub zero: bool,
[INFO] [stderr]     |         ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Device` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Usb`, `File`, `Hid`, and `None` are never constructed
[INFO] [stderr]    --> src/device/mod.rs:293:5
[INFO] [stderr]     |
[INFO] [stderr] 289 | pub enum Types {
[INFO] [stderr]     |          ----- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 293 |     Usb,
[INFO] [stderr]     |     ^^^
[INFO] [stderr] 294 |     /// 文件解析设备
[INFO] [stderr] 295 |     File,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr] 296 |     /// 蓝牙HID设备
[INFO] [stderr] 297 |     Hid,
[INFO] [stderr]     |     ^^^
[INFO] [stderr] 298 |     None,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Types` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from` is never used
[INFO] [stderr]    --> src/device/mod.rs:311:8
[INFO] [stderr]     |
[INFO] [stderr] 301 | impl Types {
[INFO] [stderr]     | ---------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 311 |     fn from(name: &str) -> Self {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `SpiritLevel`, `Gyroscope`, `Potentiometer`, `Instrument`, `ScanCode`, and `None` are never constructed
[INFO] [stderr]    --> src/device/mod.rs:325:5
[INFO] [stderr]     |
[INFO] [stderr] 323 | pub enum Mode {
[INFO] [stderr]     |          ---- variants in this enum
[INFO] [stderr] 324 |     /// 水平仪
[INFO] [stderr] 325 |     SpiritLevel,
[INFO] [stderr]     |     ^^^^^^^^^^^
[INFO] [stderr] 326 |     /// 陀螺仪
[INFO] [stderr] 327 |     Gyroscope,
[INFO] [stderr]     |     ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 331 |     Potentiometer,
[INFO] [stderr]     |     ^^^^^^^^^^^^^
[INFO] [stderr] 332 |     /// 仪器
[INFO] [stderr] 333 |     Instrument,
[INFO] [stderr]     |     ^^^^^^^^^^
[INFO] [stderr] 334 |     /// 扫码抢
[INFO] [stderr] 335 |     ScanCode,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr] 336 |     /// 未知
[INFO] [stderr] 337 |     None,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Mode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from` is never used
[INFO] [stderr]    --> src/device/mod.rs:352:8
[INFO] [stderr]     |
[INFO] [stderr] 340 | impl Mode {
[INFO] [stderr]     | --------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 352 |     fn from(name: &str) -> Self {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `ConnectionState` is never used
[INFO] [stderr]    --> src/device/mod.rs:367:10
[INFO] [stderr]     |
[INFO] [stderr] 367 | pub enum ConnectionState {
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `str` is never used
[INFO] [stderr]    --> src/device/mod.rs:381:8
[INFO] [stderr]     |
[INFO] [stderr] 380 | impl ConnectionState {
[INFO] [stderr]     | -------------------- method in this implementation
[INFO] [stderr] 381 |     fn str(&mut self) -> &'static str {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Dormancy`, `Abnormal`, `Disabled`, `ConnectionFailed`, and `Unconnected` are never constructed
[INFO] [stderr]    --> src/device/mod.rs:397:5
[INFO] [stderr]     |
[INFO] [stderr] 395 | pub enum ErrState {
[INFO] [stderr]     |          -------- variants in this enum
[INFO] [stderr] 396 |     /// 休眠
[INFO] [stderr] 397 |     Dormancy,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr] 398 |     /// 异常
[INFO] [stderr] 399 |     Abnormal,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr] 400 |     /// 禁用
[INFO] [stderr] 401 |     Disabled,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr] 402 |     /// 连接失败
[INFO] [stderr] 403 |     ConnectionFailed,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 404 |     /// 断开连接
[INFO] [stderr] 405 |     Unconnected,
[INFO] [stderr]     |     ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `ErrState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Data` is never constructed
[INFO] [stderr]    --> src/device/mod.rs:410:12
[INFO] [stderr]     |
[INFO] [stderr] 410 | pub struct Data {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `json` is never used
[INFO] [stderr]    --> src/device/mod.rs:460:12
[INFO] [stderr]     |
[INFO] [stderr] 459 | impl Data {
[INFO] [stderr]     | --------- method in this implementation
[INFO] [stderr] 460 |     pub fn json(self) -> JsonValue {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `ConnectFailed` and `Removed` are never constructed
[INFO] [stderr]    --> src/device/mod.rs:493:5
[INFO] [stderr]     |
[INFO] [stderr] 480 | pub enum Status {
[INFO] [stderr]     |          ------ variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 493 |     ConnectFailed,
[INFO] [stderr]     |     ^^^^^^^^^^^^^
[INFO] [stderr] 494 |     /// 移除
[INFO] [stderr] 495 |     Removed,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Status` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from` is never used
[INFO] [stderr]    --> src/device/mod.rs:513:12
[INFO] [stderr]     |
[INFO] [stderr] 499 | impl Status {
[INFO] [stderr]     | ----------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 513 |     pub fn from(name: &str) -> Status {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/device/ble/mod.rs:45:9
[INFO] [stderr]    |
[INFO] [stderr] 45 |     LVH(Lvh),
[INFO] [stderr]    |     --- ^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `BleModel` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 45 -     LVH(Lvh),
[INFO] [stderr] 45 +     LVH(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `id` is never read
[INFO] [stderr]  --> src/device/ble/lvh.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct Lvh {
[INFO] [stderr]   |            --- field in this struct
[INFO] [stderr] 5 |     pub id: String,
[INFO] [stderr]   |         ^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Lvh` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Wt90` is never constructed
[INFO] [stderr]  --> src/device/ble/wt90.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub struct Wt90 {}
[INFO] [stderr]   |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `a_xyz`, `w_xyz`, `angle_x`, `angle_y`, and `angle_z` are never used
[INFO] [stderr]   --> src/device/ble/wt90.rs:7:12
[INFO] [stderr]    |
[INFO] [stderr]  5 | impl Wt90 {
[INFO] [stderr]    | --------- associated functions in this implementation
[INFO] [stderr]  6 |     /// 加速度
[INFO] [stderr]  7 |     pub fn a_xyz(mut data: Vec<u8>) -> f64 {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 18 |     pub fn w_xyz(mut data: Vec<u8>) -> f64 {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 28 |     pub fn angle_x(mut data: Vec<u8>) -> f64 {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 38 |     pub fn angle_y(mut data: Vec<u8>) -> f64 {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 48 |     pub fn angle_z(mut data: Vec<u8>) -> f64 {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `tauri-plugin-ble` (lib) generated 21 warnings
[INFO] [stderr] warning: `tauri-plugin-ble` (lib test) generated 21 warnings (21 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tauri_plugin_ble-bb23ff15c019fb97)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests tauri_plugin_ble
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "1e0b8a8a5bcb6712fd7f572a849870c15f54d5070898c6ad8b05bf67dca0f97d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e0b8a8a5bcb6712fd7f572a849870c15f54d5070898c6ad8b05bf67dca0f97d", kill_on_drop: false }`
[INFO] [stdout] 1e0b8a8a5bcb6712fd7f572a849870c15f54d5070898c6ad8b05bf67dca0f97d
