[INFO] fetching crate ft260hid 0.1.0...
[INFO] checking ft260hid-0.1.0 against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-150727
[INFO] extracting crate ft260hid 0.1.0 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate ft260hid 0.1.0
[INFO] finished tweaking crates.io crate ft260hid 0.1.0
[INFO] tweaked toml for crates.io crate ft260hid 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate ft260hid 0.1.0 on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 49 packages to latest compatible versions
[INFO] [stderr]       Adding rand v0.8.5 (available: v0.9.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serial_test_derive v3.3.1
[INFO] [stderr]   Downloaded serial_test v3.3.1
[INFO] [stderr]   Downloaded hidapi v2.6.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4ddf5048a1824982c28bf1a792173fb8ccdaaff2a74fdfd80f9fb59c410f8824
[INFO] running `Command { std: "docker" "start" "-a" "4ddf5048a1824982c28bf1a792173fb8ccdaaff2a74fdfd80f9fb59c410f8824", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4ddf5048a1824982c28bf1a792173fb8ccdaaff2a74fdfd80f9fb59c410f8824", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ddf5048a1824982c28bf1a792173fb8ccdaaff2a74fdfd80f9fb59c410f8824", kill_on_drop: false }`
[INFO] [stdout] 4ddf5048a1824982c28bf1a792173fb8ccdaaff2a74fdfd80f9fb59c410f8824
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e1444a28bd2a6aad7361b1b1d1ae4fef2483eb40b39b19e28de761e38f503400
[INFO] running `Command { std: "docker" "start" "-a" "e1444a28bd2a6aad7361b1b1d1ae4fef2483eb40b39b19e28de761e38f503400", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling hidapi v2.6.4
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]    Compiling serial_test_derive v3.3.1
[INFO] [stderr]     Checking serial_test v3.3.1
[INFO] [stderr]     Checking ft260hid v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Ft260Result`
[INFO] [stdout]  --> src/hid/consts.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::{Ft260Error, Ft260Result};
[INFO] [stdout]   |                         ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `Instant`
[INFO] [stdout]  --> src/hid/reports.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::hid::consts::*`
[INFO] [stdout]  --> src/hid/reports/uart.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::hid::consts::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ft260Error`
[INFO] [stdout]  --> src/hid/reports/gpio.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::{Ft260Error, Ft260Result};
[INFO] [stdout]   |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Gpio_0_1` should have an upper camel case name
[INFO] [stdout]   --> src/io/gpio.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     Gpio_0_1,
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to upper camel case: `Gpio0_1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Gpio_2` should have an upper camel case name
[INFO] [stdout]   --> src/io/gpio.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     Gpio_2,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `Gpio2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Gpio_3` should have an upper camel case name
[INFO] [stdout]   --> src/io/gpio.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 |     Gpio_3,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `Gpio3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Gpio_4_5` should have an upper camel case name
[INFO] [stdout]   --> src/io/gpio.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 |     Gpio_4_5,
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to upper camel case: `Gpio4_5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Gpio_A` should have an upper camel case name
[INFO] [stdout]   --> src/io/gpio.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     Gpio_A,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `GpioA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Gpio_B_C_D_E_F_H` should have an upper camel case name
[INFO] [stdout]   --> src/io/gpio.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     Gpio_B_C_D_E_F_H,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GpioBCDEFH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Gpio_G` should have an upper camel case name
[INFO] [stdout]   --> src/io/gpio.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     Gpio_G,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `GpioG`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::device`
[INFO] [stdout]  --> src/io/uart.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::device;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ft260Result`
[INFO] [stdout]  --> src/hid/consts.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::{Ft260Error, Ft260Result};
[INFO] [stdout]   |                         ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `Instant`
[INFO] [stdout]  --> src/hid/reports.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::hid::consts::*`
[INFO] [stdout]  --> src/hid/reports/uart.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::hid::consts::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ft260Error`
[INFO] [stdout]  --> src/hid/reports/gpio.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::{Ft260Error, Ft260Result};
[INFO] [stdout]   |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Gpio_0_1` should have an upper camel case name
[INFO] [stdout]   --> src/io/gpio.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     Gpio_0_1,
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to upper camel case: `Gpio0_1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Gpio_2` should have an upper camel case name
[INFO] [stdout]   --> src/io/gpio.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     Gpio_2,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `Gpio2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Gpio_3` should have an upper camel case name
[INFO] [stdout]   --> src/io/gpio.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 |     Gpio_3,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `Gpio3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Gpio_4_5` should have an upper camel case name
[INFO] [stdout]   --> src/io/gpio.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 |     Gpio_4_5,
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to upper camel case: `Gpio4_5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Gpio_A` should have an upper camel case name
[INFO] [stdout]   --> src/io/gpio.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     Gpio_A,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `GpioA`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Gpio_B_C_D_E_F_H` should have an upper camel case name
[INFO] [stdout]   --> src/io/gpio.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     Gpio_B_C_D_E_F_H,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GpioBCDEFH`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Gpio_G` should have an upper camel case name
[INFO] [stdout]   --> src/io/gpio.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     Gpio_G,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case: `GpioG`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::device`
[INFO] [stdout]  --> src/io/uart.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::device;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitflags::Flags`
[INFO] [stdout]  --> src/hid/reports.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitflags::Flags;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitflags::Flags`
[INFO] [stdout]  --> src/hid/reports/i2c.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitflags::Flags;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitflags::Flags`
[INFO] [stdout]  --> src/hid/reports.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitflags::Flags;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bitflags::Flags`
[INFO] [stdout]  --> src/hid/reports/i2c.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bitflags::Flags;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sz`
[INFO] [stdout]    --> src/hid/reports.rs:113:15
[INFO] [stdout]     |
[INFO] [stdout] 113 |     if let Ok(sz) = res {
[INFO] [stdout]     |               ^^ help: if this is intentional, prefix it with an underscore: `_sz`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/hid/reports/i2c.rs:194:9
[INFO] [stdout]     |
[INFO] [stdout] 194 |     let mut stop = flag.contains(I2cCondition::Stop);
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/io/i2c.rs:172:17
[INFO] [stdout]     |
[INFO] [stdout] 172 |             Err(e) => None,
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_input` is never used
[INFO] [stdout]    --> src/device.rs:161:19
[INFO] [stdout]     |
[INFO] [stdout]  64 | impl Device {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub(crate) fn read_input(&self, buf: &mut [u8], timeout: i32) -> Ft260Result<usize> {
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Ft260Status` is never used
[INFO] [stdout]   --> src/hid/consts.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub(crate) enum Ft260Status {
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ClkCtl` is never used
[INFO] [stdout]   --> src/hid/consts.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub(crate) enum ClkCtl {
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SuspendStatus` is never used
[INFO] [stdout]   --> src/hid/consts.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub(crate) enum SuspendStatus {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PwrEnStatus` is never used
[INFO] [stdout]   --> src/hid/consts.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub(crate) enum PwrEnStatus {
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HidOverI2cEnableMode` is never used
[INFO] [stdout]    --> src/hid/consts.rs:106:17
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub(crate) enum HidOverI2cEnableMode {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `TxLed` is never constructed
[INFO] [stdout]    --> src/hid/consts.rs:130:5
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub(crate) enum Gpio2Function {
[INFO] [stdout]     |                 ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 130 |     TxLed = 4,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `TxLed` is never constructed
[INFO] [stdout]    --> src/hid/consts.rs:141:5
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub(crate) enum GpioAFunction {
[INFO] [stdout]     |                 ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 141 |     TxLed = 4,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `RxLed` is never constructed
[INFO] [stdout]    --> src/hid/consts.rs:152:5
[INFO] [stdout]     |
[INFO] [stdout] 146 | pub(crate) enum GpioGFunction {
[INFO] [stdout]     |                 ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 152 |     RxLed = 5,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SuspendOutPol` is never used
[INFO] [stdout]    --> src/hid/consts.rs:158:17
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub(crate) enum SuspendOutPol {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `InterruptTrigger` is never used
[INFO] [stdout]    --> src/hid/consts.rs:172:17
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub(crate) enum InterruptTrigger {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `InterruptDuration` is never used
[INFO] [stdout]    --> src/hid/consts.rs:180:17
[INFO] [stdout]     |
[INFO] [stdout] 180 | pub(crate) enum InterruptDuration {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PowerSavingEnableMode` is never used
[INFO] [stdout]    --> src/hid/consts.rs:186:17
[INFO] [stdout]     |
[INFO] [stdout] 186 | pub(crate) enum PowerSavingEnableMode {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UartRiWakeupConfig` is never used
[INFO] [stdout]    --> src/hid/consts.rs:245:17
[INFO] [stdout]     |
[INFO] [stdout] 245 | pub(crate) enum UartRiWakeupConfig {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/hid/consts.rs:253:5
[INFO] [stdout]     |
[INFO] [stdout] 252 | pub(crate) enum Request {
[INFO] [stdout]     |                 ------- variants in this enum
[INFO] [stdout] 253 |     SetClock = 0x01,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     SetInterruptTriggerCondition = 0x0A,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 282 |     SetSuspendOutPol = 0x0B,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |     EnableUartRiWaveup = 0x0C,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 287 |     SetUartRiWakeupConfig = 0x0D,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 297 |     SetUartXonXoff = 0x49,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 298 |     // FT260_SetParam_U8 Params
[INFO] [stdout] 299 |     SetDriveStrength0 = 0x50,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 300 |     SetDriveStrength3 = 0x51,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 301 |     SetDriveStrength4 = 0x52,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 302 |     SetSlewRate0 = 0x53,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 306 |     SetGpioSlewRate = 0x65,  // takes GpioBitVal
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 307 |     // FT260_SetParam_U16 Params
[INFO] [stdout] 308 |     SetSuspendModeGpio0 = 0x10,   // GPIO 0-5
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 309 |     SetSuspendModeGpioA = 0x11,   // GPIO A-H
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 310 |     SetDriveStrengthGpio0 = 0x64, // GPIO 0-5
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GpioBitPos` is never used
[INFO] [stdout]    --> src/hid/consts.rs:350:17
[INFO] [stdout]     |
[INFO] [stdout] 350 | pub(crate) enum GpioBitPos {
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GpioExBitPos` is never used
[INFO] [stdout]    --> src/hid/consts.rs:413:17
[INFO] [stdout]     |
[INFO] [stdout] 413 | pub(crate) enum GpioExBitPos {
[INFO] [stdout]     |                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REPORT_LENGTH_FEATURE_CHIP_VENDOR` is never used
[INFO] [stdout]    --> src/hid/consts.rs:509:18
[INFO] [stdout]     |
[INFO] [stdout] 509 | pub(crate) const REPORT_LENGTH_FEATURE_CHIP_VENDOR: usize = 13;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REPORT_LENGTH_FEATURE_SYSTEM_STATUS` is never used
[INFO] [stdout]    --> src/hid/consts.rs:510:18
[INFO] [stdout]     |
[INFO] [stdout] 510 | pub(crate) const REPORT_LENGTH_FEATURE_SYSTEM_STATUS: usize = 26;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear` is never used
[INFO] [stdout]   --> src/hid/rep_fifo.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl ReportFifo {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn clear(&mut self, id: u8) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clear_input_report_queue_i2c` is never used
[INFO] [stdout]   --> src/hid/reports.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn clear_input_report_queue_i2c(device: &Device) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clear_input_report_queue_uart` is never used
[INFO] [stdout]   --> src/hid/reports.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn clear_input_report_queue_uart(device: &Device) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pop_input_report_int` is never used
[INFO] [stdout]   --> src/hid/reports.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn pop_input_report_int(device: &Device) -> Report {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ft260_set_request_u8x2` is never used
[INFO] [stdout]   --> src/hid/reports.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn ft260_set_request_u8x2(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ft260_set_request_u32` is never used
[INFO] [stdout]   --> src/hid/reports.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn ft260_set_request_u32(device: &Device, request: Request, value: u32) -> Ft260Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ft260_set_clock` is never used
[INFO] [stdout]    --> src/hid/reports.rs:120:15
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub(crate) fn ft260_set_clock(device: &Device, clk: ClkCtl) -> Ft260Result<()> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ft260_set_interrupt_trigger_type` is never used
[INFO] [stdout]    --> src/hid/reports.rs:131:15
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub(crate) fn ft260_set_interrupt_trigger_type(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ft260_get_chip_version` is never used
[INFO] [stdout]    --> src/hid/reports.rs:144:15
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub(crate) fn ft260_get_chip_version(device: &Device) -> Ft260Result<u32> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_xon_xoff_char` is never used
[INFO] [stdout]   --> src/hid/reports/uart.rs:74:15
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub(crate) fn set_xon_xoff_char(device: &Device, x_on: u8, x_off: u8) -> Ft260Result<()> {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_dcd_ri_status` is never used
[INFO] [stdout]    --> src/hid/reports/uart.rs:323:15
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub(crate) fn get_dcd_ri_status(device: &Device) -> Ft260Result<UartDcdRiStatus> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `enable_ri_wakeup` is never used
[INFO] [stdout]    --> src/hid/reports/uart.rs:339:15
[INFO] [stdout]     |
[INFO] [stdout] 339 | pub(crate) fn enable_ri_wakeup(device: &Device, enable: WakeupIntEnableMode) -> Ft260Result<()> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_ri_wakeup_config` is never used
[INFO] [stdout]    --> src/hid/reports/uart.rs:347:15
[INFO] [stdout]     |
[INFO] [stdout] 347 | pub(crate) fn set_ri_wakeup_config(device: &Device, config: UartRiWakeupConfig) -> Ft260Result<()> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_suspend_out_polarity` is never used
[INFO] [stdout]   --> src/hid/reports/gpio.rs:27:15
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub(crate) fn set_suspend_out_polarity(
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_hid_const` and `from_hid_const` are never used
[INFO] [stdout]   --> src/io/uart.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 23 |       impl $name {
[INFO] [stdout]    |       ---------- associated items in this implementation
[INFO] [stdout] 24 |         fn to_hid_const(&self) -> $tgt {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |         fn from_hid_const(v:&$tgt) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 | / hid_const_compatible! {
[INFO] [stdout] 57 | |   UartDcdRiEnableMode,
[INFO] [stdout] 58 | |   /// UART DCD & RI mode
[INFO] [stdout] 59 | |   #[derive(Debug, Clone, Copy, PartialEq, Eq)]
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hid_const_compatible` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/device.rs:146:17
[INFO] [stdout]     |
[INFO] [stdout] 146 |     pub fn gpio(&self) -> Gpio {
[INFO] [stdout]     |                 ^^^^^     ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 146 |     pub fn gpio(&self) -> Gpio<'_> {
[INFO] [stdout]     |                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/device.rs:151:16
[INFO] [stdout]     |
[INFO] [stdout] 151 |     pub fn i2c(&self) -> I2c {
[INFO] [stdout]     |                ^^^^^     ^^^ the same lifetime is hidden here
[INFO] [stdout]     |                |
[INFO] [stdout]     |                the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 151 |     pub fn i2c(&self) -> I2c<'_> {
[INFO] [stdout]     |                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/device.rs:156:17
[INFO] [stdout]     |
[INFO] [stdout] 156 |     pub fn uart(&self) -> Uart {
[INFO] [stdout]     |                 ^^^^^     ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 156 |     pub fn uart(&self) -> Uart<'_> {
[INFO] [stdout]     |                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sz`
[INFO] [stdout]    --> src/hid/reports.rs:113:15
[INFO] [stdout]     |
[INFO] [stdout] 113 |     if let Ok(sz) = res {
[INFO] [stdout]     |               ^^ help: if this is intentional, prefix it with an underscore: `_sz`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/hid/reports/i2c.rs:194:9
[INFO] [stdout]     |
[INFO] [stdout] 194 |     let mut stop = flag.contains(I2cCondition::Stop);
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/io/i2c.rs:172:17
[INFO] [stdout]     |
[INFO] [stdout] 172 |             Err(e) => None,
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_input` is never used
[INFO] [stdout]    --> src/device.rs:161:19
[INFO] [stdout]     |
[INFO] [stdout]  64 | impl Device {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub(crate) fn read_input(&self, buf: &mut [u8], timeout: i32) -> Ft260Result<usize> {
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Ft260Status` is never used
[INFO] [stdout]   --> src/hid/consts.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub(crate) enum Ft260Status {
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ClkCtl` is never used
[INFO] [stdout]   --> src/hid/consts.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub(crate) enum ClkCtl {
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SuspendStatus` is never used
[INFO] [stdout]   --> src/hid/consts.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub(crate) enum SuspendStatus {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PwrEnStatus` is never used
[INFO] [stdout]   --> src/hid/consts.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub(crate) enum PwrEnStatus {
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `HidOverI2cEnableMode` is never used
[INFO] [stdout]    --> src/hid/consts.rs:106:17
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub(crate) enum HidOverI2cEnableMode {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `TxLed` is never constructed
[INFO] [stdout]    --> src/hid/consts.rs:130:5
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub(crate) enum Gpio2Function {
[INFO] [stdout]     |                 ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 130 |     TxLed = 4,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `TxLed` is never constructed
[INFO] [stdout]    --> src/hid/consts.rs:141:5
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub(crate) enum GpioAFunction {
[INFO] [stdout]     |                 ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 141 |     TxLed = 4,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `RxLed` is never constructed
[INFO] [stdout]    --> src/hid/consts.rs:152:5
[INFO] [stdout]     |
[INFO] [stdout] 146 | pub(crate) enum GpioGFunction {
[INFO] [stdout]     |                 ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 152 |     RxLed = 5,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SuspendOutPol` is never used
[INFO] [stdout]    --> src/hid/consts.rs:158:17
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub(crate) enum SuspendOutPol {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `InterruptTrigger` is never used
[INFO] [stdout]    --> src/hid/consts.rs:172:17
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub(crate) enum InterruptTrigger {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `InterruptDuration` is never used
[INFO] [stdout]    --> src/hid/consts.rs:180:17
[INFO] [stdout]     |
[INFO] [stdout] 180 | pub(crate) enum InterruptDuration {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PowerSavingEnableMode` is never used
[INFO] [stdout]    --> src/hid/consts.rs:186:17
[INFO] [stdout]     |
[INFO] [stdout] 186 | pub(crate) enum PowerSavingEnableMode {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UartRiWakeupConfig` is never used
[INFO] [stdout]    --> src/hid/consts.rs:245:17
[INFO] [stdout]     |
[INFO] [stdout] 245 | pub(crate) enum UartRiWakeupConfig {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/hid/consts.rs:253:5
[INFO] [stdout]     |
[INFO] [stdout] 252 | pub(crate) enum Request {
[INFO] [stdout]     |                 ------- variants in this enum
[INFO] [stdout] 253 |     SetClock = 0x01,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     SetInterruptTriggerCondition = 0x0A,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 282 |     SetSuspendOutPol = 0x0B,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |     EnableUartRiWaveup = 0x0C,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 287 |     SetUartRiWakeupConfig = 0x0D,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 297 |     SetUartXonXoff = 0x49,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 298 |     // FT260_SetParam_U8 Params
[INFO] [stdout] 299 |     SetDriveStrength0 = 0x50,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 300 |     SetDriveStrength3 = 0x51,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 301 |     SetDriveStrength4 = 0x52,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 302 |     SetSlewRate0 = 0x53,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 306 |     SetGpioSlewRate = 0x65,  // takes GpioBitVal
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 307 |     // FT260_SetParam_U16 Params
[INFO] [stdout] 308 |     SetSuspendModeGpio0 = 0x10,   // GPIO 0-5
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 309 |     SetSuspendModeGpioA = 0x11,   // GPIO A-H
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 310 |     SetDriveStrengthGpio0 = 0x64, // GPIO 0-5
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GpioBitPos` is never used
[INFO] [stdout]    --> src/hid/consts.rs:350:17
[INFO] [stdout]     |
[INFO] [stdout] 350 | pub(crate) enum GpioBitPos {
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GpioExBitPos` is never used
[INFO] [stdout]    --> src/hid/consts.rs:413:17
[INFO] [stdout]     |
[INFO] [stdout] 413 | pub(crate) enum GpioExBitPos {
[INFO] [stdout]     |                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REPORT_LENGTH_FEATURE_CHIP_VENDOR` is never used
[INFO] [stdout]    --> src/hid/consts.rs:509:18
[INFO] [stdout]     |
[INFO] [stdout] 509 | pub(crate) const REPORT_LENGTH_FEATURE_CHIP_VENDOR: usize = 13;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REPORT_LENGTH_FEATURE_SYSTEM_STATUS` is never used
[INFO] [stdout]    --> src/hid/consts.rs:510:18
[INFO] [stdout]     |
[INFO] [stdout] 510 | pub(crate) const REPORT_LENGTH_FEATURE_SYSTEM_STATUS: usize = 26;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear` is never used
[INFO] [stdout]   --> src/hid/rep_fifo.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl ReportFifo {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn clear(&mut self, id: u8) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clear_input_report_queue_i2c` is never used
[INFO] [stdout]   --> src/hid/reports.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn clear_input_report_queue_i2c(device: &Device) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clear_input_report_queue_uart` is never used
[INFO] [stdout]   --> src/hid/reports.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn clear_input_report_queue_uart(device: &Device) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pop_input_report_int` is never used
[INFO] [stdout]   --> src/hid/reports.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn pop_input_report_int(device: &Device) -> Report {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ft260_set_request_u8x2` is never used
[INFO] [stdout]   --> src/hid/reports.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn ft260_set_request_u8x2(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ft260_set_request_u32` is never used
[INFO] [stdout]   --> src/hid/reports.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn ft260_set_request_u32(device: &Device, request: Request, value: u32) -> Ft260Result<()> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ft260_set_clock` is never used
[INFO] [stdout]    --> src/hid/reports.rs:120:15
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub(crate) fn ft260_set_clock(device: &Device, clk: ClkCtl) -> Ft260Result<()> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ft260_set_interrupt_trigger_type` is never used
[INFO] [stdout]    --> src/hid/reports.rs:131:15
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub(crate) fn ft260_set_interrupt_trigger_type(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ft260_get_chip_version` is never used
[INFO] [stdout]    --> src/hid/reports.rs:144:15
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub(crate) fn ft260_get_chip_version(device: &Device) -> Ft260Result<u32> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_xon_xoff_char` is never used
[INFO] [stdout]   --> src/hid/reports/uart.rs:74:15
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub(crate) fn set_xon_xoff_char(device: &Device, x_on: u8, x_off: u8) -> Ft260Result<()> {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_dcd_ri_status` is never used
[INFO] [stdout]    --> src/hid/reports/uart.rs:323:15
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub(crate) fn get_dcd_ri_status(device: &Device) -> Ft260Result<UartDcdRiStatus> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `enable_ri_wakeup` is never used
[INFO] [stdout]    --> src/hid/reports/uart.rs:339:15
[INFO] [stdout]     |
[INFO] [stdout] 339 | pub(crate) fn enable_ri_wakeup(device: &Device, enable: WakeupIntEnableMode) -> Ft260Result<()> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_ri_wakeup_config` is never used
[INFO] [stdout]    --> src/hid/reports/uart.rs:347:15
[INFO] [stdout]     |
[INFO] [stdout] 347 | pub(crate) fn set_ri_wakeup_config(device: &Device, config: UartRiWakeupConfig) -> Ft260Result<()> {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_suspend_out_polarity` is never used
[INFO] [stdout]   --> src/hid/reports/gpio.rs:27:15
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub(crate) fn set_suspend_out_polarity(
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_hid_const` and `from_hid_const` are never used
[INFO] [stdout]   --> src/io/uart.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 23 |       impl $name {
[INFO] [stdout]    |       ---------- associated items in this implementation
[INFO] [stdout] 24 |         fn to_hid_const(&self) -> $tgt {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |         fn from_hid_const(v:&$tgt) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 | / hid_const_compatible! {
[INFO] [stdout] 57 | |   UartDcdRiEnableMode,
[INFO] [stdout] 58 | |   /// UART DCD & RI mode
[INFO] [stdout] 59 | |   #[derive(Debug, Clone, Copy, PartialEq, Eq)]
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | | }
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `hid_const_compatible` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/device.rs:146:17
[INFO] [stdout]     |
[INFO] [stdout] 146 |     pub fn gpio(&self) -> Gpio {
[INFO] [stdout]     |                 ^^^^^     ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 146 |     pub fn gpio(&self) -> Gpio<'_> {
[INFO] [stdout]     |                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/device.rs:151:16
[INFO] [stdout]     |
[INFO] [stdout] 151 |     pub fn i2c(&self) -> I2c {
[INFO] [stdout]     |                ^^^^^     ^^^ the same lifetime is hidden here
[INFO] [stdout]     |                |
[INFO] [stdout]     |                the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 151 |     pub fn i2c(&self) -> I2c<'_> {
[INFO] [stdout]     |                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/device.rs:156:17
[INFO] [stdout]     |
[INFO] [stdout] 156 |     pub fn uart(&self) -> Uart {
[INFO] [stdout]     |                 ^^^^^     ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 156 |     pub fn uart(&self) -> Uart<'_> {
[INFO] [stdout]     |                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> tests/i2c.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |     for i in 0..10 {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> tests/i2c.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |     for i in 0..10 {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.61s
[INFO] running `Command { std: "docker" "inspect" "e1444a28bd2a6aad7361b1b1d1ae4fef2483eb40b39b19e28de761e38f503400", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e1444a28bd2a6aad7361b1b1d1ae4fef2483eb40b39b19e28de761e38f503400", kill_on_drop: false }`
[INFO] [stdout] e1444a28bd2a6aad7361b1b1d1ae4fef2483eb40b39b19e28de761e38f503400
