[INFO] cloning repository https://github.com/mkroman/bouffalo-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mkroman/bouffalo-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkroman%2Fbouffalo-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkroman%2Fbouffalo-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a629b7fc7fc830c9f9a9f1f9460acbe2d2f9555 [INFO] checking mkroman/bouffalo-cli against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkroman%2Fbouffalo-cli" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mkroman/bouffalo-cli on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mkroman/bouffalo-cli [INFO] finished tweaking git repo https://github.com/mkroman/bouffalo-cli [INFO] tweaked toml for git repo https://github.com/mkroman/bouffalo-cli written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mkroman/bouffalo-cli 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 498089e0f2e983e4158c2af44fba688ae6badb8c374e6fc8eba8b1169c687ce7 [INFO] running `Command { std: "docker" "start" "-a" "498089e0f2e983e4158c2af44fba688ae6badb8c374e6fc8eba8b1169c687ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "498089e0f2e983e4158c2af44fba688ae6badb8c374e6fc8eba8b1169c687ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "498089e0f2e983e4158c2af44fba688ae6badb8c374e6fc8eba8b1169c687ce7", kill_on_drop: false }` [INFO] [stdout] 498089e0f2e983e4158c2af44fba688ae6badb8c374e6fc8eba8b1169c687ce7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 401d04ecbd3349e7e16269f3d8adc732a3c6deef920efb17062365b917cde2db [INFO] running `Command { std: "docker" "start" "-a" "401d04ecbd3349e7e16269f3d8adc732a3c6deef920efb17062365b917cde2db", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking serialport v3.3.0 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking num_enum v0.5.1 [INFO] [stderr] Checking bouffalo-cli v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FirmwareBuilder` [INFO] [stdout] --> src/bl.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | pub use firmware::{crc32, Firmware, FirmwareBuilder, Segment}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FirmwareBuilder` [INFO] [stdout] --> src/bl.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | pub use firmware::{crc32, Firmware, FirmwareBuilder, Segment}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidMagicHeader` is never constructed [INFO] [stdout] --> src/bl/firmware.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum ClockConfigError { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 49 | #[error("The magic header value is invalid: {:?}", _0)] [INFO] [stdout] 50 | InvalidMagicHeader([u8; 4]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClockConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reader`, `header`, `program_headers`, and `section_headers` are never read [INFO] [stdout] --> src/elf_parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ElfParser { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 10 | reader: BufReader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | header: Header, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | program_headers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | section_headers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElfParser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/elf_parser.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 134 | /// This byte is set to either 1 or 2 to signify 32- or 64-bit format, respectively [INFO] [stdout] 135 | pub class: Class, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 136 | /// The endianness of the file [INFO] [stdout] 137 | pub endianness: Endianness, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 138 | /// The ELF file version [INFO] [stdout] 139 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 140 | /// The target OS ABI [INFO] [stdout] 141 | pub os_abi: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 142 | /// The target OS ABI version [INFO] [stdout] 143 | pub os_abi_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 144 | /// The object file type [INFO] [stdout] 145 | pub file_type: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 146 | /// The program entry address [INFO] [stdout] 147 | pub entry_addr: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/elf_parser.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct ProgramHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 167 | /// The type of the program header segment [INFO] [stdout] 168 | typ: ProgType, [INFO] [stdout] | ^^^ [INFO] [stdout] 169 | /// The offset to the segment in the image file [INFO] [stdout] 170 | offset: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 171 | /// The virtual address to map the segment to [INFO] [stdout] 172 | virt_addr: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 173 | /// The physical address to map the segment to, when relevant [INFO] [stdout] 174 | phys_addr: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 175 | /// Size of the segment in the file image, in bytes [INFO] [stdout] 176 | file_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 177 | /// Size of the segment in memory, in bytes [INFO] [stdout] 178 | mem_size: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 179 | /// Segment-dependent flags [INFO] [stdout] 180 | flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | alignment: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProgramHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/elf_parser.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct SectionHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 196 | pub typ: SectionType, [INFO] [stdout] | ^^^ [INFO] [stdout] 197 | /// The attributes of this section [INFO] [stdout] 198 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 199 | /// Virtual address for this section, if it's to be loaded into memory [INFO] [stdout] 200 | pub virt_addr: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 205 | /// Contains the index of an associated section, which might be used depending on the type [INFO] [stdout] 206 | pub link: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 207 | /// Contains information about the section [INFO] [stdout] 208 | pub info: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 209 | /// The required alignment of the section [INFO] [stdout] 210 | pub addr_align: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 211 | /// The size of each entry, in bytes, if this is a section with fixed sized data [INFO] [stdout] 212 | pub entry_size: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SectionHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidMagicHeader` is never constructed [INFO] [stdout] --> src/bl/firmware.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum ClockConfigError { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 49 | #[error("The magic header value is invalid: {:?}", _0)] [INFO] [stdout] 50 | InvalidMagicHeader([u8; 4]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClockConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reader`, `header`, `program_headers`, and `section_headers` are never read [INFO] [stdout] --> src/elf_parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ElfParser { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 10 | reader: BufReader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | header: Header, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | program_headers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | section_headers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElfParser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/elf_parser.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 134 | /// This byte is set to either 1 or 2 to signify 32- or 64-bit format, respectively [INFO] [stdout] 135 | pub class: Class, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 136 | /// The endianness of the file [INFO] [stdout] 137 | pub endianness: Endianness, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 138 | /// The ELF file version [INFO] [stdout] 139 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 140 | /// The target OS ABI [INFO] [stdout] 141 | pub os_abi: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 142 | /// The target OS ABI version [INFO] [stdout] 143 | pub os_abi_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 144 | /// The object file type [INFO] [stdout] 145 | pub file_type: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 146 | /// The program entry address [INFO] [stdout] 147 | pub entry_addr: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/elf_parser.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct ProgramHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 167 | /// The type of the program header segment [INFO] [stdout] 168 | typ: ProgType, [INFO] [stdout] | ^^^ [INFO] [stdout] 169 | /// The offset to the segment in the image file [INFO] [stdout] 170 | offset: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 171 | /// The virtual address to map the segment to [INFO] [stdout] 172 | virt_addr: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 173 | /// The physical address to map the segment to, when relevant [INFO] [stdout] 174 | phys_addr: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 175 | /// Size of the segment in the file image, in bytes [INFO] [stdout] 176 | file_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 177 | /// Size of the segment in memory, in bytes [INFO] [stdout] 178 | mem_size: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 179 | /// Segment-dependent flags [INFO] [stdout] 180 | flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | alignment: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProgramHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/elf_parser.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct SectionHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 196 | pub typ: SectionType, [INFO] [stdout] | ^^^ [INFO] [stdout] 197 | /// The attributes of this section [INFO] [stdout] 198 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 199 | /// Virtual address for this section, if it's to be loaded into memory [INFO] [stdout] 200 | pub virt_addr: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 205 | /// Contains the index of an associated section, which might be used depending on the type [INFO] [stdout] 206 | pub link: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 207 | /// Contains information about the section [INFO] [stdout] 208 | pub info: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 209 | /// The required alignment of the section [INFO] [stdout] 210 | pub addr_align: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 211 | /// The size of each entry, in bytes, if this is a section with fixed sized data [INFO] [stdout] 212 | pub entry_size: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SectionHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.78s [INFO] running `Command { std: "docker" "inspect" "401d04ecbd3349e7e16269f3d8adc732a3c6deef920efb17062365b917cde2db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "401d04ecbd3349e7e16269f3d8adc732a3c6deef920efb17062365b917cde2db", kill_on_drop: false }` [INFO] [stdout] 401d04ecbd3349e7e16269f3d8adc732a3c6deef920efb17062365b917cde2db [INFO] checking mkroman/bouffalo-cli against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkroman%2Fbouffalo-cli" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mkroman/bouffalo-cli on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mkroman/bouffalo-cli [INFO] finished tweaking git repo https://github.com/mkroman/bouffalo-cli [INFO] tweaked toml for git repo https://github.com/mkroman/bouffalo-cli written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mkroman/bouffalo-cli 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30c63baf999e02634e6ebf920ed58ec5fe01b2769baaf9f2ecaad1f3dc22b95f [INFO] running `Command { std: "docker" "start" "-a" "30c63baf999e02634e6ebf920ed58ec5fe01b2769baaf9f2ecaad1f3dc22b95f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30c63baf999e02634e6ebf920ed58ec5fe01b2769baaf9f2ecaad1f3dc22b95f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30c63baf999e02634e6ebf920ed58ec5fe01b2769baaf9f2ecaad1f3dc22b95f", kill_on_drop: false }` [INFO] [stdout] 30c63baf999e02634e6ebf920ed58ec5fe01b2769baaf9f2ecaad1f3dc22b95f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 781014f905cec8d98e9243eae772083b6148817f0399d34c78678379bea3750f [INFO] running `Command { std: "docker" "start" "-a" "781014f905cec8d98e9243eae772083b6148817f0399d34c78678379bea3750f", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking serialport v3.3.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking num_enum v0.5.1 [INFO] [stderr] Checking bouffalo-cli v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FirmwareBuilder` [INFO] [stdout] --> src/bl.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | pub use firmware::{crc32, Firmware, FirmwareBuilder, Segment}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FirmwareBuilder` [INFO] [stdout] --> src/bl.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | pub use firmware::{crc32, Firmware, FirmwareBuilder, Segment}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidMagicHeader` is never constructed [INFO] [stdout] --> src/bl/firmware.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum ClockConfigError { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 49 | #[error("The magic header value is invalid: {:?}", _0)] [INFO] [stdout] 50 | InvalidMagicHeader([u8; 4]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClockConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reader`, `header`, `program_headers`, and `section_headers` are never read [INFO] [stdout] --> src/elf_parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ElfParser { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 10 | reader: BufReader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | header: Header, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | program_headers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | section_headers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElfParser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/elf_parser.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 134 | /// This byte is set to either 1 or 2 to signify 32- or 64-bit format, respectively [INFO] [stdout] 135 | pub class: Class, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 136 | /// The endianness of the file [INFO] [stdout] 137 | pub endianness: Endianness, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 138 | /// The ELF file version [INFO] [stdout] 139 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 140 | /// The target OS ABI [INFO] [stdout] 141 | pub os_abi: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 142 | /// The target OS ABI version [INFO] [stdout] 143 | pub os_abi_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 144 | /// The object file type [INFO] [stdout] 145 | pub file_type: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 146 | /// The program entry address [INFO] [stdout] 147 | pub entry_addr: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/elf_parser.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct ProgramHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 167 | /// The type of the program header segment [INFO] [stdout] 168 | typ: ProgType, [INFO] [stdout] | ^^^ [INFO] [stdout] 169 | /// The offset to the segment in the image file [INFO] [stdout] 170 | offset: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 171 | /// The virtual address to map the segment to [INFO] [stdout] 172 | virt_addr: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 173 | /// The physical address to map the segment to, when relevant [INFO] [stdout] 174 | phys_addr: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 175 | /// Size of the segment in the file image, in bytes [INFO] [stdout] 176 | file_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 177 | /// Size of the segment in memory, in bytes [INFO] [stdout] 178 | mem_size: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 179 | /// Segment-dependent flags [INFO] [stdout] 180 | flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | alignment: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProgramHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/elf_parser.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct SectionHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 196 | pub typ: SectionType, [INFO] [stdout] | ^^^ [INFO] [stdout] 197 | /// The attributes of this section [INFO] [stdout] 198 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 199 | /// Virtual address for this section, if it's to be loaded into memory [INFO] [stdout] 200 | pub virt_addr: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 205 | /// Contains the index of an associated section, which might be used depending on the type [INFO] [stdout] 206 | pub link: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 207 | /// Contains information about the section [INFO] [stdout] 208 | pub info: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 209 | /// The required alignment of the section [INFO] [stdout] 210 | pub addr_align: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 211 | /// The size of each entry, in bytes, if this is a section with fixed sized data [INFO] [stdout] 212 | pub entry_size: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SectionHeader` 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/bl60x.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 107 | let port = serialport::open_with_settings(port, &settings).map_err(|err| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | Ok(Bl60xSerialPort { port }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/elf_parser.rs:291:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn parse(reader: R) -> Result, ParseError> { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 258 | let mut reader = BufReader::new(reader); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 291 | Ok(ElfParser { [INFO] [stdout] | ____________^ [INFO] [stdout] 292 | | reader, [INFO] [stdout] 293 | | header, [INFO] [stdout] 294 | | program_headers, [INFO] [stdout] 295 | | section_headers, [INFO] [stdout] 296 | | }) [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] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidMagicHeader` is never constructed [INFO] [stdout] --> src/bl/firmware.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum ClockConfigError { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 49 | #[error("The magic header value is invalid: {:?}", _0)] [INFO] [stdout] 50 | InvalidMagicHeader([u8; 4]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClockConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reader`, `header`, `program_headers`, and `section_headers` are never read [INFO] [stdout] --> src/elf_parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ElfParser { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 10 | reader: BufReader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | header: Header, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | program_headers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | section_headers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElfParser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/elf_parser.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 134 | /// This byte is set to either 1 or 2 to signify 32- or 64-bit format, respectively [INFO] [stdout] 135 | pub class: Class, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 136 | /// The endianness of the file [INFO] [stdout] 137 | pub endianness: Endianness, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 138 | /// The ELF file version [INFO] [stdout] 139 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 140 | /// The target OS ABI [INFO] [stdout] 141 | pub os_abi: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 142 | /// The target OS ABI version [INFO] [stdout] 143 | pub os_abi_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 144 | /// The object file type [INFO] [stdout] 145 | pub file_type: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 146 | /// The program entry address [INFO] [stdout] 147 | pub entry_addr: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/elf_parser.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct ProgramHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 167 | /// The type of the program header segment [INFO] [stdout] 168 | typ: ProgType, [INFO] [stdout] | ^^^ [INFO] [stdout] 169 | /// The offset to the segment in the image file [INFO] [stdout] 170 | offset: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 171 | /// The virtual address to map the segment to [INFO] [stdout] 172 | virt_addr: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 173 | /// The physical address to map the segment to, when relevant [INFO] [stdout] 174 | phys_addr: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 175 | /// Size of the segment in the file image, in bytes [INFO] [stdout] 176 | file_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 177 | /// Size of the segment in memory, in bytes [INFO] [stdout] 178 | mem_size: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 179 | /// Segment-dependent flags [INFO] [stdout] 180 | flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | alignment: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProgramHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/elf_parser.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct SectionHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 196 | pub typ: SectionType, [INFO] [stdout] | ^^^ [INFO] [stdout] 197 | /// The attributes of this section [INFO] [stdout] 198 | pub flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 199 | /// Virtual address for this section, if it's to be loaded into memory [INFO] [stdout] 200 | pub virt_addr: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 205 | /// Contains the index of an associated section, which might be used depending on the type [INFO] [stdout] 206 | pub link: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 207 | /// Contains information about the section [INFO] [stdout] 208 | pub info: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 209 | /// The required alignment of the section [INFO] [stdout] 210 | pub addr_align: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 211 | /// The size of each entry, in bytes, if this is a section with fixed sized data [INFO] [stdout] 212 | pub entry_size: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SectionHeader` 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/bl60x.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 107 | let port = serialport::open_with_settings(port, &settings).map_err(|err| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | Ok(Bl60xSerialPort { port }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/elf_parser.rs:291:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn parse(reader: R) -> Result, ParseError> { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 258 | let mut reader = BufReader::new(reader); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 291 | Ok(ElfParser { [INFO] [stdout] | ____________^ [INFO] [stdout] 292 | | reader, [INFO] [stdout] 293 | | header, [INFO] [stdout] 294 | | program_headers, [INFO] [stdout] 295 | | section_headers, [INFO] [stdout] 296 | | }) [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bouffalo-cli` (bin "bouffalo-cli") due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bouffalo-cli` (bin "bouffalo-cli" test) due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "781014f905cec8d98e9243eae772083b6148817f0399d34c78678379bea3750f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "781014f905cec8d98e9243eae772083b6148817f0399d34c78678379bea3750f", kill_on_drop: false }` [INFO] [stdout] 781014f905cec8d98e9243eae772083b6148817f0399d34c78678379bea3750f