[INFO] cloning repository https://github.com/bjoernQ/blash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bjoernQ/blash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbjoernQ%2Fblash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbjoernQ%2Fblash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33a03de3cd840189705edb5c4de33bc5ed2955e0 [INFO] checking bjoernQ/blash against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbjoernQ%2Fblash" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bjoernQ/blash on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bjoernQ/blash [INFO] finished tweaking git repo https://github.com/bjoernQ/blash [INFO] tweaked toml for git repo https://github.com/bjoernQ/blash written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bjoernQ/blash 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/probe-rs/probe-rs/` [INFO] [stderr] warning: skipping duplicate package `binary_project` found at `/workspace/cargo-home/git/checkouts/probe-rs-92d520f86d5696fc/9100410/probe-rs-cli-util/tests/data/multiple_binary_project` [INFO] [stderr] warning: skipping duplicate package `library_project` found at `/workspace/cargo-home/git/checkouts/probe-rs-92d520f86d5696fc/9100410/probe-rs-cli-util/tests/data/library_with_example_project` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zero v0.1.2 [INFO] [stderr] Downloaded xmas-elf v0.8.0 [INFO] [stderr] Downloaded paw-attributes v1.0.2 [INFO] [stderr] Downloaded paw-raw v1.0.0 [INFO] [stderr] Downloaded rusb v0.8.1 [INFO] [stderr] Downloaded main_error v0.1.2 [INFO] [stderr] Downloaded darling_macro v0.13.0 [INFO] [stderr] Downloaded jaylink v0.2.0 [INFO] [stderr] Downloaded libftdi1-source-lgpl v1.5.0 [INFO] [stderr] Downloaded darling v0.13.0 [INFO] [stderr] Downloaded ctrlc v3.2.0 [INFO] [stderr] Downloaded nix v0.22.0 [INFO] [stderr] Downloaded libusb1-sys v0.5.0 [INFO] [stderr] Downloaded darling_core v0.13.0 [INFO] [stderr] Downloaded deku v0.12.3 [INFO] [stderr] Downloaded hidapi v1.2.6 [INFO] [stderr] Downloaded nix v0.16.1 [INFO] [stderr] Downloaded deku_derive v0.12.3 [INFO] [stderr] Downloaded enum-primitive-derive v0.2.1 [INFO] [stderr] Downloaded libftdi1-sys v1.1.1 [INFO] [stderr] Downloaded jep106 v0.2.5 [INFO] [stderr] Downloaded serialport v4.0.1 [INFO] [stderr] Downloaded paw v1.0.0 [INFO] [stderr] Downloaded parse_int v0.6.0 [INFO] [stderr] Downloaded ihex v3.0.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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2b8c27dd45c6b2ee0f3058e467d7b94d71743b2537c92657772a201ae1a03ad [INFO] running `Command { std: "docker" "start" "-a" "d2b8c27dd45c6b2ee0f3058e467d7b94d71743b2537c92657772a201ae1a03ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2b8c27dd45c6b2ee0f3058e467d7b94d71743b2537c92657772a201ae1a03ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2b8c27dd45c6b2ee0f3058e467d7b94d71743b2537c92657772a201ae1a03ad", kill_on_drop: false }` [INFO] [stdout] d2b8c27dd45c6b2ee0f3058e467d7b94d71743b2537c92657772a201ae1a03ad [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6ebb1f1ca059f8556af65cb69621ec20e967bf4c531b0f9fac7d37f3466b232 [INFO] running `Command { std: "docker" "start" "-a" "e6ebb1f1ca059f8556af65cb69621ec20e967bf4c531b0f9fac7d37f3466b232", kill_on_drop: false }` [INFO] [stderr] warning: skipping duplicate package `binary_project` found at `/opt/rustwide/cargo-home/git/checkouts/probe-rs-92d520f86d5696fc/9100410/probe-rs-cli-util/tests/data/multiple_binary_project` [INFO] [stderr] warning: skipping duplicate package `library_project` found at `/opt/rustwide/cargo-home/git/checkouts/probe-rs-92d520f86d5696fc/9100410/probe-rs-cli-util/tests/data/library_with_example_project` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling libftdi1-source-lgpl v1.5.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling rusb v0.8.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Checking wyz v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking funty v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling nix v0.16.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking paw-raw v1.0.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking object v0.26.2 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking bitvec v0.22.3 [INFO] [stderr] Checking zero v0.1.2 [INFO] [stderr] Checking svg v0.10.0 [INFO] [stderr] Checking crc-catalog v1.1.1 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking ihex v3.0.0 [INFO] [stderr] Checking thousands v0.2.0 [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Checking crc v2.0.0 [INFO] [stderr] Checking xmas-elf v0.8.0 [INFO] [stderr] Checking parse_int v0.6.0 [INFO] [stderr] Checking main_error v0.1.2 [INFO] [stderr] Compiling libusb1-sys v0.5.0 [INFO] [stderr] Compiling libftdi1-sys v1.1.1 [INFO] [stderr] Compiling hidapi v1.2.6 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Checking generic-array v0.14.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking nix v0.22.0 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking jaylink v0.2.0 [INFO] [stderr] Checking serialport v4.0.1 [INFO] [stderr] Checking ctrlc v3.2.0 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling paw-attributes v1.0.2 [INFO] [stderr] Compiling enum-primitive-derive v0.2.1 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Checking paw v1.0.0 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Checking structopt v0.3.23 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Checking jep106 v0.2.5 [INFO] [stderr] Checking serde_yaml v0.8.21 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking probe-rs-target v0.11.0 (https://github.com/probe-rs/probe-rs/?rev=9100410735b27b4050c744445e8b347c2a894ab1#91004107) [INFO] [stderr] Compiling probe-rs v0.11.0 (https://github.com/probe-rs/probe-rs/?rev=9100410735b27b4050c744445e8b347c2a894ab1#91004107) [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling deku_derive v0.12.3 [INFO] [stderr] Checking deku v0.12.3 [INFO] [stderr] Checking blash v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FirmwareImage` [INFO] [stdout] --> src/blflash/chip/mod.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::blflash::elf::{CodeSegment, FirmwareImage, RomSegment}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bl602::Bl602` [INFO] [stdout] --> src/blflash/chip/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use bl602::Bl602; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FirmwareImage` [INFO] [stdout] --> src/blflash/chip/mod.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | pub use crate::blflash::elf::{CodeSegment, FirmwareImage, RomSegment}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bl602::Bl602` [INFO] [stdout] --> src/blflash/chip/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use bl602::Bl602; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `conn`, `image`, and `boot` are never read [INFO] [stdout] --> src/blflash/mod.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct CheckOpt { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 65 | #[structopt(flatten)] [INFO] [stdout] 66 | pub conn: Connection, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub image: PathBuf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 70 | #[structopt(flatten)] [INFO] [stdout] 71 | pub boot: Boot2Opt, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `conn`, `output`, `start`, and `end` are never read [INFO] [stdout] --> src/blflash/mod.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct DumpOpt { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 76 | #[structopt(flatten)] [INFO] [stdout] 77 | pub conn: Connection, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub output: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub start: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub end: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/blflash/mod.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | Flash(FlashOpt), [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] 92 | Flash(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/blflash/mod.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | Check(CheckOpt), [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] 94 | Check(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/blflash/mod.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | Dump(DumpOpt), [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] 96 | Dump(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `target` and `get_eflash_loader` are never used [INFO] [stdout] --> src/blflash/chip/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Chip { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 8 | fn target(&self) -> &'static str; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | fn get_eflash_loader(&self) -> &[u8]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entry` is never read [INFO] [stdout] --> src/blflash/elf.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct FirmwareImage<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 10 | pub entry: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `len` and `otp_info` are never read [INFO] [stdout] --> src/blflash/flasher.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 202 | pub struct BootInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 203 | pub len: u16, [INFO] [stdout] | ^^^ [INFO] [stdout] 204 | pub bootrom_version: u32, [INFO] [stdout] 205 | pub otp_info: [u8; 16], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BootInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `len` and `data` are never read [INFO] [stdout] --> src/blflash/flasher.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct LoadSegmentHeader { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 223 | pub len: u16, [INFO] [stdout] | ^^^ [INFO] [stdout] 224 | #[deku(count = "len")] [INFO] [stdout] 225 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoadSegmentHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `len` and `data` are never read [INFO] [stdout] --> src/blflash/flasher.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 255 | pub struct FlashReadResp { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 256 | pub len: u16, [INFO] [stdout] | ^^^ [INFO] [stdout] 257 | #[deku(count = "len")] [INFO] [stdout] 258 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FlashReadResp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `conn`, `image`, and `boot` are never read [INFO] [stdout] --> src/blflash/mod.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct CheckOpt { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 65 | #[structopt(flatten)] [INFO] [stdout] 66 | pub conn: Connection, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub image: PathBuf, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 70 | #[structopt(flatten)] [INFO] [stdout] 71 | pub boot: Boot2Opt, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `conn`, `output`, `start`, and `end` are never read [INFO] [stdout] --> src/blflash/mod.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct DumpOpt { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 76 | #[structopt(flatten)] [INFO] [stdout] 77 | pub conn: Connection, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub output: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub start: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub end: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/blflash/mod.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | Flash(FlashOpt), [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] 92 | Flash(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/blflash/mod.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | Check(CheckOpt), [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] 94 | Check(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/blflash/mod.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | Dump(DumpOpt), [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] 96 | Dump(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `target` and `get_eflash_loader` are never used [INFO] [stdout] --> src/blflash/chip/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Chip { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 8 | fn target(&self) -> &'static str; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | fn get_eflash_loader(&self) -> &[u8]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entry` is never read [INFO] [stdout] --> src/blflash/elf.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct FirmwareImage<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 10 | pub entry: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `len` and `otp_info` are never read [INFO] [stdout] --> src/blflash/flasher.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 202 | pub struct BootInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 203 | pub len: u16, [INFO] [stdout] | ^^^ [INFO] [stdout] 204 | pub bootrom_version: u32, [INFO] [stdout] 205 | pub otp_info: [u8; 16], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BootInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `len` and `data` are never read [INFO] [stdout] --> src/blflash/flasher.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct LoadSegmentHeader { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 223 | pub len: u16, [INFO] [stdout] | ^^^ [INFO] [stdout] 224 | #[deku(count = "len")] [INFO] [stdout] 225 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoadSegmentHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `len` and `data` are never read [INFO] [stdout] --> src/blflash/flasher.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 255 | pub struct FlashReadResp { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 256 | pub len: u16, [INFO] [stdout] | ^^^ [INFO] [stdout] 257 | #[deku(count = "len")] [INFO] [stdout] 258 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FlashReadResp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: svg v0.10.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "e6ebb1f1ca059f8556af65cb69621ec20e967bf4c531b0f9fac7d37f3466b232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6ebb1f1ca059f8556af65cb69621ec20e967bf4c531b0f9fac7d37f3466b232", kill_on_drop: false }` [INFO] [stdout] e6ebb1f1ca059f8556af65cb69621ec20e967bf4c531b0f9fac7d37f3466b232