[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] testing bjoernQ/blash against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbjoernQ%2Fblash" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bjoernQ/blash on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aed23bf63bee3622cacd26adc29fe970bdd8af1eedd2826ba62544badd2cd612 [INFO] running `Command { std: "docker" "start" "-a" "aed23bf63bee3622cacd26adc29fe970bdd8af1eedd2826ba62544badd2cd612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aed23bf63bee3622cacd26adc29fe970bdd8af1eedd2826ba62544badd2cd612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aed23bf63bee3622cacd26adc29fe970bdd8af1eedd2826ba62544badd2cd612", kill_on_drop: false }` [INFO] [stdout] aed23bf63bee3622cacd26adc29fe970bdd8af1eedd2826ba62544badd2cd612 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7b108001c9c6402549e2cf7cbd075a8146f5b574740ccb272ac21a4fe214061 [INFO] running `Command { std: "docker" "start" "-a" "f7b108001c9c6402549e2cf7cbd075a8146f5b574740ccb272ac21a4fe214061", 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 serde_derive v1.0.130 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libftdi1-source-lgpl v1.5.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling memoffset v0.6.4 [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 regex-syntax v0.6.25 [INFO] [stderr] Compiling nix v0.16.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling funty v1.2.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [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 bitvec v0.22.3 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling paw-raw v1.0.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling jaylink v0.2.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling nix v0.22.0 [INFO] [stderr] Compiling libudev v0.2.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling svg v0.10.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling thousands v0.2.0 [INFO] [stderr] Compiling scroll v0.10.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling ihex v3.0.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling zero v0.1.2 [INFO] [stderr] Compiling xmas-elf v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling ctrlc v3.2.0 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling crc v2.0.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 thiserror-impl v1.0.29 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling paw-attributes v1.0.2 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling enum-primitive-derive v0.2.1 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling paw v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling structopt v0.3.23 [INFO] [stderr] Compiling jep106 v0.2.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_yaml v0.8.21 [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 probe-rs v0.11.0 (https://github.com/probe-rs/probe-rs/?rev=9100410735b27b4050c744445e8b347c2a894ab1#91004107) [INFO] [stderr] Compiling deku_derive v0.12.3 [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)]` 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(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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/blflash/chip/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 17 | ) -> Result, Error>; [INFO] [stdout] | ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 17 | ) -> Result>, Error>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/blflash/chip/bl602/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 51 | ) -> Result, Error> { [INFO] [stdout] | ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | ) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/blflash/flasher.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | fn eflash_loader(&mut self) -> EflashLoader { [INFO] [stdout] | ^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 5m 21s [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" "f7b108001c9c6402549e2cf7cbd075a8146f5b574740ccb272ac21a4fe214061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7b108001c9c6402549e2cf7cbd075a8146f5b574740ccb272ac21a4fe214061", kill_on_drop: false }` [INFO] [stdout] f7b108001c9c6402549e2cf7cbd075a8146f5b574740ccb272ac21a4fe214061 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9dceaa497d72f80f0a20b1a6c216cc40c809608e7eca1ab20359c62e2a5eaef9 [INFO] running `Command { std: "docker" "start" "-a" "9dceaa497d72f80f0a20b1a6c216cc40c809608e7eca1ab20359c62e2a5eaef9", 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)]` 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(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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/blflash/chip/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 17 | ) -> Result, Error>; [INFO] [stdout] | ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 17 | ) -> Result>, Error>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/blflash/chip/bl602/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 51 | ) -> Result, Error> { [INFO] [stdout] | ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | ) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/blflash/flasher.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | fn eflash_loader(&mut self) -> EflashLoader { [INFO] [stdout] | ^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 1.54s [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" "9dceaa497d72f80f0a20b1a6c216cc40c809608e7eca1ab20359c62e2a5eaef9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dceaa497d72f80f0a20b1a6c216cc40c809608e7eca1ab20359c62e2a5eaef9", kill_on_drop: false }` [INFO] [stdout] 9dceaa497d72f80f0a20b1a6c216cc40c809608e7eca1ab20359c62e2a5eaef9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1727a73cf564d076b325702260648e81b19dc7ea2ecfea713dde0ee6cbb79ff2 [INFO] running `Command { std: "docker" "start" "-a" "1727a73cf564d076b325702260648e81b19dc7ea2ecfea713dde0ee6cbb79ff2", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `FirmwareImage` [INFO] [stderr] --> src/blflash/chip/mod.rs:2:44 [INFO] [stderr] | [INFO] [stderr] 2 | pub use crate::blflash::elf::{CodeSegment, FirmwareImage, RomSegment}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `bl602::Bl602` [INFO] [stderr] --> src/blflash/chip/mod.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use bl602::Bl602; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `conn`, `image`, and `boot` are never read [INFO] [stderr] --> src/blflash/mod.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 64 | pub struct CheckOpt { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 65 | #[structopt(flatten)] [INFO] [stderr] 66 | pub conn: Connection, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 69 | pub image: PathBuf, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 70 | #[structopt(flatten)] [INFO] [stderr] 71 | pub boot: Boot2Opt, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `conn`, `output`, `start`, and `end` are never read [INFO] [stderr] --> src/blflash/mod.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 75 | pub struct DumpOpt { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 76 | #[structopt(flatten)] [INFO] [stderr] 77 | pub conn: Connection, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 80 | pub output: PathBuf, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | pub start: u32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 86 | pub end: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/blflash/mod.rs:92:11 [INFO] [stderr] | [INFO] [stderr] 92 | Flash(FlashOpt), [INFO] [stderr] | ----- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 92 - Flash(FlashOpt), [INFO] [stderr] 92 + Flash(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/blflash/mod.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | Check(CheckOpt), [INFO] [stderr] | ----- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 94 - Check(CheckOpt), [INFO] [stderr] 94 + Check(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/blflash/mod.rs:96:10 [INFO] [stderr] | [INFO] [stderr] 96 | Dump(DumpOpt), [INFO] [stderr] | ---- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 96 - Dump(DumpOpt), [INFO] [stderr] 96 + Dump(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: methods `target` and `get_eflash_loader` are never used [INFO] [stderr] --> src/blflash/chip/mod.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub trait Chip { [INFO] [stderr] | ---- methods in this trait [INFO] [stderr] 8 | fn target(&self) -> &'static str; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 9 | fn get_eflash_loader(&self) -> &[u8]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `EFLASH_LOADER` is never used [INFO] [stderr] --> src/blflash/chip/bl602/mod.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | pub const EFLASH_LOADER: &'static [u8] = include_bytes!("image/eflash_loader_40m.bin"); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `entry` is never read [INFO] [stderr] --> src/blflash/elf.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct FirmwareImage<'a> { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 10 | pub entry: u32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `len` and `otp_info` are never read [INFO] [stderr] --> src/blflash/flasher.rs:203:13 [INFO] [stderr] | [INFO] [stderr] 202 | pub struct BootInfo { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 203 | pub len: u16, [INFO] [stderr] | ^^^ [INFO] [stderr] 204 | pub bootrom_version: u32, [INFO] [stderr] 205 | pub otp_info: [u8; 16], [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BootInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `len` and `data` are never read [INFO] [stderr] --> src/blflash/flasher.rs:223:13 [INFO] [stderr] | [INFO] [stderr] 222 | pub struct LoadSegmentHeader { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 223 | pub len: u16, [INFO] [stderr] | ^^^ [INFO] [stderr] 224 | #[deku(count = "len")] [INFO] [stderr] 225 | pub data: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LoadSegmentHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `len` and `data` are never read [INFO] [stderr] --> src/blflash/flasher.rs:256:13 [INFO] [stderr] | [INFO] [stderr] 255 | pub struct FlashReadResp { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 256 | pub len: u16, [INFO] [stderr] | ^^^ [INFO] [stderr] 257 | #[deku(count = "len")] [INFO] [stderr] 258 | pub data: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FlashReadResp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/blflash/chip/mod.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 17 | ) -> Result, Error>; [INFO] [stderr] | ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 17 | ) -> Result>, Error>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/blflash/chip/bl602/mod.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 51 | ) -> Result, Error> { [INFO] [stderr] | ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 51 | ) -> Result>, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/blflash/flasher.rs:118:22 [INFO] [stderr] | [INFO] [stderr] 118 | fn eflash_loader(&mut self) -> EflashLoader { [INFO] [stderr] | ^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 118 | fn eflash_loader(&mut self) -> EflashLoader<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `blash` (bin "blash" test) generated 16 warnings (run `cargo fix --bin "blash" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/blash-e299620215e3fef8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1727a73cf564d076b325702260648e81b19dc7ea2ecfea713dde0ee6cbb79ff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1727a73cf564d076b325702260648e81b19dc7ea2ecfea713dde0ee6cbb79ff2", kill_on_drop: false }` [INFO] [stdout] 1727a73cf564d076b325702260648e81b19dc7ea2ecfea713dde0ee6cbb79ff2