[INFO] cloning repository https://github.com/AdamHarries/usb-power-profiling-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AdamHarries/usb-power-profiling-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamHarries%2Fusb-power-profiling-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamHarries%2Fusb-power-profiling-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3323b4cbdef899bf6bbe965b41ed86afbe331d9c [INFO] building AdamHarries/usb-power-profiling-rs against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamHarries%2Fusb-power-profiling-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/AdamHarries/usb-power-profiling-rs [INFO] finished tweaking git repo https://github.com/AdamHarries/usb-power-profiling-rs [INFO] tweaked toml for git repo https://github.com/AdamHarries/usb-power-profiling-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AdamHarries/usb-power-profiling-rs on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AdamHarries/usb-power-profiling-rs 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusb v0.9.3 [INFO] [stderr] Downloaded ecb v0.1.2 [INFO] [stderr] Downloaded unescaper v0.1.4 [INFO] [stderr] Downloaded actix-router v0.5.2 [INFO] [stderr] Downloaded libudev v0.3.0 [INFO] [stderr] Downloaded serialport v4.3.0 [INFO] [stderr] Downloaded hidapi-rusb v1.3.3 [INFO] [stderr] Downloaded libusb1-sys v0.6.4 [INFO] [stderr] Downloaded actix-http v3.6.0 [INFO] [stderr] Downloaded brotli-decompressor v2.5.1 [INFO] [stderr] Downloaded actix-web v4.5.1 [INFO] [stderr] Downloaded brotli v3.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4231ea142390ebccac07c4438baaad7aab549f40a25342f66ed40a5f7cb8684e [INFO] running `Command { std: "docker" "start" "-a" "4231ea142390ebccac07c4438baaad7aab549f40a25342f66ed40a5f7cb8684e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4231ea142390ebccac07c4438baaad7aab549f40a25342f66ed40a5f7cb8684e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4231ea142390ebccac07c4438baaad7aab549f40a25342f66ed40a5f7cb8684e", kill_on_drop: false }` [INFO] [stdout] 4231ea142390ebccac07c4438baaad7aab549f40a25342f66ed40a5f7cb8684e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e01f2ed4a9ea7ecb1c9d8794c3cf57a0b8a8e908beff4904c1c33264ba349c0 [INFO] running `Command { std: "docker" "start" "-a" "2e01f2ed4a9ea7ecb1c9d8794c3cf57a0b8a8e908beff4904c1c33264ba349c0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling jobserver v0.1.30 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling rusb v0.9.3 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ecb v0.1.2 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling libusb1-sys v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hidapi-rusb v1.3.3 [INFO] [stderr] Compiling libudev v0.3.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Compiling unescaper v0.1.4 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling serialport v4.3.0 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling actix-rt v2.9.0 [INFO] [stderr] Compiling actix-server v2.3.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-http v3.6.0 [INFO] [stderr] Compiling actix-web v4.5.1 [INFO] [stderr] Compiling rs-upp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::Duration; [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 import: `aes::cipher::consts::True` [INFO] [stdout] --> src/device/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use aes::cipher::consts::True; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InterfaceDescriptor` and `UsbContext` [INFO] [stdout] --> src/device/mod.rs:4:97 [INFO] [stdout] | [INFO] [stdout] 4 | ...eviceHandle, Direction, EndpointDescriptor, InterfaceDescriptor, TransferType, UsbContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Device` [INFO] [stdout] --> src/main.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use device::{Device, DeviceInterface, USBDevice}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `endpoint_in` [INFO] [stdout] --> src/device/shizuku.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | let (endpoint_in, endpoint_out) = device_handle.find_bulk_in_out_end_points().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoint_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `endpoint_out` [INFO] [stdout] --> src/device/shizuku.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | let (endpoint_in, endpoint_out) = device_handle.find_bulk_in_out_end_points().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoint_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `try_from` and `stop` are never used [INFO] [stdout] --> src/main.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl PowerMeter { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | fn try_from(r: Result, USBDevice>) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn stop(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/main.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl PowerSampler { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `VendorID` is never used [INFO] [stdout] --> src/device/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type VendorID = u16; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_timeout` is never used [INFO] [stdout] --> src/device/mod.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl USBDevice { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn set_timeout(&mut self, timeout: Duration) -> () { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop_sampling` is never used [INFO] [stdout] --> src/device/mod.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub trait DeviceInterface: Display + Send + Sync { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 156 | fn stop_sampling(&self); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BEGIN_DATA` is never used [INFO] [stdout] --> src/device/shizuku.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const BEGIN_DATA: u8 = 0xA5; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `END_DATA` is never used [INFO] [stdout] --> src/device/shizuku.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const END_DATA: u8 = 0x5A; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_STOP` is never used [INFO] [stdout] --> src/device/shizuku.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const CMD_STOP: u8 = 0x7; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_START_SAMPLING` is never used [INFO] [stdout] --> src/device/shizuku.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const CMD_START_SAMPLING: u8 = 0x9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_request_id` and `explected_replies` are never read [INFO] [stdout] --> src/device/shizuku.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ShizukuDevice { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | last_request_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | explected_replies: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "2e01f2ed4a9ea7ecb1c9d8794c3cf57a0b8a8e908beff4904c1c33264ba349c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e01f2ed4a9ea7ecb1c9d8794c3cf57a0b8a8e908beff4904c1c33264ba349c0", kill_on_drop: false }` [INFO] [stdout] 2e01f2ed4a9ea7ecb1c9d8794c3cf57a0b8a8e908beff4904c1c33264ba349c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 915651f857a02a5ad929e48455bf57185102e60134be57f22c2309ecae145666 [INFO] running `Command { std: "docker" "start" "-a" "915651f857a02a5ad929e48455bf57185102e60134be57f22c2309ecae145666", kill_on_drop: false }` [INFO] [stderr] Compiling rs-upp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::Duration; [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 import: `aes::cipher::consts::True` [INFO] [stdout] --> src/device/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use aes::cipher::consts::True; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InterfaceDescriptor` and `UsbContext` [INFO] [stdout] --> src/device/mod.rs:4:97 [INFO] [stdout] | [INFO] [stdout] 4 | ...eviceHandle, Direction, EndpointDescriptor, InterfaceDescriptor, TransferType, UsbContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Device` [INFO] [stdout] --> src/main.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use device::{Device, DeviceInterface, USBDevice}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `endpoint_in` [INFO] [stdout] --> src/device/shizuku.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | let (endpoint_in, endpoint_out) = device_handle.find_bulk_in_out_end_points().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoint_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `endpoint_out` [INFO] [stdout] --> src/device/shizuku.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | let (endpoint_in, endpoint_out) = device_handle.find_bulk_in_out_end_points().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoint_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `try_from` and `stop` are never used [INFO] [stdout] --> src/main.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl PowerMeter { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | fn try_from(r: Result, USBDevice>) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn stop(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/main.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl PowerSampler { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `VendorID` is never used [INFO] [stdout] --> src/device/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type VendorID = u16; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_timeout` is never used [INFO] [stdout] --> src/device/mod.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl USBDevice { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn set_timeout(&mut self, timeout: Duration) -> () { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop_sampling` is never used [INFO] [stdout] --> src/device/mod.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub trait DeviceInterface: Display + Send + Sync { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 156 | fn stop_sampling(&self); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BEGIN_DATA` is never used [INFO] [stdout] --> src/device/shizuku.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const BEGIN_DATA: u8 = 0xA5; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `END_DATA` is never used [INFO] [stdout] --> src/device/shizuku.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const END_DATA: u8 = 0x5A; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_STOP` is never used [INFO] [stdout] --> src/device/shizuku.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const CMD_STOP: u8 = 0x7; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_START_SAMPLING` is never used [INFO] [stdout] --> src/device/shizuku.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const CMD_START_SAMPLING: u8 = 0x9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_request_id` and `explected_replies` are never read [INFO] [stdout] --> src/device/shizuku.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ShizukuDevice { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | last_request_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | explected_replies: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "915651f857a02a5ad929e48455bf57185102e60134be57f22c2309ecae145666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "915651f857a02a5ad929e48455bf57185102e60134be57f22c2309ecae145666", kill_on_drop: false }` [INFO] [stdout] 915651f857a02a5ad929e48455bf57185102e60134be57f22c2309ecae145666