[INFO] cloning repository https://github.com/rlewkowicz/cynthion-exploration [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rlewkowicz/cynthion-exploration" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frlewkowicz%2Fcynthion-exploration", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frlewkowicz%2Fcynthion-exploration'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 826174a4fe472fedf94a7f4c5be8abd572a4e5a7 [INFO] checking rlewkowicz/cynthion-exploration against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frlewkowicz%2Fcynthion-exploration" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rlewkowicz/cynthion-exploration on toolchain 5fee451ebd94296ea05214e819c311e164b30af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rlewkowicz/cynthion-exploration [INFO] finished tweaking git repo https://github.com/rlewkowicz/cynthion-exploration [INFO] tweaked toml for git repo https://github.com/rlewkowicz/cynthion-exploration written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rlewkowicz/cynthion-exploration 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" "+5fee451ebd94296ea05214e819c311e164b30af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking rlewkowicz/cynthion-exploration against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frlewkowicz%2Fcynthion-exploration" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rlewkowicz/cynthion-exploration on toolchain 5fee451ebd94296ea05214e819c311e164b30af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rlewkowicz/cynthion-exploration [INFO] finished tweaking git repo https://github.com/rlewkowicz/cynthion-exploration [INFO] tweaked toml for git repo https://github.com/rlewkowicz/cynthion-exploration written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rlewkowicz/cynthion-exploration 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" "+5fee451ebd94296ea05214e819c311e164b30af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nusb v0.1.10 [INFO] [stderr] Downloaded lrumap v0.1.0 [INFO] [stderr] Downloaded usb-ids v1.2024.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f7efffddb3f424209d71bdafd15dc426380498ea80ef66cdb4e6936445cbc68 [INFO] running `Command { std: "docker" "start" "-a" "5f7efffddb3f424209d71bdafd15dc426380498ea80ef66cdb4e6936445cbc68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f7efffddb3f424209d71bdafd15dc426380498ea80ef66cdb4e6936445cbc68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f7efffddb3f424209d71bdafd15dc426380498ea80ef66cdb4e6936445cbc68", kill_on_drop: false }` [INFO] [stdout] 5f7efffddb3f424209d71bdafd15dc426380498ea80ef66cdb4e6936445cbc68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1901eb26fb5e3fe6c6f6d0093efaa43e8ee9fe7049ea7ca2510e5025af28bac8 [INFO] running `Command { std: "docker" "start" "-a" "1901eb26fb5e3fe6c6f6d0093efaa43e8ee9fe7049ea7ca2510e5025af28bac8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling cc v1.1.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking object v0.36.3 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking bitfield v0.14.0 [INFO] [stderr] Checking bytemuck v1.17.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking lrumap v0.1.0 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling usb-ids v1.2024.4 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking nusb v0.1.10 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking cythion-exploration v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rand_xorshift` [INFO] [stdout] --> src/stream.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | use rand_xorshift::XorShiftRng; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rand_xorshift` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand_xorshift`, use `cargo add rand_xorshift` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/stream.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cyn` [INFO] [stdout] --> src/main.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | if let Ok(cyn) = launch_cythion(cynthion) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cyn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | if let Err(e) = result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stop_handle` [INFO] [stdout] --> src/main.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | if let Ok((stream_handle, stop_handle)) = cynthion [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stop_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `US` is never used [INFO] [stdout] --> src/main.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const US: Duration = Duration::from_micros(1); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MS` is never used [INFO] [stdout] --> src/main.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const MS: Duration = Duration::from_millis(1); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/backend/cynthion.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 94 | impl TestConfig { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 95 | fn new(speed: Option) -> TestConfig { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/backend/cynthion.rs:118:32 [INFO] [stdout] | [INFO] [stdout] 118 | Usable(InterfaceSelection, Vec), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 118 - Usable(InterfaceSelection, Vec), [INFO] [stdout] 118 + Usable(InterfaceSelection, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stop_request` and `worker` are never read [INFO] [stdout] --> src/backend/cynthion.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct CynthionStop { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 150 | stop_request: oneshot::Sender<()>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 151 | worker: JoinHandle::<()>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp_ns` is never read [INFO] [stdout] --> src/backend/cynthion.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct CynthionPacket { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 155 | pub timestamp_ns: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `configure_test_device` is never used [INFO] [stdout] --> src/backend/cynthion.rs:379:12 [INFO] [stdout] | [INFO] [stdout] 274 | impl CynthionHandle { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 379 | pub fn configure_test_device(&mut self, speed: Option) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/backend/cynthion.rs:549:12 [INFO] [stdout] | [INFO] [stdout] 548 | impl CynthionStop { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 549 | pub fn stop(self) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `shared_length`, `data_offset`, `current_base_value`, and `current_delta_width` are never read [INFO] [stdout] --> src/compact_index.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CompactWriter { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 22 | /// Committed length of this index available to readers. [INFO] [stdout] 23 | shared_length: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | data_offset: Offset, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 36 | /// Base value of the current segment, if there is one. [INFO] [stdout] 37 | current_base_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | /// Delta width of the current segment, if there is one. [INFO] [stdout] 39 | current_delta_width: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompactReader` is never constructed [INFO] [stdout] --> src/compact_index.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct CompactReader { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompactReader` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CompactPair` is never used [INFO] [stdout] --> src/compact_index.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | type CompactPair = [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compact_index` is never used [INFO] [stdout] --> src/compact_index.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn compact_index() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push` and `start_segment` are never used [INFO] [stdout] --> src/compact_index.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 102 | / impl [INFO] [stdout] 103 | | CompactWriter [INFO] [stdout] 104 | | where Position: Copy + From + Into, [INFO] [stdout] 105 | | Value: Copy + Into + Sub [INFO] [stdout] | |_______________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn push(&mut self, value: Value) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn start_segment(&mut self, base_value: Value) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/compact_index.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 166 | / impl CompactReader [INFO] [stdout] 167 | | where [INFO] [stdout] 168 | | Position: Copy + From + Into + Ord [INFO] [stdout] 169 | | + Add + AddAssign [INFO] [stdout] ... | [INFO] [stdout] 173 | | + Add [INFO] [stdout] 174 | | + Sub [INFO] [stdout] | |_________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn len(&self) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn get(&mut self, position: Position) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn get_range(&mut self, range: &Range) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn target_range(&mut self, position: Position, target_length: u64) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn bisect_left(&mut self, value: &Value) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn bisect_range_left(&mut self, range: &Range, value: &Value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `byte_width` is never used [INFO] [stdout] --> src/compact_index.rs:399:4 [INFO] [stdout] | [INFO] [stdout] 399 | fn byte_width(value: u64) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataReader` is never constructed [INFO] [stdout] --> src/data_stream.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct DataReader { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataReader` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Values` is never constructed [INFO] [stdout] --> src/data_stream.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Values where Data: Deref { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_stream` is never used [INFO] [stdout] --> src/data_stream.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn data_stream() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_stream_with_block_size` is never used [INFO] [stdout] --> src/data_stream.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn data_stream_with_block_size() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push` and `append` are never used [INFO] [stdout] --> src/data_stream.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 60 | / impl DataWriter [INFO] [stdout] 61 | | where Value: Pod + Default [INFO] [stdout] | |__________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn push(&mut self, item: &Value) -> Result, Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn append(&mut self, items: &[Value]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len`, `block_length`, `size`, `get`, `get_range`, and `access` are never used [INFO] [stdout] --> src/data_stream.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 96 | / impl DataReader [INFO] [stdout] 97 | | where Value: Pod + Default [INFO] [stdout] | |__________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn len(&self) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub const fn block_length(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn get(&mut self, id: Id) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn get_range(&mut self, range: &Range>) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn access(&mut self, range: &Range>) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/id.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait HasLength { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 44 | fn len(&self) -> u64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexReader` is never constructed [INFO] [stdout] --> src/index_stream.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct IndexReader { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexReader` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IndexPair` is never used [INFO] [stdout] --> src/index_stream.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | type IndexPair = (IndexWriter, IndexReader); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index_stream` is never used [INFO] [stdout] --> src/index_stream.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn index_stream() -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push` is never used [INFO] [stdout] --> src/index_stream.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 44 | / impl IndexWriter [INFO] [stdout] 45 | | where Position: From, Value: Into [INFO] [stdout] | |___________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn push(&mut self, value: Value) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/index_stream.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 67 | / impl IndexReader [INFO] [stdout] 68 | | where Position: Copy + From + Into, [INFO] [stdout] 69 | | Value: Copy + From + Into + Ord [INFO] [stdout] | |_______________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn len(&self) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn size(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get(&mut self, position: Position) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get_range(&mut self, range: &Range) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn target_range(&mut self, position: Position, target_length: u64) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn bisect_left(&mut self, value: &Value) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn bisect_right(&mut self, value: &Value) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn bisect_range_left(&mut self, range: &Range, value: &Value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn bisect_range_right(&mut self, range: &Range, value: &Value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update` and `maybe_update` are never used [INFO] [stdout] --> src/rcu.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait SingleWriterRcu { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] 6 | /// Copy the value, apply a function to it, and replace the current value. [INFO] [stdout] 7 | fn update(&self, f: F); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | fn maybe_update bool>(&self, f: F); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `length`, `file`, and `current_buffer` are never read [INFO] [stdout] --> src/stream.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Shared { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 24 | /// Available length of the stream, including data in both file and buffer. [INFO] [stdout] 25 | length: AtomicU64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | /// File handle used by readers to create mappings. [INFO] [stdout] 27 | file: ArcSwapOption, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | /// Buffer currently in use for newly appended data. [INFO] [stdout] 29 | current_buffer: ArcSwap>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `shared`, `buf`, `ptr`, `file`, and `spare_buffer` are never read [INFO] [stdout] --> src/stream.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct StreamWriter { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 34 | /// Shared data. [INFO] [stdout] 35 | shared: Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | buf: *mut u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | /// Pointer to current position in the current buffer. [INFO] [stdout] 41 | ptr: *mut u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | /// File handle used to append to the stream. [INFO] [stdout] 43 | file: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | /// Spare buffer to be potentially used when current buffer is full. [INFO] [stdout] 45 | spare_buffer: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mappings` is never read [INFO] [stdout] --> src/stream.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct StreamReader { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | mappings: LruBTreeMap>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_base` is never read [INFO] [stdout] --> src/stream.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 57 | struct Buffer { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 58 | /// Block to which this data belongs. [INFO] [stdout] 59 | block_base: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Data` is never used [INFO] [stdout] --> src/stream.rs:65:6 [INFO] [stdout] | [INFO] [stdout] 65 | enum Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `StreamPair` is never used [INFO] [stdout] --> src/stream.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | type StreamPair = (StreamWriter, StreamReader); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stream` is never used [INFO] [stdout] --> src/stream.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn stream() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `append`, `write_to_buffer`, `write_buffer_to_file`, `write_to_file`, `block_size`, and `block_mask` are never used [INFO] [stdout] --> src/stream.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl StreamWriter { [INFO] [stdout] | ------------------------------------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn append(&mut self, mut data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | unsafe fn write_to_buffer(&mut self, data: &[u8], length: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | unsafe fn write_buffer_to_file(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | unsafe fn write_to_file(&mut self, data: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub const fn block_size() -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub const fn block_mask() -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `len`, `access`, `block_size`, and `block_mask` are never used [INFO] [stdout] --> src/stream.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 248 | impl StreamReader { [INFO] [stdout] | ------------------------------------------------------ associated items in this implementation [INFO] [stdout] 249 | /// Get the current length of the stream, in bytes. [INFO] [stdout] 250 | pub fn len(&self) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn access(&mut self, range: &Range) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub const fn block_size() -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | pub const fn block_mask() -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/stream.rs:333:8 [INFO] [stdout] | [INFO] [stdout] 331 | impl Buffer { [INFO] [stdout] | ------------------------------------------------ associated function in this implementation [INFO] [stdout] 332 | /// Create a new buffer for the specified block. [INFO] [stdout] 333 | fn new(block_base: u64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crc16` is never used [INFO] [stdout] --> src/usb.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn crc16(bytes: &[u8]) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crc5` is never used [INFO] [stdout] --> src/usb.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn crc5(mut input: u32, num_bits: u32) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_packet` is never used [INFO] [stdout] --> src/usb.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn validate_packet(packet: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Speed` is never used [INFO] [stdout] --> src/usb.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 250 | pub enum Speed { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Speed` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataFields` is never constructed [INFO] [stdout] --> src/usb.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 271 | pub struct DataFields { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataFields` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_packet` and `speed` are never used [INFO] [stdout] --> src/usb.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 287 | impl SplitFields { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 288 | pub fn from_packet(packet: &[u8]) -> SplitFields { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn speed(&self) -> Speed { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PacketFields` is never used [INFO] [stdout] --> src/usb.rs:308:10 [INFO] [stdout] | [INFO] [stdout] 308 | pub enum PacketFields { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PacketFields` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_packet` is never used [INFO] [stdout] --> src/usb.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 316 | impl PacketFields { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 317 | pub fn from_packet(packet: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SetupFields` is never constructed [INFO] [stdout] --> src/usb.rs:384:12 [INFO] [stdout] | [INFO] [stdout] 384 | pub struct SetupFields { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetupFields` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_data_packet` is never used [INFO] [stdout] --> src/usb.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 392 | impl SetupFields { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 393 | pub fn from_data_packet(packet: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `description` is never used [INFO] [stdout] --> src/usb.rs:424:12 [INFO] [stdout] | [INFO] [stdout] 423 | impl StandardRequest { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 424 | pub fn description(&self, fields: &SetupFields) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `language_name` is never used [INFO] [stdout] --> src/usb.rs:474:4 [INFO] [stdout] | [INFO] [stdout] 474 | fn language_name(code: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `description` is never used [INFO] [stdout] --> src/usb.rs:522:12 [INFO] [stdout] | [INFO] [stdout] 521 | impl DescriptorType { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 522 | pub fn description(self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `description` is never used [INFO] [stdout] --> src/usb.rs:550:12 [INFO] [stdout] | [INFO] [stdout] 549 | impl StandardFeature { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 550 | pub fn description(self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `field_text` and `NUM_FIELDS` are never used [INFO] [stdout] --> src/usb.rs:586:12 [INFO] [stdout] | [INFO] [stdout] 581 | impl DeviceDescriptor { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 586 | pub fn field_text(&self, id: DeviceField, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 624 | pub const NUM_FIELDS: usize = 13; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `field_text` and `NUM_FIELDS` are never used [INFO] [stdout] --> src/usb.rs:642:12 [INFO] [stdout] | [INFO] [stdout] 641 | impl ConfigDescriptor { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 642 | pub fn field_text(&self, id: ConfigField, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 661 | pub const NUM_FIELDS: usize = 8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `field_text` and `NUM_FIELDS` are never used [INFO] [stdout] --> src/usb.rs:680:12 [INFO] [stdout] | [INFO] [stdout] 679 | impl InterfaceDescriptor { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 680 | pub fn field_text(&self, id: InterfaceField, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 708 | pub const NUM_FIELDS: usize = 9; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `field_text` and `NUM_FIELDS` are never used [INFO] [stdout] --> src/usb.rs:724:12 [INFO] [stdout] | [INFO] [stdout] 723 | impl EndpointDescriptor { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 724 | pub fn field_text(&self, id: EndpointField) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 737 | pub const NUM_FIELDS: usize = 6; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/usb.rs:755:8 [INFO] [stdout] | [INFO] [stdout] 754 | impl<'bytes> DescriptorIterator<'bytes> { [INFO] [stdout] | --------------------------------------- associated function in this implementation [INFO] [stdout] 755 | fn from(bytes: &'bytes [u8]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `descriptor` and `endpoint_descriptors` are never read [INFO] [stdout] --> src/usb.rs:799:9 [INFO] [stdout] | [INFO] [stdout] 798 | pub struct Interface { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 799 | pub descriptor: InterfaceDescriptor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 800 | pub endpoint_descriptors: VecMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `descriptor` and `interfaces` are never read [INFO] [stdout] --> src/usb.rs:804:9 [INFO] [stdout] | [INFO] [stdout] 803 | pub struct Configuration { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 804 | pub descriptor: ConfigDescriptor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 805 | pub interfaces: VecMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [INFO] [stdout] --> src/usb.rs:809:12 [INFO] [stdout] | [INFO] [stdout] 808 | impl Configuration { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 809 | pub fn from_bytes(bytes: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ControlResult` is never used [INFO] [stdout] --> src/usb.rs:854:10 [INFO] [stdout] | [INFO] [stdout] 854 | pub enum ControlResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ControlTransfer` is never constructed [INFO] [stdout] --> src/usb.rs:860:12 [INFO] [stdout] | [INFO] [stdout] 860 | pub struct ControlTransfer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `summary` is never used [INFO] [stdout] --> src/usb.rs:868:12 [INFO] [stdout] | [INFO] [stdout] 867 | impl ControlTransfer { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 868 | pub fn summary(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fmt_str_id` is never used [INFO] [stdout] --> src/usb.rs:939:4 [INFO] [stdout] | [INFO] [stdout] 939 | fn fmt_str_id(strings: &VecMap, id: StringId) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `chars` is never used [INFO] [stdout] --> src/usb.rs:977:12 [INFO] [stdout] | [INFO] [stdout] 976 | impl UTF16ByteVec { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 977 | pub fn chars(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKET_DATA_BLOCK_SIZE` is never used [INFO] [stdout] --> src/capture.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const PACKET_DATA_BLOCK_SIZE: usize = 0x200000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CaptureShared` is never constructed [INFO] [stdout] --> src/capture.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct CaptureShared { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CaptureWriter` is never constructed [INFO] [stdout] --> src/capture.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct CaptureWriter { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CaptureReader` is never constructed [INFO] [stdout] --> src/capture.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct CaptureReader { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CaptureReader` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_capture` is never used [INFO] [stdout] --> src/capture.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn create_capture() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EndpointShared` is never constructed [INFO] [stdout] --> src/capture.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct EndpointShared { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EndpointWriter` is never constructed [INFO] [stdout] --> src/capture.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct EndpointWriter { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EndpointReader` is never constructed [INFO] [stdout] --> src/capture.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct EndpointReader { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EndpointReader` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_endpoint` is never used [INFO] [stdout] --> src/capture.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn create_endpoint() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PacketByteId` is never used [INFO] [stdout] --> src/capture.rs:201:10 [INFO] [stdout] | [INFO] [stdout] 201 | pub type PacketByteId = Id; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PacketId` is never used [INFO] [stdout] --> src/capture.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | pub type PacketId = Id; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Timestamp` is never used [INFO] [stdout] --> src/capture.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | pub type Timestamp = u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TransactionId` is never used [INFO] [stdout] --> src/capture.rs:204:10 [INFO] [stdout] | [INFO] [stdout] 204 | pub type TransactionId = Id; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TransferId` is never used [INFO] [stdout] --> src/capture.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 205 | pub type TransferId = Id; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `EndpointTransactionId` is never used [INFO] [stdout] --> src/capture.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 206 | pub type EndpointTransactionId = Id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `EndpointTransferId` is never used [INFO] [stdout] --> src/capture.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | pub type EndpointTransferId = Id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TrafficItemId` is never used [INFO] [stdout] --> src/capture.rs:208:10 [INFO] [stdout] | [INFO] [stdout] 208 | pub type TrafficItemId = Id; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DeviceId` is never used [INFO] [stdout] --> src/capture.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | pub type DeviceId = Id; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `EndpointId` is never used [INFO] [stdout] --> src/capture.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | pub type EndpointId = Id; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `EndpointDataEvent` is never used [INFO] [stdout] --> src/capture.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 211 | pub type EndpointDataEvent = u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `EndpointByteCount` is never used [INFO] [stdout] --> src/capture.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | pub type EndpointByteCount = u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DeviceVersion` is never used [INFO] [stdout] --> src/capture.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | pub type DeviceVersion = u32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TrafficItem` is never used [INFO] [stdout] --> src/capture.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | pub enum TrafficItem { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrafficItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DeviceItem` is never used [INFO] [stdout] --> src/capture.rs:223:10 [INFO] [stdout] | [INFO] [stdout] 223 | pub enum DeviceItem { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `address` is never used [INFO] [stdout] --> src/capture.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 256 | impl Endpoint { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 257 | fn address(&self) -> EndpointAddr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_start` and `set_is_start` are never used [INFO] [stdout] --> src/capture.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 281 | impl TransferIndexEntry { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 282 | pub fn is_start(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn set_is_start(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONTROL_EP_NUM` is never used [INFO] [stdout] --> src/capture.rs:300:11 [INFO] [stdout] | [INFO] [stdout] 300 | pub const CONTROL_EP_NUM: EndpointNum = EndpointNum(0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INVALID_EP_NUM` is never used [INFO] [stdout] --> src/capture.rs:301:11 [INFO] [stdout] | [INFO] [stdout] 301 | pub const INVALID_EP_NUM: EndpointNum = EndpointNum(0x10); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAMING_EP_NUM` is never used [INFO] [stdout] --> src/capture.rs:302:11 [INFO] [stdout] | [INFO] [stdout] 302 | pub const FRAMING_EP_NUM: EndpointNum = EndpointNum(0x11); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INVALID_EP_ID` is never used [INFO] [stdout] --> src/capture.rs:303:11 [INFO] [stdout] | [INFO] [stdout] 303 | pub const INVALID_EP_ID: EndpointId = EndpointId::constant(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAMING_EP_ID` is never used [INFO] [stdout] --> src/capture.rs:304:11 [INFO] [stdout] | [INFO] [stdout] 304 | pub const FRAMING_EP_ID: EndpointId = EndpointId::constant(1); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unidentified`, `Framing`, `Invalid`, and `Normal` are never constructed [INFO] [stdout] --> src/capture.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 307 | pub enum EndpointType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 308 | Unidentified, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 309 | Framing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 310 | Invalid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 311 | Normal(usb::EndpointType) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EndpointType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device_descriptor`, `configurations`, `config_number`, `endpoint_details`, `strings`, and `version` are never read [INFO] [stdout] --> src/capture.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 326 | pub struct DeviceData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 327 | pub device_descriptor: ArcSwapOption, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 328 | pub configurations: ArcSwap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 329 | pub config_number: ArcSwapOption, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 330 | pub endpoint_details: ArcSwap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 331 | pub strings: ArcSwap>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 332 | pub version: AtomicU32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/capture.rs:336:12 [INFO] [stdout] | [INFO] [stdout] 335 | impl DeviceData { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 336 | pub fn description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub fn configuration(&self, number: &ConfigNum) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn endpoint_details(&self, addr: EndpointAddr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 384 | pub fn update_endpoint_details(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | pub fn set_endpoint_type(&self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn decode_request(&self, fields: &SetupFields, payload: &[u8]) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | pub fn decode_descriptor_read(&self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | fn decode_configuration_set(&self, fields: &SetupFields) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | fn increment_version(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 494 | fn version(&self) -> DeviceVersion { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `interface` is never used [INFO] [stdout] --> src/capture.rs:500:12 [INFO] [stdout] | [INFO] [stdout] 499 | impl Configuration { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 500 | pub fn interface(&self, number: &InterfaceNum) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `endpoint_descriptor` is never used [INFO] [stdout] --> src/capture.rs:511:12 [INFO] [stdout] | [INFO] [stdout] 510 | impl Interface { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 511 | pub fn endpoint_descriptor(&self, number: &InterfaceEpNum) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transaction` is never constructed [INFO] [stdout] --> src/capture.rs:521:12 [INFO] [stdout] | [INFO] [stdout] 521 | pub struct Transaction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/capture.rs:531:8 [INFO] [stdout] | [INFO] [stdout] 530 | impl Transaction { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 531 | fn packet_count(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | fn payload_size(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | fn successful(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 553 | fn control_result(&self, direction: Direction) -> ControlResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 581 | fn outcome(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 590 | fn description(&self, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 613 | fn inner_description(&self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bytes` is never constructed [INFO] [stdout] --> src/capture.rs:657:8 [INFO] [stdout] | [INFO] [stdout] 657 | struct Bytes<'src> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `first` and `looks_like_ascii` are never used [INFO] [stdout] --> src/capture.rs:663:8 [INFO] [stdout] | [INFO] [stdout] 662 | impl<'src> Bytes<'src> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 663 | fn first(max: usize, bytes: &'src [u8]) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 677 | fn looks_like_ascii(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `device_data` and `print_storage_summary` are never used [INFO] [stdout] --> src/capture.rs:720:12 [INFO] [stdout] | [INFO] [stdout] 719 | impl CaptureWriter { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 720 | pub fn device_data(&self, id: DeviceId) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 730 | pub fn print_storage_summary(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/capture.rs:775:12 [INFO] [stdout] | [INFO] [stdout] 774 | impl CaptureReader { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 775 | pub fn endpoint_traffic(&mut self, endpoint_id: EndpointId) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 795 | fn transfer_range(&mut self, entry: &TransferIndexEntry) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 805 | fn transaction_fields(&mut self, transaction: &Transaction) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 830 | fn transaction_bytes(&mut self, transaction: &Transaction) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 842 | pub fn transfer_bytes(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 868 | fn endpoint_state(&mut self, transfer_id: TransferId) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 876 | pub fn packet(&mut self, id: PacketId) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 884 | pub fn packet_time(&mut self, id: PacketId) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 890 | fn packet_pid(&mut self, id: PacketId) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 897 | pub fn transaction(&mut self, id: TransactionId) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 953 | fn control_transfer(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 980 | pub fn device_data(&self, id: &DeviceId) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 990 | fn device_version(&self, id: &DeviceId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 994 | pub fn try_configuration(&self, dev: &DeviceId, conf: &ConfigNum) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1005 | fn transfer_extended(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1022 | fn completion(&self) -> CompletionStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `transfer_data_range` and `transfer_data_length` are never used [INFO] [stdout] --> src/capture.rs:1032:12 [INFO] [stdout] | [INFO] [stdout] 1031 | impl EndpointReader { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 1032 | pub fn transfer_data_range(&mut self, range: &Range) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1040 | pub fn transfer_data_length(&mut self, range: &Range) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompletionStatus` is never used [INFO] [stdout] --> src/capture.rs:1058:10 [INFO] [stdout] | [INFO] [stdout] 1058 | pub enum CompletionStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompletionStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_complete` is never used [INFO] [stdout] --> src/capture.rs:1064:12 [INFO] [stdout] | [INFO] [stdout] 1063 | impl CompletionStatus { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 1064 | pub fn is_complete(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EndpointData` is never constructed [INFO] [stdout] --> src/decoder.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct EndpointData { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransferState` is never constructed [INFO] [stdout] --> src/decoder.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct TransferState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TransferStatus` is never used [INFO] [stdout] --> src/decoder.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | enum TransferStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TransactionStatus` is never used [INFO] [stdout] --> src/decoder.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | enum TransactionStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/decoder.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl EndpointData { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 52 | fn new(device_id: DeviceId, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TransactionStyle` is never used [INFO] [stdout] --> src/decoder.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 73 | enum TransactionStyle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransactionState` is never constructed [INFO] [stdout] --> src/decoder.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | struct TransactionState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transaction_status` is never used [INFO] [stdout] --> src/decoder.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn transaction_status(state: &Option, packet: &[u8]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start_pid`, `endpoint_id`, and `extract_payload` are never used [INFO] [stdout] --> src/decoder.rs:224:8 [INFO] [stdout] | [INFO] [stdout] 223 | impl TransactionState { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 224 | fn start_pid(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | fn endpoint_id(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | fn extract_payload(&mut self, pid: PID, packet: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TransactionSideEffect` is never used [INFO] [stdout] --> src/decoder.rs:255:6 [INFO] [stdout] | [INFO] [stdout] 255 | enum TransactionSideEffect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `transfer_status` and `apply_effect` are never used [INFO] [stdout] --> src/decoder.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 261 | impl EndpointData { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 262 | fn transfer_status(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | fn apply_effect(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Decoder` is never constructed [INFO] [stdout] --> src/decoder.rs:518:12 [INFO] [stdout] | [INFO] [stdout] 518 | pub struct Decoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/decoder.rs:529:12 [INFO] [stdout] | [INFO] [stdout] 528 | impl Decoder { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 529 | pub fn new(capture: CaptureWriter) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 579 | pub fn handle_raw_packet(&mut self, packet: &[u8], timestamp_ns: u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 592 | pub fn finish(mut self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 598 | pub fn token_endpoint(&mut self, pid: PID, token: &TokenFields) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 626 | fn packet_endpoint(&mut self, pid: PID, packet: &[u8]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 637 | fn transaction_update(&mut self, packet_id: PacketId, packet: &[u8]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 679 | fn transaction_start(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 709 | fn transaction_append(&mut self, pid: PID, packet: &[u8]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 737 | fn transaction_end(&mut self, success: bool, complete: bool) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 748 | fn add_device(&mut self, address: DeviceAddr) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 760 | fn add_endpoint(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | fn transfer_early_start(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 821 | fn transfer_early_append(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 861 | fn transfer_update(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 900 | fn transfer_start(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 926 | fn transfer_append(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 948 | fn transfer_end(&mut self, transaction: &TransactionState) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 966 | fn add_transfer(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 995 | fn add_transfer_entry(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1010 | fn add_endpoint_state(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1035 | fn add_item(&mut self, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cyn` [INFO] [stdout] --> src/main.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | if let Ok(cyn) = launch_cythion(cynthion) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cyn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | if let Err(e) = result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stop_handle` [INFO] [stdout] --> src/main.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | if let Ok((stream_handle, stop_handle)) = cynthion [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stop_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cythion-exploration` (bin "cythion-exploration" test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1901eb26fb5e3fe6c6f6d0093efaa43e8ee9fe7049ea7ca2510e5025af28bac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1901eb26fb5e3fe6c6f6d0093efaa43e8ee9fe7049ea7ca2510e5025af28bac8", kill_on_drop: false }` [INFO] [stdout] 1901eb26fb5e3fe6c6f6d0093efaa43e8ee9fe7049ea7ca2510e5025af28bac8