[INFO] fetching crate tauri-plugin-ble 0.1.1... [INFO] checking tauri-plugin-ble-0.1.1 against master#f21fbac535ab2c3bc50db20547f4d48477357103 for pr-143193 [INFO] extracting crate tauri-plugin-ble 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate tauri-plugin-ble 0.1.1 [INFO] finished tweaking crates.io crate tauri-plugin-ble 0.1.1 [INFO] tweaked toml for crates.io crate tauri-plugin-ble 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tauri-plugin-ble 0.1.1 on toolchain f21fbac535ab2c3bc50db20547f4d48477357103 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tauri-plugin-ble 0.1.1 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" "+f21fbac535ab2c3bc50db20547f4d48477357103" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-streams v0.4.1 [INFO] [stderr] Downloaded embed-resource v3.0.4 [INFO] [stderr] Downloaded br-ble v0.2.0 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4ad25b21822c81cbeb0fc0cef99b3dca507cb6bca2ce2f3d37cd67357955964 [INFO] running `Command { std: "docker" "start" "-a" "d4ad25b21822c81cbeb0fc0cef99b3dca507cb6bca2ce2f3d37cd67357955964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4ad25b21822c81cbeb0fc0cef99b3dca507cb6bca2ce2f3d37cd67357955964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4ad25b21822c81cbeb0fc0cef99b3dca507cb6bca2ce2f3d37cd67357955964", kill_on_drop: false }` [INFO] [stdout] d4ad25b21822c81cbeb0fc0cef99b3dca507cb6bca2ce2f3d37cd67357955964 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7725239f307fe07f5608988fc47e76e1c6487a4f3e6adb1f867c598a6e5b369 [INFO] running `Command { std: "docker" "start" "-a" "a7725239f307fe07f5608988fc47e76e1c6487a4f3e6adb1f867c598a6e5b369", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [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 ryu v1.0.18 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling servo_arc v0.2.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling unic-ucd-ident v0.9.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling gtk v0.18.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling cc v1.1.28 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling fdeflate v0.3.5 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling wry v0.52.1 [INFO] [stderr] Compiling tauri-runtime v2.7.0 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling serde_with_macros v3.11.0 [INFO] [stderr] Compiling dlopen2_derive v0.4.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ico v0.4.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling cssparser v0.29.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tauri-runtime-wry v2.7.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling serialize-to-javascript-impl v0.1.1 [INFO] [stderr] Checking dlopen2 v0.7.0 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling selectors v0.24.0 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking toml_datetime v0.6.9 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking serde_with v3.11.0 [INFO] [stderr] Checking toml_edit v0.22.26 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking br-ble v0.2.0 [INFO] [stderr] Checking keyboard-types v0.7.0 [INFO] [stderr] Checking urlpattern v0.3.0 [INFO] [stderr] Checking infer v0.19.0 [INFO] [stderr] Checking serde-untagged v0.1.6 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Checking jsonptr v0.6.3 [INFO] [stderr] Compiling toml_edit v0.20.7 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking serialize-to-javascript v0.1.1 [INFO] [stderr] Checking json-patch v3.0.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Checking toml v0.8.22 [INFO] [stderr] Checking tauri-utils v2.5.0 [INFO] [stderr] Compiling cargo_metadata v0.19.2 [INFO] [stderr] Compiling html5ever v0.29.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling kuchikiki v0.8.8-speedreader [INFO] [stderr] Compiling gtk3-macros v0.18.0 [INFO] [stderr] Compiling proc-macro-crate v2.0.0 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling embed-resource v3.0.4 [INFO] [stderr] Compiling cargo_toml v0.22.1 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Compiling tauri-winres v0.3.1 [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.0 [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.0 [INFO] [stderr] Compiling gtk-sys v0.18.0 [INFO] [stderr] Compiling javascriptcore-rs-sys v1.1.1 [INFO] [stderr] Compiling soup3-sys v0.5.0 [INFO] [stderr] Compiling gdkx11-sys v0.18.0 [INFO] [stderr] Compiling webkit2gtk-sys v2.0.1 [INFO] [stderr] Checking glib v0.18.5 [INFO] [stderr] Checking gdkwayland-sys v0.18.0 [INFO] [stderr] Compiling tauri-build v2.3.0 [INFO] [stderr] Compiling tauri-codegen v2.3.0 [INFO] [stderr] Compiling tauri-plugin v2.3.0 [INFO] [stderr] Checking cairo-rs v0.18.5 [INFO] [stderr] Checking atk v0.18.0 [INFO] [stderr] Checking javascriptcore-rs v1.1.2 [INFO] [stderr] Compiling tauri v2.6.2 [INFO] [stderr] Compiling tauri-plugin-ble v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tauri-macros v2.3.1 [INFO] [stderr] Checking pango v0.18.3 [INFO] [stderr] Checking gdk-pixbuf v0.18.5 [INFO] [stderr] Checking soup3 v0.5.0 [INFO] [stderr] Checking gdk v0.18.0 [INFO] [stderr] Checking gdkx11 v0.18.0 [INFO] [stderr] Checking webkit2gtk v2.0.1 [INFO] [stderr] Checking tao v0.34.0 [INFO] [stderr] Checking 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)]` 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:289:5 [INFO] [stdout] | [INFO] [stdout] 285 | pub enum Types { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 289 | Usb, [INFO] [stdout] | ^^^ [INFO] [stdout] 290 | /// 文件解析设备 [INFO] [stdout] 291 | File, [INFO] [stdout] | ^^^^ [INFO] [stdout] 292 | /// 蓝牙HID设备 [INFO] [stdout] 293 | Hid, [INFO] [stdout] | ^^^ [INFO] [stdout] 294 | 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:307:8 [INFO] [stdout] | [INFO] [stdout] 297 | impl Types { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 307 | 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:321:5 [INFO] [stdout] | [INFO] [stdout] 319 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 320 | /// 水平仪 [INFO] [stdout] 321 | SpiritLevel, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 322 | /// 陀螺仪 [INFO] [stdout] 323 | Gyroscope, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | Potentiometer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 328 | /// 仪器 [INFO] [stdout] 329 | Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 330 | /// 扫码抢 [INFO] [stdout] 331 | ScanCode, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 332 | /// 未知 [INFO] [stdout] 333 | 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:348:8 [INFO] [stdout] | [INFO] [stdout] 336 | impl Mode { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 348 | 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:363:10 [INFO] [stdout] | [INFO] [stdout] 363 | pub enum ConnectionState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `str` is never used [INFO] [stdout] --> src/device/mod.rs:377:8 [INFO] [stdout] | [INFO] [stdout] 376 | impl ConnectionState { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 377 | 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:393:5 [INFO] [stdout] | [INFO] [stdout] 391 | pub enum ErrState { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 392 | /// 休眠 [INFO] [stdout] 393 | Dormancy, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 394 | /// 异常 [INFO] [stdout] 395 | Abnormal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 396 | /// 禁用 [INFO] [stdout] 397 | Disabled, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 398 | /// 连接失败 [INFO] [stdout] 399 | ConnectionFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 400 | /// 断开连接 [INFO] [stdout] 401 | 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:406:12 [INFO] [stdout] | [INFO] [stdout] 406 | pub struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `json` is never used [INFO] [stdout] --> src/device/mod.rs:456:12 [INFO] [stdout] | [INFO] [stdout] 455 | impl Data { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 456 | pub fn json(self) -> JsonValue { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Disconnected`, `ConnectFailed`, and `Removed` are never constructed [INFO] [stdout] --> src/device/mod.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 476 | pub enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 487 | Disconnected, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 488 | /// 连接失败 [INFO] [stdout] 489 | ConnectFailed, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 490 | /// 移除 [INFO] [stdout] 491 | 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:509:12 [INFO] [stdout] | [INFO] [stdout] 495 | impl Status { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 509 | 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) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn w_xyz(mut data: Vec) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn angle_x(mut data: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn angle_y(mut data: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn angle_z(mut data: Vec) -> 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)]` 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:289:5 [INFO] [stdout] | [INFO] [stdout] 285 | pub enum Types { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 289 | Usb, [INFO] [stdout] | ^^^ [INFO] [stdout] 290 | /// 文件解析设备 [INFO] [stdout] 291 | File, [INFO] [stdout] | ^^^^ [INFO] [stdout] 292 | /// 蓝牙HID设备 [INFO] [stdout] 293 | Hid, [INFO] [stdout] | ^^^ [INFO] [stdout] 294 | 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:307:8 [INFO] [stdout] | [INFO] [stdout] 297 | impl Types { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 307 | 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:321:5 [INFO] [stdout] | [INFO] [stdout] 319 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 320 | /// 水平仪 [INFO] [stdout] 321 | SpiritLevel, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 322 | /// 陀螺仪 [INFO] [stdout] 323 | Gyroscope, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | Potentiometer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 328 | /// 仪器 [INFO] [stdout] 329 | Instrument, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 330 | /// 扫码抢 [INFO] [stdout] 331 | ScanCode, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 332 | /// 未知 [INFO] [stdout] 333 | 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:348:8 [INFO] [stdout] | [INFO] [stdout] 336 | impl Mode { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 348 | 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:363:10 [INFO] [stdout] | [INFO] [stdout] 363 | pub enum ConnectionState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `str` is never used [INFO] [stdout] --> src/device/mod.rs:377:8 [INFO] [stdout] | [INFO] [stdout] 376 | impl ConnectionState { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 377 | 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:393:5 [INFO] [stdout] | [INFO] [stdout] 391 | pub enum ErrState { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 392 | /// 休眠 [INFO] [stdout] 393 | Dormancy, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 394 | /// 异常 [INFO] [stdout] 395 | Abnormal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 396 | /// 禁用 [INFO] [stdout] 397 | Disabled, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 398 | /// 连接失败 [INFO] [stdout] 399 | ConnectionFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 400 | /// 断开连接 [INFO] [stdout] 401 | 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:406:12 [INFO] [stdout] | [INFO] [stdout] 406 | pub struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `json` is never used [INFO] [stdout] --> src/device/mod.rs:456:12 [INFO] [stdout] | [INFO] [stdout] 455 | impl Data { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 456 | pub fn json(self) -> JsonValue { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Disconnected`, `ConnectFailed`, and `Removed` are never constructed [INFO] [stdout] --> src/device/mod.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 476 | pub enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 487 | Disconnected, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 488 | /// 连接失败 [INFO] [stdout] 489 | ConnectFailed, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 490 | /// 移除 [INFO] [stdout] 491 | 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:509:12 [INFO] [stdout] | [INFO] [stdout] 495 | impl Status { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 509 | 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) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn w_xyz(mut data: Vec) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn angle_x(mut data: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn angle_y(mut data: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn angle_z(mut data: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 03s [INFO] running `Command { std: "docker" "inspect" "a7725239f307fe07f5608988fc47e76e1c6487a4f3e6adb1f867c598a6e5b369", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7725239f307fe07f5608988fc47e76e1c6487a4f3e6adb1f867c598a6e5b369", kill_on_drop: false }` [INFO] [stdout] a7725239f307fe07f5608988fc47e76e1c6487a4f3e6adb1f867c598a6e5b369