[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] building bjoernQ/blash against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbjoernQ%2Fblash" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bjoernQ/blash 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/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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] Downloading crates ... [INFO] [stderr] Downloaded zero v0.1.2 [INFO] [stderr] Downloaded xmas-elf v0.8.0 [INFO] [stderr] Downloaded thiserror v1.0.29 [INFO] [stderr] Downloaded paw v1.0.0 [INFO] [stderr] Downloaded structopt v0.3.23 [INFO] [stderr] Downloaded IOKit-sys v0.1.5 [INFO] [stderr] Downloaded rusb v0.8.1 [INFO] [stderr] Downloaded jep106 v0.2.5 [INFO] [stderr] Downloaded serde_yaml v0.8.21 [INFO] [stderr] Downloaded svg v0.10.0 [INFO] [stderr] Downloaded ihex v3.0.0 [INFO] [stderr] Downloaded main_error v0.1.2 [INFO] [stderr] Downloaded parse_int v0.6.0 [INFO] [stderr] Downloaded crc-catalog v1.1.1 [INFO] [stderr] Downloaded crc v2.0.0 [INFO] [stderr] Downloaded nix v0.16.1 [INFO] [stderr] Downloaded object v0.26.2 [INFO] [stderr] Downloaded unicode-segmentation v1.8.0 [INFO] [stderr] Downloaded hidapi v1.2.6 [INFO] [stderr] Downloaded bitvec v0.22.3 [INFO] [stderr] Downloaded libusb1-sys v0.5.0 [INFO] [stderr] Downloaded ctrlc v3.2.0 [INFO] [stderr] Downloaded darling_core v0.13.0 [INFO] [stderr] Downloaded darling_macro v0.13.0 [INFO] [stderr] Downloaded darling v0.13.0 [INFO] [stderr] Downloaded console v0.14.1 [INFO] [stderr] Downloaded thousands v0.2.0 [INFO] [stderr] Downloaded gimli v0.25.0 [INFO] [stderr] Downloaded libudev v0.2.0 [INFO] [stderr] Downloaded sha2 v0.9.8 [INFO] [stderr] Downloaded anyhow v1.0.44 [INFO] [stderr] Downloaded funty v1.2.0 [INFO] [stderr] Downloaded wyz v0.4.0 [INFO] [stderr] Downloaded enum-primitive-derive v0.2.1 [INFO] [stderr] Downloaded jaylink v0.2.0 [INFO] [stderr] Downloaded libftdi1-source-lgpl v1.5.0 [INFO] [stderr] Downloaded syn v1.0.77 [INFO] [stderr] Downloaded CoreFoundation-sys v0.1.4 [INFO] [stderr] Downloaded mach v0.1.2 [INFO] [stderr] Downloaded serialport v4.0.1 [INFO] [stderr] Downloaded libftdi1-sys v1.1.1 [INFO] [stderr] Downloaded paw-attributes v1.0.2 [INFO] [stderr] Downloaded paw-raw v1.0.0 [INFO] [stderr] Downloaded mach v0.2.3 [INFO] [stderr] Downloaded deku_derive v0.12.3 [INFO] [stderr] Downloaded structopt-derive v0.4.16 [INFO] [stderr] Downloaded thiserror-impl v1.0.29 [INFO] [stderr] Downloaded deku v0.12.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 427e6a099ca5e31c8cdb51061ede02970f22acd2c59cf844beec308311338ba5 [INFO] running `Command { std: "docker" "start" "-a" "427e6a099ca5e31c8cdb51061ede02970f22acd2c59cf844beec308311338ba5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "427e6a099ca5e31c8cdb51061ede02970f22acd2c59cf844beec308311338ba5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "427e6a099ca5e31c8cdb51061ede02970f22acd2c59cf844beec308311338ba5", kill_on_drop: false }` [INFO] [stdout] 427e6a099ca5e31c8cdb51061ede02970f22acd2c59cf844beec308311338ba5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8b3399f36b7c09df9a90da407ef86828c721b661853135e722e1b12a3c21ecfb [INFO] running `Command { std: "docker" "start" "-a" "8b3399f36b7c09df9a90da407ef86828c721b661853135e722e1b12a3c21ecfb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling libftdi1-source-lgpl v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling libusb1-sys v0.5.0 [INFO] [stderr] Compiling hidapi v1.2.6 [INFO] [stderr] Compiling libftdi1-sys v1.1.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling rusb v0.8.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling wyz v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling funty v1.2.0 [INFO] [stderr] Compiling nix v0.16.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling bitvec v0.22.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling paw-raw v1.0.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling jaylink v0.2.0 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling nix v0.22.0 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling libudev v0.2.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling paw-attributes v1.0.2 [INFO] [stderr] Compiling paw v1.0.0 [INFO] [stderr] Compiling enum-primitive-derive v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling thousands v0.2.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling scroll v0.10.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling svg v0.10.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling ihex v3.0.0 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling zero v0.1.2 [INFO] [stderr] Compiling xmas-elf v0.8.0 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling structopt v0.3.23 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling crc v2.0.0 [INFO] [stderr] Compiling ctrlc v3.2.0 [INFO] [stderr] Compiling serialport v4.0.1 [INFO] [stderr] Compiling parse_int v0.6.0 [INFO] [stderr] Compiling main_error v0.1.2 [INFO] [stderr] Compiling jep106 v0.2.5 [INFO] [stderr] Compiling serde_yaml v0.8.21 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling probe-rs-target 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] Compiling probe-rs v0.11.0 (https://github.com/probe-rs/probe-rs/?rev=9100410735b27b4050c744445e8b347c2a894ab1#91004107) [INFO] [stderr] Compiling deku v0.12.3 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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(FlashOpt), [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(CheckOpt), [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(DumpOpt), [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: constant `EFLASH_LOADER` is never used [INFO] [stdout] --> src/blflash/chip/bl602/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const EFLASH_LOADER: &'static [u8] = include_bytes!("image/eflash_loader_40m.bin"); [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blflash/chip/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 17 | ) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | ) -> Result>, Error>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blflash/chip/bl602/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 51 | ) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | ) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blflash/flasher.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | fn eflash_loader(&mut self) -> EflashLoader { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 118 | fn eflash_loader(&mut self) -> EflashLoader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 36s [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 1` [INFO] running `Command { std: "docker" "inspect" "8b3399f36b7c09df9a90da407ef86828c721b661853135e722e1b12a3c21ecfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b3399f36b7c09df9a90da407ef86828c721b661853135e722e1b12a3c21ecfb", kill_on_drop: false }` [INFO] [stdout] 8b3399f36b7c09df9a90da407ef86828c721b661853135e722e1b12a3c21ecfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 15f3d6f20933b9ab9a00362fc5c12a742a62db26aa1acb49ebf6e21c15db985f [INFO] running `Command { std: "docker" "start" "-a" "15f3d6f20933b9ab9a00362fc5c12a742a62db26aa1acb49ebf6e21c15db985f", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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(FlashOpt), [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(CheckOpt), [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(DumpOpt), [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: constant `EFLASH_LOADER` is never used [INFO] [stdout] --> src/blflash/chip/bl602/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const EFLASH_LOADER: &'static [u8] = include_bytes!("image/eflash_loader_40m.bin"); [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blflash/chip/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 17 | ) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | ) -> Result>, Error>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blflash/chip/bl602/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 51 | ) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | ) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blflash/flasher.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | fn eflash_loader(&mut self) -> EflashLoader { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 118 | fn eflash_loader(&mut self) -> EflashLoader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.10s [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 1` [INFO] running `Command { std: "docker" "inspect" "15f3d6f20933b9ab9a00362fc5c12a742a62db26aa1acb49ebf6e21c15db985f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15f3d6f20933b9ab9a00362fc5c12a742a62db26aa1acb49ebf6e21c15db985f", kill_on_drop: false }` [INFO] [stdout] 15f3d6f20933b9ab9a00362fc5c12a742a62db26aa1acb49ebf6e21c15db985f