[INFO] cloning repository https://github.com/Elvyria/inoli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Elvyria/inoli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElvyria%2Finoli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElvyria%2Finoli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 087e0ea73e1447f86d0988ece5ef599829433afe
[INFO] checking Elvyria/inoli against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElvyria%2Finoli" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Elvyria/inoli
[INFO] finished tweaking git repo https://github.com/Elvyria/inoli
[INFO] tweaked toml for git repo https://github.com/Elvyria/inoli written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Elvyria/inoli on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Elvyria/inoli 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded phf_generator v0.11.1
[INFO] [stderr]   Downloaded tokio-macros v2.0.0
[INFO] [stderr]   Downloaded phf_macros v0.11.1
[INFO] [stderr]   Downloaded phf_shared v0.11.1
[INFO] [stderr]   Downloaded clap_lex v0.3.3
[INFO] [stderr]   Downloaded automod v1.0.8
[INFO] [stderr]   Downloaded macaddr v1.0.1
[INFO] [stderr]   Downloaded custom_debug_derive v0.5.1
[INFO] [stderr]   Downloaded custom_debug v0.5.1
[INFO] [stderr]   Downloaded crc-catalog v2.2.0
[INFO] [stderr]   Downloaded dbus-tokio v0.7.6
[INFO] [stderr]   Downloaded rustversion v1.0.12
[INFO] [stderr]   Downloaded async-trait v0.1.66
[INFO] [stderr]   Downloaded bitflags v2.0.2
[INFO] [stderr]   Downloaded dbus-crossroads v0.5.2
[INFO] [stderr]   Downloaded derive_more v0.99.17
[INFO] [stderr]   Downloaded ryu v1.0.13
[INFO] [stderr]   Downloaded serde_derive v1.0.156
[INFO] [stderr]   Downloaded clap_derive v4.1.9
[INFO] [stderr]   Downloaded os_str_bytes v6.5.0
[INFO] [stderr]   Downloaded crc v3.0.1
[INFO] [stderr]   Downloaded dbus v0.9.7
[INFO] [stderr]   Downloaded serde_json v1.0.94
[INFO] [stderr]   Downloaded bluer v0.15.7
[INFO] [stderr]   Downloaded regex v1.7.3
[INFO] [stderr]   Downloaded syn v2.0.1
[INFO] [stderr]   Downloaded phf v0.11.1
[INFO] [stderr]   Downloaded clap v4.1.11
[INFO] [stderr]   Downloaded rustix v0.37.7
[INFO] [stderr]   Downloaded tokio v1.27.0
[INFO] [stderr]   Downloaded linux-raw-sys v0.3.1
[INFO] [stderr]   Downloaded libdbus-sys v0.2.4
[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" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5c412d0c27d9ee7b83ec59dab7694b791799efd5b763e8553911f0d472750cb9
[INFO] running `Command { std: "docker" "start" "-a" "5c412d0c27d9ee7b83ec59dab7694b791799efd5b763e8553911f0d472750cb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5c412d0c27d9ee7b83ec59dab7694b791799efd5b763e8553911f0d472750cb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c412d0c27d9ee7b83ec59dab7694b791799efd5b763e8553911f0d472750cb9", kill_on_drop: false }`
[INFO] [stdout] 5c412d0c27d9ee7b83ec59dab7694b791799efd5b763e8553911f0d472750cb9
[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" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ad6c61238717153e2d1ff2b82bd48f3dcd6d245f7ca4932ea8be5f76620eb2f1
[INFO] running `Command { std: "docker" "start" "-a" "ad6c61238717153e2d1ff2b82bd48f3dcd6d245f7ca4932ea8be5f76620eb2f1", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures-channel v0.3.27
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling futures-macro v0.3.27
[INFO] [stderr]     Checking futures-io v0.3.27
[INFO] [stderr]    Compiling serde_derive v1.0.156
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling syn v2.0.1
[INFO] [stderr]    Compiling serde v1.0.156
[INFO] [stderr]    Compiling tokio v1.27.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling rustversion v1.0.12
[INFO] [stderr]    Compiling serde_json v1.0.94
[INFO] [stderr]     Checking mio v0.8.6
[INFO] [stderr]    Compiling rustix v0.37.7
[INFO] [stderr]    Compiling itoa v1.0.6
[INFO] [stderr]    Compiling ryu v1.0.13
[INFO] [stderr]    Compiling siphasher v0.3.10
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling phf_shared v0.11.1
[INFO] [stderr]    Compiling libdbus-sys v0.2.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking io-lifetimes v1.0.10
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking futures-util v0.3.27
[INFO] [stderr]    Compiling uuid v1.3.0
[INFO] [stderr]     Checking linux-raw-sys v0.3.1
[INFO] [stderr]    Compiling phf_generator v0.11.1
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling custom_debug_derive v0.5.1
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]     Checking os_str_bytes v6.5.0
[INFO] [stderr]    Compiling async-trait v0.1.66
[INFO] [stderr]     Checking nix v0.26.2
[INFO] [stderr]     Checking clap_lex v0.3.3
[INFO] [stderr]     Checking is-terminal v0.4.7
[INFO] [stderr]     Checking regex v1.7.3
[INFO] [stderr]    Compiling clap_derive v4.1.9
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]     Checking strum v0.24.1
[INFO] [stderr]     Checking custom_debug v0.5.1
[INFO] [stderr]    Compiling phf_macros v0.11.1
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling displaydoc v0.2.3
[INFO] [stderr]    Compiling tokio-macros v2.0.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.39
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking macaddr v1.0.1
[INFO] [stderr]     Checking bitflags v2.0.2
[INFO] [stderr]     Checking iana-time-zone v0.1.56
[INFO] [stderr]     Checking crc-catalog v2.2.0
[INFO] [stderr]     Checking crc v3.0.1
[INFO] [stderr]     Checking chrono v0.4.24
[INFO] [stderr]     Checking env_logger v0.9.3
[INFO] [stderr]     Checking dbus v0.9.7
[INFO] [stderr]     Checking futures-executor v0.3.27
[INFO] [stderr]     Checking phf v0.11.1
[INFO] [stderr]     Checking futures v0.3.27
[INFO] [stderr]    Compiling automod v1.0.8
[INFO] [stderr]     Checking clap v4.1.11
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]     Checking thiserror v1.0.39
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking dbus-crossroads v0.5.2
[INFO] [stderr]     Checking dbus-tokio v0.7.6
[INFO] [stderr]     Checking tokio-stream v0.1.12
[INFO] [stderr]    Compiling bluer v0.15.7
[INFO] [stderr]     Checking inoli v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead
[INFO] [stdout]    --> src/devices/miband.rs:148:28
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let today = Local::today().and_hms_opt(8, 30, 0).unwrap().into();
[INFO] [stdout]     |                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::Local::today`: use `Local::now()` instead
[INFO] [stdout]    --> src/devices/miband.rs:148:28
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let today = Local::today().and_hms_opt(8, 30, 0).unwrap().into();
[INFO] [stdout]     |                            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `steps`
[INFO] [stdout]    --> src/devices/miband.rs:447:31
[INFO] [stdout]     |
[INFO] [stdout] 447 |     async fn set_steps(&self, steps: u32) -> Result<(), Error> {
[INFO] [stdout]     |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_steps`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Left`, `Right`, `Neck`, and `Pocket` are never constructed
[INFO] [stdout]   --> src/devices/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum WearLocation {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 15 |     Left,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     Right,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 17 |     Neck,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 18 |     Pocket,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WearLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Status` is never used
[INFO] [stdout]   --> src/devices/mod.rs:30:7
[INFO] [stdout]    |
[INFO] [stdout] 30 | trait Status {}
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Authorized` is never used
[INFO] [stdout]   --> src/devices/mod.rs:32:6
[INFO] [stdout]    |
[INFO] [stdout] 32 | enum Authorized {}
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Unauthorized` is never used
[INFO] [stdout]   --> src/devices/mod.rs:33:6
[INFO] [stdout]    |
[INFO] [stdout] 33 | enum Unauthorized {}
[INFO] [stdout]    |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Device` is never constructed
[INFO] [stdout]   --> src/devices/mod.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | struct Device<S: Status> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `authenticate` is never used
[INFO] [stdout]   --> src/devices/mod.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl Device<Unauthorized> {
[INFO] [stdout]    | ------------------------- associated function in this implementation
[INFO] [stdout] 43 |     fn authenticate() {}
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/devices/capabilities/alarm.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout]  1 | pub enum AlarmFrequency {
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout]  2 |     Once,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]  3 |     Monday,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]  4 |     Tuesday,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]  5 |     Wednesday,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]  6 |     Thursday,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]  7 |     Friday,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]  8 |     Saturday,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]  9 |     Sunday,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 10 |
[INFO] [stdout] 11 |     Workweek,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 12 |     Weekends,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Alert` is never used
[INFO] [stdout]   --> src/devices/capabilities/alert.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait Alert {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AlertCapable` is never used
[INFO] [stdout]   --> src/devices/capabilities/alert.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait AlertCapable {}
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALERT` is never used
[INFO] [stdout]  --> src/devices/capabilities/alert.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub const ALERT:       Uuid = uuid!("00001802-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALERT_LEVEL` is never used
[INFO] [stdout]  --> src/devices/capabilities/alert.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub const ALERT_LEVEL: Uuid = uuid!("00002a06-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]   |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `status` is never read
[INFO] [stdout]   --> src/devices/capabilities/battery.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct BatteryInfo {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 18 |     pub level:  u8,
[INFO] [stdout] 19 |     pub status: Option<BatteryStatus>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BatteryInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SLEEP` is never used
[INFO] [stdout]   --> src/devices/capabilities/heartrate.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const SLEEP:      [u8; 3] = [0x15, 0x0, 0x0];
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `heartrate_sleep` is never used
[INFO] [stdout]   --> src/devices/capabilities/heartrate.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub trait HeartRate {
[INFO] [stdout]    |           --------- method in this trait
[INFO] [stdout] 23 |     async fn nofity_heartrate(&self) -> Result<Pin<Box<dyn Stream<Item = u8> + Send>>, Error>;
[INFO] [stdout] 24 |     async fn heartrate_sleep(&self, enable: bool) -> Result<(), Error>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEART_RATE` is never used
[INFO] [stdout]   --> src/devices/capabilities/heartrate.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub const HEART_RATE:               Uuid = uuid!("0000180D-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `StepsCapable` is never used
[INFO] [stdout]   --> src/devices/capabilities/steps.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub trait StepsCapable {}
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `alert` is never used
[INFO] [stdout]   --> src/devices/bluetooth.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub trait BluetoothDevice where Self: Sync + Send + Deref<Target = bluer::Device> {
[INFO] [stdout]    |           --------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn alert(&self)     -> Option<&(dyn Alert + Sync + Send)>;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GENERIC_ACCESS` is never used
[INFO] [stdout]   --> src/devices/bluetooth.rs:17:15
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub const GENERIC_ACCESS:           Uuid = uuid!("00001800-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEVICE_NAME` is never used
[INFO] [stdout]   --> src/devices/bluetooth.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub const DEVICE_NAME:              Uuid = uuid!("00002A00-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `APPEARANCE` is never used
[INFO] [stdout]   --> src/devices/bluetooth.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub const APPEARANCE:               Uuid = uuid!("00002A01-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PRIVACY_FLAG` is never used
[INFO] [stdout]   --> src/devices/bluetooth.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub const PRIVACY_FLAG:             Uuid = uuid!("00002A02-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PREFERED_PARAMS` is never used
[INFO] [stdout]   --> src/devices/bluetooth.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub const PREFERED_PARAMS:          Uuid = uuid!("00002A04-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GENERIC_ATTRIBUTE` is never used
[INFO] [stdout]   --> src/devices/bluetooth.rs:23:15
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub const GENERIC_ATTRIBUTE:        Uuid = uuid!("00001801-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SERVICE_CHANGED` is never used
[INFO] [stdout]   --> src/devices/bluetooth.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub const SERVICE_CHANGED:          Uuid = uuid!("00002A05-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/devices/miband.rs:184:18
[INFO] [stdout]     |
[INFO] [stdout] 183 | impl<M: Model> MiBand<M> where M: Sync + Send {
[INFO] [stdout]     | --------------------------------------------- methods in this implementation
[INFO] [stdout] 184 |     pub async fn device_name(&self) -> Result<String, Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 199 |     pub async fn set_wear_location(&self, location: WearLocation) -> Result<(), Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     async fn set_steps(&self, steps: u32) -> Result<(), Error> {
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 227 |     pub async fn set_step_goal(&self, steps: u16) -> Result<(), Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 289 |     pub async fn notify_characteristics(&self) -> Result<impl Stream<Item = Vec<u8>>, Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 329 |     pub async fn datetime(&self) -> Result<DateTime, Error> {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 356 |     pub async fn le_params(&self) -> Result<LEParams, Error> {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 370 |     pub async fn factory_reset(&self) -> Result<(), Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 374 |     pub async fn reboot(&self) -> Result<(), Error> {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 378 |     async fn control(&self, command: control::Command) -> Result<(), Error> {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `hardware_version`, `profile_version`, `firmware_version`, and `firmware_version_heart` are never read
[INFO] [stdout]    --> src/devices/miband.rs:521:9
[INFO] [stdout]     |
[INFO] [stdout] 520 | pub struct DeviceInfo {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 521 |     pub id:                     u32,
[INFO] [stdout]     |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 524 |     pub hardware_version:       u8,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 525 |     pub profile_version:        Version,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 526 |     pub firmware_version:       Version,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 527 |     pub firmware_version_heart: Version,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MI_SERVICES` is never used
[INFO] [stdout]   --> src/devices/miband.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub const MI_SERVICES:              Uuid = uuid!("0000fee0-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEVICE_NAME` is never used
[INFO] [stdout]   --> src/devices/miband.rs:33:15
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub const DEVICE_NAME:              Uuid = uuid!("0000ff02-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ACTIVITY` is never used
[INFO] [stdout]   --> src/devices/miband.rs:38:15
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub const ACTIVITY:                 Uuid = uuid!("0000ff07-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAIR` is never used
[INFO] [stdout]   --> src/devices/miband.rs:42:15
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub const PAIR:                     Uuid = uuid!("0000ff0f-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAC` is never used
[INFO] [stdout]   --> src/devices/miband.rs:43:15
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub const MAC:                      Uuid = uuid!("0000fec9-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALARM` is never used
[INFO] [stdout]   --> src/devices/miband.rs:58:15
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub const ALARM:             &[u8] = &[0x23];
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LE_PARAMS_SUCCESS` is never used
[INFO] [stdout]   --> src/devices/miband.rs:59:15
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub const LE_PARAMS_SUCCESS: &[u8] = &[0x8];
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STEP_GOAL` is never used
[INFO] [stdout]   --> src/devices/miband.rs:74:15
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub const STEP_GOAL:     Command = 0x5;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COLLECT_DATA` is never used
[INFO] [stdout]   --> src/devices/miband.rs:75:15
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub const COLLECT_DATA:  Command = 0x6;
[INFO] [stdout]    |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FACTORY_RESET` is never used
[INFO] [stdout]   --> src/devices/miband.rs:76:15
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub const FACTORY_RESET: Command = 0x9;
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SYNC` is never used
[INFO] [stdout]   --> src/devices/miband.rs:77:15
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub const SYNC:          Command = 0xB;
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REBOOT` is never used
[INFO] [stdout]   --> src/devices/miband.rs:78:15
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub const REBOOT:        Command = 0xC;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WEAR_LOCATION` is never used
[INFO] [stdout]   --> src/devices/miband.rs:79:15
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub const WEAR_LOCATION: Command = 0xF;
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SET_STEPS` is never used
[INFO] [stdout]   --> src/devices/miband.rs:80:15
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub const SET_STEPS:     Command = 0x14;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/command.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 |     Alert(AlertLevel),
[INFO] [stdout]    |     ----- ^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 14 -     Alert(AlertLevel),
[INFO] [stdout] 14 +     Alert(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Alarm`, `DateTime`, `HeartrateSleep`, and `WearLocation` are never constructed
[INFO] [stdout]   --> src/command.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum Command {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] 13 |     Alarm(CommandAction),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     DateTime(DateTime),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     HeartrateSleep(bool),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     WearLocation((CommandAction, Option<WearLocation>)),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wearlocation_from_bytes` is never used
[INFO] [stdout]   --> src/command.rs:78:4
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn wearlocation_from_bytes(value: u8) -> Result<WearLocation, Error> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `datetime_from_bytes` is never used
[INFO] [stdout]   --> src/command.rs:88:4
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn datetime_from_bytes(b: &[u8]) -> Result<DateTime, Error> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Info` is never constructed
[INFO] [stdout]   --> src/ipc.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 | struct Info {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `steps`
[INFO] [stdout]    --> src/devices/miband.rs:447:31
[INFO] [stdout]     |
[INFO] [stdout] 447 |     async fn set_steps(&self, steps: u32) -> Result<(), Error> {
[INFO] [stdout]     |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_steps`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Left`, `Right`, `Neck`, and `Pocket` are never constructed
[INFO] [stdout]   --> src/devices/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum WearLocation {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 15 |     Left,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     Right,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 17 |     Neck,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 18 |     Pocket,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WearLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Status` is never used
[INFO] [stdout]   --> src/devices/mod.rs:30:7
[INFO] [stdout]    |
[INFO] [stdout] 30 | trait Status {}
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Authorized` is never used
[INFO] [stdout]   --> src/devices/mod.rs:32:6
[INFO] [stdout]    |
[INFO] [stdout] 32 | enum Authorized {}
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Unauthorized` is never used
[INFO] [stdout]   --> src/devices/mod.rs:33:6
[INFO] [stdout]    |
[INFO] [stdout] 33 | enum Unauthorized {}
[INFO] [stdout]    |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Device` is never constructed
[INFO] [stdout]   --> src/devices/mod.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | struct Device<S: Status> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `authenticate` is never used
[INFO] [stdout]   --> src/devices/mod.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl Device<Unauthorized> {
[INFO] [stdout]    | ------------------------- associated function in this implementation
[INFO] [stdout] 43 |     fn authenticate() {}
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/devices/capabilities/alarm.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout]  1 | pub enum AlarmFrequency {
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout]  2 |     Once,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]  3 |     Monday,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]  4 |     Tuesday,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]  5 |     Wednesday,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]  6 |     Thursday,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]  7 |     Friday,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]  8 |     Saturday,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]  9 |     Sunday,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 10 |
[INFO] [stdout] 11 |     Workweek,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 12 |     Weekends,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Alert` is never used
[INFO] [stdout]   --> src/devices/capabilities/alert.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait Alert {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AlertCapable` is never used
[INFO] [stdout]   --> src/devices/capabilities/alert.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait AlertCapable {}
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALERT` is never used
[INFO] [stdout]  --> src/devices/capabilities/alert.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub const ALERT:       Uuid = uuid!("00001802-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALERT_LEVEL` is never used
[INFO] [stdout]  --> src/devices/capabilities/alert.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub const ALERT_LEVEL: Uuid = uuid!("00002a06-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]   |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `status` is never read
[INFO] [stdout]   --> src/devices/capabilities/battery.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct BatteryInfo {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 18 |     pub level:  u8,
[INFO] [stdout] 19 |     pub status: Option<BatteryStatus>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BatteryInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SLEEP` is never used
[INFO] [stdout]   --> src/devices/capabilities/heartrate.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const SLEEP:      [u8; 3] = [0x15, 0x0, 0x0];
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `heartrate_sleep` is never used
[INFO] [stdout]   --> src/devices/capabilities/heartrate.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub trait HeartRate {
[INFO] [stdout]    |           --------- method in this trait
[INFO] [stdout] 23 |     async fn nofity_heartrate(&self) -> Result<Pin<Box<dyn Stream<Item = u8> + Send>>, Error>;
[INFO] [stdout] 24 |     async fn heartrate_sleep(&self, enable: bool) -> Result<(), Error>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEART_RATE` is never used
[INFO] [stdout]   --> src/devices/capabilities/heartrate.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub const HEART_RATE:               Uuid = uuid!("0000180D-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `StepsCapable` is never used
[INFO] [stdout]   --> src/devices/capabilities/steps.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub trait StepsCapable {}
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `alert` is never used
[INFO] [stdout]   --> src/devices/bluetooth.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub trait BluetoothDevice where Self: Sync + Send + Deref<Target = bluer::Device> {
[INFO] [stdout]    |           --------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn alert(&self)     -> Option<&(dyn Alert + Sync + Send)>;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GENERIC_ACCESS` is never used
[INFO] [stdout]   --> src/devices/bluetooth.rs:17:15
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub const GENERIC_ACCESS:           Uuid = uuid!("00001800-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEVICE_NAME` is never used
[INFO] [stdout]   --> src/devices/bluetooth.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub const DEVICE_NAME:              Uuid = uuid!("00002A00-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `APPEARANCE` is never used
[INFO] [stdout]   --> src/devices/bluetooth.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub const APPEARANCE:               Uuid = uuid!("00002A01-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PRIVACY_FLAG` is never used
[INFO] [stdout]   --> src/devices/bluetooth.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub const PRIVACY_FLAG:             Uuid = uuid!("00002A02-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PREFERED_PARAMS` is never used
[INFO] [stdout]   --> src/devices/bluetooth.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub const PREFERED_PARAMS:          Uuid = uuid!("00002A04-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GENERIC_ATTRIBUTE` is never used
[INFO] [stdout]   --> src/devices/bluetooth.rs:23:15
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub const GENERIC_ATTRIBUTE:        Uuid = uuid!("00001801-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SERVICE_CHANGED` is never used
[INFO] [stdout]   --> src/devices/bluetooth.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub const SERVICE_CHANGED:          Uuid = uuid!("00002A05-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/devices/miband.rs:184:18
[INFO] [stdout]     |
[INFO] [stdout] 183 | impl<M: Model> MiBand<M> where M: Sync + Send {
[INFO] [stdout]     | --------------------------------------------- methods in this implementation
[INFO] [stdout] 184 |     pub async fn device_name(&self) -> Result<String, Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 199 |     pub async fn set_wear_location(&self, location: WearLocation) -> Result<(), Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     async fn set_steps(&self, steps: u32) -> Result<(), Error> {
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 227 |     pub async fn set_step_goal(&self, steps: u16) -> Result<(), Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 289 |     pub async fn notify_characteristics(&self) -> Result<impl Stream<Item = Vec<u8>>, Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 329 |     pub async fn datetime(&self) -> Result<DateTime, Error> {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 356 |     pub async fn le_params(&self) -> Result<LEParams, Error> {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 370 |     pub async fn factory_reset(&self) -> Result<(), Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 374 |     pub async fn reboot(&self) -> Result<(), Error> {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 378 |     async fn control(&self, command: control::Command) -> Result<(), Error> {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `hardware_version`, `profile_version`, `firmware_version`, and `firmware_version_heart` are never read
[INFO] [stdout]    --> src/devices/miband.rs:521:9
[INFO] [stdout]     |
[INFO] [stdout] 520 | pub struct DeviceInfo {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 521 |     pub id:                     u32,
[INFO] [stdout]     |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 524 |     pub hardware_version:       u8,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 525 |     pub profile_version:        Version,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 526 |     pub firmware_version:       Version,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 527 |     pub firmware_version_heart: Version,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MI_SERVICES` is never used
[INFO] [stdout]   --> src/devices/miband.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub const MI_SERVICES:              Uuid = uuid!("0000fee0-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEVICE_NAME` is never used
[INFO] [stdout]   --> src/devices/miband.rs:33:15
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub const DEVICE_NAME:              Uuid = uuid!("0000ff02-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ACTIVITY` is never used
[INFO] [stdout]   --> src/devices/miband.rs:38:15
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub const ACTIVITY:                 Uuid = uuid!("0000ff07-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAIR` is never used
[INFO] [stdout]   --> src/devices/miband.rs:42:15
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub const PAIR:                     Uuid = uuid!("0000ff0f-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAC` is never used
[INFO] [stdout]   --> src/devices/miband.rs:43:15
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub const MAC:                      Uuid = uuid!("0000fec9-0000-1000-8000-00805f9b34fb");
[INFO] [stdout]    |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALARM` is never used
[INFO] [stdout]   --> src/devices/miband.rs:58:15
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub const ALARM:             &[u8] = &[0x23];
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `LE_PARAMS_SUCCESS` is never used
[INFO] [stdout]   --> src/devices/miband.rs:59:15
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub const LE_PARAMS_SUCCESS: &[u8] = &[0x8];
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STEP_GOAL` is never used
[INFO] [stdout]   --> src/devices/miband.rs:74:15
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub const STEP_GOAL:     Command = 0x5;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COLLECT_DATA` is never used
[INFO] [stdout]   --> src/devices/miband.rs:75:15
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub const COLLECT_DATA:  Command = 0x6;
[INFO] [stdout]    |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FACTORY_RESET` is never used
[INFO] [stdout]   --> src/devices/miband.rs:76:15
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub const FACTORY_RESET: Command = 0x9;
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SYNC` is never used
[INFO] [stdout]   --> src/devices/miband.rs:77:15
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub const SYNC:          Command = 0xB;
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REBOOT` is never used
[INFO] [stdout]   --> src/devices/miband.rs:78:15
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub const REBOOT:        Command = 0xC;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WEAR_LOCATION` is never used
[INFO] [stdout]   --> src/devices/miband.rs:79:15
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub const WEAR_LOCATION: Command = 0xF;
[INFO] [stdout]    |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SET_STEPS` is never used
[INFO] [stdout]   --> src/devices/miband.rs:80:15
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub const SET_STEPS:     Command = 0x14;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/command.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 |     Alert(AlertLevel),
[INFO] [stdout]    |     ----- ^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 14 -     Alert(AlertLevel),
[INFO] [stdout] 14 +     Alert(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Alarm`, `DateTime`, `HeartrateSleep`, and `WearLocation` are never constructed
[INFO] [stdout]   --> src/command.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum Command {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] 13 |     Alarm(CommandAction),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     DateTime(DateTime),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     HeartrateSleep(bool),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     WearLocation((CommandAction, Option<WearLocation>)),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wearlocation_from_bytes` is never used
[INFO] [stdout]   --> src/command.rs:78:4
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn wearlocation_from_bytes(value: u8) -> Result<WearLocation, Error> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `datetime_from_bytes` is never used
[INFO] [stdout]   --> src/command.rs:88:4
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn datetime_from_bytes(b: &[u8]) -> Result<DateTime, Error> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Info` is never constructed
[INFO] [stdout]   --> src/ipc.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 64 | struct Info {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.79s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bluer v0.15.7
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "ad6c61238717153e2d1ff2b82bd48f3dcd6d245f7ca4932ea8be5f76620eb2f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad6c61238717153e2d1ff2b82bd48f3dcd6d245f7ca4932ea8be5f76620eb2f1", kill_on_drop: false }`
[INFO] [stdout] ad6c61238717153e2d1ff2b82bd48f3dcd6d245f7ca4932ea8be5f76620eb2f1
