[INFO] cloning repository https://github.com/lkitching/rsdb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lkitching/rsdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flkitching%2Frsdb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flkitching%2Frsdb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3ed4fdc5ab6e5f641e4b51b26a011cffec80a47a
[INFO] checking lkitching/rsdb against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flkitching%2Frsdb" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/lkitching/rsdb
[INFO] finished tweaking git repo https://github.com/lkitching/rsdb
[INFO] tweaked toml for git repo https://github.com/lkitching/rsdb written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lkitching/rsdb on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lkitching/rsdb 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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3fe8db37ef55222b4d688d28e64b71f184e69211a5cb9b8a30302c46eb22da3f
[INFO] running `Command { std: "docker" "start" "-a" "3fe8db37ef55222b4d688d28e64b71f184e69211a5cb9b8a30302c46eb22da3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3fe8db37ef55222b4d688d28e64b71f184e69211a5cb9b8a30302c46eb22da3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3fe8db37ef55222b4d688d28e64b71f184e69211a5cb9b8a30302c46eb22da3f", kill_on_drop: false }`
[INFO] [stdout] 3fe8db37ef55222b4d688d28e64b71f184e69211a5cb9b8a30302c46eb22da3f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd6b6f7f76db51bb12b20db16ae1fac0e9276d3020986ad546ed226dda970856
[INFO] running `Command { std: "docker" "start" "-a" "cd6b6f7f76db51bb12b20db16ae1fac0e9276d3020986ad546ed226dda970856", kill_on_drop: false }`
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling prettyplease v0.2.31
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling bitflags v2.8.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling libloading v0.8.6
[INFO] [stderr]    Compiling bindgen v0.69.5
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling log v0.4.25
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]     Checking unicode-width v0.2.0
[INFO] [stderr]     Checking strum v0.27.1
[INFO] [stderr]    Compiling registers-macro v0.1.0 (/opt/rustwide/workdir/registers-macro)
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]     Checking fd-lock v4.0.2
[INFO] [stderr]    Compiling strum_macros v0.27.1
[INFO] [stderr]     Checking rustyline v15.0.0
[INFO] [stderr]    Compiling zydis-sys v0.1.2
[INFO] [stderr]     Checking rsdb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `write_gprs` is never used
[INFO] [stdout]    --> src/register.rs:252:8
[INFO] [stdout]     |
[INFO] [stdout] 150 | impl Registers {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 252 |     fn write_gprs(&mut self) -> Result<(), Error> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `file` and `path` are never read
[INFO] [stdout]   --> src/elf.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Elf {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 26 |     file: File,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 27 |     file_len: u64,
[INFO] [stdout] 28 |     path: PathBuf,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `code` is never read
[INFO] [stdout]    --> src/dwarf/mod.rs:257:5
[INFO] [stdout]     |
[INFO] [stdout] 256 | pub struct Abbrev {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] 257 |     code: NonZeroU64,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Abbrev` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `i16`, `i32`, and `i64` are never used
[INFO] [stdout]    --> src/dwarf/mod.rs:310:8
[INFO] [stdout]     |
[INFO] [stdout] 280 | impl<'a> Cursor<'a> {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 310 |     fn i16(&mut self) -> i16 { self.fixed_int::<i16, 2>() }
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 311 |     fn i32(&mut self) -> i32 { self.fixed_int::<i32, 4>() }
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 312 |     fn i64(&mut self) -> i64 { self.fixed_int::<i64, 8>() }
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `attr_type` is never read
[INFO] [stdout]    --> src/dwarf/mod.rs:540:5
[INFO] [stdout]     |
[INFO] [stdout] 539 | pub struct Attribute {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] 540 |     attr_type: u64,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Attribute` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `next_entry_position` is never used
[INFO] [stdout]    --> src/dwarf/mod.rs:885:8
[INFO] [stdout]     |
[INFO] [stdout] 883 | impl DIEEntry {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] 884 |     // returns the position of the next DIE entry
[INFO] [stdout] 885 |     fn next_entry_position(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version` and `address_size` are never read
[INFO] [stdout]    --> src/dwarf/mod.rs:898:5
[INFO] [stdout]     |
[INFO] [stdout] 894 | pub struct CompileUnitHeader {
[INFO] [stdout]     |            ----------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 898 |     version: u16,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 899 |     abbrev_offset: usize,
[INFO] [stdout] 900 |     address_size: u8,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CompileUnitHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `data_len` and `data_offset` are never used
[INFO] [stdout]    --> src/dwarf/mod.rs:942:8
[INFO] [stdout]     |
[INFO] [stdout] 903 | impl CompileUnitHeader {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 942 |     fn data_len(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 947 |     fn data_offset(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/dwarf/mod.rs:967:8
[INFO] [stdout]     |
[INFO] [stdout] 966 | impl CompileUnit {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 967 |     fn new(header: CompileUnitHeader) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `line_entry_at_address` is never used
[INFO] [stdout]     --> src/dwarf/mod.rs:1451:8
[INFO] [stdout]      |
[INFO] [stdout] 1158 | impl Dwarf {
[INFO] [stdout]      | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1451 |     fn line_entry_at_address(&self, address: &FileAddress) -> Option<line_table::LineTableIterator<LineTableInstructionIterator<'_...
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `modification_time` and `file_length` are never read
[INFO] [stdout]   --> src/dwarf/line_table.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct SourceFile {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 50 |     path: PathBuf,
[INFO] [stdout] 51 |     modification_time: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 52 |     file_length: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SourceFile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `source_file` and `line` are never read
[INFO] [stdout]   --> src/dwarf/line_table.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub struct SourceLocation {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 69 |     source_file: SourceFile,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 70 |     line: u64,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SourceLocation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/dwarf/line_table.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct LineTable {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 81 |     compile_unit_id: CompileUnitId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     program_span: Range<usize>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 86 |
[INFO] [stdout] 87 |     default_is_statement: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 88 |     line_base: i8,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 89 |     line_range: u8,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 90 |     opcode_base: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 91 |     include_directories: Vec<PathBuf>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LineTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `entries`, `get_entry_by_address`, `get_entries_by_line`, and `get_file` are never used
[INFO] [stdout]    --> src/dwarf/line_table.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout]  95 | impl LineTable {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn entries<'a, 'b>(&'a self, debug_line_data: &'b [u8]) -> LineTableIterator<LineTableInstructionIterator<'b>> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn get_entry_by_address<'a, 'b>(&'a self, debug_line_data: &'b [u8], address: &FileAddress) -> LineTableIterator<LineTableI...
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn get_entries_by_line<'a, 'b>(&'a self, debug_line_data: &'b [u8], path: &Path, line: u64) -> Vec<LineTableIterator<LineTa...
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn get_file(&self, entry: &LineTableEntry) -> &SourceFile {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LineTableEntry` is never constructed
[INFO] [stdout]    --> src/dwarf/line_table.rs:181:12
[INFO] [stdout]     |
[INFO] [stdout] 181 | pub struct LineTableEntry {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_line` and `get_file_entry` are never used
[INFO] [stdout]    --> src/dwarf/line_table.rs:200:8
[INFO] [stdout]     |
[INFO] [stdout] 199 | impl LineTableEntry {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] 200 |     fn update_line(&mut self, offset: i64) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 208 |     fn get_file_entry<'a, 'b>(&'a self, table: &'b LineTable) -> &'b SourceFile {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DwarfStandardOpcode` is never used
[INFO] [stdout]    --> src/dwarf/line_table.rs:246:6
[INFO] [stdout]     |
[INFO] [stdout] 246 | enum DwarfStandardOpcode {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DwarfExtendedOpcode` is never used
[INFO] [stdout]    --> src/dwarf/line_table.rs:264:10
[INFO] [stdout]     |
[INFO] [stdout] 264 | pub enum DwarfExtendedOpcode {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `StandardInstruction` is never used
[INFO] [stdout]    --> src/dwarf/line_table.rs:272:10
[INFO] [stdout]     |
[INFO] [stdout] 272 | pub enum StandardInstruction {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ExtendedInstruction` is never used
[INFO] [stdout]    --> src/dwarf/line_table.rs:289:10
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub enum ExtendedInstruction {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SpecialInstruction` is never constructed
[INFO] [stdout]    --> src/dwarf/line_table.rs:297:12
[INFO] [stdout]     |
[INFO] [stdout] 297 | pub struct SpecialInstruction {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]    --> src/dwarf/line_table.rs:303:10
[INFO] [stdout]     |
[INFO] [stdout] 303 | pub enum Instruction {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InstructionParser` is never constructed
[INFO] [stdout]    --> src/dwarf/line_table.rs:310:8
[INFO] [stdout]     |
[INFO] [stdout] 310 | struct InstructionParser {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LineTableExecutionError` is never used
[INFO] [stdout]    --> src/dwarf/line_table.rs:318:10
[INFO] [stdout]     |
[INFO] [stdout] 318 | pub enum LineTableExecutionError {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `special` and `parse` are never used
[INFO] [stdout]    --> src/dwarf/line_table.rs:338:8
[INFO] [stdout]     |
[INFO] [stdout] 337 | impl InstructionParser {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] 338 |     fn special(&self, entry: u8) -> SpecialInstruction {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 350 |     fn parse(&self, cursor: &mut Cursor) -> Result<Instruction, LineTableExecutionError> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LineTableInstructionIterator` is never constructed
[INFO] [stdout]    --> src/dwarf/line_table.rs:429:12
[INFO] [stdout]     |
[INFO] [stdout] 429 | pub struct LineTableInstructionIterator<'a> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `for_table` is never used
[INFO] [stdout]    --> src/dwarf/line_table.rs:448:12
[INFO] [stdout]     |
[INFO] [stdout] 447 | impl <'a> LineTableInstructionIterator<'a> {
[INFO] [stdout]     | ------------------------------------------ associated function in this implementation
[INFO] [stdout] 448 |     pub fn for_table(table: &LineTable, debug_line_data: &'a [u8]) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LineTableIterator` is never constructed
[INFO] [stdout]    --> src/dwarf/line_table.rs:462:12
[INFO] [stdout]     |
[INFO] [stdout] 462 | pub struct LineTableIterator<I> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `EvaluationAction` is never used
[INFO] [stdout]    --> src/dwarf/line_table.rs:470:6
[INFO] [stdout]     |
[INFO] [stdout] 470 | enum EvaluationAction {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `execute` is never used
[INFO] [stdout]    --> src/dwarf/line_table.rs:476:8
[INFO] [stdout]     |
[INFO] [stdout] 475 | impl <I> LineTableIterator<I> {
[INFO] [stdout]     | ----------------------------- method in this implementation
[INFO] [stdout] 476 |     fn execute(&mut self, instruction: &Instruction) -> EvaluationAction {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/interop/ptrace.rs:85:36
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let word: usize = unsafe { mem::transmute(data) };
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 85 -         let word: usize = unsafe { mem::transmute(data) };
[INFO] [stdout] 85 +         let word: usize = unsafe { i64::cast_unsigned(data) };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/interop/ptrace.rs:105:36
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let word: usize = unsafe { mem::transmute(data) };
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 105 -         let word: usize = unsafe { mem::transmute(data) };
[INFO] [stdout] 105 +         let word: usize = unsafe { i64::cast_unsigned(data) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/dwarf/mod.rs:393:18
[INFO] [stdout]     |
[INFO] [stdout] 393 |         unsafe { mem::transmute(res) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 393 -         unsafe { mem::transmute(res) }
[INFO] [stdout] 393 +         unsafe { u64::cast_signed(res) }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_gprs` is never used
[INFO] [stdout]    --> src/register.rs:252:8
[INFO] [stdout]     |
[INFO] [stdout] 150 | impl Registers {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 252 |     fn write_gprs(&mut self) -> Result<(), Error> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `file` and `path` are never read
[INFO] [stdout]   --> src/elf.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Elf {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 26 |     file: File,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 27 |     file_len: u64,
[INFO] [stdout] 28 |     path: PathBuf,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `code` is never read
[INFO] [stdout]    --> src/dwarf/mod.rs:257:5
[INFO] [stdout]     |
[INFO] [stdout] 256 | pub struct Abbrev {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] 257 |     code: NonZeroU64,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Abbrev` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `i16`, `i32`, and `i64` are never used
[INFO] [stdout]    --> src/dwarf/mod.rs:310:8
[INFO] [stdout]     |
[INFO] [stdout] 280 | impl<'a> Cursor<'a> {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 310 |     fn i16(&mut self) -> i16 { self.fixed_int::<i16, 2>() }
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 311 |     fn i32(&mut self) -> i32 { self.fixed_int::<i32, 4>() }
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 312 |     fn i64(&mut self) -> i64 { self.fixed_int::<i64, 8>() }
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `attr_type` is never read
[INFO] [stdout]    --> src/dwarf/mod.rs:540:5
[INFO] [stdout]     |
[INFO] [stdout] 539 | pub struct Attribute {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] 540 |     attr_type: u64,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Attribute` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `next_entry_position` is never used
[INFO] [stdout]    --> src/dwarf/mod.rs:885:8
[INFO] [stdout]     |
[INFO] [stdout] 883 | impl DIEEntry {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] 884 |     // returns the position of the next DIE entry
[INFO] [stdout] 885 |     fn next_entry_position(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version` and `address_size` are never read
[INFO] [stdout]    --> src/dwarf/mod.rs:898:5
[INFO] [stdout]     |
[INFO] [stdout] 894 | pub struct CompileUnitHeader {
[INFO] [stdout]     |            ----------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 898 |     version: u16,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 899 |     abbrev_offset: usize,
[INFO] [stdout] 900 |     address_size: u8,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CompileUnitHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `data_len` and `data_offset` are never used
[INFO] [stdout]    --> src/dwarf/mod.rs:942:8
[INFO] [stdout]     |
[INFO] [stdout] 903 | impl CompileUnitHeader {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 942 |     fn data_len(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 947 |     fn data_offset(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/dwarf/mod.rs:967:8
[INFO] [stdout]     |
[INFO] [stdout] 966 | impl CompileUnit {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 967 |     fn new(header: CompileUnitHeader) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `line_entry_at_address` is never used
[INFO] [stdout]     --> src/dwarf/mod.rs:1451:8
[INFO] [stdout]      |
[INFO] [stdout] 1158 | impl Dwarf {
[INFO] [stdout]      | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1451 |     fn line_entry_at_address(&self, address: &FileAddress) -> Option<line_table::LineTableIterator<LineTableInstructionIterator<'_...
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `modification_time` and `file_length` are never read
[INFO] [stdout]   --> src/dwarf/line_table.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct SourceFile {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 50 |     path: PathBuf,
[INFO] [stdout] 51 |     modification_time: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 52 |     file_length: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SourceFile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `source_file` and `line` are never read
[INFO] [stdout]   --> src/dwarf/line_table.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub struct SourceLocation {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 69 |     source_file: SourceFile,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 70 |     line: u64,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SourceLocation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `compile_unit_id` and `include_directories` are never read
[INFO] [stdout]   --> src/dwarf/line_table.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct LineTable {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 81 |     compile_unit_id: CompileUnitId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     include_directories: Vec<PathBuf>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LineTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_entry_by_address` and `get_entries_by_line` are never used
[INFO] [stdout]    --> src/dwarf/line_table.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout]  95 | impl LineTable {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn get_entry_by_address<'a, 'b>(&'a self, debug_line_data: &'b [u8], address: &FileAddress) -> LineTableIterator<LineTableI...
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn get_entries_by_line<'a, 'b>(&'a self, debug_line_data: &'b [u8], path: &Path, line: u64) -> Vec<LineTableIterator<LineTa...
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_file_entry` is never used
[INFO] [stdout]    --> src/dwarf/line_table.rs:208:8
[INFO] [stdout]     |
[INFO] [stdout] 199 | impl LineTableEntry {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 208 |     fn get_file_entry<'a, 'b>(&'a self, table: &'b LineTable) -> &'b SourceFile {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/interop/ptrace.rs:85:36
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let word: usize = unsafe { mem::transmute(data) };
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 85 -         let word: usize = unsafe { mem::transmute(data) };
[INFO] [stdout] 85 +         let word: usize = unsafe { i64::cast_unsigned(data) };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/interop/ptrace.rs:105:36
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let word: usize = unsafe { mem::transmute(data) };
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 105 -         let word: usize = unsafe { mem::transmute(data) };
[INFO] [stdout] 105 +         let word: usize = unsafe { i64::cast_unsigned(data) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/dwarf/mod.rs:393:18
[INFO] [stdout]     |
[INFO] [stdout] 393 |         unsafe { mem::transmute(res) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 393 -         unsafe { mem::transmute(res) }
[INFO] [stdout] 393 +         unsafe { u64::cast_signed(res) }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.62s
[INFO] running `Command { std: "docker" "inspect" "cd6b6f7f76db51bb12b20db16ae1fac0e9276d3020986ad546ed226dda970856", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd6b6f7f76db51bb12b20db16ae1fac0e9276d3020986ad546ed226dda970856", kill_on_drop: false }`
[INFO] [stdout] cd6b6f7f76db51bb12b20db16ae1fac0e9276d3020986ad546ed226dda970856
