[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/33a03de3cd840189705edb5c4de33bc5ed2955e0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbjoernQ%2Fblash" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bjoernQ/blash on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-5-tc2/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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd175f9289dc08d8c6328d23c19a126cbc44789799c905b71e6fa5376e337d99 [INFO] running `Command { std: "docker" "start" "-a" "cd175f9289dc08d8c6328d23c19a126cbc44789799c905b71e6fa5376e337d99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd175f9289dc08d8c6328d23c19a126cbc44789799c905b71e6fa5376e337d99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd175f9289dc08d8c6328d23c19a126cbc44789799c905b71e6fa5376e337d99", kill_on_drop: false }` [INFO] [stdout] cd175f9289dc08d8c6328d23c19a126cbc44789799c905b71e6fa5376e337d99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 239452ce87c2ea887e7ba6d1f98341861337488edf35c4851d4a3c61383e0d56 [INFO] running `Command { std: "docker" "start" "-a" "239452ce87c2ea887e7ba6d1f98341861337488edf35c4851d4a3c61383e0d56", kill_on_drop: false }` [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 autocfg v1.0.1 [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 memchr v2.4.1 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling libftdi1-source-lgpl v1.5.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rusb v0.8.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Checking wyz v0.4.0 [INFO] [stderr] Compiling nix v0.16.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking funty v1.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking bitvec v0.22.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking paw-raw v1.0.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking object v0.26.2 [INFO] [stderr] Checking thousands v0.2.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking gimli v0.25.0 [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 humantime v2.1.0 [INFO] [stderr] Checking crc-catalog v1.1.1 [INFO] [stderr] Checking zero v0.1.2 [INFO] [stderr] Checking svg v0.10.0 [INFO] [stderr] Checking ihex v3.0.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking nix v0.22.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking parse_int v0.6.0 [INFO] [stderr] Checking xmas-elf v0.8.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crc v2.0.0 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking main_error v0.1.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking jaylink v0.2.0 [INFO] [stderr] Checking serialport v4.0.1 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Checking ctrlc v3.2.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] Compiling darling v0.13.0 [INFO] [stderr] Checking structopt v0.3.23 [INFO] [stderr] Checking jep106 v0.2.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_yaml v0.8.21 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/blflash/connection.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn command(&mut self, command: C) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | Ok(if let Some(resp) = C::Response::no_response_payload() { [INFO] [stdout] | ____________^ [INFO] [stdout] 171 | | self.read_response(0)?; [INFO] [stdout] 172 | | resp [INFO] [stdout] 173 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 179 | | C::Response::from_payload(&writer.into_inner())? [INFO] [stdout] 180 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blash` (bin "blash") due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/blflash/connection.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn command(&mut self, command: C) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | Ok(if let Some(resp) = C::Response::no_response_payload() { [INFO] [stdout] | ____________^ [INFO] [stdout] 171 | | self.read_response(0)?; [INFO] [stdout] 172 | | resp [INFO] [stdout] 173 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 179 | | C::Response::from_payload(&writer.into_inner())? [INFO] [stdout] 180 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blash` (bin "blash" test) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "239452ce87c2ea887e7ba6d1f98341861337488edf35c4851d4a3c61383e0d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "239452ce87c2ea887e7ba6d1f98341861337488edf35c4851d4a3c61383e0d56", kill_on_drop: false }` [INFO] [stdout] 239452ce87c2ea887e7ba6d1f98341861337488edf35c4851d4a3c61383e0d56