[INFO] cloning repository https://github.com/mattbruv/bfbb-patch
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mattbruv/bfbb-patch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattbruv%2Fbfbb-patch", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattbruv%2Fbfbb-patch'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2fed1191d0c835df0487d92e8cca74510bc8190e
[INFO] checking mattbruv/bfbb-patch against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattbruv%2Fbfbb-patch" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mattbruv/bfbb-patch
[INFO] finished tweaking git repo https://github.com/mattbruv/bfbb-patch
[INFO] tweaked toml for git repo https://github.com/mattbruv/bfbb-patch written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mattbruv/bfbb-patch on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mattbruv/bfbb-patch 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b008214d59f8ad2e135be3e76d2772b1f2981a4df9262b8d236f4ebf55dc4a39
[INFO] running `Command { std: "docker" "start" "-a" "b008214d59f8ad2e135be3e76d2772b1f2981a4df9262b8d236f4ebf55dc4a39", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b008214d59f8ad2e135be3e76d2772b1f2981a4df9262b8d236f4ebf55dc4a39", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b008214d59f8ad2e135be3e76d2772b1f2981a4df9262b8d236f4ebf55dc4a39", kill_on_drop: false }`
[INFO] [stdout] b008214d59f8ad2e135be3e76d2772b1f2981a4df9262b8d236f4ebf55dc4a39
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1f67403fe839e390e8a4bdcc6c784274d350202a8468ccc791b107524dc49ab0
[INFO] running `Command { std: "docker" "start" "-a" "1f67403fe839e390e8a4bdcc6c784274d350202a8468ccc791b107524dc49ab0", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.51
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]     Checking once_cell v1.17.1
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling argh_shared v0.1.10
[INFO] [stderr]     Checking ahash v0.8.3
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]     Checking object v0.30.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling argh_derive v0.1.10
[INFO] [stderr]     Checking argh v0.1.10
[INFO] [stderr]     Checking bfbb-patch v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `hash::Hash`
[INFO] [stdout]  --> src/util/write.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, fs, hash::Hash};
[INFO] [stdout]   |                                     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Symbol`
[INFO] [stdout]  --> src/util/write.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 |     write::{SectionId, Symbol, SymbolSection},
[INFO] [stdout]   |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BFBBSymbol`
[INFO] [stdout]  --> src/util/write.rs:8:31
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::bfbbobj::{BFBBObj, BFBBSymbol};
[INFO] [stdout]   |                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ObjectSection`, `ObjectSymbol`, `Object`, `RelocationTarget`, `Relocation`, `SectionKind`, `SymbolKind`, and `Symbol`
[INFO] [stdout]  --> src/main.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 |     self, Object, ObjectSection, ObjectSymbol, Relocation, RelocationTarget, SectionKind, Symbol,
[INFO] [stdout]   |           ^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 6 |     SymbolKind,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `read`
[INFO] [stdout]   --> src/main.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fs::{self, read},
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hash::Hash`
[INFO] [stdout]  --> src/util/write.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, fs, hash::Hash};
[INFO] [stdout]   |                                     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Symbol`
[INFO] [stdout]  --> src/util/write.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 |     write::{SectionId, Symbol, SymbolSection},
[INFO] [stdout]   |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BFBBSymbol`
[INFO] [stdout]  --> src/util/write.rs:8:31
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::bfbbobj::{BFBBObj, BFBBSymbol};
[INFO] [stdout]   |                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ObjectSection`, `ObjectSymbol`, `Object`, `RelocationTarget`, `Relocation`, `SectionKind`, `SymbolKind`, and `Symbol`
[INFO] [stdout]  --> src/main.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 |     self, Object, ObjectSection, ObjectSymbol, Relocation, RelocationTarget, SectionKind, Symbol,
[INFO] [stdout]   |           ^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 6 |     SymbolKind,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `read`
[INFO] [stdout]   --> src/main.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fs::{self, read},
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target_elf`
[INFO] [stdout]   --> src/main.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let target_elf = object::File::parse(&*bin_target)?;
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_elf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `relocs` is never read
[INFO] [stdout]   --> src/util/bfbbobj.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct BFBBData {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 14 |     pub bytes: Vec<u8>,
[INFO] [stdout] 15 |     pub relocs: Vec<BFBBRelocation>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BFBBData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index`, `section`, `section_offset`, and `flags` are never read
[INFO] [stdout]   --> src/util/bfbbobj.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct BFBBSymbol {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 20 |     pub index: SymbolIndex,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub section: Option<usize>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 27 |     pub section_name: String,
[INFO] [stdout] 28 |     pub section_offset: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 29 |     pub flags: SymbolFlags<SectionIndex>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BFBBSymbol` 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/util/bfbbobj.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct BFBBRelocation {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 35 |     // address relative to the start of the section in the object file
[INFO] [stdout] 36 |     pub address: u64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub relative_address: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 40 |
[INFO] [stdout] 41 |     pub offset: u64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 42 |     pub size: u8,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 43 |     pub kind: RelocationKind,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 44 |     pub encoding: RelocationEncoding,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 45 |     pub symbol_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 46 |     pub addend: i64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BFBBRelocation` 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 `address`, `size`, `align`, and `index` are never read
[INFO] [stdout]   --> src/util/bfbbobj.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct BFBBSection {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub address: u64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 54 |     pub size: u64,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 55 |     // pub data: Vec<u8>,
[INFO] [stdout] 56 |     pub align: u64,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 57 |     pub index: usize,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BFBBSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target_elf`
[INFO] [stdout]   --> src/main.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let target_elf = object::File::parse(&*bin_target)?;
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_elf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `relocs` is never read
[INFO] [stdout]   --> src/util/bfbbobj.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct BFBBData {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 14 |     pub bytes: Vec<u8>,
[INFO] [stdout] 15 |     pub relocs: Vec<BFBBRelocation>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BFBBData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index`, `section`, `section_offset`, and `flags` are never read
[INFO] [stdout]   --> src/util/bfbbobj.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct BFBBSymbol {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 20 |     pub index: SymbolIndex,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub section: Option<usize>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 27 |     pub section_name: String,
[INFO] [stdout] 28 |     pub section_offset: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 29 |     pub flags: SymbolFlags<SectionIndex>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BFBBSymbol` 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/util/bfbbobj.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct BFBBRelocation {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 35 |     // address relative to the start of the section in the object file
[INFO] [stdout] 36 |     pub address: u64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub relative_address: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 40 |
[INFO] [stdout] 41 |     pub offset: u64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 42 |     pub size: u8,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 43 |     pub kind: RelocationKind,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 44 |     pub encoding: RelocationEncoding,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 45 |     pub symbol_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 46 |     pub addend: i64,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BFBBRelocation` 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 `address`, `size`, `align`, and `index` are never read
[INFO] [stdout]   --> src/util/bfbbobj.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct BFBBSection {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub address: u64,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 54 |     pub size: u64,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 55 |     // pub data: Vec<u8>,
[INFO] [stdout] 56 |     pub align: u64,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 57 |     pub index: usize,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BFBBSection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.61s
[INFO] running `Command { std: "docker" "inspect" "1f67403fe839e390e8a4bdcc6c784274d350202a8468ccc791b107524dc49ab0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f67403fe839e390e8a4bdcc6c784274d350202a8468ccc791b107524dc49ab0", kill_on_drop: false }`
[INFO] [stdout] 1f67403fe839e390e8a4bdcc6c784274d350202a8468ccc791b107524dc49ab0
